nhost dev fails with --graphql-port

I'm running the latest nhost on M1 mac with Docker Desktop 4.12.0
> nhost version
> Nhost CLI v0.8.3 for darwin-amd64
> You have the latest version. Hurray!

I try to create a new project and run it with Hasura running on a user specified port but startup fails like this:
> nhost init
✔ Name of your new app: new_project3█
> Successful! Start your app with `cd new_project3 && nhost dev`
(base) [me@host:~/tmp/nhost3]
> cd new_project3/
(base) [me@host:~/tmp/nhost3/new_project3]
> nhost dev -d --graphql-port 8850

> Initializing Hasura client
> start timeout is set to 10m0s
> Stopping docker compose
> Starting docker compose
> Starting functions
> Starting postgres, graphql-engine containers...
> Waiting for graphql-engine service to be ready
> Waiting for all containers to be up and running
> [exit status 1
Container new_project3-blissful_northcutt-minio-1  Creating
Container new_project3-blissful_northcutt-storage-1  Creating
Container new_project3-blissful_northcutt-traefik-1  Creating
Container new_project3-blissful_northcutt-mailhog-1  Creating
Container new_project3-blissful_northcutt-functions-1  Running
Container new_project3-blissful_northcutt-postgres-1  Running
Container new_project3-blissful_northcutt-graphql-engine-1  Running
Container new_project3-blissful_northcutt-auth-1  Creating
Container new_project3-blissful_northcutt-storage-1  Created
Container new_project3-blissful_northcutt-traefik-1  Created
Container new_project3-blissful_northcutt-auth-1  Created
Container new_project3-blissful_northcutt-mailhog-1  Created
Container new_project3-blissful_northcutt-minio-1  Created
Container new_project3-blissful_northcutt-minio-1  Starting
Container new_project3-blissful_northcutt-minio-1  Started
Error response from daemon: dial unix docker.raw.sock: connect: connection refused
] Failed to wait for running/healthy services
> Start took 22.272651834s

> [exit status 1
Container new_project3-blissful_northcutt-minio-1  Creating
Container new_project3-blissful_northcutt-storage-1  Creating
Container new_project3-blissful_northcutt-traefik-1  Creating
Container new_project3-blissful_northcutt-mailhog-1  Creating
Container new_project3-blissful_northcutt-functions-1  Running
Container new_project3-blissful_northcutt-postgres-1  Running
Container new_project3-blissful_northcutt-graphql-engine-1  Running
Container new_project3-blissful_northcutt-auth-1  Creating
Container new_project3-blissful_northcutt-storage-1  Created
Container new_project3-blissful_northcutt-traefik-1  Created
Container new_project3-blissful_northcutt-auth-1  Created
Container new_project3-blissful_northcutt-mailhog-1  Created
Container new_project3-blissful_northcutt-minio-1  Created
Container new_project3-blissful_northcutt-minio-1  Starting
Container new_project3-blissful_northcutt-minio-1  Started
Error response from daemon: dial unix docker.raw.sock: connect: connection refused
] Failed to start services
> Stopping docker compose
(base) [me@host:~/tmp/nhost3/new_project3]

