Ability to clear date in DatePicker

Description
Currently there’s no way to clear a date once it’s been set in the DatePicker.
Link to Reproduction
No response
Steps to reproduce
No response
Saas UI Version
2.5.10
Chakra UI Version
2.8.2
Browser
Google Chrome 121
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Could you go a bit more in details how you expect this to work, maybe with an example? When you use a controlled value you can reset it, but maybe that's not what you're looking for.


Is there any quickstart or step by step guide available?

Hello
Trying to start the gateway, spent a lot of time but still can't understand. I see by other user's questions / comments that it's working but can't find the way to do the same. Is there any quick-start guide for dockerhub version? Tried to grab it with portainer without any luck, now with simple docker on linux, ends with
Cannot get oidc provider: Get "http://keycloak:8080/auth/realms/rdpgw/.well-known/openid-configuration": dial tcp: lookup keycloak on
is there a way to quickly start without 2FA to connect from outside to Windows RDP in LAN ?

I've made new keycloak installation, added realm and client, got the client ID and secret, need some walk thru all options
docker --run name rdpgw bolkedebruin/rdpgw:latest
-e RDPGW_SERVER__SSL_CERT_FILE=/etc/rdpgw/cert.pem < -- replaced with LE cert path
-e RDPGW_SERVER__SSL_KEY_FILE=/etc/rdpgw.cert.pem < -- replaced with LE key path
-e RDPGW_SERVER__GATEWAY_ADDRESS=https://localhost:443 <-- replaced with real address
-e RDPGW_SERVER__SESSION_KEY=thisisasessionkeyreplacethisjetz  # 32 characters <--- replaced with generated string
-e RDPGW_SERVER__SESSION_ENCRYPTION_KEY=thisisasessionkeyreplacethisnunu # 32 characters <--- replaced with generated string
-e RDPGW_OPENID__PROVIDER_URL=http://keycloak:8080/auth/realms/rdpgw <-- replaced with real keycloak address
-e RDPGW_OPENID__CLIENT_ID=rdpgw <-- replaced with client ID from Keycloak
-e RDPGW_OPENID__CLIENT_SECRET=01cd304c-6f43-4480-9479-618eb6fd578f <-- replaced with client secret from Keycloak
-e RDPGW_SECURITY__SECURITY_PAA_TOKEN_SIGNING_KEY=prettypleasereplacemeinproductio # <--- replaced with generated string
-v conf:/etc/rdpgw
First of all please comment, did I understood correctly these environment variables?
and after composing the command line with real valiues, docker --run name rdpgw bolkedebruin/rdpgw:latest responsed with the error
unknown flag: --run
docker run bolkedebruin/rdpgw:latest repsponded with error
unknown flag `e'

I just use it for home use i dont know about keycloak i use authentik thats installed on other machine
download the dev folder in this project.
change the docker compose remove keycloak and xrdp part completely
where it says rdpgw: remove depends on: keycloak and change or remove healthcheck
create for your gateway a provider "openid" and application in authentik.
then change the yaml inside the dev folder
gatewayadres: your gateway adres that you made in ngnix or cloudflare for this purpose
Host: change to your windows RDP ip port
ProviderUrl: use the provided url in authentik when you created the provider and application url called OpenID Configuration Issuer
ClientId: from authentik where your provider is
ClientSecret: same place
callback url redirect url you need to put in authentik at provider settings its the https url you created for this gateway and /callback
then you now can
docker-compose build
docker-compose up
then you should now get a rdp file if you go to /connect
there are some other options but this is the basic working you could also use a template rdp file to add some extra options like usb camera passtrough  just copy from the original rdp. place the file default,rdp also in the dev folder and add default: default.rdp in yaml config.
you could also use multiple hosts but i didnt get that working i just deploy the gateway twice.
most info in this project you can find searching the issue pull requests and comments here and there.

@georgygoshin

docker --run name rdpgw bolkedebruin/rdpgw:latest

First, it is docker run --name rdpgw, then all the options for container, and lastly it it the container name bolkedebruin/rdpgw:latest
As for the options, there's an undocumented quirk about environment variables. Where you set options about OpenId, you should use RDPGW_OPEN_ID__ instead of RDPGW_OPENID__ as a prefix.
disclaimer: no guaranty that the following command will work for you as presented, further adjustments will be needed.
docker run --name rdpgw `
` -e RDPGW_SERVER__SSL_CERT_FILE=/etc/rdpgw/cert.pem ` # < -- replaced with LE cert path
` -e RDPGW_SERVER__SSL_KEY_FILE=/etc/rdpgw/cert.key `  # < -- replaced with LE key path
` -e RDPGW_SERVER__GATEWAY_ADDRESS=https://externally-reachable-name:443 ` # <-- replaced with real address
` -e RDPGW_SERVER__SESSION_KEY=thisisasessionkeyreplacethisjetz ` # 32 characters <--- replaced with generated string
` -e RDPGW_SERVER__SESSION_ENCRYPTION_KEY=thisisasessionkeyreplacethisnunu ` # 32 characters <--- replaced with generated string
` -e RDPGW_OPEN_ID__PROVIDER_URL=http://localhost:8080/auth/realms/rdpgw ` # <-- replaced with real keycloak address
` -e RDPGW_OPEN_ID__CLIENT_ID=rdpgw ` # <-- replaced with client ID from Keycloak
` -e RDPGW_OPEN_ID__CLIENT_SECRET=01cd304c-6f43-4480-9479-618eb6fd578f ` # <-- replaced with client secret from Keycloak
` -e RDPGW_SECURITY__SECURITY_PAA_TOKEN_SIGNING_KEY=prettypleasereplacemeinproductio ` # <--- replaced with generated string
` -v conf:/etc/rdpgw `
` --network host `
` bolkedebruin/rdpgw:latest

Note, that RDPGW_OPEN_ID__PROVIDER_URL=http://keycloak:8080/auth/realms/rdpgw from your attempt tried to contact host, named keycloak, which is not available to docker container. You mention that you've made a local installation, and in the example I took the liberty to assume it is now reachable via http://localhost:8080/auth. To make it available to container, I've added --network host, which is not great for production anvironment, but might help you get started.
Another note: the command above uses conf volume. You should create it manually with docker volume create conf and populate it with certificate cert.pem and cert.key, issued for the host in RDPGW_SERVER__GATEWAY_ADDRESS. That is, put certificates into /var/lib/docker/volumes/conf/_data/. Normally, most of the stuff should be configured automatically by ACME client, TLS traffic terminated by ingress reverse proxy, and you would use RDPGW_SERVER__TLS=disable instead.
Third note: really, look into using docker compose as @pbvdven describes.

I'm getting the same issues. I'm following a guide that claims to follow the repo here, but it's simply not working. I don't understand how to get it to work. I can't request for help from the blog post linked[^1].
I am also trying to change the default ports here: I can't use ports 80 and 443 (or 8080) because I already have servers listening on these ports for both public and private addresses, and cannot stop them (they're used by multiple other VMs)

Configuration details

Replaced/removed configuration items include either Unique or Reused.
Anything with Unique in it is not reused anywhere else (mostly encryption keys)
Anything with Reused in it is identical across files (mostly subdomains)

My docker-compose.yml
version: "3.9"
services:
  postgres:
    container_name: db
    image: "postgres:14.4"
    restart: always
    healthcheck:
      test: [ "CMD", "pg_isready", "-q", "-d", "postgres", "-U", "postgres" ]
      timeout: 45s
      interval: 10s
      retries: 10
    volumes:
      - ./postgres_data:/var/lib/postgresql/data
      - ./sql:/docker-entrypoint-initdb.d/:ro # turn it on, if you need run init DB
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: keycloak
      POSTGRES_HOST: postgres
    networks:
      - pgsql

  keycloak:
    container_name: keycloak
    image: quay.io/keycloak/keycloak
    command: ['start', '--proxy', "edge"]
    restart: always
    depends_on:
      postgres:
        condition: service_healthy
    environment:
      JAVA_OPTS_APPEND: -Dkeycloak.profile.feature.upload_scripts=enabled
      KC_DB_PASSWORD: postgres
      KC_DB_URL: "jdbc:postgresql://postgres/keycloak"
      KC_DB_USERNAME: postgres
      KC_DB: postgres
      KC_HEALTH_ENABLED: 'true'
      KC_HTTP_ENABLED: 'true'
      KC_METRICS_ENABLED: 'true'
      KC_HOSTNAME_STRICT_HTTPS: false
      KC_HOSTNAME: rdgateway-keycloak.ReusedDomain
      PROXY_ADDRESS_FORWARDING: 'true'
      KEYCLOAK_ADMIN: UniqueUsername
      KEYCLOAK_ADMIN_PASSWORD: UniquePassword
    healthcheck:
      test: ["CMD-SHELL", "exec 3<>/dev/tcp/<IP_ADDRESS>/8080;echo -e \"GET /health/ready HTTP/1.1\r\nhost: http://localhost\r\nConnection: close\r\n\r\n\" >&3;grep \"HTTP/1.1 200 OK\" <&3"]
      interval: 10s
      retries: 10
      start_period: 20s
      timeout: 10s
    ports:
      - "8280:8080"
      - "8287:8787" # debug port
    networks:
      - pgsql
      - keycloak

  rdpgw:
    image: bolkedebruin/rdpgw:latest
    restart: always
    container_name: rdpgw
    ports:
      - "8180:80"
      - "8143:443"
    volumes:
      - ./rdpgw.yaml:/opt/rdpgw/rdpgw.yaml
    depends_on:
      keycloak:
        condition: service_healthy
    networks:
      - keycloak

networks:
  pgsql:
    driver: bridge
  keycloak:
    driver: bridge

My rdpgw.yaml
Server:
 Tls: disable
 DisableTLS: true
 GatewayAddress: rdpgw.ReusedDomain
 Port: 8180
 Hosts:
  - localhost:3389
  - UniqueDomain:3389 # this is set in the hosts file to resolve to a VM ip
 RoundRobin: any
 SessionKey: "Unique32Chars"
 SessionEncryptionKey: "Unique32Chars"
Authentication:
 - openid
OpenId:
 ProviderUrl: http://rdgateway-keycloak.ReusedDomain/realms/rdpgw
 ClientId: rdpgw
 ClientSecret: UniqueGUID
Client:
 UsernameTemplate: "{{ username }}"
 NetworkAutoDetect: 1
 BandwidthAutoDetect: 1
 ConnectionType: 6
 SplitUserDomain: true
Security:
  PAATokenSigningKey: "Unique32Chars"
  PAATokenEncryptionKey: "Unique32Chars"
  UserTokenEncryptionKey: "Unique32Chars"
  VerifyClientIp: false
Caps:
 TokenAuth: true
 IdleTimeout: 10
 EnablePrinter: true
 EnablePort: true
 EnablePnp: true
 EnableDrive: true
 EnableClipboard: true

Caddy config (running under windows host)
rdgateway-keycloak.ReusedDomain:443 {
    # Working TLS config removed (this is the same config used on other subdomains, it adds lets encrypt and integrates with DNS api)
    reverse_proxy <IP_ADDRESS>:8280
}
rdpgw.ReusedDomain:443 {
    # Working TLS config removed (this is the same config used on other subdomains, it adds lets encrypt and integrates with DNS api)
    reverse_proxy <IP_ADDRESS>:8180
}

I cannot connect on any of the following urls:

https://rdpgw.ReusedDomain
https://rdgateway-keycloak.ReusedDomain
http://<IP_ADDRESS>:8180
http://<IP_ADDRESS>:8280
http://<IP_ADDRESS>:8287

[^1]: I got a database connection error once, and now other pages on the site won't load; I think that specific post may be cached.
My intended use case is self-hosting RDP access to my personal computer and some virtual machines on it without having to run a full VPN server for security; rather than using TLS termination inside any of the containers, I wish to use the native install of caddy that I've got running as a windows service (this is currently working for such things as airsonic, plex, calibre, and bubbleupnp, as well as several applications with ports forwarded from virtual machines). I've never used docker before, this is my first project using it, so please assume that I have no idea what I'm doing here (I feel like I'm probably missing something super simple).
If it's possible to set this up using WSL's mirrored networking enabled, that would also be helpful, but that's rather out of scope here (I'd like to use WSL mirrored networking for other services).

The rdpgw server only responds to “http://rdpgw.ReusedDomain:8180/connect” over http in your case as per documentation.  This should redirect you to your keycloak server for authentication. MS Clients require https so your TLS termination should work.
If you cannot connect to either your keycloak installation or rdpgw, you are misconfiguring them with either IP/port or config.

@Efreak
In caddy you redirect rdpgw to <IP_ADDRESS>:8180, and then in docker-compose.yml you port-forward that port to 80. But in rdpgw.yml you set server to listen on 8180 again. Either change that last value to match 80, or set all to 8180.
Then, also in rdpgw.yml the OpenId.ProviderUrl should be reachable on your host, via curl or browser. In your case, that means caddy, and it will perform TLS termination, so at least change it to https://.... Also try adding log statement in caddy config and curl to it.
On the same note, try adding https:// scheme explictly in Server.GatewayAddress too.
The image of keycloak has curl in it, so I beleive the tricky shell commands in health checks can be simplified. Apart from that, the only significant difference from my configs I see is the use of start-dev in command instead of start. Maybe try that.
Also, I have built the rdpgw myself. I can't remember why tho. Maybe there was something wrong with the public image. I'll attach relevant part of my config. Maybe you'll see something else that is different.

My config
Note: I've used caddy's self-signed certificate authority, so I had to install its root certificate into rdpgw's container. the *default thing in the config is called Yaml anchor, and it has stuff like restart: always, network and logging configs.
    populate-certs:
        <<: *default
        image: alpine
        init: true
        entrypoint: ["sh", "-c"]
        command:
            - |
                apk add ca-certificates
                mkdir -p /usr/local/share/ca-certificates/
                cp /data/caddy/pki/authorities/local/*.crt /usr/local/share/ca-certificates/
                update-ca-certificates
                exec sleep infinity
        volumes:
            - data_caddy:/data:ro
            - cert_caddy:/etc/ssl/certs
    rdpgw:
        <<: *default
        labels: *simple_expose
        build:
            context: https://github.com/bolkedebruin/rdpgw.git#:/dev/docker
        volumes:
            - cert_caddy:/etc/ssl/certs:ro
        expose: [80]
        environment:
            RDPGW_SERVER__GATEWAY_ADDRESS: https://rdpgw.${BASE_DOMAIN}
            RDPGW_SERVER__PORT: "80"
            RDPGW_SERVER__TLS: disable
            RDPGW_OPEN_ID__PROVIDER_URL: https://keycloak.${BASE_DOMAIN}/auth/realms/rdpgw
        depends_on:
            - keycloak
    keycloak:
        <<: *default
        labels: *simple_expose
        image: quay.io/keycloak/keycloak:latest
        volumes:
            - /config/attempt/realm-export.json:/opt/keycloak/data/import/realm-export.json
        environment:
            KEYCLOAK_USER: admin
            KEYCLOAK_PASSWORD: admin
            KEYCLOAK_ADMIN: admin
            KEYCLOAK_ADMIN_PASSWORD: admin
            KC_PROXY: edge
        expose: [8080]
        command:
            - start-dev
            - --import-realm
            - --http-relative-path=/auth
        healthcheck:
            test: ["CMD", "curl", "-f", "http://localhost:8080/auth"]
            interval: 30s
            timeout: 3s
            retries: 10
            start_period: 5s


RC1 update1 works very slow on Linux/Mono

I've ran into the issue with my application, so to test if it is the app or something else I've created a template ASP.NET 5 app (web app template, not empty, no authorization). It targeted solely to dnx451 framework and is built under Linux/Mono without any warnings.
To host it I've created a clean Ubuntu-1404-trusty-64-minimal installation. Server is a VM with 1 vCore and 1GB RAM.
I've installed DNVM with Mono runtime, rc1-update1, and libuv according to this: https://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Installed Mono like described here: http://www.mono-project.com/docs/getting-started/install/linux/ (4.2.1 version is shown on mono -V)
Application is started by Supervisor tool, with config:
command=su -c "/root/.dnx/runtimes/dnx-mono.1.0.0-rc1-update1/bin/dnx web" root directory=/var/www/test
autorestart=true
autostart=true
stdout_logfile=/var/www/test/logs/app_std_out.log
stderr_logfile=/var/www/test/logs/app_err.log
Then requests are passed to application by nginx:
server {
listen 80;
server_name test.ru; // resolved by "hosts" file
location / {
proxy_set_header    Host $host;
proxy_set_header    X-Real-IP   $remote_addr;
proxy_set_header    X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass  http://<IP_ADDRESS>:5002;
}
}
In app_std log I see the app is started up normally and reporting it's listening on its port:
Hosting environment: Production
Now listening on: http://localhost:5002
Application started. Press Ctrl+C to shut down.
Once I made a request I usually see:
^[[32minfo^[[39m^[[37m: Microsoft.AspNet.Hosting.Internal.HostingEngine[1]^[[39m
^[[97m      Request starting HTTP/1.0 GET http://test.ru/  ^[[39m
^[[32minfo^[[39m^[[37m: Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker[1]^[[39m
^[[97m      Executing action method Test.Controllers.HomeController.Index with arguments () - ModelState is Valid'^[[39m
And this is it. Sometimes the page is finally served (so I see log records about calling a view, then serving linked resouces and files, etc), but response times in browser are huge (like 60 seconds for the page and 0.3-0.5 for any linked css or jpg). At the same time app log says in such cases that the request is processed in about 0.6 sec for a page and a few milliseconds for files.
(strange - page is rendered in about 0.6, and loaded in about 60, then file served in 0.003, but loaded in 0.3, i.e. always about 100x longer that it recorded in app log)
It looks like there is some huge delay between actions calling. For example, executing an action method, that loooong delay before rendering a view, then looooong delay to do something else and so on.
However, it often ends in nginx just returning 504. Sometimes page is loading only partially.
When 504, it is just 504 in nginx log. Like it wasn't nginx fault, but the application not responded and the request was timed out. Oh, and the default page nginx is showing once it installed is loading instantly.
What else, apart of reading logs, can I do to diagnose it?
I've already did the same setup recently, but with beta8 (and, well, maybe actual versions of mono/libuv/etc were a bit different), and it worked well. But not this time. :/

Did you update mono between beta8 and rc1?

No, this is a new installation, I mean completely, starting from a new clean VM, not update from older version.

What version of mono were you using before and after?

I don't remember what version exactly it was back then, but sure it was some 4.x one. Now, with current installation, it is Mono 4.2.1
Stable <IP_ADDRESS>/6dd2d0d Thu Nov 12 09:52:44 UTC 2015, to be specific.

So what you're seeing could be due to a mono change. Try using mono 4.0.5 or <IP_ADDRESS>

Done that. Installed Stable <IP_ADDRESS>.
It didn't changed anything much. I was able to see some full served pages in log, but it happened with 4.2.1 also. For example, execution log for Home/Contact (of the template ASP.NET app) is:
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[1]
Request starting HTTP/1.0 GET http://test.ru/Home/Contact
info: Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker[1]
Executing action method Test.Controllers.HomeController.Contact with arguments () - ModelState is Valid'
info: Microsoft.AspNet.Mvc.ViewFeatures.ViewResultExecutor[1]
Executing ViewResult, running view at path /Views/Home/Contact.cshtml.
info: Microsoft.AspNet.Mvc.Infrastructure.MvcRouteHandler[2]
Executed action Test.Controllers.HomeController.Contact in 0.0257ms
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[2]
Request finished in 0.0263ms 200 text/html; charset=utf-8
But it was never loaded in my browser. Page is either loaded or not in 60 second, so I thought it's something about nginx's timeout. So I've done some checks here.
First I've set 600 seconds timeout for the app (in case it needs more time). And while the same request (/Home/Contact) was "finished" according to app log in 0.1559ms this time (and the whole log is similar to previous example), the page is still "waiting" in the browser now while I'm writing this. It never loaded once request was "done" after a few minutes, but also it wasn't a 504 error.
Then I've set timeouts in nginx to 3 seconds only. Now I have the same result (white screen of nothing), but in 3 seconds.
Then I tried to open /Home/Index. The page is loaded after those 3 second, once nginx hit its timeout, obviously. It also served all the linked resources quite normally (in 250-300 ms, what I assume is okay when ping to the server is 151ms).
What strange is page is not completely loaded. A few last strings are missing, so there is no closing  and  tags.
So in this case it appears like the page is actually rendered, then application starts to pass it to nginx, but suddenly stops transmitting data without warning. And transmission is always cut only when close to the end, so if there is more data, the part of this data can make its way to nginx. And if there is very small amount of data to be passed, then almost nothing is passed at all. Nginx is unaware of the transmission stop and just waits it to continue, and once it hits the timeout, it just transmits all the data it received to the moment. For /Home/Contact it is just response headers. For the larger page /Home/Index it is also most of the page's html.
Weird, isn't it?
It doesn't explain why in some cases log ends on "Executing action method Test.Controllers.HomeController.Whatever" and never gets to the view, though.

Sounds like a mono bug to me. Try with coreclr and see if that works. If it does I'd recommend filing an issue on mono with repro steps so that they can investigate the issue.

Nope, I've rebuilt the template under Core 5.0 and tested it.
Had to get rid of:
"Microsoft.AspNet.Diagnostics.Entity": "7.0.0-rc1-final",
"Microsoft.ApplicationInsights.AspNet": "1.0.0-rc1",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.0.0-rc1-final"
There were some issues related to one of them when executing a page (maybe coreclr doesn't fully support it on linux?), so I decided to get rid of all debugging stuff just in case. Let's pretend we are in production after all! Installed coreclr-linux-x64-rc1-update1 and all the prerequisites according to https://docs.asp.net/en/latest/getting-started/installing-on-linux.html
The behavior didn't changed of what I've already described, though.

Also, while testing I've ran into 504 once, and this is what I've seen in app log:
fail: Microsoft.AspNet.Server.Kestrel[13]
An unhandled exception was thrown by the application.
Microsoft.AspNet.Server.Kestrel.Networking.UvException: Error -32 EPIPE broken pipe
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNet.Server.Kestrel.Http.Frame.d__85.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNet.Mvc.HttpResponseStreamWriter.d__25.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.AspNet.Mvc.ViewFeatures.ViewExecutor.d__14.MoveNext()
Usually, however, it just continues to serve incomplete responses without any fails or warnings.

If you can provide a repository with an application and instructions on how to reproduce the problem on CoreCLR, we can take a look.
/cc @halter73 @cesarbs

Sure. Or I could PM you with root access to the server so that you could gather any information you need on the actual installation (in case any specific versions are important). It is a closed sandbox VM with no important data on it, so there are no security concerns. Would you prefer server or repo?

Repo, that way we can know if it's environmental. If we get to that stage and we only see the issue on that one machine then we can go deeper.

Then, here is the template source archive: https://drive.google.com/file/d/0B9avZq1tZylgdElmektaWFlOWkU/view?usp=sharing
The OS on my VM is Ubuntu 14.04.3 LTS.
CoreCLR and the prerequisites are installed according to the doc: https://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Also you may need nginx (version 1.4.6-1ubuntu3.3 in my case) Because VM is not local for me, I'm accessing it via internet and thus can't access directly to the application port. So nginx could be a part of the issue...
Its proxy configuration can be like the following (added at the end of the "default" config):
server {
listen 8080; // not to bother with domain names
proxy_connect_timeout       10;
proxy_send_timeout          10;
proxy_read_timeout          10;
send_timeout                10;

location / {

proxy_set_header    Host    $host;
proxy_set_header    X-Real-IP    $remote_addr;
proxy_set_header    X-Forwarded-For    $proxy_add_x_forwarded_for;
proxy_pass    http://<IP_ADDRESS>:5002; // or your actual port, in repo it is set to 5002
}
}
Basically, this is the minimal configuration. Then it must be enough to upload the project, then
dnu restore
dnu build
dnx web
Then just open the page. If you have to wait 10 seconds (according to nginx proxy timeout settings) before you see any (lack of) result in the browser, then the issue is likely reproduced.

Regrettably I was having this issue some time ago (days, a week) on
Windows, the page load would just stop for several seconds, at the same
point mentioned above, the line mentioning Model state is valid...
sometimes for a few seconds, sometimes for a minute. Unfortunately I don't
have any logs anymore, but I had figured it was my setup with VS as it was
hanging on javascript parsing as well, so I ported over to VSC... no
problems since.
So likely the issue is some rare conditional problem, or combination of
uncommon issues and it not likely only related to Linux
On Thu, Dec 17, 2015 at 4:51 AM, yaapelsinko<EMAIL_ADDRESS>wrote:

Then, here is the template source archive:
https://drive.google.com/file/d/0B9avZq1tZylgdElmektaWFlOWkU/view?usp=sharing
The OS on my VM is Ubuntu 14.04.3 LTS.
CoreCLR and the prerequisites are installed according to the doc:
https://docs.asp.net/en/latest/getting-started/installing-on-linux.html
Also you may need nginx (version 1.4.6-1ubuntu3.3 in my case) Because VM
is not local for me, I'm accessing it via internet and thus can't access
directly to the application port. So nginx could be a part of the issue...
Its proxy configuration can be like the following (added at the end of the
"default" config):
server {
listen 8080; // not to bother with domain names
proxy_connect_timeout       10;
proxy_send_timeout          10;
proxy_read_timeout          10;
send_timeout                10;
location / {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://<IP_ADDRESS>:5002; // or your actual port, in repo it is
set to 5002
}
}
Basically, this is the minimal configuration. Then it must be enough to
upload the project, then
dnu restore
dnu build
dnx web
Then just open the page. If you have to wait 10 seconds (according to
nginx proxy timeout settings) before you see any (lack of) result in the
browser, then the issue is likely reproduced.
—
Reply to this email directly or view it on GitHub
https://github.com/aspnet/Home/issues/1181#issuecomment-165402486.

Hm, the same code is working well on my Windows dev machine.

I'm seeing these kinds of "hangs" on my embedded Linux platform (Mono 4.0.4) with Kestrel serving port 80 directly and also on Windows with IIS Express + Kestrel.
Moments ago serving a static css file took three seconds instead of the usual milliseconds on a Surface Pro 4.

I've reproduced the issue on another VM. What I described earlier was on a hoster's VM, so, who knows what exactly they've made with their system images.
I have an Ubuntu VM (14.04 again) in my Hyper-V, installed from Ubuntu Server ISO image, so I configured it the same way I did with the hoster's VM. Mono 4.2.1, DNX rc1-update1 and so on. Mono because I don't want to deal with possible unsupported stuff on linux coreclr. The app is still an unedited ASP.NET 5 Web App template without authentication. Then again I'm creating a proxy with nginx, calling dnx web, and the app hangs or give an incomplete response.
More of that, at some moment it seemed to suspend completely on
Executing action method TestApp.Controllers.HomeController.Index with arguments () - ModelState is Valid'
So I can't even exit with Ctrl+C.
 But it isn't. o_O
Tragetaschen, how did you exposed the app on the 80 port directly from Kestrel? As far as I know it allows only local ports (so one can make it work on <IP_ADDRESS>:80, but not on <IP_ADDRESS>:80), so you need a way to reroute requests some way, isn't it?

Kestrel binds to IPAddress.IPv6Any when anything but localhost is specified: "web": "Microsoft.AspNet.Server.Kestrel --server.urls http://*:80/". Keep in mind though, that this requires some sort of super user permissions to bind to that port. You have to decide if this is a good thing in your environment.

I've done yet another test. This time I made a VM with Ubuntu Desktop so I can access the app locally with the browser.
Also installed only CoreCLR runtime to exclude mono.
It appeared that while I'm accessing the app directly (<IP_ADDRESS>:5002), it works just right. But once I'm introducing nginx to the request chain, the issue is appearing again. No matter if I'm accessing <IP_ADDRESS>:8080 (the nginx proxy port) from the outside of VM, or just <IP_ADDRESS>:8080 from the browser directly in VM.
So may be it is the nginx to blame, but it is pretty mature tool and it was successfully used that way earlier. So maybe it something about Nginx-Kestrel interactions?

Alrighty, here is the conclusion.
As it seems to be nginx-kestrel reverse-proxy interaction issue, I've narrowed the search and found the issue: https://github.com/aspnet/KestrelHttpServer/issues/468
For me, the solution was also to add "proxy_set_header Connection keep-alive" to the proxy configuration.
Also I don't understand then, why there were definite hangs/suspensions/freezes after app logged:
Executing action method TestApp.Controllers.HomeController.Index with arguments () - ModelState is Valid'
Also I've found something that could be relevant: http://serverfault.com/questions/524878/nginx-as-reverse-proxy-causes-failure-to-respond-to-certain-post-requests
The problem: ASP.NET development server sends a 100 Continue response even when there was no Expect: 100-continue in the request. Nginx will issue a request with no Expect header; ASP.NET will respond with one, then receive the rest of the request, and then send the actual response. Nginx, however, will only forward the 100 Continue part. It will not forward the actual response; that gets swallowed, at least on nginx 1.4.2.
Don't know then if there is a point to continue this issue here. I'll add to the issue in kestrel's branch. But again, I'll remind that back then with beta8 version there was no such issue.

@yaapelsinko awesome! thank you! now i can switch to rc1 ☺

I think https://github.com/aspnet/KestrelHttpServer/issues/406 is the relevant issue that is affecting non keep-alive requests (i.e. connection: close)
@yaapelsinko The serverfault link is referencing an old development server. I don't think there is an issue with Kestrel sending unexpected 100-continue responses.

I ran into the same issue but adding "proxy_set_header Connection keep-alive;" didn't work for me. What did work was replacing NGINX with Apache2. Say what you want, Apache2 is still the best overall.

@in10se Try setting proxy_http_version 1.1; as well.

@yaapelsinko Thanks! Adding the keep alive header in Nginx worked for me too. Nice and fast now.


[Bug] remote  mode，job task lost

Search before asking

[X] I had searched in the issues and found no similar issues.

Java Version
1.8
Scala Version
2.12.x
StreamPark Version
2.0.0
Flink Version
1.14.6
deploy mode
remote
What happened
In remote mode, if the active jobmanager stops, all tasks under streampark are lost，However, in fact, the flink task is running normally, but the IP on the accessed UI address becomes another jobmanager IP。
Error Exception
No response
Screenshots

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!(您是否要贡献这个PR?)

Code of Conduct

[X] I agree to follow this project's Code of Conduct

To add, it happens in standalone HA mode，when one active jobmanager stop

Thanks for your feedback,  The issue has been identified and will be improved in the next version.

在补充个场景，当remote ha 集群整个重启，然后活动的jobmanager不变，任务也同样会失联，但是flink其实都已经自动拉起来了。jobid和jobmanager都没变
报错截图

目前是重启streampark，或者手动把任务重新映射下（其实jobid未变，只是报任务重新放到监测的队列），才能关联起来。
猜测是某一次获取状态时，正好集群停止或者任务重启，然后判断成失联了，建议：程序能设置在时间范围内一直尝试连接。

看源码，想到一个简单方式，就是再新增一个定时任务，比如每3分钟加载一次，把跟踪状态是lost的任务在重新加入到WATCHING_APPS 任务里。这样既不影响性能、也不耽误因集群重启或者网络不稳定等造成的任务失联。
个人愚见！


Update BUILD_UNIX.TXT

Added required packages for Debian Linux and it's derivatives.

Closing, seems to be obsolete by https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/BUILD_UNIX.md


feat(theme-editor): add button to widen popover

Added button to expend the ThemeEditor popover (top right of the popover).
Made the style variables inputs responsive.

Codecov Report

Merging #3555 (e254466) into main (bde60ff) will decrease coverage by 0.01%.
The diff coverage is 11.11%.

@@            Coverage Diff             @@
##             main    #3555      +/-   ##
==========================================
- Coverage   62.99%   62.98%   -0.02%
==========================================
  Files        1056     1056
  Lines       21946    21953       +7
  Branches     5727     5729       +2
==========================================
+ Hits        13825    13827       +2
- Misses       6628     6633       +5
  Partials     1493     1493

Impacted Files
Coverage Δ

src/theme-editor/src/ThemeEditor.tsx
14.58% <11.11%> (+0.71%)
:arrow_up:

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


Proposal: Use github.com/pkg/errors wherever possible to enhance debugging experience

I ran into some problems lately and couldn't find out easily what caused an error.
We embraced the idiom of checking for errors and passing them on. For example:
func foo() error {
    err := bar()
    if err != nil {
      return err
    }
    // do something...
}

The caller of foo() might have a hard time finding out when the returned error is "No such file or directory" because we don't have any information on the context of the error any longer.
A very flexible solution, that is also employed by the goa package, is to use the https://github.com/pkg/errors package, which let's you add context to every error that you pass on by wrapping it:
import "github.com/pkg/errors"

func foo() error {
    err := bar()
    if err != nil {
      return errors.Wrap(err, "operation bar failed")
    }
    // do something...
}

Whenever you print the error like so
fmt.Printf("%+v\n", err)`

