authorisation with admin consent prompt generates wrong URL.

Current Behaviour
I am using the msal4j for admin_consent flow and I used the below snippet for generating the authorisationCode URL.
PublicClientApplication pca = PublicClientApplication.builder(clientId).authority(authority).build();

        AuthorizationRequestUrlParameters parameters =
                AuthorizationRequestUrlParameters
                        .builder(registeredRedirectURL,
                                Collections.singleton(updatedScopes))
                        .prompt(Prompt.ADMIN_CONSENT)
                        .state(state)
                        .nonce(nonce)
                        .claimsChallenge(claims)
                        .build();

However the URL generated is as
https://login.microsoftonline.com/<tenant_id>/oauth2/v2.0/authorize?client_id=<client_id>&scope=openid+profile+offline_access+&response_type=code&redirect_uri=https%3A%2F%2Flocalhost%3A8080%2Fconnector%2Fsecure%2Faad&state=123517c1-c5fe-46fc-94a8-20d9ac199527&nonce=768ac153-a14d-4336-bc04-64d8607ad5fd&prompt=admin_consent&response_mode=form_post
which inturn gives the prompt as invalid as shown below

Expected Behavior.
I went through the documentation of the admin consent flow, the url is completely different and as https://login.microsoftonline.com/{tenant-id}/adminconsent?client_id={client-id}
The error also seems valid.

Is something wrong with the usage of  PublicClientApplication or is the URL generation is obsolete.?

Hello @Sudharma : Sorry for the delayed response, but yes it looks like our way of generating the URL could just be outdated. Just sending the admin_consent prompt was the way to do it when MSAL Java was originally developed, but it seems like that version may have finally been deprecated in favor of the URL mentioned in the doc you linked.
We'll look into more to confirm, and should be able to get a fix into the next release. No ETA yet on when that will happen, but I'll update this thread when we have more info.

@Sudharma This issue is fixed in the latest version 1.13.5 of msal4j. Please test and reopen this if the issue persists.


How to run a personal website at npm?

I researched and found nothing about it.
If I want to run a personal website and use npm as a web server or want to set up a package repository, how do I do this?
I'm trying to create an archlinux repository but I don't know how to set this up in npm ...
server {
    server_name repo.sun.hexor.ru;
    listen [::]:443 ssl;
    listen 443 ssl;
    include security.conf;
    include letsencrypt.conf;
    root /srv/arch-repo;
    location / {
        autoindex on;
        try_files $uri $uri/ =404;
    }
    access_log /var/log/nginx/logs/repo.sun.hexor.ru.access.log custom;
    error_log /var/log/nginx/logs/repo.sun.hexor.ru.error.log;
}

npm is not a web server. its a reverse proxy.
you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver.
thats at least how I have understood this program …

npm is not a web server. its a reverse proxy.
you need to set up a webserver first, and then configure npm to proxy webrequests to your webserver.
thats at least how I have understood this program …

Thanks!!

There is a feature request for this though: https://github.com/jc21/nginx-proxy-manager/issues/58


Investigate ELLCC, LLVM for embedded

http://ellcc.org/blog/?page_id=295

No - just one guy.  Work stopped in 2017.  Maybe starting up again, but it is one guy, on SVN.  Not worth the risk.


add support for riscv64

Add support for riscv64 as host architecture.

@swift-server-bot test this please


fix dependencies

The app is not compiling anymore due to outdated dependencies.
I modified the app gradle file to use 27.1.1 sdk version and it compiles properly now.

I signed it!

Fixed the author of the commit!


Skip button not responding after changing the skipButtonY value

I fixed this issue in #127, it was a height constraint problem.

The same issue, I expect it can be fixed.

Resolved in #129


[BUG] Correct value of evm call in data

This bug already fixed in Android dev i1.5.3.
No testing for this bug


DeviceInfo.getPhoneNumber()  returning unknown

While I am trying to get phoneNumber I am getting "unknown" response.
OS: Android 11
API: 30
React Native : 0.67
React Native Device Info : 8.5.1

https://github.com/react-native-device-info/react-native-device-info#android-permissions-2
We can reopen if you triple check you have all the right permissions (check the PR that added that change to the README, for instance - find it via git blame on the file). I'm guessing it's just privacy constrained

I added permissions based on the readme reference link "https://developer.android.com/about/versions/11/privacy/permissions#phone-numbers"
but I got a response "unknown".
My Permission in Manifest file:

@sudippalash could you solve this?


Mono build: OSX: Cannot run any scene

Godot version:
v3.0.6.stable.mono.official.8314054
OS/device including version:
OSX
Issue description:
When trying to run any scene or open any C# script the editor does nothing, and top shows Godot process taking 62% CPU.

Steps to reproduce:

Install Mono 5.12 (with MSBuild)
Install Godot build with Mono support
Create new project
Add Node2D to scene
Save & Run scene

Note that all works fine with non-Mono Godot build on my workstation. I suspect there is something wrong with Mono integration, but I don't know where to find logs or other debug information.

I'm experiencing the same issue on my macbook pro running OSX Mojave 10.14.1. Currently trying different mono versions to see if that changes anything.

I was able to get non-mono version working by tweaking some settings - the play window was spawning with a size of 0x0

thanks for that, had to set test Test Width and Test Height, they were set to 0x0

Assuming fixed in 3.1 and later, as we didn't get further reports about this. There are no plans to release new Mono builds for the 3.0.x branch (which was early alpha for C# support).


query about parentage of protein targeting to nucleus vs nucleocytoplasmic transport

http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0042990#term=ancchart
GO:0042990 regulation of transcription factor import into nucleus
has a protein targeting parent and a nucleocytoplasmic trasnport parent.
Is all protein transport via nucleocytoplasmic transport "protein targeting"?
because some protein import and export terms have different parentage:
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0046827#term=ancchart

here's another example to illustrate the inconsistency.
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0006606#term=ancchart
Here,  "protein import into nucleus" is a descendent of  "protein targeting to nucleus"

I think this one is resolved via
#13754  Targeting versus localization and import
#13686 (ongoing)
If you agree, please close this ticket.
Thanks, Pascale

agreed, closing


How to introduce two remappings simultaneously?

HI, I have already changed right command to left option, but I need to change right option to delete forward at same time. It seems that I can modify only one pair of keys. The second change overwrites the first one. Is there any workaround for that? Thx.

There's an example of swapping keys in the examples directory.

Have you tried
{
    "profiles": [
        {
            "name": "Default profile",
            "selected": true,
            "simple_modifications": {
                "right_command": "left_option",
                "right_option": "delete_forward"
            }
        }
    ]
}

Basically you need to separate rules with a comma. If still confused, please read up on json format.


The netty channel in the httpClient instance is disconnected occasionally after route the request to the target service

Question
After route the request to the back-end service, occasionally the netty channel in the httpClient instance is disconnected(the request has not been responded). We want to find out what actually produce this problem and a way to conque it;
Bug report
My team just switched from zuul1 to gateway.What bothers me is that when we route the request to the back-end service, occasionally the netty channel in the httpClient instance is disconnected (the request has not been responded), then the cancel event is triggered by it(doOnCancle). In this situation, we cannot retry or do something to fix it because the request has been actually handled by target service.
We try to set the level of logging: logging.level.reactor.netty = debug.
Then we found that there was a case where the connection was disconnected before receiving a response
Here is the log file. we find that the thead named "or-http-epoll-2" was actually closed after [request_sent]
gateway.log
Here is the pom file:
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-dependencies</artifactId>
            <version>2.3.12.RELEASE</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-gateway-dependencies</artifactId>
            <version>2.2.9.RELEASE</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-dependencies</artifactId>
            <version>Hoxton.SR12</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>

Enhancement
Now, we can't find a way to fix this problem.