If I run without --graphql-port it starts OK. (Interestingly, if I run with --graphql-port 8888 it starts OK as well. But it won't start with any other port I tried)

Would you mind looking at the logs nhost logs -f while starting Nhost? There might be a clue there.

Nothing really helpful there:

Sometimes postgres seems to start up and then fails.

I checked that I have enough resources configured for Docker (6 cpus, 20G memory, 100G disk space) and it works OK with other docker-compose projects.

I don't know if it is related, but now I tried on an Intel mac and after nhost init it fails to start even without --graphql-port:
> nhost dev

You are using 20.10.13 version of docker engine. Please upgrade to 20.10.17 or higher version.
Upgrade instructions: https://docs.docker.com/engine/install/

> Failed to start services
> [exit status 1
no such service: hasura
] Failed to start services

nhost logs -f shows nothing here.

On Intel Mac for me 0.6.14 is the latest, which works. v0.7.1 and above fails with this no such service: hasura message. I removed all hasura images and updated my hasura cli as well, just in case.

On Intel I updated docker and now it works fine, sorry about that. I will see if it helps on my M1 machine, although there I already had the latest version.

What I can conclude is that it happens randomly on M1 with Docker version 20.10.17, build 100c701.
I tried running the same nhost dev -d --graphql-port 8850 command over and over again and sometimes it starts OK, sometimes it stops with Error response from daemon: dial unix docker.raw.sock: connect: connection refused. Then if I change the port: it either starts all right or fails with the same error.
One thing I noticed is that nhost's traefik container maps /var/run/docker.sock as a volume. May this effect this?

Failed to start services
[exit status 1
no such service: hasura
] Failed to start services

I reliably get this same error message on Intel / Linux (Ubuntu 22.04) on v0.8.15 of nhost.
docker compose -f ./.nhost/docker-compose.yaml up -d --build works.
If I run nhost up -d I get:
> Initializing Hasura client
> start timeout is set to 10m0s
> Stopping docker compose
> [exit status 1
no such service: hasura
] Failed to stop functions service

> [exit status 1
no such service: hasura
] Failed to start services
> Stopping docker compose
> [exit status 1
no such service: hasura
] Failed to stop functions service

Was this issue fixed by https://github.com/nhost/cli/pull/511 ?


git-annex: clearer error if git-annex is missing

If git-annex is not installed on a system where gitea is running, the error messages are not at all clear that this is the problem.
Improve this. Make sure to cover:

viewing the web UI
connecting over ssh
connecting over http
when attempting to upload and to download

Alternately, maybe just refuse to run if git-annex is enabled but not found at boot.


code to remove table headers when results are empty

Per Homestretch remove table headers when results are empty, this code will not display AE and Weights when a target is not found in the search. It adds another state (displayAE_Weights) in props to manage this.
Please review.

LGTM


Improvements to Eigen backend

Codecov Report

Merging #41 (198fcb5) into main (a95f119) will decrease coverage by 1.76%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #41      +/-   ##
==========================================
- Coverage   96.44%   94.67%   -1.77%
==========================================
  Files          29       13      -16
  Lines        1996      883    -1113
==========================================
- Hits         1925      836    -1089
+ Misses         71       47      -24

Impacted Files
Coverage Δ

RTNeural/ModelT.h
88.42% <0.00%> (-0.90%)
:arrow_down:

RTNeural/lstm/lstm_xsimd.tpp

RTNeural/conv1d/conv1d_xsimd.tpp

RTNeural/gru/gru_eigen.tpp

RTNeural/gru/gru_xsimd.h

RTNeural/conv1d/conv1d_eigen.h

RTNeural/lstm/lstm_eigen.tpp

RTNeural/lstm/lstm_xsimd.h

RTNeural/activation/activation_eigen.h

RTNeural/dense/dense_xsimd.h

... and 8 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 a95f119...198fcb5. Read the comment docs.


Using Edge, r.init(chrome_browser=False) still opens a browser - hack limitation

I'm using the 'hack' to use edge (chromium) instead of chrome, which is working perfectly.
However running r.init(visual_automation = True, chrome_browser = False) opens edge anyway.
Not a big issue, but I hope this can be fixed if edge is officially supported. Please let me know if there is a workaround though.
Thanks!

Hi @TheBoojah I see, yes any hack only workaround the limitation as the package and TagUI does not yet support Edge. In future release later this year I believe this will be supported because MS IE is phasing out and people are moving to Edge.
Oh I think you are using your own downloaded copy of TagUI. Because the copy that RPA for Python uses is a custom forked version. That one does not work with - in the options. Because Edge is not supported, I don't think you can easily hack to both enable Edge and also enable the scenario where you can run without opening browser.
I'll recommend not using a downloaded copy of TagUI v6.14 because you should be facing problems using it with RPA for Python. That version and the forked version for this package has deviate in their codebase and only the forked is designed and tested to work well with this package.

I see, thanks!
Yeah, my network is blocked so the auto setup was not able to download the files. (pip worked fine to download the rpa python package however. Its just github that is blocked here.) I thought that I manually downloaded the same file that the code does (github.com/tebelorg/Tump/releases/download/v1.0.0/tagui_zip_file), but I was messing around a lot so there might be mistakes from my side there, I might have missed something in the _tagui_delta function.
I'll keep this in mind if other stuff misbehaves, but so far it seems to be working alright except for this issue. I'll try the pack() function if stuff keeps misbehaving...

I see, sure! Yes, use r.pack() and r.update() from your personal laptop with internet will be the recommended way to move external files into the intranet. The dependency might be able to request pypi.org to allow attached large files as part of the release, but that is usually a bad practice for pypi.org guideline. Will keep a lookout if more users having problem with accessing github.com and see if there are other hosting sites which allow access from their network.
Will close the issue for now, but I believe upstream TagUI will add Edge support later this year and this package will also inherit that option.


Change stack resource names to be more specific

Overview
In preperation for adding more resources, we need to specify that the current resources are for the site. E.g., instead of just S3Bucet, we should go with 'SiteS3Bucket', etc.

Work for this issue will begin begin on branch work-liquid-labs/cloudsite/29.


[PL-43427] Resource type reference

Resource type reference
For reviewers, a preview is available.
What Type of PR is This?

[ ] Issue
[x] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6573935d458d3767ad441720--harness-developer.netlify.app


feat: add modal window

create modal window

:tada: This PR is included in version 4.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Delete 2 DPUL uploaded items causing errors in DPUL exhibit "treasures of the east asian library"

Summary
2 items: 12-249897 & 12-249896 were uploaded using the feature in DPUL's dashboard within "Items". They need to be deleted.  This is kinda like those iiif manifests that were also added in dashboard a while back.
Impact
Please include hard deadlines, if the exhibit is part of an event, the issue is stopping work, etc.
Priority recommendation

[ ] asap
[x] within the next 3 weeks
[x] PO will prioritize

Sudden Priority Justification
Required if "asap" or "within the next 3 weeks" is checked.  Add "Sudden Priority" and "Maintenance/Research labels
Expected behaviour
Actual behaviour
Steps to reproduce behaviour
Screenshots

maybe similar to this? https://github.com/pulibrary/dpul/issues/1465

The links are giving a 404 so I think this is done; closing.


android n "detected problems with app native libraries"

Detected problem with app native libraries (please consult log detail): libvlcjni.so: text relocations

same issue !!
I built libvlcjni.so from official vlc source code and replaced libvlcjni with the compiled one but it doesn't stream any video. when I bring back the old one which has text relocations it streams videos but doesnt work in android > 6 any suggestions to fix this or can you please provide the source code of the included libvlcjni.so so I can compile it with ndk rv14 which doesnt give text relocations bug
P.S you can use grep against libvlcjni.so to check if it has text relocations:
readelf -a path/to/libvlcjni.so | grep TEXTREL
if it prints: 0x00000016 (TEXTREL)                    0x0
means it has text relocations and wont work on android > 6.

I have faced with the same issue. Changing
targetSdkVersion 23

to
targetSdkVersion 22

in app build.gradle solves the problem.

Hi @Ess-Soft  Have you implemented the VLC sdk? please help me.

IQ


Improve ColorPicker sliders in OKHSL mode

Fixes #62120
Fixes sliders using wrong color space and showing wrong color (see the first GIF).
Before

After

I updated the vertical slider

It was just an oversight 😅

@QbieShay You filed a bug about this. Can you take a look?

Thanks!


Running the official docker image for etcd will listen only on localhost.

Here is the sample docker-compose.yml that demonstrates the problem.
version: '2'

services:
  etcd:
    image: quay.io/coreos/etcd
    # asking etcd to listen on all interfaces fails to register
    #command: sh -c 'etcd -listen-client-urls http://<IP_ADDRESS>:2379 -advertise-client-urls http://etcd-srv:2379'

    # Default etcd command only listens on localhost
    command: sh -c 'ifconfig eth0 | grep inet; etcd'

  etcd-check:
    image: quay.io/coreos/etcd
    depends_on:
      - etcd
    command: sh -c 'for f in 1 2 3;do sleep 5; echo "Check $$f $$(date +%H:%M:%S)"; etcdctl --endpoints http://etcd:2379 set /message Hello; sleep 3; done'

Here is the log:
$ docker-compose down --remove-orphans; docker-compose up -d; docker-compose logs -f
Stopping etcdtest_etcd_1 ...
Stopping etcdtest_etcd_1 ... done
Removing etcdtest_etcd-check_1 ... done
Removing etcdtest_etcd_1 ... done
Removing network etcdtest_default
Creating network "etcdtest_default" with the default driver
Creating etcdtest_etcd_1 ...
Creating etcdtest_etcd_1 ... done
Creating etcdtest_etcd-check_1 ...
Creating etcdtest_etcd-check_1 ... done
Attaching to etcdtest_etcd-check_1, etcdtest_etcd_1
etcd_1        |           inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
etcd_1        | 2017-07-07 13:59:06.820064 I | etcdmain: etcd Version: 3.2.1
etcd_1        | 2017-07-07 13:59:06.820183 I | etcdmain: Git SHA: 61fc123
etcd_1        | 2017-07-07 13:59:06.820384 I | etcdmain: Go Version: go1.8.3
etcd_1        | 2017-07-07 13:59:06.820400 I | etcdmain: Go OS/Arch: linux/amd64
etcd_1        | 2017-07-07 13:59:06.820425 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2
etcd_1        | 2017-07-07 13:59:06.820435 W | etcdmain: no data-dir provided, using default data-dir ./default.etcd
etcd_1        | 2017-07-07 13:59:06.820656 I | embed: listening for peers on http://localhost:2380
etcd_1        | 2017-07-07 13:59:06.820774 I | embed: listening for client requests on localhost:2379
etcd_1        | 2017-07-07 13:59:06.824427 I | etcdserver: name = default
etcd_1        | 2017-07-07 13:59:06.824465 I | etcdserver: data dir = default.etcd
etcd_1        | 2017-07-07 13:59:06.824474 I | etcdserver: member dir = default.etcd/member
etcd_1        | 2017-07-07 13:59:06.824480 I | etcdserver: heartbeat = 100ms
etcd_1        | 2017-07-07 13:59:06.824486 I | etcdserver: election = 1000ms
etcd_1        | 2017-07-07 13:59:06.824497 I | etcdserver: snapshot count = 100000
etcd_1        | 2017-07-07 13:59:06.824511 I | etcdserver: advertise client URLs = http://localhost:2379
etcd_1        | 2017-07-07 13:59:06.824523 I | etcdserver: initial advertise peer URLs = http://localhost:2380
etcd_1        | 2017-07-07 13:59:06.824533 I | etcdserver: initial cluster = default=http://localhost:2380
etcd_1        | 2017-07-07 13:59:06.829802 I | etcdserver: starting member 8e9e05c52164694d in cluster cdf818194e3a8c32
etcd_1        | 2017-07-07 13:59:06.829838 I | raft: 8e9e05c52164694d became follower at term 0
etcd_1        | 2017-07-07 13:59:06.829852 I | raft: newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
etcd_1        | 2017-07-07 13:59:06.829860 I | raft: 8e9e05c52164694d became follower at term 1
etcd_1        | 2017-07-07 13:59:06.930646 W | auth: simple token is not cryptographically signed
etcd_1        | 2017-07-07 13:59:06.936427 I | etcdserver: starting server... [version: 3.2.1, cluster version: to_be_decided]
etcd_1        | 2017-07-07 13:59:06.937864 I | etcdserver/membership: added member 8e9e05c52164694d [http://localhost:2380] to cluster cdf818194e3a8c32
etcd_1        | 2017-07-07 13:59:07.630189 I | raft: 8e9e05c52164694d is starting a new election at term 1
etcd_1        | 2017-07-07 13:59:07.630272 I | raft: 8e9e05c52164694d became candidate at term 2
etcd_1        | 2017-07-07 13:59:07.630298 I | raft: 8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
etcd_1        | 2017-07-07 13:59:07.630314 I | raft: 8e9e05c52164694d became leader at term 2
etcd_1        | 2017-07-07 13:59:07.630337 I | raft: raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
etcd_1        | 2017-07-07 13:59:07.630574 I | etcdserver: setting up the initial cluster version to 3.2
etcd_1        | 2017-07-07 13:59:07.632363 N | etcdserver/membership: set the initial cluster version to 3.2
etcd_1        | 2017-07-07 13:59:07.632442 I | etcdserver/api: enabled capabilities for version 3.2
etcd_1        | 2017-07-07 13:59:07.632544 I | embed: ready to serve client requests
etcd_1        | 2017-07-07 13:59:07.632928 N | embed: serving insecure client requests on <IP_ADDRESS>:2379, this is strongly discouraged!
etcd_1        | 2017-07-07 13:59:07.632968 I | etcdserver: published {Name:default ClientURLs:[http://localhost:2379]} to cluster cdf818194e3a8c32
etcd-check_1  | Check 1 13:59:12
etcd-check_1  | Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcd-check_1  | error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcd-check_1  | Check 2 13:59:20
etcd-check_1  | Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcd-check_1  | error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcd-check_1  | Check 3} 13:59:28
etcd-check_1  | Error:  client: etcd cluster is unavailable or misconfigured; error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcd-check_1  | error #0: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused
etcd-check_1  |
etcdtest_etcd-check_1 exited with code 0

getsockopt: connection refused

Seems like docker configuration issue, not etcd issue.

It is not. Ping works fine. However curl does not.

It is not. Ping works fine. However curl does not.

Shouldn't matter. Your etcd cluster started fine. Seems like you just need to expose port 2379.

The logs shows that etcd is listening on localhost only.
Because of that etcdctl works on

The logs shows that etcd is listening on localhost only.

Yeah you need to either use host network for your etcd container, or expose client port 2379 to the container that your etcdctl is running.

Here is a more detailed run. This clearly shows that etcd is not registering on anything but <IP_ADDRESS>
> cat docker-compose.yml
version: '2'
services:
  etcd:
    image: quay.io/coreos/etcd
    ports:
      - "2379:2379"
      - "2380:2380"
    command: sh -c 'apk update; apk add curl; ifconfig eth0 | grep inet; etcd'
  etcd-check:
    image: quay.io/coreos/etcd
    depends_on:
      - etcd
    command: sh -c 'apk update; apk add curl ;while true;do sleep 1;done'

> docker-compose up -d
...
> docker-compose ps
        Name                       Command               State                       Ports
---------------------------------------------------------------------------------------------------------------
etcdtest_etcd-check_1   sh -c apk update; apk add  ...   Up      2379/tcp, 2380/tcp
etcdtest_etcd_1         sh -c apk update; apk add  ...   Up      <IP_ADDRESS>:2379->2379/tcp, <IP_ADDRESS>:2380->2380/tcp

# run curl inside of container, localhost ip works
> docker-compose exec etcd curl -sS http://<IP_ADDRESS>:2379/version
{"etcdserver":"3.2.2","etcdcluster":"3.2.0"}

# extract IP of container
> container_ip=$(docker-compose exec etcd ifconfig eth0|grep -oP 'inet addr:\K\S+');echo container_ip=${container_ip}
container_ip=<IP_ADDRESS>

# run curl outside, using exposed port, it does not work
> docker-compose exec etcd curl -sS http://${container_ip}:2379/version
curl: (7) Failed to connect to <IP_ADDRESS> port 2379: Connection refused

# run curl on
> curl -sS http://localhost:2379/version
curl: (56) Recv failure: Connection reset by peer

run on AWS instance

@ahoma-paymentus launching etcd as etcd with no arguments will only bind to localhost by design to avoid unintentionally exposing the etcd instance to the outside world.
The commented out line:
#command: sh -c 'etcd -listen-client-urls http://<IP_ADDRESS>:2379 -advertise-client-urls http://etcd-srv:2379'

is closer to what should be passed to etcd in order to expose it to the rest of the network via docker.

And this is exactly the problem. etcd refuses to listen on all ports when specifying those options:

Running:
command: sh -c 'etcd -listen-client-urls http://<IP_ADDRESS>:2379 -advertise-client-urls http://etcd:2379,http://<IP_ADDRESS>:2379'
etcd fails to listen
etcd_1        | 2017-07-09 18:22:40.586119 I | etcdmain: etcd Version: 3.2.1
etcd_1        | 2017-07-09 18:22:40.586529 I | etcdmain: Git SHA: 61fc123
etcd_1        | 2017-07-09 18:22:40.586586 I | etcdmain: Go Version: go1.8.3
etcd_1        | 2017-07-09 18:22:40.586622 I | etcdmain: Go OS/Arch: linux/amd64
etcd_1        | 2017-07-09 18:22:40.586751 I | etcdmain: setting maximum number of CPUs to 2, total number of available CPUs is 2
etcd_1        | 2017-07-09 18:22:40.586815 W | etcdmain: no data-dir provided, using default data-dir ./default.etcd
etcd_1        | 2017-07-09 18:22:40.587605 I | embed: listening for peers on http://localhost:2380
etcd_1        | 2017-07-09 18:22:40.587769 I | embed: listening for client requests on <IP_ADDRESS>:2379
etcd_1        | 2017-07-09 18:22:40.593339 I | etcdserver: name = default
etcd_1        | 2017-07-09 18:22:40.593447 I | etcdserver: data dir = default.etcd
etcd_1        | 2017-07-09 18:22:40.593462 I | etcdserver: member dir = default.etcd/member
etcd_1        | 2017-07-09 18:22:40.593526 I | etcdserver: heartbeat = 100ms
etcd_1        | 2017-07-09 18:22:40.593624 I | etcdserver: election = 1000ms
etcd_1        | 2017-07-09 18:22:40.593658 I | etcdserver: snapshot count = 100000
etcd_1        | 2017-07-09 18:22:40.593703 I | etcdserver: advertise client URLs = http://<IP_ADDRESS>:2379,http://etcd:2379
etcd_1        | 2017-07-09 18:22:40.593752 I | etcdserver: initial advertise peer URLs = http://localhost:2380
etcd_1        | 2017-07-09 18:22:40.593818 I | etcdserver: initial cluster = default=http://localhost:2380
etcd_1        | 2017-07-09 18:22:40.691991 I | etcdserver: starting member 8e9e05c52164694d in cluster cdf818194e3a8c32
etcd_1        | 2017-07-09 18:22:40.692195 I | raft: 8e9e05c52164694d became follower at term 0
etcd_1        | 2017-07-09 18:22:40.692421 I | raft: newRaft 8e9e05c52164694d [peers: [], term: 0, commit: 0, applied: 0, lastindex: 0, lastterm: 0]
etcd_1        | 2017-07-09 18:22:40.692438 I | raft: 8e9e05c52164694d became follower at term 1
etcd_1        | 2017-07-09 18:22:40.708973 W | auth: simple token is not cryptographically signed
etcd_1        | 2017-07-09 18:22:40.715475 I | etcdserver: starting server... [version: 3.2.1, cluster version: to_be_decided]
etcd_1        | 2017-07-09 18:22:40.716808 I | etcdserver/membership: added member 8e9e05c52164694d [http://localhost:2380] to cluster cdf818194e3a8c32
etcd_1        | 2017-07-09 18:22:41.293152 I | raft: 8e9e05c52164694d is starting a new election at term 1
etcd_1        | 2017-07-09 18:22:41.293755 I | raft: 8e9e05c52164694d became candidate at term 2
etcd_1        | 2017-07-09 18:22:41.294442 I | raft: 8e9e05c52164694d received MsgVoteResp from 8e9e05c52164694d at term 2
etcd_1        | 2017-07-09 18:22:41.294604 I | raft: 8e9e05c52164694d became leader at term 2
etcd_1        | 2017-07-09 18:22:41.294970 I | raft: raft.node: 8e9e05c52164694d elected leader 8e9e05c52164694d at term 2
etcd_1        | 2017-07-09 18:22:41.295817 I | etcdserver: published {Name:default ClientURLs:[http://<IP_ADDRESS>:2379 http://etcd:2379]} to cluster cdf818194e3a8c32
etcd_1        | 2017-07-09 18:22:41.296049 I | etcdserver: setting up the initial cluster version to 3.2
etcd_1        | 2017-07-09 18:22:41.296403 I | embed: ready to serve client requests
etcd_1        | 2017-07-09 18:22:41.297377 N | embed: serving insecure client requests on [::]:2379, this is strongly discouraged!
etcd_1        | 2017-07-09 18:22:41.297738 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::]:2379: connect: cannot assign requested address"; Reconnecting to {[::]:2379 <nil>}
etcd_1        | 2017-07-09 18:22:41.297814 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp [::]:2379: connect: cannot assign requested address"; Reconnecting to {[::]:2379 <nil>}

Try https://docs.docker.com/compose/compose-file/compose-file-v2/#expose

Again the expose command has nothing to do with... moving on..
I run the following command:
command: sh -c 'local_ip=$$(ifconfig eth0|sed -n -e "s/.inet addr:\([0-9.][0-9.]\).*/\1/p");echo $$local_ip; etcd -listen-client-urls http://$$local_ip:2379,http://<IP_ADDRESS>:2379 -advertise-client-urls http://$$local_ip:2379,http://<IP_ADDRESS>:2379'
And this worked. So it looks etcd is not working when using -listen-client-urls http://<IP_ADDRESS>:2379, however it works when it is provided with local IP explicitly.
Sound like a bug.

@ahoma-paymentus I can not replicate your issue locally.
docker-compose.yml
https://gist.github.com/hexfusion/a7497be0509321b9e1cfc4b632822970
using command: sh -c 'apk update; apk add curl;etcd -listen-client-urls http://<IP_ADDRESS>:2379 -advertise-client-urls http://etcd-srv:2379'
$ docker-compose up -d
Creating docker_etcd_1
Creating docker_etcd-check_1
$ docker-compose exec etcd curl -sS http://<IP_ADDRESS>:2379/version
{"etcdserver":"3.2.2","etcdcluster":"3.2.0”}
$ container_ip=$(docker-compose exec etcd ifconfig eth0|grep -oP 'inet addr:\K\S+');echo container_ip=${container_ip}
container_ip=<IP_ADDRESS>
$ docker-compose exec etcd curl -sS http://<IP_ADDRESS>:2379/version
{"etcdserver":"3.2.2","etcdcluster":"3.2.0”}
$ curl -sS http://localhost:2379/version
{"etcdserver":"3.2.2","etcdcluster":"3.2.0"}

I think I found the problem. When running it on Docker Windows 10, it looks the containers are not running using IP6. Running ifconfig in the containers shows only IP4 address.
etcd is trying to register on IP6 and it fails.
Running the same on AWS image ifconfig returns IP4 and IP6 address. And etcd works.
This problem is sidestepped when asking etcd to register on a specific IP4 ip.
It looks etcd thinks the container is using IP6 when it's not.
Maybe a command line option to limit to IP4 would be useful to fix this problem?

@ahoma-paymentus that should be fixed by #8221; it'll be in 3.2.3.


publicly export and document the zip64 threshold constants

Currently, there's no way for me to know whether I should set FileOptions::large_file() to true for a given zip file entry, because I don't know how large the file needs to be to require that. This change publicly exposes ZIP64_BYTES_THR and ZIP64_ENTRY_THR along with useful docstrings to enable that use case.

Replaced by https://github.com/zip-rs/zip2/pull/60.


Standard Demographic Survey

We want to have a standard way of measuring participant demographics. This survey will likely be used across many different experiments, and should be as robust as possible. As with https://github.com/Watts-Lab/surveys/issues/34, we should look to other sources for validated sets of questions.
@markwhiting @linneagandhi @TutiGomoka - what do we have for this already in the turkers panel?

@TutiGomoka And I are using a pretty specific set of demographics that should have a lot of coverage and have a fair amount of motivation and validity. We should get those from everyone in the panel (eg all HT workers now have that data), so you might not need to separately.
In any case. I think we'd ask that you do at least these if you're going to also do others (to keep the panel consistent), but we can easily set up to invite anyone to do these as is.

Agreed with mark! And as a reminder also, you can find all the variables in our panel and their respective methods of collection in this codebook


Feat/add flush expired tokens command to admin

Doing this as a cronjob might be the better way of doing it, but for a smaller project that doesn't allow setting up a cronjob or because of the lack of knowledge, it might be convenient to add this to the Admin.

@Andrew-Chen-Wang Ready for review.

Can you please execute the 'makemessages' command to generate the 'po' file? @tpotjj


Update alleycats-core, cats-core, cats-free to 2.1.0

Updates

org.typelevel:alleycats-core
org.typelevel:cats-core
org.typelevel:cats-free

from 2.0.0 to 2.1.0.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

labels: semver-minor

please stop bumping my catsEffect, toaster


Emit time of the same incremental change differs in different scopes

TypeScript Version:  2.2.1
I have the following case:
tsc -w compiles and watches one folder X, and I change there one source file, incremental compilation diagnostics is:
Files:           90
Lines:        38318
Nodes:       165801
Identifiers:  58160
Symbols:      44386
Types:         1900
Memory used: 81376K
I/O read:     0.01s
I/O write:    0.04s
Parse time:   0.77s
Bind time:    0.00s
Check time:   0.14s
Emit time:    0.25s
Total time:   1.16s
11:32:24 AM - Compilation complete. Watching for file changes.

tsc -w has wider scope, compiles and watches the same folder X and also a few other folders with sources, diagnostics of the same operation (one file in the folder X changed)
Files:           246
Lines:         51949
Nodes:        211418
Identifiers:   72403
Symbols:       83205
Types:         15831
Memory used: 156732K
I/O read:      0.01s
I/O write:     0.13s
Parse time:    0.87s
Bind time:     0.01s
Check time:    1.35s
Emit time:     1.11s
Total time:    3.35s
11:32:26 AM - Compilation complete. Watching for f

Actually amount of file emitted (which is one file in the case) is (at least should be) the same in both cases, I wonder why Emit time:     1.11s differs so much (vs 0.25s in the first case) ? Not sure aslo why Check time (1.35s vs 0.14s) differs much too.
I have skipLibCheck and skipDefaultLibCheck disabled.

Without more details on this project it's impossible to say what's going on

Ok I have created test repo:
https://github.com/whitecolor/ts-scope-emit-time
Run tsc -w --diagnostics

in the root folder /
in folder /1

Then change file /1/1.ts and see statistics:

root:

Files:             70
Lines:         271850
Nodes:        2575790
Identifiers:  1214453
Symbols:       778521
Types:         413206
Memory used: 1215184K
I/O read:       0.00s
I/O write:      0.06s
Parse time:     0.05s
Bind time:      0.03s
Check time:     4.11s
Emit time:      4.97s
Total time:     9.16s
03:09:19 - Compilation complete. Watching for file changes.

Files:             2
Lines:         23106
Nodes:        115210
Identifiers:   44105
Symbols:       31541
Types:         10986
Memory used: 160984K
I/O read:      0.00s
I/O write:     0.00s
Parse time:    0.05s
Bind time:     0.03s
Check time:    0.34s
Emit time:     0.12s
Total time:    0.55s

@RyanCavanaugh haven't you check example? Interested in comments on this issue.

@RyanCavanaugh @mhegazy
I just wonder if something is going to improve in this area of TS, when we have well not so big code base that is watched, but an incremental compilation of one changed file takes the more time the more this codebase is, tough it is only one small change.

the number of files are different. tsc --watch does not do any optimization at the moment, it will emit all files on a change, so the emit time is a function of the number of input files. https://github.com/Microsoft/TypeScript/issues/10879 tracks optimizing it.


Allow installing a backend from a URL

Problem
We need a good way to install different backends through nargo.
Happy Case
For an MVP we can allow a user to provide a backend name and an install url which serves a zipped tarball.
nargo backend install <backend name> <backend url>

This will create a directory in ~/.nargo/backends for this new backend which will hold any backend specific files (binary, crs, etc.)
If we're allowing installing through from a URL, we need to define a standard for how the backend binary should be contained within the tarball. For instance we currently assume that the binary will be the only file in the archive and that it exists at the root.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Addressed by https://github.com/noir-lang/noir/pull/2575


FE | Replace the Contact page content placeholders with the actual content

Remove the unnecessary elements
Replace the placeholder content with the actual content (text, images, links, etc.)

TBD: check with Horizont what exactly to put in each section of the page

Closing the issue because duplicate of #137


Please make WSA open source

Is your feature request related to a problem? Please describe
Discontinuation of the WSA
Describe the solution you'd like
WSA is among the best features of Windows 11 and killing it completely is sad news for both developers and users. Instead of killing it altogether, it would be more beneficial to open source the project. Open-source community could potentially take over the development and maintenance efforts and this valuable feature continues to be supported.
Describe alternatives you've considered
--
Please specify the version of Windows Subsystem for Android
--

I was just thinking the same thing. Hear hear.

I hope they will open source it

Me too, I hope they can be open sourced. Otherwise Windows 11 has almost no value

Yes, my suggestion is that Microsoft should spend as much time as possible in the one-year period from March 5, 2024 to March 5, 2025. Turn WSA (Windows Subsystem for Android) into community support. Microsoft will only focus on the update support of WSL2 or WSL3 (future).
For ordinary users, they can run a large number of Android applications on Windows;
For developers, it is very convenient for us to develop applications on windows through wsa.
After communization, for Microsoft's business strategy, only AOSP can be integrated without any application store to avoid legal risks with a single partner (such as Amazon). It is a very necessary function for PC to support mobile phone applications. There is no doubt about it.

I second this. Since, all the efforts that these developers have put into this wonderful project will be wasted like it was nothing.

It should definitely be open sourced. If MS don't want to keep developing it themselves, at least let community do so...

I agree with all of the above remarks.

+1

I mean, its very unlikely that microsoft will decide to open source it. How about we finish up implementing wine and ditch windows altogether?
That way we're no longer bound to use windows. Linux has native android support thanks to waydroid.
Jokes aside, we should prob just reimplement WSA ourself, WSL2 also isn't open source either and WSA is effectively a fork of WSL2 with some modifications.
But we have the base operating system of wsl2 and we also know what it runs on which has a public API, so reimplementing it from scratch isn't impossible. Just takes a long time.

If they don't release the source code eventually the Russians will.

It can be really costly to open source such large projects. Though in WSA case a lot of it is already open source so maybe it's not that bad. To be fair I don't really care so much if it is fully open source or not. I would just hate to see it definitely discountinued and unmaintained. That project had so much potential. The integration with Windows is already really good.
Actually made that post using Fulguris on Windows 11 thanks to WSA.

Ez fix, open source then public archive. Then the forks will come.

I mean, its very unlikely that microsoft will decide to open source it. How about we finish up implementing wine and ditch windows altogether?
That way we're no longer bound to use windows. Linux has native android support thanks to waydroid.
Jokes aside, we should prob just reimplement WSA ourself, WSL2 also isn't open source either; only some components and WSA is effectively a fork of WSL2 with some modifications.
But we have the base operating system of wsl2 and we also know what it runs on which has a public API, so reimplementing it from scratch isn't impossible. Just takes a long time.

You mean; implement WayDroid from WSL2?

I mean, its very unlikely that microsoft will decide to open source it. How about we finish up implementing wine and ditch windows altogether?
That way we're no longer bound to use windows. Linux has native android support thanks to waydroid.
Jokes aside, we should prob just reimplement WSA ourself, WSL2 also isn't open source either; only some components and WSA is effectively a fork of WSL2 with some modifications.
But we have the base operating system of wsl2 and we also know what it runs on which has a public API, so reimplementing it from scratch isn't impossible. Just takes a long time.

You mean; implement WayDroid from WSL2?

nope, ditching Windows altogether

But now that i think about it, we can actually use waydroid to implement wsa on wsl2. Since wsl2 should already use a wsa compatible kernel

Probably useful for this project: https://github.com/MustardChef/WSABuilds/issues/330

upvote this in the feedback hub to get Microsoft's attention
https://aka.ms/AAqk69c

Yup and we can switch to open-source and switch to free license. Reduce cost, easy to maintain with community interest.


Cannot install module from Azure DevOps feed

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Follow this guide: https://learn.microsoft.com/en-us/azure/devops/artifacts/tutorials/private-powershell-library?view=azure-devops
Expected behavior
Installs my module

Actual behavior
Install-Package: Cannot find the path 'C:\Users\Me\AppData\Local\Temp\1414719836\MyModule.0.0.2\MyModule.psd1' because it does not exist.

Error details
Exception             :
    Type    : System.Exception
    Message : Cannot find the path 'C:\Users\Me\AppData\Local\Temp\1414719836\MyModule.0.0.2\MyModule.psd1' because it does not ex
ist.
    HResult : -2146233088
TargetObject          : Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
CategoryInfo          : InvalidOperation: (Microsoft.PowerShel…lets.InstallPackage:InstallPackage) [Install-Package], Exceptio
n
FullyQualifiedErrorId : PathNotFound,Test-ValidManifestModule,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage
InvocationInfo        :
    MyCommand        : Install-Package
    ScriptLineNumber : 9711
    OffsetInLine     : 34
    HistoryId        : 292
    ScriptName       : C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1
    Line             : $installedPackages = PackageManagement\Install-Package @PSBoundParameters

    PositionMessage  : At C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1:9711 char:34
                       + … talledPackages = PackageManagement\Install-Package @PSBoundParameters
                       +                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    PSScriptRoot     : C:\program files\powershell\7\Modules\PowerShellGet
    PSCommandPath    : C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1
    InvocationName   : PackageManagement\Install-Package
    CommandOrigin    : Internal
ScriptStackTrace      : at Install-Module<Process>, C:\program files\powershell\7\Modules\PowerShellGet\PSModule.psm1: line 97
11
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :

Environment data
Name                           Value
----                           -----
PSVersion                      7.3.7
PSEdition                      Core
GitCommitId                    7.3.7
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

I believe this is because PowerShellGet (which is internally used by PowerShell) is incompatible with NuGet v3 feeds, which is what Azure Artifacts uses (as it should - v2 is deprecated).
PowerShellGet is being replaced by Microsoft.PowerShell.PSResourceGet which I believe does support NuGet v3 repositories, but hasn't been released yet (it's in RC). Can owners here confirm if that module will, in fact, make it to PowerShell 7.4? It may even be possible to bring it downlevel to supported 7.x using v3 of PowerShellGet (the compatibility pack).

Install-Package is part of OneGet (aka PackageManagement) and not part of PS7.  PSResourceGet added support for nuget v3.

I see! Guess I'll try this tomorrow: https://devblogs.microsoft.com/powershell/psresourceget-preview-is-now-available/
Updating this issue with the results after upgrade.

I can confirm that PSResourceGet works. I just followed the instructions in the link above. Closing this issue


⚠ Contemporanea B2B has degraded performance

In 842f304, Contemporanea B2B ($SITE_CNTMB) experienced degraded performance:

HTTP code: 200
Response time: 12162 ms

Resolved: Contemporanea B2B performance has improved in fc858ee.


fix(iroh-net): split packets on send

this seems to be the safest way to fix possible GSO/GRO issues on all platforms (Linux and ???) that support them.
Description
This is a fix for the possible issues described in https://github.com/n0-computer/iroh/issues/1357 that does the simplest possible thing - just split up the packets before sending them to the derper.
Note that we still get GRO/GSO when we have a direct connection. And since the stream to the derper is a byte stream, unless we flush after each send this should still be rather efficient. The only downside is that the derper has to deal with more individual packets.
Notes & open questions
Does this fix the issue?
Change checklist

[x] Self-review.
[x] Documentation updates if relevant.
[ ] Tests if relevant.

@Arqu once you have a way to test things, can you check if this solves the issue?

@Arqu once you have a way to test things, can you check if this solves the issue?

I did the following to validate this:

log in to a linux box
enforce derper use

configure a local derper
run a local derper
try with split_packets being a noop - not splitting => transfer does not work
try with split_packets as in this PR - splitting on segment_size => transfer does work


2019.04.24 bug - Downloaded X bytes, expected Y byte

Yes to the following...

[ ] I've verified and I assure that I'm running youtube-dl 2019.04.24

[ ] At least skimmed through the README, most notably the FAQ and BUGS sections

[ ] Searched the bugtracker for similar issues including closed ones

[ ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

[ ] Bug report (encountered problems with youtube-dl)

I'm a long time youtube-dl user with fair command line Kung Fu, so I can likely do any additional testing requested + provide any data required.
Just let me know next steps.
imac> youtube-dl --version
2019.04.24

imac> youtube-dl -f mp4 -v 'https://www.youtube.com/watch?v=MSkYsl9O8OQ'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'mp4', u'-v', u'https://www.youtube.com/watch?v=MSkYsl9O8OQ']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 2.7.16 (CPython) - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] MSkYsl9O8OQ: Downloading webpage
[youtube] MSkYsl9O8OQ: Downloading video info webpage
[debug] Invoking downloader on u'https://r3---sn-bvvbax4pcxg-50ne.googlevideo.com/videoplayback?source=youtube&fvip=1&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cnh%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&requiressl=yes&ratebypass=yes&nh=%2CEA0&txp=5535432&lmt=1556195195935563&dur=3657.793&c=WEB&expire=1556217384&ei=yKnBXPDIGoTGDfPZg8AG&key=yt6&mime=video%2Fmp4&initcwndbps=2543750&signature=35B4BFF6063215B2F10EE93A35E468EDABDC36E6.39D47BACF4627FC5B8F062F5C9EF6136A29DC95B&ipbits=0&itag=22&mm=31%2C29&ip=<IP_ADDRESS>&mv=m&mt=1556195646&ms=au%2Crdu&mn=sn-bvvbax4pcxg-50ne%2Csn-bvvbax-hjpe&pl=20&id=o-AIMcq77-SX0w4R6G6F2o3Wu0WO6Y7XH9NJhD4fLPC7Bd'
[download] Resuming download at byte 1635147

ERROR: Did not get any data blocks
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2008, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 861, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1915, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1854, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 342, in real_download
    return download()
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/http.py", line 312, in download
    self.report_error('Did not get any data blocks')
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

server-side issue with format 22, choose another format.

This worked...
youtube-dl -f 137 -v

Thanks!


Fixing CodeGen Capitalization

Summary
The focus of these changes is to fix a typo in the CustomEntitiesResultDocumentsItem stub which was causing "item" to be generated as lower-case.  This differs from the capitalization of the file committed to the repository and was causing issues with case-sensitive file systems in CI when the "Analyze" step was run during API diff checks.

API change check for Azure.AI.TextAnalytics
API changes have been detected in Azure.AI.TextAnalytics. You can review API changes here
API changes
+             V2022_03_01_Preview = 4,
-         public TextAnalyticsClientOptions(ServiceVersion version = V3_2_Preview_2);
+         public TextAnalyticsClientOptions(ServiceVersion version = V2022_03_01_Preview);
+         public static TextAnalyticsOperationStatus PartiallySucceeded { get; }


Standardise copyright headers in Python files

I realised some of the Python files were missing a copyright and license block, and there were inconsistencies in the others.
There is scope for a pre-commit hook to enforce this in future.

I tried https://github.com/johannsdg/pre-commit-license-headers which I liked the look of as it doesn't need yet another configuration file, but the template definition is too rigid to cope with our current usage.

Another tool https://github.com/leoll2/copyright_notice_precommit looks to have no wild card support at all (not even dates), and also no recent changes.

Missing header in tests/snakemake/test_scheduler.py, spotted while testing with insert-license from https://github.com/Lucas-C/pre-commit-hooks/

This seems to work OK in limited testing:
- repo: https://github.com/Lucas-C/pre-commit-hooks
  rev: v1.5.5
  hooks:
    - id: insert-license
      types: [python]
      args:
        - "--license-filepath=LICENSE"
        - "--use-current-year"
        - "--detect-license-in-X-top-lines=20"
        - "--no-extra-eol"

Note that this just checks for (and inserts) the MIT license in the Python headers using https://github.com/pyani-plus/pyani-plus/blob/main/LICENSE but that does not cover the individual name and contact information block which our Python files currently start with.
Further tested required, especially in 2025 onward that the current year setting works as expected.

Automating this would save a reasonably-sized PITA, and we might like to bend the current licence/copyright info to enable that. To the extent that git blame allows identtification of authors, the traditional "Author:" line is possibly redundant, for instance.
How does --allow-past-years work with your testing? It seems like we need both --allow-past-years and --use-current-year to issue a year range.

How does the pre-commit hook manage two copyright statements?
Should we drop the author/address details, retaining only copyright and the (short) MIT licence?

Discussion conclusion: Cut copyright names to just employers (Hutton and/or Strathclyde), drop address, keep full MIT block in text. And work on a pre-commit hook

Pattern matching with more than one copyright holder line is tricky, cross reference https://github.com/Lucas-C/pre-commit-hooks/issues/101
We can solve most of this by using University of Strathclyde as the single copyright holder, but that only covers the current team while under contract. It would not handle external contributors, nor any legacy code from the older pyANI project copyright the James Hutton Institute. Still that might suffice in the short term...


Dynamically override the host name properties of eureka server

Hello,
From a a eureka client, I want to dynamically override the host name properties of eureka server at startup using environnements variable.
The code used
@Order(-1000)
@Configuration
public class ConfigRegistryOverrider {

@Bean
@ConditionalOnMissingBean(value = { EurekaClientConfig.class }, search = SearchStrategy.CURRENT)
public EurekaClientConfig eurekaClientConfigBean() {

	EurekaClientConfigBean eurekaClientConfigBean = new EurekaClientConfigBean();

	Map<String, String> env = System.getenv();

	if (env.get("REGISTRY_SERVICE_HOST") != null) {

		String host = env.get("REGISTRY_SERVICE_HOST");
		Map<String, String> serviceUrls = new HashMap<>();
		serviceUrls.put("defaultZone", "http://"+host+":8761/eureka/");
		eurekaClientConfigBean.setServiceUrl(serviceUrls);

	}

	return eurekaClientConfigBean;
}

}
I used a similar strategy with mongo and redis host customizing and there is no problem.
But with Eureka it seems there is a kind of @refreshScope that override my override at startup.
Could you help me ?

Why can't you do eureka.client.serviceUrl.defaultZone: ${REGISTRY_SERVICE_HOST} in application.yml? Can you explain the problems your seeing?

All I know is my EurekaClientConfigBean has been initialized before all. So it's ok. But my serviceUrls properties overriding seems to be changed after because
@Configuration
@ConditionalOnMissingRefreshScope
protected static class EurekaClientConfiguration {

in class EurekaClientAutoConfiguration has the original value from application.properties.
I suppose there is a "refresh" that re-read the application.properties for EurekaClientConfigBean but it's difficult to find.
After trying your proposition, yes it work now (even if I had to restart my windows computer in order to the environnement variable be taken in account, strange, perhaps the jvm). Your solution is more concise that me ^^. But developpers now have to set environnement variable during installation process to run on localhost. Accordingly to https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html, perhaps I can use a Profile-specific application properties to set localhost on local dev and make use of PropertySource order ?

Indeed that should work. Or you can specify a default value fro when the env var is not set.


Investigate and fix the validation issues

Failure message in imodel schema validation mixed with the validation summary.

> LinearReferencing.02.00.03
Error: Failing the tool because a validation has failed.
at getResults (D:\a\1\s\node_modules\@bentley\imodel-schema-validator\lib\iModelSchemaValidator.js:277:15)
at validateReleasedSchemas (D:\a\1\s\tools\SchemaValidation\iModelSchemaValidationRunner.js:138:3)
at async validateIModelSchemas (D:\a\1\s\tools\SchemaValidation\iModelSchemaValidationRunner.js:71:7)
> Schema validation against BIS rules <passed>
> Schema content verification <passed>
> Released schema is approved and verified <passed>

Note: I was able to see the first issue (mixed error message with summary) only with our build pipelines, locally its working fine


Parameterize controller build image

Issue #, if available:
Related to #763, but does not close this issue.
Description of changes:
This change adds a new base_image argument to all Dockerfiles, and sets the default value of this parameter to the original value of amazonlinux:2. This should cause no change for existing build workflows.
According to documentation, this new argument must exist prior to the very first FROM in order to be used in a FROM action call. https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
This enables developers to build a container from this Dockerfile with an alternate target base image for the final stage.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. 👍
Signed-off-by: Jose R. Gonzalez<EMAIL_ADDRESS>

/lgtm


Ignore lines in code blocks

Right now, the plugin misunderstands comment lines inside code blocks for markdown headings. For instance, when writing
```python
# this is a comment
```

the this is a comment line is mistakenly considered a heading

Said at #45 and I sent pull request #61 :smiley:

also in css code blocks:
```css
#someClass { width:100%; }

Hello, I'm in 0.4.2 and still have the same issue

Still present in 2020.


[i18nIgnore] Fix various typos in src/content/docs/en/guides

Description
This PR fixes various high-profile typos in the English Guides section that don't seem to have an i18n impact:

Brand capitalization
Duplicate words
Missing letters
A few consistency checks
etc.

Lunaria Status Overview
🌑 This pull request will not trigger status changes.

Learn more
Lunaria automatically ignores changes on specific PRs by adding a ignored keyword in its title. Found: i18nIgnore.
You can change this by either removing the keyword above from the PR's title, or modifying the ignoreKeywords property in your Lunaria configuration file.

Tracked Files

[!NOTE]
The notes below indicate what would happen if the pull request is merged when triggering status changes. Since a ignored keyword was found in the PR's title, the status changes indicated below won't be applied.

File
Note

en/basics/layouts.mdx
Source changed, localizations will be marked as outdated.

en/guides/astro-db.mdx
Source changed, localizations will be marked as outdated.

en/guides/authentication.mdx
Source changed, localizations will be marked as outdated.

en/guides/backend/xata.mdx
Source changed, localizations will be marked as outdated.

en/guides/cms/contentful.mdx
Source changed, localizations will be marked as outdated.

en/guides/cms/decap-cms.mdx
Source changed, localizations will be marked as outdated.

en/guides/cms/drupal.mdx
Source changed, localizations will be marked as outdated.

en/guides/cms/frontmatter-cms.mdx
Source changed, localizations will be marked as outdated.

en/guides/deploy/aws.mdx
Source changed, localizations will be marked as outdated.

en/guides/deploy/flightcontrol.mdx
Source changed, localizations will be marked as outdated.

en/guides/deploy/gitlab.mdx
Source changed, localizations will be marked as outdated.

en/guides/deploy/sst.mdx
Source changed, localizations will be marked as outdated.

en/guides/deploy/zerops.mdx
Source changed, localizations will be marked as outdated.

en/guides/integrations-guide/cloudflare.mdx
Source changed, localizations will be marked as outdated.

en/guides/integrations-guide/tailwind.mdx
Source changed, localizations will be marked as outdated.

en/guides/middleware.mdx
Source changed, localizations will be marked as outdated.

en/guides/migrate-to-astro/from-gridsome.mdx
Source changed, localizations will be marked as outdated.

en/guides/migrate-to-astro/from-vuepress.mdx
Source changed, localizations will be marked as outdated.

en/guides/migrate-to-astro/index.mdx
Source changed, localizations will be marked as outdated.

en/guides/upgrade-to/v5.mdx
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


自定义不同的页眉页脚

What problem does this feature solve?
能否支持不同页码可以自定义不同的页眉页脚？
What does the proposed API look like?
command.executeSetHeaders...

https://github.com/Hufe921/canvas-editor/issues/778


React Native webview onNavigationStateChange is not getting called in web app (chrome)

I'm working on a React Native application that uses react-native-webview to load a third-party URL. I implemented the onNavigationStateChange callback to handle navigation based on the URL's state. This works well on mobile, but I noticed that the callback isn't firing when running the same code on the web using react-native-web.
Problem Description
I want to navigate back to the home screen based on the URL loaded in the WebView. My current implementation uses onNavigationStateChange to check for specific keywords in the URL, but this approach does not seem to work on the web.
import React from 'react';
import { WebView } from 'react-native-webview';
import { useNavigation } from '@react-navigation/native';

const MyWebView = () => {
  const navigation = useNavigation();
  const redirectUrl = 'https://example.com';

  const handleNavigationStateChange = (newNavState) => {
    const { url } = newNavState;

    if (url && url.includes('success')) {
      navigation.getParent().goBack();
    } else if (url && url.includes('failure')) {
      navigation.goBack();
    }
  };

  return (
    <WebView
      source={{ uri: redirectUrl }}
      onNavigationStateChange={handleNavigationStateChange}
    />
  );
};

export default MyWebView;

Questions

Why is onNavigationStateChange not firing on the web while it works perfectly on mobile?
Are there any alternatives or best practices for handling URL
changes in a WebView when running on the web?

Any insights or suggestions would be greatly appreciated!

same issues


Add ability to order result set by COALESCE/MAX/MIN combination of columns.

Problem
We want to sort on the result of some function of columns.
In one specific case, we need to coalesce two date columns (1 of which will always be null), and we want the newest of either column.
We may also want to sort on the greater of two columns, like Personality, Humor, or the combined value of said columns.
Suggested solution
Add to the orderBy (OrderByWithRelationInput) type:
COALESCE, MIN, MAX, AVG, ?
In postgres, this could be:
ORDER BY ...
COALESCE(col1, col2)
LEAST(col1, col2)
GREATEST(col1,col2)
(col1 + col2) / 2  -- programmatically constructed?
Alternatives

Changing the data model
Using raw queries
Running multiple queries to select X rows ordered in each way, and programmatically merging, sorting, and cutting to size. (ew)
Allowing raw SQL in the orderBy (ew)
Adding functionality to add virtual columns to the returned dataset, like
{ extraSelect: [ { name: 'recent', field: { coalesce: [ 'col1', 'col2' ] } } ], orderBy: { recent: 'desc' } }

Additional context
Listing Table:
id      fulfilled    cancelled
1       2024-01-01   null
2       null         2024-02-03
3       2024-03-02   null
4       null         2024-04-01

const result = prisma.listings.findMany({
    orderBy: {
        coalesce: ['fulfilled', 'cancelled']
    },
    take: 2
});

/* Returns:
4, null, 2024-04-01
3, 2024-03-02, null

@themrrobert @SevInf Any hints on achieving the ORDER BY COALESCE("updated", "created") DESC with the current release? Thanks in advance for your support.


[1.0.0 bug] datagrid-action-overflow popup is hidden behind footer

Describe the bug
See the screenshot from official website: https://vmware.github.io/clarity/documentation/v1.0/datagrid/single-action
The datagrid-action-overflow popup is hidden behind footer and you have to scroll down to see the content on the popup. I believe it is not very user-friendly. The popup should always be placed above the grid table, just like the behavior in 0.13 and backwards.

This is not happening on 0.13 and backwards.
How to reproduce
Visit https://vmware.github.io/clarity/documentation/v1.0/datagrid/single-action and click the ellipsis of last row
Versions
App

Angular: 7
Clarity: 1.0.0

Device:

Type: MacBook
Browser: chrome
Version: 70.0

I'm closing because this is a known issue. Please subscribe to https://github.com/vmware/clarity/issues/2683 and https://github.com/vmware/clarity/issues/1262 for updates. Let me know if you believe this is different from those and I'm happy to re-open it.


Proposal: Merge forces w/Soundcloudify

Hi there, amazing work. Really enjoying the extension. It seems that there is another extension with the exact same goal. Would it make sense to work together to speed up development. I know the underlying technologies used are different, but figured it couldn't hurt to at least discuss the possibility of a merge to increase development speed on one or both of the projects through a shared library.
See the corresponding thread here: https://github.com/ptgamr/soundcloudify/issues/18

I spoke with him about it. I think we both have a strong desire to continue using the frameworks we've chosen to develop our software with. He has no interest in learning Backbone/Marionette and I have no interest in learning Angular. RIP.

Thanks for checking into it. Figured it was worth a shot.

Definitely. If anything, having someone else in this space has triggered my competitive side. :)

:+1: Good! The more competition the merrier.

Yeah, we are competitors, but we shared the same enemy: YouTube. lol !

Ha!

But surely I'll give Backbone a try :D


unexpected error on archlinux

/usr/lib/python3.10/lib-dynload/math.cpython-310-x86_64-linux-gnu.so/__init__.py Permission denied [READ] [Errno 13]
hi, i'm getting this error, and the only thing i can tell is that /usr/lib/python3.10/lib-dynload/math.cpython-310-x86_64-linux-gnu.so is a file.
my user has permissions over this directory

Hi @ornariece, could you please provide me more info about the code you're trying to format? (a similar example)

Also, I need the command you wrote to run Pycln, please.

I need both info because the code example will tell me the case while the command will tell me the thing that Pycln was trying to do.

yea i figured you were gonna ask for more info, but i don't have any really. i've isolated the problem, on a specific sub-package of my project (running a simple pycln sub-package_name command), but when running pycln on each file in that directory i don't get any error. only when running on the directory do i get the error (and i can't share the whole sub-package with you :/)

yea i figured you were gonna ask for more info, but i don't have any really. i've isolated the problem, on a specific sub-package of my project (running a simple pycln sub-package_name command), but when running pycln on each file in that directory i don't get any error. only when running on the directory do i get the error (and i can't share the whole sub-package with you :/)

Then, kindly, try to use the --all flag and let me know weather the problem persist or not.

@ornariece, kindly, could you test the master branch against the same case?


Possible to get stuck in enemies on rare occasions

If you run into a spawning(?) enemy, sometimes you end up getting stuck inside it. I think it only happens when the player is freshly spawned and blinking with temporary invulnerability. It's hard to replicate (probably because enemies spawn far enough away that it's hard to reach them while still blinking) but I've gotten it two or three times by accident over the past few months. The console is spammed with "who is this joker" messages when it happens.

I would say just rewrite collision detection from scratch instead of trying to figure this out. physics.zig is hot garbage.

Note: this can be easily replicated by bumping up invulnerability_time and monster_spawn_time in constants.zig.


Upgrade from InfrastructureScripts 2.11.1

If old ConfigTemplate was generated by InfrastructureScripts 2.1 or older it will NOT have a schema version available , upgrade of the schema will not be possible.
The file ConfigTemplate.xml does not have a schema version available.
At C:\Temp\Infrastructure\InfrastructureScripts-2.16.0\Scripts\D365FO-OP\D365FO-OP-ConfigTemplateDefinition.psm1:153 ch
ar:9

    throw "The file $(Split-Path $XmlFilePath -Leaf) does not hav ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : OperationStopped: (The file Config...sion available.:String) [], RuntimeException
FullyQualifiedErrorId : The file ConfigTemplate.xml does not have a schema version available.

Also if my Schema is version 1.3 I will also get an error :
C:\Temp\Infrastructure\InfrastructureScripts-2.16.0\Scripts\Update-ConfigTemplate.ps1 : There is no defined upgrade path from 1.3 to 1.8
At line:1 char:1

.\Update-ConfigTemplate.ps1 -OldConfigTemplate .\ConfigTemplate.xml - ...

  + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
  + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Update-ConfigTemplate.ps1

Please fix or advise of workaround.

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

ID: eac091f6-4eb0-3174-d8ae-79ee922349a8
Version Independent ID: b141a04f-324d-9050-59c8-2a761a99bdab
Content: Certificate rotation - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/deployment/certificate-rotation-on-prem.md
Service: ****
Product: dynamics-365
Technology: ****
GitHub Login: @PeterRFriis
Microsoft Alias: peterfriis

Bug 752407 has been logged to address this issue.

@GeorgeSasDK, sorry for the late reply. In your case, as the documentation states you need to manually migrate your config template from one schema to another. Essentially fill out the new configtemplate from scratch.


[WIP] Support masters on ipv6

Coverage remained the same at 58.337% when pulling 94a95d22518efd798144876f47fd3811fda8544c on drewkerrigan:ack/ipv6 into befca3fb096f9b8a225436bcb3cfe7951a625f97 on mesos:master.

abandoned, closing this out. please re-open if/when needed


fix e2e failing

Description
Modules

[ ] UI
[ ] Controller
[ ] Agent
[ ] Client
[ ] Python-SDK
[ ] Others

Checklist

[ ] run code format and lint check
[ ] add unit test
[ ] add necessary doc

Codecov Report

Merging #3 (8374143) into main (3e8a49f) will decrease coverage by 13.82%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main       #3       +/-   ##
=============================================
- Coverage     68.92%   55.10%   -13.83%
  Complexity     1071     1071
=============================================
  Files           292      230       -62
  Lines         13097     6165     -6932
  Branches        636      636
=============================================
- Hits           9027     3397     -5630
+ Misses         3885     2583     -1302
  Partials        185      185

Flag
Coverage Δ

controller
55.10% <ø> (ø)

standalone
?

unittests
?

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

Impacted Files
Coverage Δ

client/starwhale/utils/process.py

client/starwhale/consts/__init__.py

client/starwhale/utils/error.py

client/starwhale/api/_impl/metric.py

client/starwhale/utils/load.py

client/starwhale/core/project/model.py

client/starwhale/core/job/dag.py

client/starwhale/base/uri.py

client/starwhale/core/job/scheduler.py

client/starwhale/core/dataset/type.py

... and 52 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Support of Pi Zero W

The wiki on this project lists a Raspberry Pi Zero W as a requirement. I take that to mean that it is a supported device.
I have been using my Z and my PicoFerm successfully on a Raspberry Pi 1 Model A with a newer TP-Link wifi dongle. I set up the server on my own not using the images provided on the project. Everyting works as expected - no issues.
I recently received a Pi Zero W. I loaded the beta 3 image on it. I figured it would be easier to support if I used the project's image on a newer Raspberry device. I made no changes to the image other than the wpa-suplicant.conf file.
My Z will connect to the Pi Zero W succesfully and download recipes once, maybe twice, before I get an 'Oops... Looks like something went wrong Please try again' message. After that happens I get a series of network related errors on the Z display - 'ERROR NET HTTP request', 'ERROR Net HTTP 0', 'WiFiNoInternet '. Then the network running off the Pi Zero W gets super flakey - devices can't reach the internet, devices fail to connect, terminal sessions hang, etc. I end up having to reboot the Pi Zero W to recover.
I loaded nmon on the Pi Zero W just to get some visability as to what was going on inside the Pi. I also ran a continuous ping from my Mac to the Pi Zero W. All of the computers and the Z are within a few feet of each other. Everything is using the Pi Zero W's wifi. Nothing is hardwired.
I boot up the Z. It connects to the Pi Zero W, I do iterations of downloading my recipes until I start getting errors. nmon shows that the Pi cpu and memory are not constrained. However, I see packets being dropped, packet timeouts, and multi-second round trip times in the ping output.
Since I've been able to successfully use the picoserver software on my older Pi set up with my Z and PicoFerm connecting over wifi, I doubt there are issues with my home network the I need to look into.
To me it seems like the poor little Pi Zero W's wifi chipset is just getting overwhelmed. Do you know of people who are successfully using a Pi Zero W with your software? Should it be listed as a supported device? RIght now I don't have enough confidence in the Pi Zero W to try and brew with it.

There are several people using a Raspberry Pi Zero W and some have chosen to pair it with a dongle as you stated to by-pass any potential or realistic issues with the wireless chipset when using with a Z or Zymatic.
That said there does seem to be something that is at play within the Zero W (chipset or not?) that is impacting its reliability for some.
@hanahwill did you use your BSSID or a dedicated network to force a 2.4ghz connection to the Pi? If your router does any remote channel switching that device (and others that have a dual band chip) will have known issues with the Picobrew equipment which expect and only support 2.4ghz apparently.

@tmack8001 - I guess you have kind of illustrated my point. There are a few PB posts to the Picobrewers group by 'completely tech illiterate ' people who are going to give a blank stare to your question about using a BSSID or a dedicated network. I'm suggesting for this project to pick a standard configuration for these users - this model RPI, with this SD card with this much memory, this ethernet dongle, etc.
In my case the Zero W is connecting to my home 2.4GB network. The router is a Netgear R7000 with separate 2.4GB and 5GB wifi networks configured. I wouldn't know if remote channel switching is happening. When I look at the admin screen for the router I only see one device - a TV - using the 5GB network.
The Z is connected to the Zero W using the PICOBREW wifi network as configured in the image.

I disagree with specific SKUs of products, but get the point of "specifications" of said products.
Also there are ways we can change things to abstract users from BSSIDs (see latest changes with /setup). I have more planned here including the next feature I want to introduce which is "offline setup" meaning all source code for the server is bundled in the image being burned to the SD card and thus no need to "edit the network file" the server will do that itself.

Likely the underlying issue you face is similar or exactly the same as https://github.com/chiefwigms/picobrew_pico/issues/41 which is tracking an unknown issue with networking that makes some setups have unstable wifi between the devices and their chosen pi hardware.
The issue is I and others have successfully setup with provided instructions on 3b, 0w, and 4 generation RaspberryPi. There isn't anything, other than the inclusion of using pinout on the /about page, that is pi model specific and thus any and all should work fine. Obviously specifications of pi models might different (dual band, etc) that might provide different limitations or requirements.

And if recommended hardware bundles were a thin we did I wouldn't recommend bundling that here and instead host a blog or tutorial somewhere mentioning that and referencing specific detailed instructions / vlogs / demos /etc.
Tom was going to do this and post a ritual PDF like he did for the Win and Mac folks in the FB community.

@hanahwill I'll see about reflashing my pi zero w setup to see if I can reproduce these issues. My last attempts were unsuccessful so haven't been able to get detailed error logs or anything.
If you have the ability or know how please do provide as much information as possible that might identify the underlying issues.

Also to note, I've used a Pi 0W with my Pico Pro & Zymatic - there are occasional hiccups with wifi, but once the brew starts the machine is fine.  Regarding the antenna on the Pi 0W - physical limits matter: is anything blocking the antenna? is your router very close/far from the pi (the way the WiFi is setup, they both broadcast on the same channel, a limitation of how we set it up), are the endpoints (Pico devices) close to the Pi?
A lot of this is out of our control, and we try to highlight that the BEST way if possible is use a router capable of dnsmasq, and if not, use ethernet if possible.  The whole point of the server was to be platform independent - the Pi was just cheap/quickstart way of getting users up and running with as little effort on their part as possible.

My old Pi 1 model A has performed flawlessly with the server code. Thanks for that! That's why I thought it was so weird that the Zero W was having issues. I questioned the support of it and mentioned a standardized hardware platform to minimize time spent on support issues.
To answer @chiefwigms question, the Zero W is about two feet from the Z. The router in in the room above (wood frame house). The Pico 1 with a TP-Link wifi dongle works fine in this environment.
Networking issues were never my strong suit, but I'll keep hacking away at the Zero W. Any specific logs, etc that you'd like me to provide? I can put finding's in this ticket or you can close this and I can put them in #41.

My old Pi 1 model A has performed flawlessly with the server code. Thanks for that! That's why I thought it was so weird that the Zero W was having issues. I questioned the support of it and mentioned a standardized hardware platform to minimize time spent on support issues.
To answer @chiefwigms question, the Zero W is about two feet from the Z. The router in in the room above (wood frame house). The Pico 1 with a TP-Link wifi dongle works fine in this environment.
Networking issues were never my strong suit, but I'll keep hacking away at the Zero W. Any specific logs, etc that you'd like me to provide? I can put finding's in this ticket or you can close this and I can put them in #41.

I'd try moving it more than 2 ft from the Z - even with its tiny antenna, that might be causing the issue - maybe try putting it across the room from the Z.  One user I was helping had the Z/Router/Pi within 3 ft of each other - spreading them out seemed to help, but again both the Z & Pi have wifi issues

@hanahwill is there a reason you switched from the pi v1 to the zero w?
Definitely the zero w is. "budget device" and it kinda shows in some regard interference is not it's strong suit given the selected wifi chipset.

@chiefwigms I tried moving the Pi and Z apart - similar results.
@tmack8001 I didn't switch. The Pi V1 is still my main server. My neighbor had some left over Zero W's from a distance learning project. I wanted to see if I could get one to work with the Z.
After my experience with the Zero W I would not recommend using it with the Z using wifi. I bought a micro USB Ethernet cable that I am going to use to see if the Zero performs better.

Did anyone check with users that were getting issues if they had IPV6 engaged in their routers and if disabling it (and rebooting the router) helped?

Did anyone check with users that were getting issues if they had IPV6 engaged in their routers and if disabling it (and rebooting the router) helped?

I was just helping a friend set this up (remotely) and he seems to be having reliability issues with the Zero W too but I took a look in his router and it was running on IPV4. I will try and take a look in the next couple of days to see if the router is channel hopping, as I have seen that as a potential cause too in similar cases.

@finkdiff mine set is using IPv4. The documentation for the router says it will switch channels if it experiences too much traffic on the channel. I don't think that is happening - no video streaming or other high band-width activities on the 2.4GB network.
I did try using an ethernet dongle to connect the Zero W to the Z1 directly via ethernet cable. This works very well. I have had no issues using this set up. If people have reliability issues with the Zero W, I'd recommend this set up.
@tmack8001 - I'd close this item myself, but not sure what the protocol is.


display of  in translation

the expected behavior is still sometimes not shown

code: <foreign>dyah</foreign> Ghoṣa, teaming up with <supplied reason="explanation">? amasaṅakan i</supplied>
display:

maybe the fact that the context is <list> is relevant

Should be good

the same problem is back.

code: <p n="1r14-1r16">Likewise the <supplied reason="subaudible">payments for</supplied> <q>harms and compensations</q> <supplied reason="explanation"><foreign>sukha-duḥkha</foreign></supplied>, such as:<note>I adopt the interpretation of the term <foreign>sukha-duḥkha </foreign> itself, and of the meanings of the items in the following list, from work in progress by Timothy Lubin.</note> <list>...</list>

display:

note that <supplied reason="explanation"><foreign>sukha-duḥkha</foreign></supplied> is displayed without (...)

note also that <note> is not displayed as it should be (cf. #138)

I have tried a new solution for supplied as well as for note. Not sure if it will be stable enough though

looks good, thanks!


add deposit contract crates to workspace

There is a dedicated crate for contract tests
The deposit smart contract fetches node and casper-client dependencies from cspr-rad/casper-node & cspr-rad/casper-client

The compile-contracts.sh script can be used to build all session code that is used for testing, as well as the smart contract itself.
The PATH_TO_WASM_BINARIES environment variable must be set before running the tests. An example can be found in the deposit contract's readme.md
The deployment target is the latest feature branch of the Casper node 2.0 (28th of Feb 2024) and a seemingly stable release of casper-client. Contract deployment was tested/ can be tested using the kairos-cctl-env.

The deposit smart contract fetches node and casper-client dependencies from cspr-rad/casper-node & cspr-rad/casper-client

@jonas089 What is exactly changed in the custom version of casper-node and casper-client? Btw. client does not seem to be used.

Casper-client is used in my contract-cli / library that I excluded from this PR as per your request.
The casper-node and casper-client are forked so that we have a version-locked development branch for Kairos.
I did some quality of life improvements that you can take a look at, but these details are not important for Kairos development.

The deposit smart contract fetches node and casper-client dependencies from cspr-rad/casper-node & cspr-rad/casper-client

@jonas089 What is exactly changed in the custom version of casper-node and casper-client? Btw. client does not seem to be used.

Casper-client is used in my contract-cli / library that I excluded from this PR as per your request. The casper-node and casper-client are forked so that we have a version-locked development branch for Kairos. I did some quality of life improvements that you can take a look at, but these details are not important for Kairos development.

I would like to know what exactly are the improvements, because if the only change is single WASM path, then I think it's not worth maintaining the custom version of node (+ client).

Pardon me, but I see that using custom node is useless now (if the only change is WASM path). If there is no reason to maintain custom fork, then I am heavily against relying on it. It would be helpful if you could describe those changes, so everyone could understand why we need them.
I understand your frustration with the amount of work to make changes nice and clean, but one of the project pillars was to focus on clean and production ready code.

Pardon me, but I see that using custom node is useless now (if the only change is WASM path). If there is no reason to maintain custom fork, then I am heavily against relying on it. It would be helpful if you could describe those changes, so everyone could understand why we need them.
I understand your frustration with the amount of work to make changes nice and clean, but one of the project pillars was to focus on clean and production ready code.

We clearly don't have the same definition of clean code on this matter. We are in a development environment with no definite build target, therefore I don't see a need to be this precise when it comes to the build target for prototyping. You didn't want me to use commit hashs in the Cargo.toml and suggested to version-lock by creating a branch under cspr-rad. This is what I did and yes it cost me a significant amount of time to achieve the same result. I changed the wasm output path in the test engine because on the main repo it is derived from a workspace constant that is set by cargo automatically. This is only useful when the contract is a seperate project and not when the tests are included in a higher-level workspace as is the case with kairos. The change is non-breaking and the test engine has no impact on the production wasm code execution. We are definitely better off with a version locked target since breaking changes can occur on the feature branch and pointing to the main repo will be a huge pain. We want clean code, but we also want a working prototype. We need to make some compromises in the beginning as we can spend a lot of time refining when the fundamentals are in place.

@jonas089 I didn't request any changes yet. Before I can submit review, I would like to understand your changes - especially what needs to be adjusted in casper-node to make it work for Kairos, because I believe we can simply avoid it. Please help me understanding it, then we will get it merged sooner.
Regarding commit-locking, I think you should see Specifying dependencies from git repositories. Changes happening on the branch will not break our code, as they are locked with Cargo.lock :wink::

Once a git dependency has been added, Cargo will lock that dependency to the latest commit at the time. New commits will not be pulled down automatically once the lock is in place. However, they can be pulled down manually with cargo update.

Someone could override Cargo.lock or run cargo update, I think a seprate branch is more secure.

@jonas089 I didn't request any changes yet. Before I can submit review, I would like to understand your changes - especially what needs to be adjusted in casper-node to make it work for Kairos, because I believe we can simply avoid it. Please help me understanding it, then we will get it merged sooner.
Regarding commit-locking, I think you should see Specifying dependencies from git repositories. Changes happening on the branch will not break our code, as they are locked with Cargo.lock :wink::

Once a git dependency has been added, Cargo will lock that dependency to the latest commit at the time. New commits will not be pulled down automatically once the lock is in place. However, they can be pulled down manually with cargo update.

As far as the Casper-Node goes the only change that I had to make is the one in the execution-engine-tests regarding the wasm path (and the fact that I would rather lock the version by branch than rely on Cargo.lock).

Someone could override Cargo.lock or run cargo update, I think a seprate branch is more secure.

Forking repository just for locking changes does not make sense. Just use Cargo's lock branch; or even rev if you are really worried that someone who is updating dependencies does not expect to update dependencies.


sshd

Problem description

Problem location

I saw a problem on the following URL:

I couldn't find the information I wanted. I expected to find it near the following URL:

Other:

Project version(s) affected

Suggestions for a fix

Hello @kaushikabhishek02 There's isn't any information on the ticket for us to take action on. I'm closing the issue here for that reason. Feel free to add more information on the ticket to continue the conversation.


Model updates

Forbids extras on all base models, and updates fields correspondingly.

This pull request introduces 4 alerts when merging 269823b2dda5cd500f8d8698a8a2df25c1da8cb5 into 7e9ecdaeec05459d68aa64b1eb9de291cfd25138 - view on LGTM.com
new alerts:

4 for Unused import

Comment posted by LGTM.com


arm: 'resource show' should work with resource id

Per discussion with @tjprescott, we will not continue the xplat's convention, as it has been really hard to use. The improvement will be:

az resource show --id <id>  should just work w/o any other parameters. This is the most important scenario.
'az resource show --provider-name --parent  --resource-type  --name ' should also work. The help for parent should call out the format of parent-resource-type/parent-resource-name, or grandparent-resource-type/grandparent-resource-name/parent-resource-type/parent-resource-name, so on and so on.

@vivsriaus : any updates on this?

@mayurid to do this the right way, we need an updated SDK. I just sent a PR for specs here. Once this is merged, I can work on updating the python SDK, and then continue with my updates on the CLI side. I'm hoping to get all these done by EOD tomorrow (9/16)

@vivsriaus and @yugangw-msft : Moving this to Sprin4 as the SDK change is needed.

@vivsriaus, per command review, you will also handle it in resource delete

@vivsriaus, also please update resource show sample section when you submit PR

This isn't fixed. Is it part of issue #1033?

Not fixed. i have seen a PR from @vivsriaus. I am fine to fold it into the #!033

I thought the PR was already folded in. Please do so.


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-45-generic
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: /home/thayana/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.


Tests failure on v0.2.7

This is here to track all the incidences of failing tests that we see in the latest development version:
On my gentoo box with:
Apache Maven 3.3.3<PHONE_NUMBER>791599e205a5524ec3e0dfe41d4a06; 2015-04-22T12:57:37+01:00)
Maven home: /usr/share/maven-bin-3.3
Java version: 1.8.0_51, vendor: Oracle Corporation
Java home: /opt/oracle-jdk-bin-<IP_ADDRESS>/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "4.0.5-gentoo", arch: "amd64", family: "unix"

We have two failures:
Failed tests:   testIdentifier(org.xmlcml.ami2.TutorialTest): results assertion failure: starts with: <results title="bio.ena"><result pre="an usher protein family domain (PFA" exact="M00577" post=") and/or flanking chaperone (PF00345, PF02753 or C" xpath="/*[local-name()='html'][1]/*[local-name()='body'][1]/*[local-name()='div'][1]/*[local-name()='div'][6]/*[local-name()='div'][1]/*[local-name()='p
  testGeneDictionary(org.xmlcml.ami2.plugins.gene.GeneArgProcessorTest): results assertion failure: starts with: <results title="hgnc" />

No point in fixing; we have moved past this version.


Update bling_carbon_chem.F

What changes does this PR introduce?
BLING_VARS needs MAX_LAT_INC, which is in EXF_PARAM.h
But was missing in some bling_carbon_chem.F subroutines.
Now ensure that this is order:

#ifdef ALLOW_EXF
#include "EXF_PARAM.h"
#include "EXF_FIELDS.h"
#endif
#include "BLING_VARS.h"
in bling_carbon_chem.F

What is the current behaviour?
bug - will kill compile if using

#ifdef USE_EXFCO2
#ifdef USE_EXF_INTERPOLATION

What is the new behaviour
Works
Does this PR introduce a breaking change?
only improves things
Other information:

LGTM
Checked that this indeed fix compilation Pb as advertised above.

LGTM 2


Implement Nth Value

Concept-proof implementation of nth-value.
Currently, an  java.io.EOFException exception is thrown.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @amaliujia @Mark-Zeng


Fix first build experience

(let's try this PR again... hopefully newlines aren't messed up this time)
For a first-time user who clones the repo and runs build.ps1 in a vanilla PowerShell window, the experience is disappointing. This PR adds a nuget restore if the root packages directory does not exist, and also searches for a proper VS2017 msbuild that can handle the new C# 7 features now in use.

@jazzdelightsme,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

%$#@, I've messed up the line endings again somehow... Let me try to fix that...


Error in Swift4-IOS11-Xcode9

I have installed the most recent version of YNDropDownMenu however i got this error
"/Users/x/Documents/IOS development/Kallos/Pods/YNDropDownMenu/YNDropDownMenu/YNDropDownMenu.swift:583:43: 'init(colorLiteralRed:green:blue:alpha:)' is unavailable: This initializer is only meant to be used by color literals"

Problem can be solved by changing colorLiteralRed to red.
Please include this in your next update

I will update this library ASAP. Thanks!

Check latest version 3.0.0 thanks!


Upgrade to lazy_static 1.0

Upgrade to version 1.0 of the lazy_static crate.

Hey
I have worked on this and submitted a PR above. Let me know if any further changes are to be made.
Thanks


Tailwind Gradient not respected

"via-green-200/25 to-yellow-300/10 h-6 flex flex-row px-1.5 -space-x-2 bg-slate-100/80 bg-gradient-to-r from-blue-300/10 backdrop-blur" should be formatted as "h-6 flex flex-row px-1.5 -space-x-2 bg-slate-100/80 bg-gradient-to-r from-blue-300/10 via-green-200/25 to-yellow-300/10 backdrop-blur"

Closed in #10


chore: merge Algebra.Polynomial.Induction into RingTheory.Polynomial.Basic

This file no longer has anything to do with induction, and it seemed easier to drop these 3 lemmas into a file that already covers ideals of polynomials than to come up with a better place.

Thanks!
bors merge


Houseofcards

Associated Issue: #405
Summary of Changes

Added a new rebus "House of Cards"

Pull Request Test Coverage Report for Build 715

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 87.143%

Totals

Change from base Build 514:
0.0%

Covered Lines:
158

Relevant Lines:
180

💛  - Coveralls


match current /api/feed to old snoop (as much as possible)

Fixed by https://github.com/hoover/snoop2/pull/28 https://github.com/hoover/snoop2/pull/35 https://github.com/hoover/snoop2/pull/31
Missing features to be listed in more specific issues.


Can't change AdminLTE options

i tried to change the options of AdminLTE. I tried 2 way:

create a js file whe i declare the AdminLTEOptions  and load it with the angular-cli before the appjs. Nothing happened

change the options in $.AdminLTE.options and call the custom AdminLTE.init(). Nothing happened.

I tried with the  sidebarExpandOnHover and sidebar animation speed.. but nothing. I wronged anything?

in this moment we are using adminLTE 2.3.11 and this version doesn't support AdminLTEOptions


Error on creation of new reaction

Sometimes, when I create new reactions, I get an reaction-box associated error message which I cannot always reproduce somehow (see upcoming pull request for a possible solution)

Looks resolved with #302