you will be getting a full stack trace to the original source of error.
A great resource on this topic is Dave Cheney's video at this year's GopherCon: https://youtu.be/lsBF58Q-DnY
@almighty/backend Do you consider this helpful as well?

Oh, we can still check for the original cause of an error by calling Cause(err) which will return the error that "will recursively retrieve the topmost error which does not implement causer, which is assumed to be the original cause".

Closing this because we now use github.com/pkg/errors in most places.


Madagascar Download

To please format the CD download function in Madagascar according to the attached data dictionary.
Communicable Disease Download.docx

Getting a "buffer size" error being thrown by the API:
invalid request block size: 6635 (max 4096)...skip
Gulfa to have a look at it.

Ok this is working in deployment.  I will now close.


codeunit 46 SelectionFilterManagement has reference to nonexistent function and typos

    /// <summary>
    /// Get a filter for the selected field from a provided record. Ranges will be used inside the filter were possible.
    /// </summary>
    /// <param name="TempRecRef">Record used to determine the field filter.</param>
    /// <param name="SelectionFieldID">The field for which the filter will be constructed.</param>
    /// <returns>The filter for the provided field ID. For example, '1..3|6'.</returns>
    /// <remarks>This method queries the database intensively, can cause perfomance issues and even cause database server exceptions. Consider using <seealso cref="GetSimpleSelectionFilter"/>.</remarks>
    procedure GetSelectionFilter(var TempRecRef: RecordRef; SelectionFieldID: Integer): Text