2021-11-22 13:20:07.293  INFO 1 --- [or-http-epoll-2] c.d.j.g.filter.pre.token.TokenFilter     :<PHONE_NUMBER>286793088 请求开始，uri=/es-agent/business/businessLogQuery/byid
2021-11-22 13:20:07.297 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8] Created a new pooled channel, now 0 active connections and 0 inactive connections
2021-11-22 13:20:07.298 DEBUG 1 --- [or-http-epoll-2] reactor.netty.channel.BootstrapHandlers  : [id: 0x6cf04de8] Initialized pipeline DefaultChannelPipeline{(BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (PooledConnectionProvider$PooledConnectionAllocator$PooledConnectionInitializer#0 = reactor.netty.resources.PooledConnectionProvider$PooledConnectionAllocator$PooledConnectionInitializer), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpClientCodec), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2021-11-22 13:20:07.299 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] Registering pool release on close event for channel
2021-11-22 13:20:07.299 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] Channel connected, now 1 active connections and 0 inactive connections
2021-11-22 13:20:07.299 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] onStateChange(PooledConnection{channel=[id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081]}, [connected])
2021-11-22 13:20:07.299 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] onStateChange(GET{uri=/, connection=PooledConnection{channel=[id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081]}}, [configured])
2021-11-22 13:20:07.299 DEBUG 1 --- [or-http-epoll-2] r.netty.http.client.HttpClientConnect    : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] Handler is being applied: {uri=http://<IP_ADDRESS>:8081/es-agent/business/businessLogQuery/byid?timestamp=1637558406563&access_token=Bearer%xxxxx&appkey=xxxxx&sign=0BA407F18953C8733747CCBEC4026D01&refId=1204314487630201856&businessType=SALES_CHANNEL_INFO&pageSize=999&pageIndex=0&sortField=&sortOrder=&cols=%5B%22gmtCreate%22%2C%22realName%22%2C%22content%22%5D&=1637558398877, method=GET}
2021-11-22 13:20:07.300 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] onStateChange(GET{uri=/es-agent/business/businessLogQuery/byid?timestamp=1637558406563&access_token=Bearer%xxxxx&appkey=xxxxx&sign=0BA407F18953C8733747CCBEC4026D01&refId=1204314487630201856&businessType=SALES_CHANNEL_INFO&pageSize=999&pageIndex=0&sortField=&sortOrder=&cols=%5B%22gmtCreate%22%2C%22realName%22%2C%22content%22%5D&=1637558398877, connection=PooledConnection{channel=[id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081]}}, [request_prepared])
2021-11-22 13:20:07.300 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081] onStateChange(GET{uri=/es-agent/business/businessLogQuery/byid?timestamp=1637558406563&access_token=Bearer%xxxxx&appkey=xxxxx&sign=0BA407F18953C8733747CCBEC4026D01&refId=1204314487630201856&businessType=SALES_CHANNEL_INFO&pageSize=999&pageIndex=0&sortField=&sortOrder=&cols=%5B%22gmtCreate%22%2C%22realName%22%2C%22content%22%5D&=1637558398877, connection=PooledConnection{channel=[id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 - R:<IP_ADDRESS>/<IP_ADDRESS>:8081]}}, [request_sent])
2021-11-22 13:20:07.343 DEBUG 1 --- [or-http-epoll-1] r.n.http.client.HttpClientOperations     : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Received response (auto-read:false) : [X-Application-Context=g001-erp:8888, Content-Type=application/json;charset=UTF-8, Transfer-Encoding=chunked, Date=Mon, 22 Nov 2021 05:20:07 GMT]
2021-11-22 13:20:07.343 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] onStateChange(POST{uri=/erp/importexcel/import, connection=PooledConnection{channel=[id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888]}}, [response_received])
2021-11-22 13:20:07.344 DEBUG 1 --- [or-http-epoll-1] reactor.netty.channel.FluxReceive        : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] FluxReceive{pending=0, cancelled=false, inboundDone=false, inboundError=null}: subscribing inbound receiver
2021-11-22 13:20:07.345 DEBUG 1 --- [or-http-epoll-1] r.n.http.client.HttpClientOperations     : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Received last HTTP packet
2021-11-22 13:20:07.345 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] onStateChange(POST{uri=/erp/importexcel/import, connection=PooledConnection{channel=[id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888]}}, [response_completed])
2021-11-22 13:20:07.345 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] onStateChange(POST{uri=/erp/importexcel/import, connection=PooledConnection{channel=[id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888]}}, [disconnecting])
2021-11-22 13:20:07.345 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Releasing channel
2021-11-22 13:20:07.346 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Channel cleaned, now 0 active connections and 1 inactive connections
2021-11-22 13:20:07.346  INFO 1 --- [or-http-epoll-1] c.d.j.g.filter.post.RequestFinishFilter  :<PHONE_NUMBER>902672768 请求完成，成功 uri=/erp/importexcel/import，groupId=g001，memberName=420001，realName=侯雪婷，耗时=218
2021-11-22 13:20:07.346 DEBUG 1 --- [or-http-epoll-1] r.n.http.server.HttpServerOperations     : [id: 0x7fa04f01, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34562] Last HTTP response frame
2021-11-22 13:20:07.346 DEBUG 1 --- [or-http-epoll-1] r.n.http.server.HttpServerOperations     : [id: 0x7fa04f01, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34562] Detected non persistent http connection, preparing to close
2021-11-22 13:20:07.347 DEBUG 1 --- [or-http-epoll-1] r.n.http.server.HttpServerOperations     : [id: 0x7fa04f01, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34562] Last HTTP packet was sent, terminating the channel
2021-11-22 13:20:07.382 DEBUG 1 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] New http connection, requesting read
2021-11-22 13:20:07.382 DEBUG 1 --- [or-http-epoll-3] reactor.netty.channel.BootstrapHandlers  : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Initialized pipeline DefaultChannelPipeline{(BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (Config$1#0 = com.differ.jackyun.gateway.config.Config$1), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2021-11-22 13:20:07.383 DEBUG 1 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Increasing pending responses, now 1
2021-11-22 13:20:07.383 DEBUG 1 --- [or-http-epoll-3] reactor.netty.http.server.HttpServer     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@4bcfa8ad
2021-11-22 13:20:07.384 DEBUG 1 --- [or-http-epoll-3] reactor.netty.channel.FluxReceive        : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] FluxReceive{pending=0, cancelled=false, inboundDone=false, inboundError=null}: subscribing inbound receiver
2021-11-22 13:20:07.387  INFO 1 --- [or-http-epoll-3] c.d.j.g.filter.pre.token.TokenFilter     :<PHONE_NUMBER>058545024 请求开始，uri=/erp-baseinfo/open/flag/needlistbybusicode
2021-11-22 13:20:07.391 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Channel acquired, now 1 active connections and 0 inactive connections
2021-11-22 13:20:07.391 DEBUG 1 --- [or-http-epoll-8] r.netty.http.client.HttpClientConnect    : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Handler is being applied: {uri=http://<IP_ADDRESS>:8893/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&=1637558407004, method=GET}
2021-11-22 13:20:07.391 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] onStateChange(GET{uri=/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&=1637558407004, connection=PooledConnection{channel=[id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893]}}, [request_prepared])
2021-11-22 13:20:07.392 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] onStateChange(GET{uri=/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&=1637558407004, connection=PooledConnection{channel=[id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893]}}, [request_sent])
2021-11-22 13:20:07.398 DEBUG 1 --- [or-http-epoll-8] r.n.http.client.HttpClientOperations     : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Received response (auto-read:false) : [X-Application-Context=g001-erp-baseinfo:8893, Content-Type=application/json;charset=UTF-8, Transfer-Encoding=chunked, Date=Mon, 22 Nov 2021 05:20:06 GMT]
2021-11-22 13:20:07.398 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] onStateChange(GET{uri=/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&=1637558407004, connection=PooledConnection{channel=[id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893]}}, [response_received])
2021-11-22 13:20:07.399 DEBUG 1 --- [or-http-epoll-8] reactor.netty.channel.FluxReceive        : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] FluxReceive{pending=0, cancelled=false, inboundDone=false, inboundError=null}: subscribing inbound receiver
2021-11-22 13:20:07.400 DEBUG 1 --- [or-http-epoll-8] r.n.http.client.HttpClientOperations     : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Received last HTTP packet
2021-11-22 13:20:07.401 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] onStateChange(GET{uri=/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&=1637558407004, connection=PooledConnection{channel=[id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893]}}, [response_completed])
2021-11-22 13:20:07.401  INFO 1 --- [or-http-epoll-3] c.d.j.g.filter.post.RequestFinishFilter  :<PHONE_NUMBER>058545024 请求完成，成功 uri=/erp-baseinfo/open/flag/needlistbybusicode，groupId=g001，memberName=420001，realName=贺露祥，耗时=16
2021-11-22 13:20:07.401 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] onStateChange(GET{uri=/erp-baseinfo/open/flag/needlistbybusicode?timestamp=1637558407290&access_token=Bearer%xxxxx&appkey=xxxxx&sign=8AB0414942BF8C1063D5577C0E6BCE99&busiCode=GOODS&fieldName=flagId%2CflagName%2CisSystem%2CflagBgColor%2CflagFontColor%2CisChangeRowdata%2CorderIndex%2CflagPriority&_=1637558407004, connection=PooledConnection{channel=[id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893]}}, [disconnecting])
2021-11-22 13:20:07.401 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Releasing channel
2021-11-22 13:20:07.401 DEBUG 1 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Last HTTP response frame
2021-11-22 13:20:07.401 DEBUG 1 --- [or-http-epoll-8] r.n.resources.PooledConnectionProvider   : [id: 0x7903ee6d, L:/<IP_ADDRESS>:46242 - R:<IP_ADDRESS>/<IP_ADDRESS>:8893] Channel cleaned, now 0 active connections and 1 inactive connections
2021-11-22 13:20:07.402 DEBUG 1 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Detected non persistent http connection, preparing to close
2021-11-22 13:20:07.402 DEBUG 1 --- [or-http-epoll-3] r.n.http.server.HttpServerOperations     : [id: 0xdb293c1e, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34568] Last HTTP packet was sent, terminating the channel
2021-11-22 13:20:07.792 DEBUG 1 --- [or-http-epoll-4] r.n.http.server.HttpServerOperations     : [id: 0xaf386bda, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34576] New http connection, requesting read
2021-11-22 13:20:07.792 DEBUG 1 --- [or-http-epoll-4] reactor.netty.channel.BootstrapHandlers  : [id: 0xaf386bda, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34576] Initialized pipeline DefaultChannelPipeline{(BootstrapHandlers$BootstrapInitializerHandler#0 = reactor.netty.channel.BootstrapHandlers$BootstrapInitializerHandler), (Config$1#0 = com.differ.jackyun.gateway.config.Config$1), (reactor.left.httpCodec = io.netty.handler.codec.http.HttpServerCodec), (reactor.left.httpTrafficHandler = reactor.netty.http.server.HttpTrafficHandler), (reactor.right.reactiveBridge = reactor.netty.channel.ChannelOperationsHandler)}
2021-11-22 13:20:07.793 DEBUG 1 --- [or-http-epoll-4] r.n.http.server.HttpServerOperations     : [id: 0xaf386bda, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34576] Increasing pending responses, now 1
2021-11-22 13:20:07.793 DEBUG 1 --- [or-http-epoll-4] reactor.netty.http.server.HttpServer     : [id: 0xaf386bda, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34576] Handler is being applied: org.springframework.http.server.reactive.ReactorHttpHandlerAdapter@4bcfa8ad
2021-11-22 13:20:07.793 DEBUG 1 --- [or-http-epoll-4] reactor.netty.channel.FluxReceive        : [id: 0xaf386bda, L:/<IP_ADDRESS>:20008 - R:/<IP_ADDRESS>:34576] FluxReceive{pending=0, cancelled=false, inboundDone=false, inboundError=null}: subscribing inbound receiver
2021-11-22 13:20:07.795  INFO 1 --- [or-http-epoll-4] c.d.j.g.filter.pre.token.TokenFilter     :<PHONE_NUMBER>489485696 请求开始，uri=/erp/goods/getskulistyycondition
2021-11-22 13:20:07.798 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Channel acquired, now 1 active connections and 0 inactive connections
2021-11-22 13:20:07.798 DEBUG 1 --- [or-http-epoll-1] r.netty.http.client.HttpClientConnect    : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] Handler is being applied: {uri=http://<IP_ADDRESS>:8888/erp/goods/getskulistyycondition, method=POST}
2021-11-22 13:20:07.799 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] onStateChange(POST{uri=/erp/goods/getskulistyycondition, connection=PooledConnection{channel=[id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888]}}, [request_prepared])
2021-11-22 13:20:07.799 DEBUG 1 --- [or-http-epoll-1] r.n.resources.PooledConnectionProvider   : [id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888] onStateChange(POST{uri=/erp/goods/getskulistyycondition, connection=PooledConnection{channel=[id: 0x9b7b95e9, L:/<IP_ADDRESS>:47888 - R:<IP_ADDRESS>/<IP_ADDRESS>:8888]}}, [request_sent])
2021-11-22 13:20:07.808 ERROR 1 --- [or-http-epoll-2] c.d.j.g.filter.post.RequestFinishFilter  :<PHONE_NUMBER>286793088 请求被取消 uri=/es-agent/business/businessLogQuery/byid,contentType=null，str=groupId=g001，memberName=420001，realName=朱风月，耗时=515
2021-11-22 13:20:07.810 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 ! R:<IP_ADDRESS>/<IP_ADDRESS>:8081] Channel closed, now 0 active connections and 0 inactive connections
2021-11-22 13:20:07.810 DEBUG 1 --- [or-http-epoll-2] r.n.resources.PooledConnectionProvider   : [id: 0x6cf04de8, L:/<IP_ADDRESS>:54990 ! R:<IP_ADDRESS>/<IP_ADDRESS>:8081] onStateChange(GET{uri=/es-agent/business/businessLogQuery/byid?

As I mentioned, we found that the channel keeped by thread "or-http-epoll-2" was closed after [request_sent] without get response

@DoneBugZhang do you have any simple code to reproduce this issue or tcpdump file?

actually we can't do that. if there are some cases that you known will make the channelInactive problem?

Gateway 2.x is no longer supported. Is this still happening with current versions?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


return correct error for go api example

Fix a small issue of the example. When I little play around with the example, I had an issue where the template output was empty without any errors. Because the wrong return value was use

Oops! Nice catch, @AyWa.
We typically include running examples as part of our build; clearly missed a step.

Not sure why your agreement was rejected. Please let us know if we can help in any way.

@pivotaljohn I submitted again the cla. Lets see if it is approve this time 🤔


[Core] Eliminate the hidden "close" method in the IoC namespace

This is a left-over from "the old era" when we still didn't have StartableInterface due to no support from the IoC framework for exporting a service by multiple interfaces. Now that we have this, we can get rid of the magical "close" method:
https://github.com/rexor12/holobot/blob/f3fc1ce399c94d8712120a26a8632dd00da45101/holobot/framework/ioc/service_collection.py#L21
The lifecycle manager will make sure the services are stopped when needed:
https://github.com/rexor12/holobot/blob/f3fc1ce399c94d8712120a26a8632dd00da45101/holobot/framework/lifecycle/lifecycle_manager.py#L26

#42 solved this by the IoC refactor.


WIP: debug, w/o dns, w/ compiled.wasm

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@rshriram: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test release-notes_istio

integ-distroless-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-distroless-k8s-tests_istio

integ-ipv6-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-distroless-k8s-tests_istio

integ-ipv6-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-ipv6-k8s-tests_istio

unit-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-ipv6-k8s-tests_istio

unit-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test unit-tests_istio

integ-distroless-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-ipv6-k8s-tests_istio
25c814424d12a461c8dd2bba17305382ebff637e
link
/test integ-ipv6-k8s-tests_istio

integ-distroless-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-ipv6-k8s-tests_istio

integ-security-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-security-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

cc @mandarjog @howardjohn

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-distroless-k8s-tests_istio

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-ipv6-k8s-tests_istio

integ-security-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

integ-ipv6-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-ipv6-k8s-tests_istio

integ-security-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-distroless-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-pilot-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-pilot-k8s-tests_istio

integ-security-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-distroless-k8s-tests_istio

integ-ipv6-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-ipv6-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-security-k8s-tests_istio

integ-telemetry-k8s-tests_istio
12cac338bbc2e0c6d3a5e3315b4dee7a0f1dc8ca
link
/test integ-telemetry-k8s-tests_istio

integ-distroless-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-distroless-k8s-tests_istio

integ-ipv6-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-ipv6-k8s-tests_istio

integ-pilot-k8s-tests_istio
0ddd47418c4dde2309e99ac79f282c8cc198a793
link
/test integ-pilot-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

compiled wasm passes if we bump the client timeout to 10s.. while the case with just dns, no compiled wasm functions okay without any increases in the timeout


ARTEMIS-1093 Added more tests for FQQN

@gaohoward Please close this, and bring this back whenever you fix the other PR.


Used car price prediction

💥 Proposal
This project is used to predict the used car price using Machine Learning.

I am contributor of GSSOC'23

Hi, we have several issues on the similar lines. Hence, we cannot assign you this issue.


New Command: Get-DbaAGBackupHistory

Command will need to provide the ability to pull backup history from all replicas involved in the AG, irrespective of the backup preference.
Original issue: #1712

can you tell me how this woudl be written in theory?

get a list of Replicas and DBs and pipe to BackupHistory?

In theory...
You would gather the backup history for a given database, or databases for a given AG, from every replica involved (primary and all secondaries). This should be able to use the commands around the special backup history object that @Stuart-Moore created around his work.
You then would just sort each database based on the LSN and need to find the latest full, log backups, etc. in order to build the restore path that is taken to restore each database.

I don't think you will be able to use the backup history command being that it will not take into account that backups can be stretched across multiple replicas. I recall it only handled backup history on a given instance/replica. This will require some magical parts that will build the backup object across all replicas, mainly for the log backups. Differential backups can only be taken from the primary, but full and log can be taken as copy-only from any replica in the AG.
I think you can also shortcut this by validating the backup preference of the AG; if it is set to primary only then backup history for the databases in that AG should only exist on the primary replica.

I think you can also shortcut this by validating the backup preference of the AG; if it is set to primary only then backup history for the databases in that AG should only exist on the primary replica.

That is indeed the case, but only until next failover. New primary replica would know nothing about past backups. This is why it's important to get backup information from all replicas that could possible be a primary.
And again, this will only be possible if the caller machine has an ability to address all the members of the AG using SERVER\INSTANCE (meaning Browser or SqlAliases). But that kind of makes sense, considering that even SSMS is having these problems.
Theoretically, we could get backup history from each instance and hope that shortest restoration path is still traceable. Backup forks should be identical across the cluster, which should help with identifying the proper backup sets.
This works surprisingly well when backups are shared between two AG replicas:
Get-DbaBackupHistory -SqlInstance AG1, AG2 -Database AG1Database1 | restore-dbadatabase -SqlInstance SERVER3 -databasename newdb -OutputScriptOnly

The function was able to recognize backups from both nodes and build a proper restore scenario.
So, for starters, this command might indeed just be a wrapper that "gets a list of Replicas and DBs and pipes to BackupHistory".

Yeah, it would likely be safer to just pull history from all replicas.
However on the wrapper the only problem I have with that is control of the object output. I think since this will become a more popular command it would be best to potentially duplicate, maybe, what Get-DbaBackupHistory does to a degree so that does not also break this command. {Believe me when this gets out in the wild it will become heavily used!!! 😁 }

i dont think this is in my lane, so won't set it for dbatools 1.0. if it ends up there, that'd be fab, but it wont be on my radar.

Lets link #6799 here.

@andreasjordan if you believe the PR is going to resolve issues please link them from the PR itself so the issues will get closed properly.
doc reference


Build:Cannot find type definition file for 'node'.

Please help
Severity	Code	Description	Project	File	Line	Suppression State
Error	TS2688	Build:Cannot find type definition file for 'node'.	 Source\Repos\MovieReviewStarterKit\src\MovieReviewStarterKit\tsc	1

It looks like your typescript installation is not proper!

Your sample is not running in current VS 2017. Can you please update.
Microsoft Visual Studio Community 2017
Version 15.0.26228.9 D15RTWSVC
Microsoft .NET Framework
Version 4.6.01586

Will check for latest VS 2017. Earlier I pushed the same with RC version


KITTI  calibration Intrinsic parameters

I am trying to test FCOS3D on KITTI mono data set. After following test and train on customize data to make KITTI as same as NuScenes. After running  python tools/test.py  configs/fcos3d/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_kitti-mono3d.py checkpoints/fcos3d_r101_caffe_fpn_gn-head_dcn_2x8_1x_nus-mono3d_finetune_20210427_091419-35aaaad0.pth --show --show-dir ./data/kitti/show_results
I faced with the following error:
loading annotations into memory...
Done (t=0.11s)
creating index...
index created!
/home/mh/anaconda3/lib/python3.8/site-packages/mmcv/cnn/bricks/conv_module.py:107: UserWarning: ConvModule has norm and bias at the same time
  warnings.warn('ConvModule has norm and bias at the same time')
Use load_from_local loader
[                                                  ] 0/7518, elapsed: 0s, ETA:

Traceback (most recent call last):
  File "tools/test.py", line 214, in <module>
    main()
  File "tools/test.py", line 184, in main
    outputs = single_gpu_test(model, data_loader, args.show, args.show_dir)
  File "/home/mh/mmdetection3d/mmdet3d/apis/test.py", line 46, in single_gpu_test
    model.module.show_results(data, result, out_dir)
  File "/home/mh/mmdetection3d/mmdet3d/models/detectors/single_stage_mono3d.py", line 213, in show_results
    show_multi_modality_result(
  File "/home/mh/mmdetection3d/mmdet3d/core/visualizer/show_result.py", line 250, in show_multi_modality_result
    show_img = draw_bbox(
  File "/home/mh/mmdetection3d/mmdet3d/core/visualizer/image_vis.py", line 205, in draw_camera_bbox3d_on_img
    cam_intrinsic = cam_intrinsic.reshape(3, 3).float().cpu()
RuntimeError: shape '[3, 3]' is invalid for input of size 16

The cam_intrinsic is [[721.5377, 0.0, 609.5593, 44.85728], [0.0, 721.5377, 172.854, 0.2163791], [0.0, 0.0, 1.0, 0.002745884], [0.0, 0.0, 0.0, 1.0]] - a 4x4 matrix, and I dont know how a intrinsic matrix could be 4x4- while when running FCOS3D on NuScenes successfully, the intrinsic matrix is   [[1272.5979470598488, 0.0,<PHONE_NUMBER>353808], [0.0, 1272.5979470598488,<PHONE_NUMBER>6361925], [0.0, 0.0, 1.0]] that makes more sense.
More info: For FCOS3D config I use the following base configurations:
_base_ = [
    '../_base_/datasets/kitti-mono3d-3class.py', '../_base_/models/fcos3d_kitti.py',
    '../_base_/schedules/mmdet_schedule_1x.py', '../_base_/default_runtime.py'
]

Since there are some parameters to transform the coordinate to the referenced camera (like the translation between camera 2 and referenced camera 0), the intrinsic matrix in KITTI is 4x4. In contrast, this problem does not exist in nuScenes. Please refer to the KITTI paper and issue #490 , #517 for related information and here for the relationship between intrinsic matrices of nuScenes and KITTI.

I still could not figure it out. For now, am using the [721.5377, 0.0, 609.5593], [0.0, 721.5377, 172.854], [0.0, 0.0, 1.0] for drawing bounding boxes. However, the intrinsic must be a little different from the projection matrix.

I still could not figure it out. For now, am using the [721.5377, 0.0, 609.5593], [0.0, 721.5377, 172.854], [0.0, 0.0, 1.0] for drawing bounding boxes. However, the intrinsic must be a little different from the projection matrix.

Hi, Do you training KITTI successful? Can you share the final performance results.
Thanks a lot.


Dark scans extension is not working

Steps to reproduce
From what I can tell it looks like the URL has been changed when you open it in webview it comes up with page not found. It shows HTTP error 404. However when you go on dots and just normally searching up the website it works. So I think the web view is broken for dark scans plus I think the URL that connects to the extension is wrong
Expected behavior
Are dogs open up to the page of the manga or whatever is loading
Actual behavior
It just comes up with error I think the url link is wrong
Crash logs
No response
TachiyomiSY version
App version: 1.10.5 (standard, 6c563d7, 65, 2024-03-02T20:42Z) Preview build: 0 Android version: 10 (SDK 29; build VOG-L09 <IP_ADDRESS>(C431E19R2P5)) Device brand: HUAWEI Device manufacturer: HUAWEI Device name: HWVOG (VOG-L09EEA) Device model: VOG-L09 WebView: Android System WebView 126.0.6478.186
Android version
Android 12
Device
Huawei p30 Pro
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version 1.10.5.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Report the issue to your extension repo.

how do i do that i dont know how this works


If Rejection Policy is Noop,Index

If Rejection Policy is set to "none",index can't be merged.
the log as following:
Start time [2015-11-16T03:00:00.000+08:00] >= [1970-01-01T08:00:00.000+08:00] min timestamp required in this run. Segment will be picked up in a future run.
Deep into the code
DateTime minTimestampAsDate = segmentGranularity.truncate(
        new DateTime(
            Math.max(
                windowMillis,
                rejectionPolicy.getCurrMaxTime()
                               .getMillis()
            )
            - windowMillis
        )
    );
    long minTimestamp = minTimestampAsDate.getMillis();

    log.info("Found [%,d] segments. Attempting to hand off segments that start before [%s].", sinks.size(), minTimestampAsDate);

    List<Map.Entry<Long, Sink>> sinksToPush = Lists.newArrayList();
    for (Map.Entry<Long, Sink> entry : sinks.entrySet()) {
      final Long intervalStart = entry.getKey();
      if (intervalStart < minTimestamp) {
        log.info("Adding entry [%s] for merge and push.", entry);
        sinksToPush.add(entry);
      } else {
        log.info(
            "Skipping persist and merge for entry [%s] : Start time [%s] >= [%s] min timestamp required in this run. Segment will be picked up in a future run.",
            entry,
            new DateTime(intervalStart),
            minTimestampAsDate
        );
      }
    }

minTimestampAsDate always is 1970-01-01T08:00:00.000+08:00,because rejectionPolicy.getCurrMaxTime().getMillis() is 0.
  return new RejectionPolicy()
    {
      @Override
      public DateTime getCurrMaxTime()
      {
        return new DateTime(0);
      }

      @Override
      public boolean accept(long timestamp)
      {
        return true;
      }
    };

If Rejection Policy is set to "none",index can't be merged.
the log as following:
Start time [2015-11-16T03:00:00.000+08:00] >= [1970-01-01T08:00:00.000+08:00] min timestamp required in this run. Segment will be picked up in a future run.
Deep into the code
DateTime minTimestampAsDate = segmentGranularity.truncate(
        new DateTime(
            Math.max(
                windowMillis,
                rejectionPolicy.getCurrMaxTime()
                               .getMillis()
            )
            - windowMillis
        )
    );
    long minTimestamp = minTimestampAsDate.getMillis();

    log.info("Found [%,d] segments. Attempting to hand off segments that start before [%s].", sinks.size(), minTimestampAsDate);

    List<Map.Entry<Long, Sink>> sinksToPush = Lists.newArrayList();
    for (Map.Entry<Long, Sink> entry : sinks.entrySet()) {
      final Long intervalStart = entry.getKey();
      if (intervalStart < minTimestamp) {
        log.info("Adding entry [%s] for merge and push.", entry);
        sinksToPush.add(entry);
      } else {
        log.info(
            "Skipping persist and merge for entry [%s] : Start time [%s] >= [%s] min timestamp required in this run. Segment will be picked up in a future run.",
            entry,
            new DateTime(intervalStart),
            minTimestampAsDate
        );
      }
    }

minTimestampAsDate always is 1970-01-01T08:00:00.000+08:00,because rejectionPolicy.getCurrMaxTime().getMillis() is 0.
  return new RejectionPolicy()
    {
      @Override
      public DateTime getCurrMaxTime()
      {
        return new DateTime(0);
      }

      @Override
      public boolean accept(long timestamp)
      {
        return true;
      }
    };

@Hailei  do you mind posting this in the user groups?

Great! In China,I can't access google user groups.Thanks

@Hallei can you use apache.org mailing lists in china e.g<EMAIL_ADDRESS>?
@fjy may be another reason to move to ASF :)

@Hailei can you use apache.org mailing lists in china e.g<EMAIL_ADDRESS>?
@fjy may be another reason to move to ASF :)

also to answer the question, this behavior is expected. in production, you would use batch ingestion for historical data and serverTime rejection policy for current streamed events.
none and messageTime are just for prototyping.

see faq http://druid.io/docs/latest/ingestion/faq.html

@himanshug  why i choose noop. Because my log event is not strictly chronological. eg. current event is 10:05,next maybe 10:00, In this scenario,Whether message time or server time  can throw away some event.

@Hailei unfortunately, your options are limited for now. you could use serverTime rejetion policy and use lambda architecture to periodically make corrections.
we are improving realtime ingestion to fix this use case but that will probably release sometime next quarter.

@himanshug THANKS.good idea!


Fetching images from ECR

Environment
rkt Version: 1.7.0
appc Version: 0.8.4
Go Version: go1.5.4
Go OS/Arch: linux/amd64
Features: -TPM
--
Linux 4.6.3-coreos x86_64
--
NAME=CoreOS
ID=coreos
VERSION=1068.8.0
VERSION_ID=1068.8.0
BUILD_ID=2016-07-18-0616
PRETTY_NAME="CoreOS 1068.8.0 (MoreOS)"
ANSI_COLOR="1;32"
HOME_URL="https://coreos.com/"
BUG_REPORT_URL="https://github.com/coreos/bugs/issues"
--
systemd 229
+PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT -GNUTLS -ACL +XZ -LZ4 +SECCOMP +BLKID -ELFUTILS +KMOD -IDN

What did you do?
sudo rkt --insecure-options=image run docker://<ID>.dkr.ecr.eu-west-1.amazonaws.com/frontend:master

What did you expect to see?
Running the image from the Elastic Container Registry
What did you see instead?
image: using image from local store for image name coreos.com/rkt/stage1-coreos:1.7.0
image: remote fetching from URL "docker://<ID>.dkr.ecr.eu-west-1.amazonaws.com/frontend:master"
run: registry doesn't support API v2 nor v1

It does seem to auth, as if I dont have the correct password set in /etc/rkt/auth.d/ecr.json I get
run: unexpected http code: 403

/cc @dgonyeo as I think docker2aci may need some enhancements for this.
Moreover it looks like users still need to fiddle a bit to bridge image fetching and AWS auth. @thattommyhall can you try getting an ECR temporary token as explained in http://docs.aws.amazon.com/AmazonECR/latest/userguide/Registries.html#registry_auth?

I did that (good for 12h), then copied it into the auth file.

Just wondering if there is any change to this, will rkt be able to log into ECR?

I believe this issue can be closed, or converted to a request for improved documentation.
It is possible to run images from ECR, but it took me several false starts before I figured out the correct configuration.
File: /etc/rkt/auth.d/ecr.json
{
  "rktKind": "dockerAuth",
  "rktVersion": "v1",
  "registries": [
    "<AWS ACCOUNT ID>.dkr.ecr.us-east-1.amazonaws.com"
  ],
  "credentials": {
    "user": "AWS",
    "password": "<docker login PASSWORD>"
  }
}

@sjansen thanks for clarifying - would you be open to filing a PR to explain this in the documentation?

@sjansen Thank you for posting the solution, they are working great for me as well.

The password thus generated is only good for 12h though remember

Hi.
For me the proposed solution does not solve the problem because the password returned by aws ecr get-login lasts only for 24h, so one cannot hardcode it in the rkt config.
Sadly the only true solution is something similar to docker's credential helpers…

Hi @navaati, that is right - the credentials issued by AWS do expire. I've worked with this AWS workflow by regenerating the configuration file every hour via a cron or timer.


train_epoch_end called before epoch_end

🐛 Bug

Please reproduce using the BoringModel and post here

To Reproduce

https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pytorch_lightning/trainer/training_loop.py#L858
Expected behavior

Environment
Note: Bugs with code are solved faster ! Colab Notebook should be made public !

IDE: Please, use our python bug_report_model.py template.

Colab Notebook: Please copy and paste the output from our environment collection script (or fill out the checklist below manually).

You can get the script and run it with:
wget https://raw.githubusercontent.com/PyTorchLightning/pytorch-lightning/master/tests/collect_env_details.py
# For security purposes, please check the contents of collect_env_details.py before running it.
python collect_env_details.py

PyTorch Version (e.g., 1.0):
OS (e.g., Linux):
How you installed PyTorch (conda, pip, source):
Build command you used (if compiling from source):
Python version:
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

Additional context

Hi @tchaton, what's the expected behavior here? As in the code, run_on_epoch_end_hook is called in run_training_epoch.
    def run_on_epoch_end_hook(self, epoch_output):
        # inform logger the batch loop has finished
        self.trainer.logger_connector.on_train_epoch_end()

        self.trainer.call_hook('on_epoch_end')
        self.trainer.call_hook('on_train_epoch_end', epoch_output)

Just want to be clear if the sequence needs to be changed. Thanks!

Hi @tchaton, what's the expected behavior here? As in the code, run_on_epoch_end_hook is called in run_training_epoch.
    def run_on_epoch_end_hook(self, epoch_output):
        # inform logger the batch loop has finished
        self.trainer.logger_connector.on_train_epoch_end()

        self.trainer.call_hook('on_epoch_end')
        self.trainer.call_hook('on_train_epoch_end', epoch_output)

Just want to be clear if the sequence needs to be changed. Thanks!


Final referral testing on fairground

[x] Check the ACs on this ticket https://github.com/vegaprotocol/frontend-monorepo/issues/5298
[x] Make sure to test that staking changes the multiplier as expected.
[x] Make sure we dont get a recurrence of the 7th tier issue Dale found
[x] Make sure close position works

New feedback
BUG On the referrer stats page

Base commission is good
Staking multiplier is correct
But I have a rounding / precision nightmare going on...and 5% x 1.1 should be giving me 5.5% if I'm not mistaken?
Looking at the graphQL ... I'm not totally sure how to query it directly as the referrer (but Art must be doing it somehow) ... but if I look at the set I see the below:

          "node": {
            "partyId": "f8382994c9cd12507d6152b47d1cec2177a02c8c54c3a8741761503a5b0d1124",
            "wasEligible": true,
            "discountFactor": "0.1",
            "rewardFactor": "0.05",
            "rewardsMultiplier": "1.1",
            "rewardsFactorMultiplier": "0.055",
            "epochNotionalTakerVolume": "0",
            "referrerTakerVolume": "0",
            "referralSetRunningNotionalTakerVolume": "182577",
            "atEpoch": 10532

So the API seems to be correctly giving me 0.055 but something is wrong on our end.
When I have a wallet but I have no funds
When trying to join from a key with no funds this is the message:

A minimum of 10 what?
It should say:
"To protect the network from spam, you must have at least spam.protection.applyReferral.min.funds qUSD of any asset on the network to proceed" (and we should put our normal qUSD tooltip on there).
When I am brand new
The site detects that I am new and hits me with the onboarding modal on top of the referral page .... it is clunky and unecessary.

IMO if I'm landing via a referral link:

I know I'm coming in via a link, I'm not a brand new user that needs this onboarding flow
It makes more sense to present me the onboarding flow through the screen which we already basically do .... we land with a code, we tell you if you need a wallet, we tell you if you need funds, and we handle the deposit all on screen.... the only thing you might claim we're missing is the up front view on the steps in that we hide the need for a deposit from you until after you have the wallet.
If we leave this here:
4. If you click explore you get shot off to the most traded market and lose your code etc.
5. If you click connect you might get sent off to the wallet download which is OK
6. Once you come back from the wallet download you get sent to the guided deposit page, and therefore lose the referral page and your code ... this is cleaner using the popout sidebar the way the referral page handles it

I think we have to either:

Not show the onboarding modal if you're navigating in via a referral code... handle onboarding on the page
The onboarding modal needs to know you're in the "Referral onboarding flow" and therefore show you something a bit different ... probably a step for "Apply referral code" should be in the list, and maybe it should have some fun text .. "You've landed on Consoel from code 724hjk34hj43.... start your onboarding below" or something.... the onboarding flow would also need to store your code so when you return from the guided deposit page it can populate it again for you

Personally the path of least resistance is 1 in my view, what do you think? Maybe we can revisit 2 next week, but in the interest of getting a release out tonight I think 1 is more achievable?

@JonRay15 I think option 1 with regard to on-boarding is the best option for now.
Honestly I think we need to rethink the whole on-boarding implementation. I would suggest we look at creating a specific page to direct users to for wallet/deposit/referral code guidance /onboard or something like that

Bug on the final commission is fixed

No funds message has been corrected BUT we still dont have a tooltip on the qUSD

I want to include this tooltip from the referrer stats page ... but I will put that in another ticket.


Chrome selects entire document when highlighting text.

This problem has been existing for a while I think and hasn't yet been fixed on Chrome.
It's documented well here:
https://github.com/mozilla/pdf.js/issues/4843
And there seem to be a lot of patches that address this issue. However, on Chrome the 'select entire document' problem remains.
Basically, if you're selecting a paragraph, the text in the current paragraph will initially work fine.  But then what happens is that you'll get between lines, and then the entire document will be highlighted, then move to the next line and it jumps back and only selects where your mouse pointer is.
I can create a video if you want but if you just try to select text slowly on chrome it will exhibit this behavior.
We're building an annotation app on top of PDF.js and this prevents us from easily highlighting text.
Attach (recommended) or Link to PDF file here:
https://mozilla.github.io/pdf.js/web/viewer.html
Configuration:

Web browser and its version: Chrome Version 67.0.3396.62 (Official Build) (64-bit)

Operating system and its version: Ubuntu 18.04

PDF.js version: latest on mozilla.github.io/pdf.js

Is a browser extension: no

Steps to reproduce the problem:

Launch chrome and load pdf
Try to select text, if you drag slowly between lines, the entire document is selected.

What is the expected behavior? (add screenshot)
Same behavior on firefox.
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
https://mozilla.github.io/pdf.js/web/viewer.html

Any way I could help here?  This is a super important bug for us...

FWIW, I have the same problem and would appreciate if anyone knows a solution for this.

Fixed:
just add height:200px  to
.textLayer > div {height:200px;}
in viewer.css

Just tested it... it SEEMS to make the problem better but doesn't completely rectify it.

Little workaround:
if (sel.anchorNode) {
if (sel.anchorNode.className) {
if (sel.anchorNode.className.match("textLayer") == "textLayer") {
if (window.getSelection) {
if (window.getSelection().empty) {  // Chrome
window.getSelection().empty();
} else if (window.getSelection().removeAllRanges) {  // Firefox
window.getSelection().removeAllRanges();
}
} else if (document.selection) {  // IE?
document.selection.empty();
}
$("#viewer").css({"-moz-user-select": "none"});
console.log("selection off for 4 sec");
window.setTimeout(function() {$("#viewer").css({"-moz-user-select": "text"});}, 4000);
};
}
}

This is really a bug that needs to be fixed... its impacting multiple people.
Any way I can help mozilla?

@bikb on what element shouId I try that selectionchange listener?

Just FYI this is impacting a LOT of our users:
https://getpolarized.io/
... ALL... ?  Chrome is the major browser and 85% of our users are on Chrome and using this.  Love that it works in FF but would like to see it working on Chrome too.

change the -moz-user-select to user-select because my fix was for firefox and you need it for chrome

@bikb thats ok but what is 'sel' ?I assume this is just window.getSelection() ?

Also, I think it just clears the selection ... right?

I think something like this would work.
Basically we prevent the default event handler when the selection is active and it's jumped into the parent.
Needs to be adjusted..
This stuff is prone to error so am I missing anything here?
https://gist.github.com/burtonator/1a097fe5c0b8212a84e83cba8e319773
One other feature I think is that the range should be extended based on the mouse position.
I think we could use elementsAtPoint based on the mouse position and changing the range but I still need to think about it.

The selection behaviour is also the same on I.E. 11.

And on Safari...

It seems the behaviour is correct on Firefox only right?

Similar result if starting the selection left of the 'Abstract' title. Drag down.

Also, a problem when the mouse is dragged from the document to off the document space (but still within the viewer). The selection alters to select everything on the page prior the original starting point. Tested on Firefox - 69.0.1 (64-bit). Windows 10 Pro.

Moved the mouse further right to trigger the problem.

It's funny that Mozilla complains that certain bugs are only fixed in Chrome but in one of their flagship OSS projects this bug has only been FIXED in Firefox for > 4 years now?
Can we figure out WHY it works in Firefox?  If so we can implement a patch for the other browsers.

@lawriebaberscovell-solirius and I'm unclear, are you saying your PR fixes this bug?  Is so you're my hero!

You can try the enhanced text selection mode, which is an experimental viewer preference. You can set the textLayerMode flag to 2 to enable it. Alternatively, go to https://mozilla.github.io/pdf.js/web/viewer.html, open the web console, run PDFViewerApplication.preferences.set('textLayerMode', 2); and refresh the page. I didn't notice a difference with regards to https://github.com/mozilla/pdf.js/issues/9843#issuecomment-537554926 and https://github.com/mozilla/pdf.js/issues/9843#issuecomment-537567313 in Firefox, but perhaps it does help in Chrome.
Note that this text selection mode is what is discussed in #4843 and that it's not enabled by default because it has some rough edges (most likely performance-wise since it does div expansion), which is tracked in #7584. If we know that this problem is reduced by it, we can perhaps take another shot at improving that so it can be enabled by default. If it doesn't fix it, we also have a bit more information to work with.

It's funny that Mozilla complains that certain bugs are only fixed in Chrome but in one of their flagship OSS projects this bug has only been FIXED in Firefox for > 4 years now?

Most of the behavior described here (although I think not everything has the same cause) happens in Firefox for me too, so I don't really know where this claim comes from, nor does it help to resolve the issue any sooner, so please keep comments limited to constructive ones.

@lawriebaberscovell-solirius and I'm unclear, are you saying your PR fixes this bug? Is so you're my hero!

No - it doesn't. But the problem appears in Firefox as well.

You can try the enhanced text selection mode, which is an experimental viewer preference. You can set the textLayerMode flag to 2 to enable it. Alternatively, go to https://mozilla.github.io/pdf.js/web/viewer.html, open the web console, run PDFViewerApplication.preferences.set('textLayerMode', 2); and refresh the page. I didn't notice a difference with regards to #9843 (comment) and #9843 (comment) in Firefox, but perhaps it does help in Chrome.
Note that this text selection mode is what is discussed in #4843 and that it's not enabled by default because it has some rough edges (most likely performance-wise since it does div expansion), which is tracked in #7584. If we know that this problem is reduced by it, we can perhaps take another shot at improving that so it can be enabled by default. If it doesn't fix it, we also have a bit more information to work with.

It's funny that Mozilla complains that certain bugs are only fixed in Chrome but in one of their flagship OSS projects this bug has only been FIXED in Firefox for > 4 years now?

Most of the behavior described here (although I think not everything has the same cause) happens in Firefox for me too, so I don't really know where this claim comes from, nor does it help to resolve the issue any sooner, so please keep comments limited to constructive ones.

Thanks Tim - We'll look into this.

Did somebody find a solution in chrome to this problem?
This selection really makes the extension unusable, can't read properly.
(using the latest pdf.js GitHub version)

Did somebody find a solution in chrome to this problem? This selection really makes the extension unusable, can't read properly. (using the latest pdf.js GitHub version)

did you try the textLayerMode - 2? i think its ok. but it has problem with regards to getting the text selection bounds since youll be getting bounds that are nor within the text's area.
if youre only concerned about selection, give that a try. but if you also need to get the bounds getClientRects, theyre whacked so its unusable.

@chitgoks @timvandermeij Is it possible to use the textLayerMode - 2 with the pre-compiled PDF.JS ? I mean the one available here https://mozilla.github.io/pdf.js/build/pdf.js because we have an application that does not use NodeJS.
If possible, please provide sample code

Any news, progress, or recommendations on this one?
Although textLayerMode - 2 works to make the selection better, when we get the selected bounds (getClientRects) it is a mess.

@Snuffleupagus I understand closing the related issues, but would also be nice to share some perspective, if any, on this issue as well. Specially now that enhanceTextSelection has been removed.

I am working on a fork for re-adding the enhanceTextSelection which was removed in #15259. Text selection is broken in Chromium without this feature.
If someone has found a better solution than this let me know

Was this perhaps fixed, or at least improved, by PR #17923?

The issue described in https://github.com/mozilla/pdf.js/issues/9843#issuecomment-537567313 still happens, while the rest of the examples that had a clear description on what to select and how to move the mouse seem to be fixed.

Does this have a workaround or something for Chrome with pdfjs-dist?

Let's close this as fixed by PR #17923, since the issue as originally filed has been addressed.
There's a lot of somewhat unrelated discussion above, making this a bit difficult to follow, and any further problems should really be filed separately to allow proper tracking.


Why is there no version of  Gateway Reactive Server in a simple example

Only this Gateway Reactive Server does not have an Gateway Server MVC,Is there any reason for this?

@cn-Mango7 I don't understand your question. Either way, questions are better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements.


cannot run the evaluation code

https://github.com/hjkuijf/wmhchallenge/blob/10391cb1a837e913d81ed4899eef6cff88179f27/evaluation.py#L164
name 'lTest' is not defined
https://github.com/hjkuijf/wmhchallenge/blob/master/evaluation.py#L122
TypeError: in method 'Image_TransformIndexToPhysicalPoint', argument 2 of type 'std::vector< int64_t,std::allocator< int64_t > > const &'
I'm uisng python3.6 and SimpleITK3.0.11.
Thanks.

Thanks for reporting this issue. I have fixed this and lTest is now defined on line 161: https://github.com/hjkuijf/wmhchallenge/blob/8d725b733ce56a358a5df5cd7b962b1677ea0c78/evaluation.py#L161

Hi hjkuijf,
I have the very exact problem even after you fix

Can you download a fresh copy of the evaluation.py file from github and give it another try? As far as I can see, it should work properly. If not, can you share the exact error message?

Traceback (most recent call last):
File "/home/nir/h_python1/evaluation.py", line 199, in
do()
File "/home/nir/h_python1/evaluation.py", line 26, in do
h95 = getHausdorff(testImage, resultImage)
File "/home/nir/h_python1/evaluation.py", line 124, in getHausdorff
np.transpose(np.flipud(np.nonzero(hTestArray))).astype(int))
File "/opt/anaconda/envs/nir-gpu/lib/python3.6/site-packages/numpy/lib/shape_base.py", line 132, in apply_along_axis
res = asanyarray(func1d(inarr_view[ind0], *args, **kwargs))
File "/opt/anaconda/envs/nir-gpu/lib/python3.6/site-packages/SimpleITK/SimpleITK.py", line 3815, in TransformIndexToPhysicalPoint
return _SimpleITK.Image_TransformIndexToPhysicalPoint(self, index)
TypeError: in method 'Image_TransformIndexToPhysicalPoint', argument 2 of type 'std::vector< int64_t,std::allocator< int64_t > > const &'

That is a different kind of error. Please use python 2.7 for this script. If the error remains, you can open a new issue.


sketch插件重命名

Version
Sketch version
What is exptected?
What is actually happening?
How to repreduce this problem?
The error log from Console.app when the problem occurred

Invalid issue, so I will close it.


Version check is not working properly

New version reported when a new version isn't actually available.

Found the issue. Should be fixed, now.


Distributed lock when writing to content store

https://trello.com/c/T9OE6SSJ/916-distributed-lock-to-resolve-race-conditions-updating-content-store
This uses the with_advisory_lock gem to use PostgreSQL's advisory lock feature to perform a distributed lock when writing to the content store.
See individual commits for further details.

How do you see this fitting in with the payload versions (this overlaps with the comment on the Trello ticket)?
I see the payload versions as preventing older payloads from overwriting newer payloads, causing the Publishing API to retry until the Content Store is correctly updated. Whereas using a lock means that there should be no issues with requests overlapping, so the use of payload versions is now redundant?

Sorry @cbaines - I missed your comment on the Trello board.
I see this and the UpdateLock (payload_versions) as being two separate things. This lock ensures that we aren't writing to the content store at the same path at the same time, whereas the payload_version is used to ensure that an older item doesn't replace a newer one.
I'd guess the following situation could occur:

two items with content_id: a with different payload versions start being processed
newer payload version gets a lock first
older item waits until that lock is free, and then requests content store

It would be good though to find a way to kill off the payload version concern as it isn't ideal to have the concerns split across the apps. I'll include this on my wishlist for the downstream rewrite.

Sorry @cbaines - I missed your comment on the Trello board.
I see this and the UpdateLock (payload_versions) as being two separate things. This lock ensures that we aren't writing to the content store at the same path at the same time, whereas the payload_version is used to ensure that an older item doesn't replace a newer one.
I'd guess the following situation could occur:
two items with content_id: a with different payload versions start being processed
newer payload version gets a lock first
older item waits until that lock is free, and then requests content store

Ah yes, I missed that the problems are indeed separate, and can overlap.


Kconfig: Add user configurable ARG_BUFFER_SIZE option.

Change MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE macro to get the value
from user configurable CONFIG_LOG_MIPI_SYST_ARGS_BUFFER_SIZE
Kconfig option which defaults to 1kb.
CONFIG_LOG_MIPI_SYST_ARGS_BUFFER_SIZE would give flexibility to
users when maximum log length is known.
For more details see zephyrproject-rtos/zephyr#48839
Fixes #10
Signed-off-by: Aastha Grover<EMAIL_ADDRESS>

@inteljiangwe1 I am not able to add you as a reviewer to this PR. Please try to add yourself to this repository and review the fix. Thanks!!

The sys-t module doesn't natively use Kconfig as a configuration mechanism and we should not introduce it for this. Instead, I recommend adding this Kconfig symbol in the main zephyr repo and have it set MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE there.

@MaureenHelm  I agree with your point. However, since we as zephyr maintain a version of this mipi-sys-t library, can it not be zephyr project's decision to add the Kconfig mechanism? Just putting out my thoughts here. Let me know if this is not how a module is maintained in zephyr.

The sys-t module doesn't natively use Kconfig as a configuration mechanism and we should not introduce it for this. Instead, I recommend adding this Kconfig symbol in the main zephyr repo and have it set MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE there.

@MaureenHelm I agree with your point. However, since we as zephyr maintain a version of this mipi-sys-t library, can it not be zephyr project's decision to add the Kconfig mechanism? Just putting out my thoughts here. Let me know if this is not how a module is maintained in zephyr.

@MaureenHelm I have updated this PR and submitted another one in the main zephyr repo here: https://github.com/zephyrproject-rtos/zephyr/pull/48839.

Can we accomplish this without touching the main library? Is there somewhere in the zephyr integration code that we can set the macro?

@MaureenHelm For making this possible, If I define the macro in one of the zephyr header files. I do not think that the header file from zephyr can be referenced/included in the mipi-sys-t repo. Thoughts?

Can we accomplish this without touching the main library? Is there somewhere in the zephyr integration code that we can set the macro?

@MaureenHelm For making this possible, If I define the macro in one of the zephyr header files. I do not think that the header file from zephyr can be referenced/included in the mipi-sys-t repo. Thoughts?

Can you define the macro in CMakeLists.txt here or in subsys/logging/mipi_syst/platform.h in the main zephyr repo?

Can we accomplish this without touching the main library? Is there somewhere in the zephyr integration code that we can set the macro?

@MaureenHelm For making this possible, If I define the macro in one of the zephyr header files. I do not think that the header file from zephyr can be referenced/included in the mipi-sys-t repo. Thoughts?

Can you define the macro in CMakeLists.txt here or in subsys/logging/mipi_syst/platform.h in the main zephyr repo?

@MaureenHelm Defining the macro in platform.h works but it would still require some modification in the mipi_syst library for having an if !defined(MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE) block around mipi-sys-t/library/include/mipi_syst.h.in : 532 + moving this definition after #include "mipi_syst/platform.h" line 602 in mipi_syst.h.in. Not sure if the only intention to make it work in zephyr was to not make modifications in the library itself ?
Using macro definition in CMakeList.txt doesn't propagate the user-configurable value for MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE. Hope that makes sense. Let me know if you have any suggestions or questions here.

I'm going to add my two cents.  As far as I can tell, the source code in the mipi-syst module does not explicitly include any zephyr header files. This really limits how we propagate configuration information to that module. There may be something of which I am not aware (it would not be the first), but it seems to me that the two methods of changing mipi-syst module's MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE macro are ...

Modify its source code directly
Modify the command used to build its .o files to define the macro MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE.

Option 2 would still require an update to the mipi-syst module's source code to add in a #ifndef/#endif block to ensure that the value is not overridden. This to me essentially leaves option 1 as the simplest and most straight-forward. I understand that it is not necessarily the most desirable solution to modify the mipi-syst module source code, but I am just not seeing any option where such modifications would not be the case.

It is ok to modify this module, but Zephyr-specific changes should be limited to Zephyr-specific integration code and done in a way that would be upstreamable to the original source repo. Even though this repo is a downstream fork used for Zephyr, we want to try to keep it as close to upstream as possible. Ideally we should be sending patches upstream, but they haven't been actively accepting PRs.

Defining the macro in platform.h works but it would still require some modification in the mipi_syst library for having an if !defined(MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE) block around mipi-sys-t/library/include/mipi_syst.h.in : 532 + moving this definition after #include "mipi_syst/platform.h" line 602 in mipi_syst.h.in. Not sure if the only intention to make it work in zephyr was to not make modifications in the library itself ?

This is a better solution because it modifies a shared part of the module in a Zephyr-agnostic way but allows Zephyr to configure the value in Zephyr-specific integration code.

It is ok to modify this module, but Zephyr-specific changes should be limited to Zephyr-specific integration code and done in a way that would be upstreamable to the original source repo. Even though this repo is a downstream fork used for Zephyr, we want to try to keep it as close to upstream as possible. Ideally we should be sending patches upstream, but they haven't been actively accepting PRs.

Defining the macro in platform.h works but it would still require some modification in the mipi_syst library for having an if !defined(MIPI_SYST_PCFG_PRINTF_ARGBUF_SIZE) block around mipi-sys-t/library/include/mipi_syst.h.in : 532 + moving this definition after #include "mipi_syst/platform.h" line 602 in mipi_syst.h.in. Not sure if the only intention to make it work in zephyr was to not make modifications in the library itself ?

This is a better solution because it modifies a shared part of the module in a Zephyr-agnostic way but allows Zephyr to configure the value in Zephyr-specific integration code.

@MaureenHelm Makes sense. I have updated this PR and the associated zephyr PR. Please re-review and let me know if incase I missed anything. Thanks!!


Please add http://www.uartes.edu.ec/

please add: http://www.uartes.edu.ec/
<EMAIL_ADDRESS>Teacher/Student
For educational purpose

@cagmac I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!

@cagmac I am sorry, I have to close the request without merging, because you made a mistake in a request and requested to merge too many files, most of them do not relate to the organization which you would like to add to this repository. Please ensure that you are familiar with this repository rules located at the bottom of this page and submit a new request with the correct information. Thank you for understanding!


@PostData annotation that turns post data into instance of the provided parameter type

if there is a method declared as
@URI("/test")
public Object test(
    @PostData YourObject obj
) {
    obj.doSomething();
    return someValue;
}

the annotation is supposed to read the post data and turn it into a YourObject instance and pass it into the method.

Implemented


API towards v0.3

Road map of the journey towards v0.3 API:

[x] Remove generic_array support
[x] Add CapacityError error type
[x] Support 16-bit target
[x] Deprecate nodrop and use ManuallyDrop instead, which will bump the minimal rust version to v1.20.
[x] Improve document
[ ] Wrapping buffer behavior
[ ] Document for wrapping buffer behavior
[ ] Reorder document of functions

For an attempt at …

[ ] Wrapping buffer behavior
[ ] Document for wrapping buffer behavior

… see: PR https://github.com/andylokandy/arraydeque/pull/9.


I got error when try to open process

Hi, i got this error when i try to open process with Pid:
Unable to open Process
My error code:
5
I also try running cmd as administrator and running this command:
python test.py
but its still don't work.

No, I got that error in only 1 process . I tried it in other processes and there was no problem. It also works when I try to open same process with Cheat Engine and it also works when I try with Memory.dll (a C# library)

Could you check if that fixes the issue? If you aren't able to compile it for any reason let me know and I'll leave you a download for the compiled version.

Please try https://github.com/qb-0/PyMeow/releases/tag/1.4

So it could be a general rights issue by python for you.

Could it be a problem to use the script without compiling or maybe problem is Python version I am using? What version does PyMeow run on?

Pymeow should run on all python 3 versions. But I guess switching to another version won't make a difference. If you want to contact me on discord and let me know which process causes that issues so I can test it out myself.

If you want to test process yourself: Download


Feature Request: Support UUID types

Our rails app has a mix of uuid and bigint id types. It would be awesome if noncommittal detected column type and constrained to a table like noncommittal_no_rows_allowed_uuid.

@searls I'd be happy to take on this request. How would I go about getting permission to open a pull request here?

You're welcome to open a PR against the repo!


Failure on using dataStoreSecrets

Hello, I'm trying to deploy Trino Gateway using Helm (version 1.13.0). I have populated the dataStoreSecrets section and removed the dataStore configuration from the config section. However, the final configuration still includes the default values, override/merge from dataStoreSecrets doesn't show up.
dataStore:
   driver: org.postgresql.Driver
   jdbcUrl: jdbc:postgresql://localhost:5432/gateway
   password: mysecretpassword
   user: postgres

I see code in templates/secrets.yaml
data:
    config.yaml: "{{toYaml (merge .Values.config $authenticationDict $dataStoreDict $backendStateDict ) | b64enc}}"

I'm not sure how these default values are being populated. Could someone help me understand? Thank you in advance!

@willmostly helped take investigate in slack channel, he find it's due to in
merge .Values.config $authenticationDict $dataStoreDict $backendStateDict
.Values.config is populated with the custom values you supply + the default values... which contains
dataStore:
   driver: org.postgresql.Driver
   jdbcUrl: jdbc:postgresql://localhost:5432/gateway
   password: mysecretpassword
   user: postgres

the merge function does give precedence to the leftmost dictionary, the default will prevent the value from the secret from taking effect.

I'm using the workaround Will suggested now
config:
  dataStore: null


Getting false status when using Follow Client

Hello,
For our project, we are using SpotifyAPI.Web --version 6.0.0-beta.9 nuget package.
I am using Follow client to follow a user and Library client to save an album and track.
I was able to Follow the artist and saved the track and album but it is always returning the false status.
It is probably due to wrong status Code comparison..
Like Follow artist return status code 204 but it is being compared with status code 200.
Can you please look into the issue?
Thank you

Indeed, hotfix coming up today :)

Welcome to the world of spotify's api, where following a playlist returns a 200 and following a user returns a 204 on success 😅
beta.11 is currently releasing - it should be fixed there @shubham061996  👍

Hi,
There is same problem with save track and album.

I'm sorry, overread that part. Will deliver a fix @shubham061996


Pipenv (if desired)

Ran the tests, using only the provided Pipfile.lock — they mostly passed, so I assume everything is working as intended.
Ran 94 tests in 171.589s

FAILED (errors=2)

Please dismiss if this isn't desired.

Coverage remained the same at 74.323% when pulling 20113bb6d53700b6fed5568bec4d62de56a3e70a on kennethreitz:pipenv into 8b1c5b838747959acbe4bd4b4c584cc126065edb on Miserlou:master.

working on travis still

All set, I think.

:+1:


[typescript-react-query] Support React Query 3

Is your feature request related to a problem? Please describe.

I've updated react-query to version 3 which has breaking changes.

The generated file is importing MutationConfig and QueryConfig which no longer exist.
The generated hooks should have generic types as we can now transform the fetched data into another type.

Describe the solution you'd like

Support react-query version 3.

use UseMutationOptions and UseQueryOptions instead.
allow generic types to be able to override the defaults: useQuery<TData = unknown, TError = unknown, TQueryFnData = TData> and useMutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>

Additional context

https://react-query.tanstack.com/guides/migrating-to-react-query-3
https://react-query.tanstack.com/guides/migrating-to-react-query-3#query-data-selectors

My PR addresses the react-query v3 change for the imports.
Also a slight change to the mutations (but perhaps maybe I misunderstood how it was supposed to be used) so that variables are passed to mutate and not at the instantiation.
I haven't taken a look at the generic types yet. I'll try to take a look tomorrow

Ok @zbeyens do you mean something like this?
Modified v3 custom hook
export const useListPostsQueryV3 = <TData, TQueryFnData>(variables: any, options?: UseQueryOptions<TQueryFnData, unknown, TData>) =>
  useQuery<TQueryFnData, unknown, TData>(
    ["ListPosts", variables],
    fetcher<TQueryFnData, ListPostsQueryVariables>(
      ListPostsDocument,
      variables
    ),
    options
  );

Example of using the hook
const { data, isLoading, refetch } = useListPostsQueryModified<Post[], ListPostsQuery>(null, {
    refetchOnWindowFocus: false,
    select: (posts) => posts.listPosts?.items ?? []
  });

useQuery

useQuery<TData = unknown, TError = unknown, TQueryFnData = TData>

3 generics:
export const useDocumentItemQueryV3 = <
  TData = DocumentItemQuery,
  TError = unknown,
  TQueryFnData = DocumentItemQuery,
>(
  variables: DocumentItemQueryVariables,
  options?: UseQueryOptions<TData, TError, TQueryFnData>
) =>
  useQuery<TData, TError, TQueryFnData>(
    ['DocumentItem', variables],
    fetcher<TQueryFnData | TData, DocumentItemQueryVariables>(
      client,
      DocumentItemDocument,
      variables
    ),
    options
  );

I think we can omit the third generic as it should always be TQueryFnData = DocumentItemQuery, so with 2 generics:
export const useDocumentItemQueryV3 = <
  TData = DocumentItemQuery,
  TError = unknown,
>(
  variables: DocumentItemQueryVariables,
  options?: UseQueryOptions<TData, TError, DocumentItemQuery>
) =>
  useQuery<TData, TError, DocumentItemQuery>(
    ['DocumentItem', variables],
    fetcher<DocumentItemQuery, DocumentItemQueryVariables>(
      client,
      DocumentItemDocument,
      variables
    ),
    options
  );

Example of using the hook:
// data type is DocumentItemQuery['document_by_pk']
const { data } = useDocumentItemQueryV3<DocumentItemQuery['document_by_pk']>(
    variables,
    { select: (d) => d.document_by_pk } // new option in v3
  )

useMutation

useMutation<TData = unknown, TError = unknown, TVariables = void, TContext = unknown>

2 generics, removing variables parameter (see below):
export const useDeleteBlockMutation = <TError = unknown, TContext = unknown>(client: GraphQLClient, options?: UseMutationOptions<DeleteBlockMutation, TError, DeleteBlockMutationVariables, TContext>) =>
  useMutation<DeleteBlockMutation, TError, DeleteBlockMutationVariables, TContext>(
    fetcher<DeleteBlockMutation, DeleteBlockMutationVariables>(client, DeleteBlockDocument),
    options
  );

Mutation variables
When doing a mutation, you currently have to pass the variables when declaring the hook:
// currently
const { mutate } = useDeleteBlockLazyMutation({ id: 1 }, options);

// should be:
const { mutate } = useDeleteBlockLazyMutation(options);
mutate({ id: 1 });

But it's not the official way react-query is passing variables. It's passed in the mutate function for more control (e.g. called in a callback), which is not supported with the current fetcher.
Can you please use this fetcher for mutations (not compatible with queries):
function mutationFetcher<TData, TVariables>(client: GraphQLClient, query: string) {
  return async (variables?: TVariables): Promise<TData> => client.request<TData, TVariables>(query, variables);
}

@zbeyens Thanks! My generic knowledge is a little lacking. I sweat I tried the export const useDocumentItemQueryV3 = <TData = DocumentItemQuery, TError = unknown,>(... example last night and it wasn't working. Fresh day though and it's good to go.
I'll go ahead and rewrite it to drop v2 support. It'll definitely be easier than supporting both.
As for the mutation this appears to work with the current fetch implementations: dropping the variables and calling the function
export const useSubmitRepositoryMutation = (
  dataSource: { endpoint: string; fetchParams?: RequestInit },
  options?: UseMutationOptions<SubmitRepositoryMutation, unknown, SubmitRepositoryMutationVariables>
) =>
  useMutation<SubmitRepositoryMutation, unknown, SubmitRepositoryMutationVariables>(
    (variables?: SubmitRepositoryMutationVariables) =>
      fetcher<SubmitRepositoryMutation, SubmitRepositoryMutationVariables>(
        dataSource.endpoint,
        dataSource.fetchParams || {},
        SubmitRepositoryDocument,
        variables
      )(),
    options
  );

PR has been updated. Let me know what you all think

Perfect! Added a small review

Available in<EMAIL_ADDRESS>Thank you all!