That should be:

Ranges will be used inside the filter ->where<- possible.

and, since there is no such thing as GetSimpleSelectionFilter:

This method queries the database intensively, can cause ->performance<- issues, and ->can<- even cause database server exceptions. Consider using ->the other overload that takes the ComputeRangesUsingRecord parameter, and setting it to false, which can result in greatly reduced database load (if perhaps a bigger memory footprint)<-.

Thanks!

Hello, thanks for your feedback. The information about which topic this applies to is not included in this issue. Can you please add that? Thanks!

No, as I'm being cheeky and filing it here, whereas it's really an issue in the Base App... but not one I can be bothered going via a partner to report as a bug. Sorry, and/or thanks if you can accidentally drop it in the right place ;-)


EXORemoteDomain: Fix bug during config export

Pull Request (PR) description
Bugfix for an error during export of remote domains.
This Pull Request (PR) fixes the following issues
#406

This change is

Codecov Report

Merging #407 into Dev will increase coverage by 1.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              Dev     #407      +/-   ##
==========================================
+ Coverage   89.72%   90.95%   +1.22%
==========================================
  Files          86      100      +14
  Lines        9197    10779    +1582
  Branches       10       10
==========================================
+ Hits         8252     9804    +1552
- Misses        935      965      +30
  Partials       10       10

Impacted Files
Coverage Δ

...ces/MSFT_EXORemoteDomain/MSFT_EXORemoteDomain.psm1
75% <100%> (-0.2%)
:arrow_down:

...SC/DSCResources/MSFT_TeamsTeam/MSFT_TeamsTeam.psm1
94.66% <0%> (-0.61%)
:arrow_down:

...Policy/MSFT_EXOHostedOutboundSpamFilterPolicy.psm1
94.02% <0%> (-0.34%)
:arrow_down:

.../DSCResources/MSFT_SPOHubSite/MSFT_SPOHubSite.psm1
93.75% <0%> (ø)
:arrow_up:

...lwareFilterPolicy/MSFT_EXOMalwareFilterPolicy.psm1
86.36% <0%> (ø)

...OfflineAddressBook/MSFT_EXOOfflineAddressBook.psm1
96% <0%> (ø)

...XOGlobalAddressList/MSFT_EXOGlobalAddressList.psm1
94.73% <0%> (ø)

...XOAddressBookPolicy/MSFT_EXOAddressBookPolicy.psm1
97.89% <0%> (ø)

...PartnerApplication/MSFT_EXOPartnerApplication.psm1
98% <0%> (ø)

...ilboxPolicy/MSFT_EXOMobileDeviceMailboxPolicy.psm1
99.16% <0%> (ø)

... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b217edc...bc00c87. Read the comment docs.


The missing quadrature adjustment in treutler_ahlrichs radial grids

Related to issue #2178

Does this change look reasonable to you @KarimAED ?

Yes, this makes sense to me

IMHO the atomic radius adjustment should be factored out of the radial rule, since the equations are the same for all rules: scale radius by $r_i \to Rr_i$ and weight by $w_i \to R^3 w_i$.

IMHO the atomic radius adjustment should be factored out of the radial rule, since the equations are the same for all rules: scale radius by ri→Rri and weight by wi→R3wi.

I don't understand your suggestion. Do you suggest to apply the adjustment parameters for all radius grids schemes, not just the Treutler-Ahlrichs grids?

IMHO the atomic radius adjustment should be factored out of the radial rule, since the equations are the same for all rules: scale radius by ri→Rri and weight by wi→R3wi.

I don't understand your suggestion. Do you suggest to apply the adjustment parameters for all radius grids schemes, not just the Treutler-Ahlrichs grids?

Yes, using the same atomic radii for all stages of the DFT quadrature: both radial grid generation and pruning. The scaling relations are the same regardless of the way the radial grid is generated, so using a common implementation saves effort and removes code duplication.

Hmm, I'm not sure if I agree 100% @susilehtola. I think the code duplication is quite minimal, and I think there is some added value in the code following the original sources more closely.
Note, however, that I am speaking not as a regular maintainer, but as someone who recently tried to get their head wrapped around the code. In that sense, I am biased towards a more verbose code structure, so feel free to ignore my opinions.

The problem I see is that if you use inconsistent atomic radii in different parts of the code, you are bound to get some weird results...

@KarimAED Treutler-Ahlrichs grids are fixed. To ensure compatibility to old versions, the old grids scheme is still used as the default . You can add a config line in pyscf_conf.py to explicitly enable the fixed grid scheme.
In the next board meeting, we should discuss whether to switch to the fixed grids @ssh2 @gkc1000 @sanshar @tberkel


pkgsLLVM.gettext: fixup clang compilation

Patch included in 8477b05aac862a91ca181d6ead7d58cffff37e31 did not apply cleanly
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Fixes https://github.com/NixOS/nixpkgs/pull/348676

this may be unnecessary since https://github.com/NixOS/nixpkgs/pull/279197 merged, tho it is currently in the staging branch. can probably just drop the useLLVM specific code now.

I mean, master has been broken for 11 hours now. I'm not against bumping the version, but waiting for staging seems a bit far.

I mean, master has been broken for 11 hours now. I'm not against bumping the version, but waiting for staging seems a bit far.

fair enough. tho I was under the impression it never worked for pkgsLLVM given the previous commit was supposed to fix the build.

Yeah, that could be.
In any case, that patch is required until 0.22.5, and we just merged 0.22.4.

Yeah, that could be.
In any case, that patch is required until 0.22.5, and we just merged 0.22.4.

ugh, I thought it was 0.22.5, my bad


Introduce a walkthrough-like Getting Started section

Summary of the changes / Why this is an improvement
Introduce a walkthrough-like Getting Started section that guides new, unfamiliar CrateDB Cloud users in taking their first steps with the platform.
Checklist

[x] CLA is signed

@kevin I previously landed some commits on your branch that fixed the build but it looks as if you squashed your local commits and force pushed them before creating the PR, so my changes were lost
I've recreated my changes and added them to your branch again. I've also added another commit which fixes errors with missing images
(in general, it's best to create a PR with all the commits as they are. we typically only squash commits prior to merging)

@kevinkq you marked a lot of my comments as "resolved" without making any changes and without saying why you were marking them resolved. please don't do that. I have re-opened those conversations, and I await your changes/responses

@kevinkq you marked a lot of my comments as "resolved" without making any changes and without saying why you were marking them resolved. please don't do that. I have re-opened those conversations, and I await your changes/responses

@mechanomi I am currently working on this (changes made not yet pushed) and so far used the "resolved" function as a means of indicating I've addressed a comment in order to get it out of the way. Quite confusing with all the comments visible—completed and uncompleted. I'll fin another way.


Run type check after lint

Run a project type check as part of commit hooks and CI

I would like to work in this issue


connection closed when ssh to job

OpenPAI Environment:

OpenPAI version: v1.7
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release): ubuntu 16.04
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:
The connection closed  immediately after authentication succeeded with private key, the command is :
ssh -p <port> -i <private key><EMAIL_ADDRESS>

can you run ssh -p <port> -i <private key> -vvvv<EMAIL_ADDRESS>to print the debug log and paste the result here?

# ssh -p 17559 -i id_rsa_pai_dev3 -vvvv<EMAIL_ADDRESS>OpenSSH_7.2p2 Ubuntu-4ubuntu2.8, OpenSSL 1.0.2g  1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "x.x.x.x" port 17559
debug2: ssh_connect_direct: needpriv 0
debug1: Connecting to x.x.x.x [x.x.x.x] port 17559.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: key_load_public: No such file or directory
debug1: identity file id_rsa_pai_dev3 type -1
debug1: key_load_public: No such file or directory
debug1: identity file id_rsa_pai_dev3-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8
debug1: Remote protocol version 2.0, remote software version OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
debug1: match: OpenSSH_8.2p1 Ubuntu-4ubuntu0.2 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to x.x.x.x:17559 as 'root'
debug3: put_host_port: [x.x.x.x]:17559
debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /root/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys from [x.x.x.x]:17559
debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,ext-info-c
debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: aes256-gcm@openssh.com,aes256-ctr,chacha20-poly1305@openssh.com,aes192-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: ciphers stoc: aes256-gcm@openssh.com,aes256-ctr,chacha20-poly1305@openssh.com,aes192-ctr,aes128-gcm@openssh.com,aes128-ctr
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
debug2: host key algorithms: rsa-sha2-512,rsa-sha2-256,ssh-rsa,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos<EMAIL_ADDRESS>debug2: compression stoc<EMAIL_ADDRESS>debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm<EMAIL_ADDRESS>debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC: <implicit> compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:WlHrH0kqT7yqMM4LF+oScE3Ald6mIfF0wNc3oZer8O8
debug3: put_host_port: [x.x.x.x]:17559
debug3: put_host_port: [x.x.x.x]:17559
debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /root/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys from [x.x.x.x]:17559
debug3: hostkeys_foreach: reading file "/root/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /root/.ssh/known_hosts:5
debug3: load_hostkeys: loaded 1 keys from [x.x.x.x]:17559
debug1: Host '[x.x.x.x]:17559' is known and matches the ECDSA host key.
debug1: Found key in /root/.ssh/known_hosts:5
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey after<PHONE_NUMBER> blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey after<PHONE_NUMBER> blocks
debug2: key: id_rsa_pai_dev3 ((nil)), explicit
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<ssh-ed25519,sk-ssh-ed25519<EMAIL_ADDRESS>debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Trying private key: id_rsa_pai_dev3
debug3: sign_and_send_pubkey: RSA SHA256:gDLiuPzJ3DyVD/Fm9qugahOM6j2MHt/yWb67Losib/Q
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).
Authenticated to x.x.x.x ([x.x.x.x]:17559).
debug2: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug3: send packet: type 90
debug1: Requesting<EMAIL_ADDRESS>debug3: send packet: type 80
debug1: Entering interactive session.
debug1: pledge: network
debug3: receive packet: type 80
debug1: client_input_global_request: rtype<EMAIL_ADDRESS>want_reply 0
debug3: receive packet: type 4
debug1: Remote: /root/.ssh/authorized_keys:2: key options: agent-forwarding port-forwarding pty user-rc x11-forwarding
debug3: receive packet: type 91
debug2: callback start
debug2: fd 3 setting TCP_NODELAY
debug3: ssh_packet_set_tos: set IP_TOS 0x10
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug3: send packet: type 98
debug1: Sending environment.
debug3: Ignored env XDG_SESSION_ID
debug3: Ignored env TERM
debug3: Ignored env SHELL
debug3: Ignored env SSH_CLIENT
debug3: Ignored env SSH_TTY
debug3: Ignored env USER
debug3: Ignored env LS_COLORS
debug3: Ignored env TMOUT
debug3: Ignored env MAIL
debug3: Ignored env PATH
debug3: Ignored env PWD
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: send packet: type 98
debug3: Ignored env SHLVL
debug3: Ignored env HOME
debug3: Ignored env LANGUAGE
debug3: Ignored env LOGNAME
debug3: Ignored env SSH_CONNECTION
debug3: Ignored env LESSOPEN
debug3: Ignored env XDG_RUNTIME_DIR
debug3: Ignored env DISPLAY
debug3: Ignored env LESSCLOSE
debug3: Ignored env HISTTIMEFORMAT
debug3: Ignored env _
debug3: Ignored env OLDPWD
debug2: channel 0: request shell confirm 1
debug3: send packet: type 98
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug3: receive packet: type 98
debug1: client_input_channel_req: channel 0 rtype<EMAIL_ADDRESS>reply 0
debug2: channel 0: rcvd eow
debug2: channel 0: close_read
debug2: channel 0: input open -> closed
debug3: receive packet: type 96
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug3: receive packet: type 97
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug3: send packet: type 97
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
  #0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)

debug3: send packet: type 1
debug1: fd 1 clearing O_NONBLOCK
Connection to x.x.x.x closed.
Transferred: sent 2368, received 3092 bytes, in 0.1 seconds
Bytes per second: sent 39772.2, received 51932.3
debug1: Exit status 255

@Binyang2014  is there any way to fix it?

@Binyang2014  is there any way to fix it?


Add support of math functions

We recently discovered that at least iOS version (not sure about android) misses math functions https://www.sqlite.org/lang_mathfunc.html . We tried to use SQRT function, but SQLite returns "no such function: SQRT".
The example query is: SELECT SQRT(4)

@quolpr can you try to add -DSQLITE_ENABLE_MATH_FUNCTIONS in the OTHER_CFLAGS for the file SQLCipher.debug and SQLCipher.release in the Pods/SQLCipher/Support Files rebuild and tell me if it works

@quolpr it is not supported by android.sqlite so i will close it as not planned


Review if aria-label in header navigation is necessary

The header with navigation throws the following HTML validation warning:

Possible misuse of aria-label.

This relates to https://github.com/alphagov/govuk-frontend/blob/fea29aaa833d5f8233c71e0d076923a697e752cd/src/components/header/template.njk#L68 which was inherited from govuk_template.
The WCAG specs  state that aria-label can be used for:

 Distinguishing navigation landmarks
Identifying region landmarks

We should review whether having aria-label in this context provides useful information for assistive technologies.
There is also a related issue where we hide the list inside the navigation element when showing/hiding the navigation. This means that a user can end up with an empty  element, which may cause issues/confusion for screenreader users. See comment for more context.

I wonder if the label should be applied to the nav, rather than the ul.

Yes that seems like a potential fix 👍 Tested moving it to nav and it's no longer flagged as an error. It also makes sense about what W3C says about

Distinguishing navigation landmarks

Tried an initial stab at this in #1440 but it needs more investigation.
Specifically:

whether the relationship between the aria-label on the ul and the button which controls the ul (rather than the nav) is important
whether it's weird that the ul rather than the nav collapses, which means for AT users there will always be a nav landmark which may be empty.

Notes from team discussion:

It can be useful to be able to label landmarks if there are multiple instances of the same thing on the page and you want to differentiate between them

Just want to check my understanding...Is the breaking change here that we're going to ask users to apply aria-label to nav instead of ul? Also, what happens if they do not do this following the release?

@EoinShaughnessy From my understanding at the moment, yes, that may be the change that users need to apply. I think it's definitely still possible that solution may change as I think it still needs testing with different assistive technologies to check how it performs.
There's also the related issue that because of the way the navigation is implemented, you can end up with empty  tags with no navigation inside - this is something that may confuse screenreader users. If we decide to make changes to fix that issue too, then there may be more changes for users to make.

Thanks, @vanitabarrett!


FindOracle.cmake fix

On windows when using CMake Oracle is not shown as an option so I have changed FindOracle.cmake to first check CMake variable ORACLE_HOME and if not set then checks for environment variable and if exists then uses its value in CMake.
This way we can set ORACLE_HOME directly in CMakeGui without setting environment variable.
I have also removed top condition where Oracle search is performed only when ORACLE_HOME is found. It should be shown in CMakeGUI the same way as all other supported back-ends so user knows that backend is available.
When compiling oracle test there was also error in VS-2012 caused by invalid header inclusion order.

@mloskot could you please have a look at this? I don't trust myself to do anything CMake-related...

Thanks!


[BUG] <使用vLLM基于Nvidia A10 GPU 运行MiniCPM-Llama3-V-2_5本地推理出现OOM>

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
运行vLLM里的micpmv报OOM
(myenv) root@dsw-416183-5ff8594b99-h8jts:/mnt/workspace/vllm# python examples/offline_inference_vision_language.py --model-type minicpmv
INFO 07-29 17:41:49 llm_engine.py:176] Initializing an LLM engine (v0.5.3.post1) with config: model='openbmb/MiniCPM-Llama3-V-2_5', speculative_config=None, tokenizer='openbmb/MiniCPM-Llama3-V-2_5', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, rope_scaling=None, rope_theta=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.float16, max_seq_len=8192, download_dir=None, load_format=LoadFormat.AUTO, tensor_parallel_size=1, pipeline_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=True, kv_cache_dtype=auto, quantization_param_path=None, device_config=cuda, decoding_config=DecodingConfig(guided_decoding_backend='outlines'), observability_config=ObservabilityConfig(otlp_traces_endpoint=None), seed=0, served_model_name=openbmb/MiniCPM-Llama3-V-2_5, use_v2_block_manager=False, enable_prefix_caching=False)
INFO 07-29 17:41:50 model_runner.py:720] Starting to load model openbmb/MiniCPM-Llama3-V-2_5...
INFO 07-29 17:41:51 weight_utils.py:224] Using model weights format ['*.safetensors']
Loading safetensors checkpoint shards:   0% Completed | 0/7 [00:00<?, ?it/s]
Loading safetensors checkpoint shards:  14% Completed | 1/7 [00:00<00:02,  2.43it/s]
Loading safetensors checkpoint shards:  29% Completed | 2/7 [00:00<00:02,  2.41it/s]
Loading safetensors checkpoint shards:  43% Completed | 3/7 [00:01<00:01,  2.34it/s]
Loading safetensors checkpoint shards:  57% Completed | 4/7 [00:01<00:01,  2.38it/s]
Loading safetensors checkpoint shards:  71% Completed | 5/7 [00:02<00:00,  2.41it/s]
Loading safetensors checkpoint shards:  86% Completed | 6/7 [00:02<00:00,  2.44it/s]
Loading safetensors checkpoint shards: 100% Completed | 7/7 [00:02<00:00,  2.44it/s]
Loading safetensors checkpoint shards: 100% Completed | 7/7 [00:02<00:00,  2.42it/s]
INFO 07-29 17:41:54 model_runner.py:732] Loading model weights took 15.9524 GB
/opt/conda/envs/myenv/lib/python3.10/site-packages/transformers/models/auto/image_processing_auto.py:513: FutureWarning: The image_processor_class argument is deprecated and will be removed in v4.42. Please use slow_image_processor_class, or fast_image_processor_class instead
warnings.warn(
[rank0]: Traceback (most recent call last):
[rank0]:   File "/mnt/workspace/vllm/examples/offline_inference_vision_language.py", line 188, in
[rank0]:     main(args)
[rank0]:   File "/mnt/workspace/vllm/examples/offline_inference_vision_language.py", line 140, in main
[rank0]:     llm, prompt = model_example_mapmodel
[rank0]:   File "/mnt/workspace/vllm/examples/offline_inference_vision_language.py", line 96, in run_minicpmv
[rank0]:     llm = LLM(
[rank0]:   File "/mnt/workspace/vllm/vllm/entrypoints/llm.py", line 155, in init
[rank0]:     self.llm_engine = LLMEngine.from_engine_args(
[rank0]:   File "/mnt/workspace/vllm/vllm/engine/llm_engine.py", line 447, in from_engine_args
[rank0]:     engine = cls(
[rank0]:   File "/mnt/workspace/vllm/vllm/engine/llm_engine.py", line 265, in init
[rank0]:     self._initialize_kv_caches()
[rank0]:   File "/mnt/workspace/vllm/vllm/engine/llm_engine.py", line 364, in _initialize_kv_caches
[rank0]:     self.model_executor.determine_num_available_blocks())
[rank0]:   File "/mnt/workspace/vllm/vllm/executor/gpu_executor.py", line 94, in determine_num_available_blocks
[rank0]:     return self.driver_worker.determine_num_available_blocks()
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/mnt/workspace/vllm/vllm/worker/worker.py", line 179, in determine_num_available_blocks
[rank0]:     self.model_runner.profile_run()
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/mnt/workspace/vllm/vllm/worker/model_runner.py", line 935, in profile_run
[rank0]:     self.execute_model(model_input, kv_caches, intermediate_tensors)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/mnt/workspace/vllm/vllm/worker/model_runner.py", line 1354, in execute_model
[rank0]:     hidden_or_intermediate_states = model_executable(
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/mnt/workspace/vllm/vllm/model_executor/models/minicpmv.py", line 619, in forward
[rank0]:     vlm_embeddings, vision_hidden_states = self.get_embedding(inputs)
[rank0]:   File "/mnt/workspace/vllm/vllm/model_executor/models/minicpmv.py", line 562, in get_embedding
[rank0]:     vision_hidden_states = self.get_vision_hidden_states(data)
[rank0]:   File "/mnt/workspace/vllm/vllm/model_executor/models/minicpmv.py", line 545, in get_vision_hidden_states
[rank0]:     vision_embedding = self.vpm(
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/transformers/models/idefics2/modeling_idefics2.py", line 628, in forward
[rank0]:     encoder_outputs = self.encoder(
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/transformers/models/idefics2/modeling_idefics2.py", line 553, in forward
[rank0]:     layer_outputs = encoder_layer(
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/transformers/models/idefics2/modeling_idefics2.py", line 465, in forward
[rank0]:     hidden_states, attn_weights = self.self_attn(
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1532, in _wrapped_call_impl
[rank0]:     return self._call_impl(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1541, in _call_impl
[rank0]:     return forward_call(*args, **kwargs)
[rank0]:   File "/opt/conda/envs/myenv/lib/python3.10/site-packages/transformers/models/idefics2/modeling_idefics2.py", line 233, in forward
[rank0]:     attn_weights = torch.matmul(query_states, key_states.transpose(2, 3)) * self.scale
[rank0]: torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 2.66 GiB. GPU
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.82.01    Driver Version: 470.82.01    CUDA Version: 12.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA A10          Off  | 00000000:00:08.0 Off |                    0 |
|  0%   37C    P8    15W / 150W |      0MiB / 22731MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
我看readme里MiniCPM-Llama3-V-2_5的最小显存要求是19G
期望行为 | Expected Behavior
可以正常运行
复现方法 | Steps To Reproduce
python examples/offline_inference_vision_language.py --model-type minicpmv
运行环境 | Environment
- OS:Ubuntu 20.04
- Python:3.10
- Transformers:4.43.3
- PyTorch:2.3.1
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):12.1

备注 | Anything else?
No response

可以试试减小 max_model_len，添加参数 --max_model_len 2048


Allow (some) fields to omit label, show only placeholders

I like this, but I don't know if the naming of the option is clear enough "Use labels as placeholders", perhaps it is worth to add a description saying "labels will be hidden and the content of the label will be shown as placeholder".
Moreover it would be nice (but I don't know if that's possible), that when the option is checked the preview of the form changes to reflect the made option, this way the end user can understand the option better.

agree


Not compiling with latest version of PistonDevelopers/image and Rust

I tried to make it compile again and succeeded somehow.
You can find my  changes here: https://github.com/forgemo/img_hash
I, however, failed to keep the image parameter of square_resize_and_gray generic.
I had to change
fn square_resize_and_gray<Img: GenericImage>(img: &Img, size: u32) -> GrayImage
to
fn square_resize_and_gray(img: &RgbImage, size: u32) -> GrayImage
and did some further modifications following this change.
It seems that my understanding of Rust's generic type-system is not good enough to make it work in a generic manner. Maybe someone could review my changes helping me to make it generic again.

Thank you for bringing this to my attention. I'm working on some ideas of my own that should keep ImageHash::hash generic without being too complex. Stay tuned.


Can't get pycard to run

When trying to test my pycard installation I get.
rich@richdesktop01:~/Desktop/pycard$ ~/vpython/bin/python pycard.py -p ./examples -d "|"
Traceback (most recent call last):
  File "pycard.py", line 10, in <module>
    from itertools import zip_longest
ImportError: cannot import name zip_longest

I believe that I installed itertools:

rich@richdesktop01:~/Desktop/pycard$ ~/vpython/bin/pip install jaraco.itertools
Collecting jaraco.itertools
  Downloading https://files.pythonhosted.org/packages/0e/0e/65b821469e94a5ff2774dab4b4e54cf4253372c0f8be5acdf797089e160e/jaraco.itertools-2.4-py2.py3-none-any.whl
Requirement already satisfied: six in /home/rich/vpython/lib/python2.7/site-packages (from jaraco.itertools) (1.11.0)
Collecting inflect (from jaraco.itertools)
  Downloading https://files.pythonhosted.org/packages/82/12/af36f5420b495ad6e75f4532eaad64ee7301d0ef568a4eb87ded9bfcacb3/inflect-1.0.0-py2.py3-none-any.whl (59kB)
    100% |████████████████████████████████| 61kB 783kB/s
Collecting more-itertools>=4.0.0 (from jaraco.itertools)
  Downloading https://files.pythonhosted.org/packages/fb/d3/77f337876600747ae307ea775ff264c5304a691941cd347382c7932c60ad/more_itertools-4.3.0-py2-none-any.whl (48kB)
    100% |████████████████████████████████| 51kB 858kB/s
Installing collected packages: inflect, more-itertools, jaraco.itertools
Successfully installed inflect-1.0.0 jaraco.itertools-2.4 more-itertools-4.3.0

I am running Python 2.7.15rc1
Please help.

@richpri I've only tested this in Python 3.6. Let me know if using 3.6 works for you.

Thanks for your reply. I will try upgrading Python. It may be a week or so before I have time to do it.

@richpri I'll close the issue. Feel free to reopen, if it's still a problem.


libmodbus (PACMAN-970)

Related area
libmodbus
Is your feature request related to a problem?
i have libmodbus running in ESP32:
https://github.com/Fliegl-Agrartechnik-GmbH/libmodbus-examples-esp-idf
maybe it makes sense to add it to the Espressif Component manager ?
I have checked existing list of Feature requests and I have provided enough information.

[X] I confirm I have checked existing list of Feature requests and I have provided enough information.

Hi @diplfranzhoepfinger, this repository hosts the python client of IDF component manager. The issue tracker is for the client only.
You are welcome to open a topic on esp32.com if you would like to get other developers' feedback on your idea.

done already: https://esp32.com/viewtopic.php?f=13&t=3302


Expander last_message_age property.

Hello,
This change enables one to write rules or higher level controls which are dependent on wether or not the expander actually transmits data.
This could be used for motor-movement based on sensor data from a sensor on an expander, where communication could fail or is highly time-critical.

I did a test on the testbrain and the result was as expected.


Fix duplicate printing to console

Sometimes this action prints warnings twice.
I suggest we prevent this by always passing on output and only detect if a warning was emitted.

Fixed in 838e21b. All issues resolved in 099936f.


Sockets not listening on dual-sockets by default

Sockets not listening right Internet Protocol in Net classes
Currently the (tested) sockets wrappers won't use IPv6 alongside IPv4 in dual-stack.
Meaning out of the box connections on SmtpClient, TcpClient and MySql connector require modifications at the Socket for functioning on IPv6.
In .NET Standard this isn't the issue at all because it determines the right protocol by the given input string already.
Source:
https://blogs.msdn.microsoft.com/webdev/2013/01/08/dual-mode-sockets-never-create-an-ipv4-socket-again/
This SHOULD be in .NET core aswell as this might prevent starting or even experienced developers from using IPv6 over all as IPv4 'Just works'.
Environment
Version: .NET-Core v2.1.105
Project: WebAPI
Platform: Windows 10 Pro x86-x64
Build: 16299.371
Testing
SmtpClient
Code:
SmtpClient smtpClient= new SmtpClient();
smtpClient.DeliveryMethod = SmtpDeliveryMethod.Network;

smtpClient.Port = 587;
smtpClient.Host = "fd00::8:23";
smtpClient.EnableSsl = true;

smtpClient.UseDefaultCredentials = false;
smtpClient.Credentials = new NetworkCredential("username", "password");

MailMessage mmMail = new MailMessage("valid_sender", "valid_receiver");
mmMail.Subject = "Subject";
mmMail.Body = "Message";

smtpClient.SendMailAsync(Mail);

Resulting in:
System.Net.Mail.SmtpException: Failure sending mail. ---> System.ArgumentException: None of the discovered or specified addresses match the socket address family.
Parameter name: context
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Net.Sockets.Socket.DoMultipleAddressConnectCallback(Object result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result, MultipleAddressConnectAsyncResult context)
   at System.Net.Sockets.Socket.DnsCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
   at System.Net.Sockets.TcpClient.EndConnect(IAsyncResult asyncResult)
   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.InitializeConnectionCallback(IAsyncResult result)
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Net.Mail.SmtpConnection.ConnectAndHandshakeAsyncResult.End(IAsyncResult result)
   at System.Net.Mail.SmtpTransport.EndGetConnection(IAsyncResult result)
   at System.Net.Mail.SmtpClient.ConnectCallback(IAsyncResult result)

Doing this synchronically using:
smtpClient.Send(Mail);

Results:
System.Net.Sockets.SocketException (0x80004005): A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
   at System.Net.Sockets.TcpClient.Connect(String hostname, Int32 port)
   at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)

MySQL
Using a simple custom (working wrapper) with the following querystring
this.connectionString = "Server=fd00::8:21;Port=3306;Uid=Username;Pwd=password;Allow User Variables=True;Connection Timeout=1;";

I get the following error:
System.NotSupportedException: This protocol version is not supported.
   at System.Net.Sockets.Socket.BeginConnect(IPAddress address, Int32 port, AsyncCallback requestCallback, Object state)
   at System.Net.Sockets.Socket.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
   at System.Net.Sockets.TcpClient.BeginConnect(String host, Int32 port, AsyncCallback requestCallback, Object state)
   at System.Net.Sockets.TcpClient.<>c.<ConnectAsync>b__28_0(String targetHost, Int32 targetPort, AsyncCallback callback, Object state)
   at System.Threading.Tasks.TaskFactory`1.FromAsyncImpl[TArg1,TArg2](Func`5 beginMethod, Func`2 endFunction, Action`1 endAction, TArg1 arg1, TArg2 arg2, Object state, TaskCreationOptions creationOptions)
   at System.Threading.Tasks.TaskFactory.FromAsync[TArg1,TArg2](Func`5 beginMethod, Action`1 endMethod, TArg1 arg1, TArg2 arg2, Object state)
   at System.Net.Sockets.TcpClient.ConnectAsync(String host, Int32 port)
   at MySql.Data.Common.StreamCreator.GetTcpStream(MySqlConnectionStringBuilder settings)
   at MySql.Data.MySqlClient.NativeDriver.Open()

Plain TcpClient
Leading me to do some testing using a TcpClient:
TcpClient tcpClient = new TcpClient();
IPAddress ipaAddress = IPAddress.Parse("fd00::8:23");
tcpClient.Connect(ipaAddress, 587);

Result:
System.Net.Internals.SocketExceptionFactory.ExtendedSocketException
  HResult=0x80004005
  Message=An address incompatible with the requested protocol was used [fd00::8:23]:587
  Source=System.Net.Sockets
  StackTrace:
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
   at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
   at System.Net.Sockets.TcpClient.Connect(IPAddress address, Int32 port)

If I set the AddressFamily however the code works:
TcpClient tcpClient = new TcpClient(AddressFamily.InterNetworkV6);
tcpClient.Client.DualMode = true;

Moved to https://github.com/dotnet/corefx/issues/29414


ReadTheDocs hosting is broken

There appears to be a problem on their side triggered by the rebranding: https://github.com/readthedocs/readthedocs.org/issues/9093

Nvm it was a caching problem. All good.


Added NVIDIA Pascal support

Updated CMakeLists.txt compute capability.

we should check CUDA version, 6x only supported by CUDA 8.x.
FYI https://github.com/lifeiteng/warp-ctc/commit/42c56304b087032c84d84ecc70fa7e9b8200cf42

This is waiting on a check of the library size difference between adding {53 60 61 62} vs just adding {60 61} as well as adding a check of the cuda version before adding it (like in lifeiteng's commit).

This looks good - sorry about the delay. I test by building with CUDA 7.5 and it generated code that ran on TitanX and built it with CUDA 8.0. I don't have a Pascal right now to test - hopefully you have tested it on Pascal. Good to merge (after syncing with the trunk)

I use gtx 1060, and the CUDA8.0 update to cuda-repo-ubuntu1604-8-0-local-ga2_8.0.61-1_amd64.deb now,how to modify it?

@shubho it's been updated. Thanks.

the issue is happened in the pictures. My python environment is anaconda2. And the pytorch is installed by the fellow code:
$ bash Anaconda2.sh
$ conda install pytorch torchvision cuda80 -c soumith
The process of installed warp-ctc has nothing wrong happened....
I try to replace the libgomp.so.1, but not work


stopping tour after triggering a step modal

Hello I want to trigger a modal by stopping the tour on my componenent and starting another tour when my modal is on view :
 myCustomNextStepCallback(currentStep) {
        if (currentStep === 3 && !this.$tours.myTour.steps[currentStep ].finished) {
           this.$tours.myTour.steps[currentStep ].finished  = true
           this.$tours['myTour'].stop()
           this.spreadDialog = true
       }
},

by doing this the modal pops up but in the back my first tour starts again . so this leaves me with two tours running at the same time !
is there a possibility to stop a tour !!

Hi @marouatnk , First, how do you start the first tour ? Did you specify 2 different names for the tours ?
To clarify : You have a tour "myTour", you run it then you want to trigger a modal and stop the current tour "myTour" and then starting another tour, that's right ?

Hi , yes you got it right .
Well my modal is in a separate vue component that's why I kept the same name for both tours actually. Would naming them differently  solve the problem you say ?

@marouatnk Well I let you find out :)

Closing the issue as the problem seems to be solved.


UI enhancement - move and actions between steps

Sprint 3 introduced the functionality for duplicate an action (expediting the creation of bigger demos when action repeat a lot of information) and drag and drop to reorder the flow in the step.
These were really important functionalities a move option would provide more flexibility, supporting heavier restructuring of a demo.
The idea is to generate extended demo baseline that a user may trim and shape as the presentation/user requires. Some step may not be applicable som other may be collapsed in the same step.
We may need to consider the introduction of ... to add more functions to an action.

Should we have also include Stage, Clean up and Unstage in the potential destination?
When a user customise the demo, he may need to move some of the functions in these three hidden stages (as I am doing now for the rollback)

Discussed and agreed to hard code the three in the list


test(app): add tests for CheckboxField

Overview
This will close RAUT-211

Changelog

modify CheckboxField (destruct props, remove unexpected null)
add test cases

Review requests

[ ] test covers basic cases
[ ] If anyone has an idea to test OUTER_STYLE (currently comment out)

Risk assessment
low

@Opentrons/app-and-uis test


02_basics/02_Flow-control-statements:_for-if-else-switch-defer/08_exercise:_loops-and-functions

https://github.com/rayfiyo/A-Tour-of-Go/commit/e7692146a749d84ad8aac3d597ab231fd4e096b5

https://github.com/rayfiyo/A-Tour-of-Go/commit/e7692146a749d84ad8aac3d597ab231fd4e096b5

https://github.com/rayfiyo/A-Tour-of-Go/commit/e129147029f9d21af256a23671a16b72951bc65b


Replacing direct quote model-set schema creation with actually existing model-set setup

This was causing random test failures due to the schema tool raising exceptions while running completely unrelated tests or just a subset of the test suite.

:ship: (yes, tests pass)


Zoom and drag support

Is there any plan to support zoom and drag in this component?

i would like to be able to zoom and scroll. :+1:

Hi @synox
a couple of people requested this already. I will give a look if we can support this soon ;)
Best,
Christoph


Add a coupon section for various certificated online courses

Is your feature request related to a problem? Please describe.
Every student whoever is in college is in generally short of finances which prevent him from doing certificated courses and he generally refers the free websites .In the resources section we have a few online courses if we add more related courses and also take the coupon codes from twitter or various websites we can ensure that the user can do certificated courses for a cheap price
Describe the solution you'd like
I would like to add a coupon section in the bar which would display the top courses related to his or her field of study in a particular website along with the latest discount coupon codes that are applicable to that particular course
Describe alternatives you've considered
In my websites they allow financial aid for the course. Many students don't know what to write there and often it is rejected .We can give them a platform where students get their aid answers checked by us and we suggest some improvements there
The tech stack will be HTML,CSS,React JS. We will be using web scraping to retrieve the coupon codes
Please assign this issue to me under GSSOC'23 .I am interested to work on this project @jayk-gupta

The project is of web resources, so I don't think so we should add coupon in it.


Real time status/logs of test execution not available on VSTS console

Hello,
As we are running our test cases, the result is shown only after the test execution.
I have the following query-

Real time status of test execution is not available on VSTS. Only after the test execution is completed, the status is shown on the portal.
Even the test console output log is not available in the VSTS console. It is only available in the VSTS agent for which every time we have to login to the Agent and check it.

I would like to know is there any way to download or see the console output test logs in the VSTS console?
Request you to help me to clarify these doubts.
Thanks
Mohit

@mohit1606 In case of failed tests, you will be able to see the console output of test in Test tab of completed build, by clicking on the failed test(Also console output of failed test can be seen in VSTS build Console during execution). We dont show console output for passed tests, as that is rarely needed and ideally shouldn't be required.
Assuming you are using VSTest task to run the tests, regarding real time status, you will be able to see each test passing or failing on the console output one by one. Please let us know what exactly are you looking for.

@mohit1606 Just a reminder, Were you able to see console output for failed tests?

You should be able to download the trx of the test run from run details/summary. The trx will contain all the information that you are looking for.  Does this help answer your query ?

Hi,
Thank you. We are able to see the logs now and also download them from VSTS logs.
For this we have made some small changes in our ANT script.
Thanks

Hello,
I have similar requirement, doesn't matter if test is failed or passed. I want to see my logs in real time which I am logging with either:
System.Diagnostics.Trace.WriteLine("Trace writeline");
or
Console.WriteLine(message);
My tests are integration test where a good amount of data is cross-checked. So I want to provide a custom summary of what all type of data has been cross-verified.
Please help.

Hello,
I have similar requirement, doesn't matter if test is failed or passed. I want to see my logs in real time which I am logging with either:
System.Diagnostics.Trace.WriteLine("Trace writeline");
or
Console.WriteLine(message);
My tests are integration test where a good amount of data is cross-checked. So I want to provide a custom summary of what all type of data has been cross-verified.
Please help.

Have you managed to work around the problem? Any way to attach logs to a test run?


oaiserver: change license (shared case)

Problematic packages:

[ ] invenio-query-parser GPLv2, but I see it's only required in setup.py and not used anywhere, so it should be easy to remove it.

Closed by #142 and #140


How do I know when the Json2csvTransform has been finished?

Hello guys, thx for this awesome library, I just have small question, because the docs doesn't say nothing about it. I would like to know how can I know when the parsing process has finished in order to send a response to the client?
this is my code
const fields = ['field_one', 'field_two', 'field_three'];
   const opts = { fields };
   const transformOpts = { highWaterMark: 16384, encoding: 'utf-8' };

   const inputPath = path.join(__dirname, '../', 'orders.json')
   const outputPath = path.join(__dirname, '../', 'csv.json')

   const input = fs.createReadStream(inputPath, { encoding: 'utf8' });
   const output = fs.createWriteStream(outputPath, { encoding: 'utf8' });

   const json2csv = new Json2csvTransform(opts, transformOpts);

   input.pipe(json2csv).pipe(output);

I saw these events in the doc :
json2csv
  .on('header', header => console.log(header))
  .on('line', line => console.log(line))
  .on('error', err => console.log(err));

But there isn't a finish event or something like that, I have no idea what can I do

Hi @erick2014 ,
Json2csvTransform is a standard stream so you can use the standard stream API. Concrete the end event is what you are looking for.
You can look at the tests to see how it works: https://github.com/zemirco/json2csv/blob/master/test/JSON2CSVTransform.js

@juanjoDiaz, hey thx for your help, it worked. I wanted to ask you another thing, what is the maximum size for the array that the library supports, because I was checking this information :

The parse method is really good but has the downside of loading the entire JSON array in memory. This might not be optimal or even possible for large JSON files.

There is no maximum size (apart from your machine's memory).
It's more of an application design issue.
I'd recommend that you read about streams in general if you want to know more about why they exist and how to use them.
As a rule of thumb:

If you have a JSON object in memory, the sync API is perfectly fine since the object is already in memory and transforming it into a stream is just extra effort.
If you are getting the array as a stream (http request, reading a file, reading from db, reading from console, etc.) and pushing that data somewhere that also support streams (http response, another http request, writing to a file, writting to db, writing to console, etc.), the stream API makes more sense since you process the element one at a time keeping the memory consumption constant.

hey @juanjoDiaz  thx for this explanation I really appreciate it

No problem. Closing this. Feel free to come back if anything else comes up.


Add query to return an array of matrix file formats

Clients with rich UI such a the Data Browser would like to query the Matrix Service for supported file formats which can then dynamically populate related UI elements (Select a File Format):

Otherwise, the Data Browser has to be informed for each new format offered by the Matrix Service and then hard-code which is not optimal. This also provides more flexibility for the Matrix Service if we decide to deprecate a format.
Swagger-y Sketch:
definitions:
  ...
  MatrixFileFormats:
    type: array
    items:
      type: string

paths:
 ...
  /matrix/formats:
    get:
      summary: "Return supported file formats"
      description: "Return the list of matrix file formats
      that can be requested by a consumer"
      tags:
        - API
      responses:
        "200":
          description: "Success"
          schema:
            $ref: '#/definitions/MatrixFileFormats'

https://github.com/HumanCellAtlas/matrix-service/pull/160


Multiline formatting does not indent correctly

Issue Description
I am experiencing a problem with formatting of multiline commands.  Particularly with comments in them.  Given the following command, this is how Powershell formats it:
ls c:\ |
select -ExpandProperty name |
sort -Descending

If I put in backticks then the formatter notices:
ls c:\ | `
    select -ExpandProperty name | `
    sort -Descending `

which is what I would expect.
However, if I then put in comments I get:
ls c:\ | `
    #Then select the name
select -ExpandProperty name | `
    #Before sorting in descending order
sort -Descending `

Which doesn't look right to me.
Environment Information
Visual Studio Code

Name
Version

Operating System
Windows_NT x64 6.1.7601

VSCode
1.36.1

PowerShell Extension Version
2019.5.0

PowerShell Information

Name
Value

PSVersion
5.1.14409.1018

PSEdition
Desktop

PSCompatibleVersions
1.0 2.0 3.0 4.0 5.0 5.1.14409.1018

BuildVersion
10.0.14409.1018

CLRVersion
4.0.30319.42000

WSManStackVersion
3.0

PSRemotingProtocolVersion
2.3

SerializationVersion
<IP_ADDRESS>

Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)

Extension
Author
Version

gitlens
eamodio
9.8.5

json-tools
eriklynd
1.0.2

powershell
ms-vscode
2019.5.0

printcode
nobuhito
3.0.0

qub-xml-vscode
qub
1.2.8

XMLLanguageSupport
IBM
0.0.1

zenburn
ryanolsonx
1.0.1

(This might be fixed in PSSA 1.18.1, which you can test with Install-Module -Scope CurrentUser PSScriptAnalyzer -- PSES should pick that up)

I ran that in PowerShell and then restarted VSCode.  Same issue.
I've attached a file with the code as formatted. (Renamed to .txt extension so that GitHub will allow upload)
FormattingTest.txt

I can confirm this still happens on the latest state of the master branch, even with a recent proposed improvement in PR #1312 .
The issue seems to be that the backticks cause an additional (unnecessary) level of indentation (no matter with or without the comment).
I propose the following as a test case to be fixed as it captures the underlying problem:
foo |`
# hello world
baz

Whilst I can confirm this still happens on the latest version, I'd argue it is not a valid use case because the backtick is not needed when using pipelines.
Your example can be minimized to this simple example that would cause incorrect formatting:
foo | `
# hello world
baz

However, not using backticks does not cause this bug:
foo |
# hello world
baz

What you observed is because ScriptAnalyzer increases the indentation per backtick and optionally for pipelines as well depending on the PipelineIndentation setting (which default to NoIndentation in VS-Code). Whilst backticks are controversial and usually recommended against, I would've closed this issue normally because backticks are not needed but whilst playing with it, I found one edge case where pipelines are not used (i.e. backticks are needed), where it only indents the comment but not the line below, which should be fixed.
foo `
#comment
-bar

Ah!  The problem was that I wasn't aware of the PipelineIndentation setting!  Now that I am, it does what I expect, other than your final case.  (Which is the same issue as my final case, I think)
Thank you!

Any idea why pipelines don't default to "IncreaseIndentationForFirstPipeline", which is what I'd expect?
(i.e. a visual indication that the later lines are a continuation of the first one)

The new PipelineIndentation feature was released in 1.18.0 and the default setting of PSScriptAnalyzer itself is IncreaseIndentationForFirstPipeline. However, after the release, a few edge cases were reported where the behaviour is not correct yet. Therefore we changed the VS-Code PowerShell extension to default to NoIndentation to make the bugs in those edge cases not surface in the meantime. The majority of edge cases were fixed in 1.18.1 but we found another edge case after 1.18.1 (and this one), therefore we expect that only starting with 1.18.2 the feature will be mature enough to start making it a default for VS-Code users.


better error message: specify which resource is missing

Yes please! This is very frustrating to debug as a beginner (or to help beginners debug).

bors r+


new command: update device

🚀 Feature Request
Enable update of device identified by its ID or name
https://github.com/edgexfoundry/edgex-go/blob/3555043a6994042684a9c8b6423498381cadcc6f/openapi/v1/core-metadata.yaml#L344

Fix by #273


Partial(Incremental) rendering support

Any plans to support partial rendering or perhaps someone is interested in this work?

We will need a proper way to produce deltas of the widget tree between multiple view calls. See #553.


Publish for Scala 2.12.0-RC1

Can you publish a version for scala 2.12.0-RC1? :)

I can't, because a lot of dependencies haven't been published for 2.12.

With circe 0.6.0 out, the remaining dependencies are:

argonaut-io/argonaut#246
playframework/playframework#6110