Have transparent support for caching non cascading objects

When objects are created with SmartFactory.createSObject('Account', false), we can cache this one because

most of the times, one would use non cascading sobject
it will save a lot of script lines, if we can store the sobject and return a clone of it as required.

perfect code, thanks for sharing!

Thanks bruceyue


index accidentally deleted after migrate in Safari 9.1.2

This is repro code:
const db = new Dexie('hello-dexie')

db.version(1).stores({
  Preference: 'id, __account_id, &[key+__account_id]',
})

db.version(4).stores({
  Preference: 'id, __account_id, [key+__account_id]',
})

db.open().then(
  function(result) {
    console.log('success')
  },
  function(err) {
    console.error(err)
  }
)

Create database with version 1 at first (delete version 4 scheme)
migrate database to version 4
check index __account_id, you will find it disappeared

Seems safari will remove all other index when you called createIndex

Does the same code work in other browser? I know Safari 9.x is so buggy in regards to indexeddb that it is practically unusable. Use IndexeddbShim to make it work on Safari 9.

Other browser didn't encountered this bug

I will try to use IndexeddbShim to fix this bug 😂

Good to hear. :)


make fetch polyfill requirements clearer

Thank you for the edit consideration but we don't plan to include information like this in our README.
These changes make less experienced developers feel required to use isomorphic-unfetch which isn't the case. Any fetch polyfill will work the same.
For example, next.js comes with a polyfill of its own so no need for one and Node 18 has fetch built-in using undici-fetch which makes this polyfill requirement even more obsolete once it's LTS.

I see that rationale. Thanks for the thoughtful explanation!


Simplify content-length body reading

Duplicates #183
Fixes #182
Related to #169

@asakura check it out. I started with the same realization you did on #183, and then realized that the body_remaining: 0 function clause could disappear entirely if it collapsed into the primary content-length read_req_body clause. Then I realized that I could de-dupe a bunch of the return handling by moving that out to a trailing with block.
I think it reads a whole lot cleaner than any version we've ever had. WDYT?

I started with the same realization you did on https://github.com/mtrudel/bandit/pull/183, and then realized that the body_remaining: 0 function clause could disappear entirely if it collapsed into the primary content-length read_req_body clause. Then I realized that I could de-dupe a bunch of the return handling by moving that out to a trailing with block.

Overall I really liked the initial version (before forced-push to the branch). It was neat and clever refactoring. :)

Fixing to merge this; @asakura / @moogle19 / @ryanwinchester you have any further thoughts here?

@mtrudel just a minor one above. The PR looks awesome to me!


VS Code Still Attaching Node Debugger with Run Without Debugging in 1.47.3

VSCode Version: 1.47.3
OS Version: Windows 10 Professional 10.0.18363.959

Steps to Reproduce:

Configure launch.json with a target of "node" and a JS file.
Run without debugging

Expected:
1.46 and older behavior where it sends Node console output to the Debug tab but otherwise doesn't attach to the process in any way.
Actual:
A variant of https://github.com/microsoft/vscode/issues/102057 where Node operates in an attached debugger mode with severe performance loss and this console output:
C:\Program Files\nodejs\node.exe c:\ISC\FrontEnd\startDevelopment.js
Debugger listening on ws://<IP_ADDRESS>:7607/ef0be773-49f8-4d75-8462-cf04a603d401
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.

I was monitoring the linked issue with the hope that it would resolve this, but the problem remains in 1.47.3.

Does this issue occur when all extensions are disabled?: Yes

This comment explains what's happening: https://github.com/microsoft/vscode/issues/102057#issuecomment-656440073
In our tests there is little to no performance impact -- the 'debugger' domain isn't enabled, and by far the greatest runtime impact in debugging comes from enabling async stack trace tracking, which requires V8 to do extra bookkeeping. Let's continue the disucssion on the linked issue if you have more feedback to give. Thanks!
/duplicate

one thing that does not make sense is debugging was working throughout and there was no recent update to node js before the issue began.

didnt work.


Problema

hello can you help me to install it i have problems to install it i run it and nothing arrives to discord

Hey, just use the ModdedPysilon version, it covers every bug and it make sure your discord account never get banned.
Leave me a star if you like my project ;)


blank URI(s) in getinfo

I used to get my node URI in lncli getinfo but since the latest commit (which fixed various other issues) this now comes up blank.
 git show
commit 18e6705d97840bfe4040a8a373ba40bc6a1b4b59
Author: Olaoluwa Osuntokun <laolu32@****>
Date:   Fri Mar 23 19:26:43 2018 -0700

and
lncli getinfo

...
    "synced_to_chain": true,
    "testnet": false,
    "chains": [
        "bitcoin"
    ],
    "uris": [
    ],
...

Was this removed? It seems present for other people's nodes.

strange, behaviour is as expected on testnet nodes on same commit, but not mainnet


⚠ Samsung has degraded performance

In bc9912b, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2606 ms

Resolved: Samsung performance has improved in 99b5fb1.


Pod stuck in terminating state

Describe the bug
I upgraded from 0.14.0 to 1.0.0-beta.0 (also tried with 1.0.0-alpha.0)
My pod has this annotation : azure.workload.identity/inject-proxy-sidecar: "true"
and this label : azure.workload.identity/use: "true"
The service account has this label : azure.workload.identity/use: "true" and this annotation : azure.workload.identity/client-id: xxxxx
When I try to delete the pod, it stay in Terminating state.
If I rollback to 0.14.0 it works without any issue
Steps To Reproduce
Deploy the AAD WI 1.0.0-beta.0 with Helm
Deploy a pod with this annotation : azure.workload.identity/inject-proxy-sidecar: "true" and this label : azure.workload.identity/use: "true"
Environment

Kubernetes version (use kubectl version): 1.25.5
Cloud provider or hardware configuration: Azure AKS

it looks like this bug #773

@flbla #773 is specifically for jobs. There is no construct to tell the sidecar to exit when the main container in the pod terminates. Can you provide the kubectl describe output of the pod with the proxy sidecar and also the logs from each of the container?

I just tried a pod with proxy using v1.0.0-beta.0 and the pod terminates without any issues when deleted.

velero-5f7d856778-kwpnr                                         2/2     Terminating   0             8m32s
Webhook controller logs when I did the delete pod :
azure-wi-webhook-controller-manager-67d569b889-5ggwm manager {"level":"debug","timestamp":"2023-03-03T08:25:53.082181Z","logger":"controller-runtime.webhook.webhooks","caller":"/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/webhook/admission/http.go:96$admission.(*Webhook).ServeHTTP","message":"received request","webhook":"/mutate-v1-pod","UID":"ff0a5f98-6e3e-403e-8d57-2ba66d5531e2","kind":"/v1, Kind=Pod","resource":{"group":"","version":"v1","resource":"pods"}}
azure-wi-webhook-controller-manager-67d569b889-5ggwm manager {"level":"debug","timestamp":"2023-03-03T08:25:53.189337Z","logger":"controller-runtime.webhook.webhooks","caller":"/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.13.1/pkg/webhook/admission/http.go:143$admission.(*Webhook).writeAdmissionResponse","message":"wrote response","webhook":"/mutate-v1-pod","code":200,"reason":"","UID":"ff0a5f98-6e3e-403e-8d57-2ba66d5531e2","allowed":true}

velero pod describe :
k describe pod velero-5f7d856778-9lt4v
Name:                      velero-5f7d856778-9lt4v
Namespace:                 kube-infra
Priority:                  140000
Priority Class Name:       user-medium
Node:
Start Time:                Fri, 03 Mar 2023 09:23:48 +0100
Labels:                    app.kubernetes.io/instance=velero
                           app.kubernetes.io/managed-by=Helm
                           app.kubernetes.io/name=velero
                           azure.workload.identity/use=true
                           helm.sh/chart=velero-3.1.2
                           name=velero
                           pod-template-hash=5f7d856778
Annotations:               azure.workload.identity/inject-proxy-sidecar: true
                           cni.projectcalico.org/containerID: d7ef3ec9559f65d9c918d823d24d997fcd3e851a3d5b77700ef205f24ab3967d
                           cni.projectcalico.org/podIP: <IP_ADDRESS>/32
                           cni.projectcalico.org/podIPs: <IP_ADDRESS>/32
                           kubernetes.io/limit-ranger:
                             LimitRanger plugin set: cpu, memory request for init container azwi-proxy-init; cpu, memory limit for init container azwi-proxy-init
                           prometheus.io/path: /metrics
                           prometheus.io/port: 8085
                           prometheus.io/scrape: true
                           vpaObservedContainers: velero, azwi-proxy
                           vpaUpdates:
                             Pod resources updated by autoscale-velero: container 0: cpu request, memory request, cpu limit, memory limit; container 1: memory request,...
Status:                    Terminating (lasts <invalid>)
Termination Grace Period:  3600s
IP:                        <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/velero-5f7d856778
Init Containers:
  velero-plugin-for-microsoft-azure:
    Container ID:   containerd://6fb49dfd1547463817d3a7f5c7c679ca613b39c362cad227b84bdcfd20354b2d
    Image:          velero-plugin-for-microsoft-azure:v1.5.1
    Image ID:       velero-plugin-for-microsoft-azure@sha256:b2d7e000e64f68708f2494b3f4f59d56104dd3b3dc0e485b5f6569888f8b6a37
    Port:           <none>
    Host Port:      <none>
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Fri, 03 Mar 2023 09:23:50 +0100
      Finished:     Fri, 03 Mar 2023 09:23:50 +0100
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     200m
      memory:  200M
    Requests:
      cpu:     100m
      memory:  100M
    Environment:
      AZURE_CLIENT_ID:             a7f34c7e-4cf5-4d9b-9268-050cd48178fc
      AZURE_TENANT_ID:             4a7c8238-5799-4b16-9fc6-9ad8fce5a7d9
      AZURE_FEDERATED_TOKEN_FILE:  /var/run/secrets/azure/tokens/azure-identity-token
      AZURE_AUTHORITY_HOST:        https://login.microsoftonline.com/
    Mounts:
      /target from plugins (rw)
      /var/run/secrets/azure/tokens from azure-identity-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-94f4c (ro)
  azwi-proxy-init:
    Container ID:   containerd://76b506ba3708d9505c2ede6c4fc06fbd579b2a78f00da4c011396227a7db68bc
    Image:          mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0-beta.0
    Image ID:       mcr.microsoft.com/oss/azure/workload-identity/proxy-init@sha256:e31b6f2d4aad5ee592b069c48c69d6775f17104f5a422528b401e16eeeeb393e
    Port:           <none>
    Host Port:      <none>
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Fri, 03 Mar 2023 09:23:54 +0100
      Finished:     Fri, 03 Mar 2023 09:23:54 +0100
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     200m
      memory:  200M
    Requests:
      cpu:     100m
      memory:  100M
    Environment:
      PROXY_PORT:                  8000
      AZURE_CLIENT_ID:             a7f34c7e-4cf5-4d9b-9268-050cd48178fc
      AZURE_TENANT_ID:             4a7c8238-5799-4b16-9fc6-9ad8fce5a7d9
      AZURE_FEDERATED_TOKEN_FILE:  /var/run/secrets/azure/tokens/azure-identity-token
      AZURE_AUTHORITY_HOST:        https://login.microsoftonline.com/
    Mounts:
      /var/run/secrets/azure/tokens from azure-identity-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-94f4c (ro)
Containers:
  velero:
    Container ID:  containerd://5a2078a3c369a7b9765509e4bbfa891f0066c5598c025f40f5390e30b2c04eb7
    Image:         velero:v1.10.0
    Image ID:      velero@sha256:702312f01639fea8b5a8711c6e00107e30fa5c969fb2a709d789590f47a132e5
    Port:          8085/TCP
    Host Port:     0/TCP
    Command:
      /velero
    Args:
      server
      --uploader-type=restic
      --backup-sync-period=60m
      --store-validation-frequency=60m
    State:          Running
      Started:      Fri, 03 Mar 2023 09:23:58 +0100
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     250m
      memory:  625Mi
    Requests:
      cpu:     50m
      memory:  131072k
    Environment:
      VELERO_SCRATCH_DIR:          /scratch
      VELERO_NAMESPACE:            kube-infra (v1:metadata.namespace)
      LD_LIBRARY_PATH:             /plugins
      AZURE_CREDENTIALS_FILE:      /credentials/cloud
      AZURE_CLIENT_ID:             a7f34c7e-4cf5-4d9b-9268-050cd48178fc
      AZURE_TENANT_ID:             4a7c8238-5799-4b16-9fc6-9ad8fce5a7d9
      AZURE_FEDERATED_TOKEN_FILE:  /var/run/secrets/azure/tokens/azure-identity-token
      AZURE_AUTHORITY_HOST:        https://login.microsoftonline.com/
    Mounts:
      /credentials from cloud-credentials (rw)
      /plugins from plugins (rw)
      /scratch from scratch (rw)
      /var/run/secrets/azure/tokens from azure-identity-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-94f4c (ro)
  azwi-proxy:
    Container ID:  containerd://70f598f38a1a66944a43f6e24ee413b6860739dec3002f43adc6e20b3b2ac7be
    Image:         mcr.microsoft.com/oss/azure/workload-identity/proxy:v1.0.0-beta.0
    Image ID:      mcr.microsoft.com/oss/azure/workload-identity/proxy@sha256:3d6c129918ac9d3dcf30d1c21b120d66cb2c370f85fcd8d8cd1ffc09fbd7a4c6
    Port:          8000/TCP
    Host Port:     0/TCP
    Args:
      --proxy-port=8000
      --log-level=info
    State:          Running
      Started:      Fri, 03 Mar 2023 09:24:00 +0100
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     12m
      memory:  131072k
    Requests:
      cpu:     12m
      memory:  131072k
    Environment:
      AZURE_CLIENT_ID:             a7f34c7e-4cf5-4d9b-9268-050cd48178fc
      AZURE_TENANT_ID:             4a7c8238-5799-4b16-9fc6-9ad8fce5a7d9
      AZURE_FEDERATED_TOKEN_FILE:  /var/run/secrets/azure/tokens/azure-identity-token
      AZURE_AUTHORITY_HOST:        https://login.microsoftonline.com/
    Mounts:
      /var/run/secrets/azure/tokens from azure-identity-token (ro)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-94f4c (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  cloud-credentials:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  velero
    Optional:    false
  plugins:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  scratch:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  kube-api-access-94f4c:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
  azure-identity-token:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3600
QoS Class:                   Burstable
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason           Age    From               Message
  ----     ------           ----   ----               -------
  Normal   Scheduled        2m39s  default-scheduler  Successfully assigned kube-infra/velero-5f7d856778-9lt4v to
  Normal   Pulling          2m40s  kubelet            Pulling image "velero-plugin-for-microsoft-azure:v1.5.1"
  Normal   Pulled           2m38s  kubelet            Successfully pulled image "velero-plugin-for-microsoft-azure:v1.5.1" in 1.28249213s
  Normal   Created          2m38s  kubelet            Created container velero-plugin-for-microsoft-azure
  Normal   Started          2m38s  kubelet            Started container velero-plugin-for-microsoft-azure
  Normal   Pulling          2m37s  kubelet            Pulling image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0-beta.0"
  Normal   Pulled           2m34s  kubelet            Successfully pulled image "mcr.microsoft.com/oss/azure/workload-identity/proxy-init:v1.0.0-beta.0" in 3.400730805s
  Normal   Created          2m34s  kubelet            Created container azwi-proxy-init
  Normal   Started          2m34s  kubelet            Started container azwi-proxy-init
  Normal   Pulling          2m32s  kubelet            Pulling image "velero:v1.10.0"
  Normal   Pulling          2m30s  kubelet            Pulling image "mcr.microsoft.com/oss/azure/workload-identity/proxy:v1.0.0-beta.0"
  Normal   Created          2m30s  kubelet            Created container velero
  Normal   Started          2m30s  kubelet            Started container velero
  Normal   Pulled           2m30s  kubelet            Successfully pulled image "velero:v1.10.0" in 2.038785075s
  Normal   Pulled           2m28s  kubelet            Successfully pulled image "mcr.microsoft.com/oss/azure/workload-identity/proxy:v1.0.0-beta.0" in 1.651778218s
  Normal   Created          2m28s  kubelet            Created container azwi-proxy
  Normal   Started          2m28s  kubelet            Started container azwi-proxy
  Normal   Killing          35s    kubelet            Stopping container velero
  Normal   Killing          35s    kubelet            Stopping container azwi-proxy

proxy logs :
velero-5f7d856778-kwpnr azwi-proxy {"level":"info","timestamp":"2023-03-03T08:25:59.453392Z","logger":"proxy","caller":"/workspace/pkg/proxy/proxy.go:97$proxy.(*proxy).Run","message":"starting the proxy server","port":8000,"userAgent":"azure-workload-identity/proxy/v1.0.0-beta.0 (linux/amd64) a8fe94e/2023-03-01-22:17"}
velero-5f7d856778-kwpnr azwi-proxy {"level":"info","timestamp":"2023-03-03T08:26:02.153210Z","logger":"proxy","caller":"/workspace/pkg/proxy/proxy.go:178$proxy.(*proxy).readyzHandler","message":"received readyz request","method":"GET","uri":"/readyz"}
velero-5f7d856778-kwpnr azwi-proxy {"level":"info","timestamp":"2023-03-03T08:26:06.249334Z","logger":"proxy","caller":"/workspace/pkg/proxy/proxy.go:107$proxy.(*proxy).msiHandler","message":"received token request","method":"GET","uri":"/metadata/identity/oauth2/token?api-version=2018-02-01&client_id=a7f34c7e-4cf5-4d9b-9268-050cd48178fc&resource=https%3A%2F%2Fmanagement.azure.com%2F"}
velero-5f7d856778-kwpnr azwi-proxy {"level":"info","timestamp":"2023-03-03T08:26:09.053250Z","logger":"proxy","caller":"/workspace/pkg/proxy/proxy.go:134$proxy.(*proxy).msiHandler","message":"successfully acquired token","method":"GET","uri":"/metadata/identity/oauth2/token?api-version=2018-02-01&client_id=a7f34c7e-4cf5-4d9b-9268-050cd48178fc&resource=https%3A%2F%2Fmanagement.azure.com%2F"}

the end of the velero container logs :
velero-5f7d856778-kwpnr velero time="2023-03-03T08:33:37Z" level=info msg="Stopping and waiting for webhooks" logSource="/go/pkg/mod/github.com/bombsimon/logrusr/v3@v3.0.0/logrusr.go:108"
velero-5f7d856778-kwpnr velero time="2023-03-03T08:33:37Z" level=info msg="Wait completed, proceeding to shutdown the manager" logSource="/go/pkg/mod/github.com/bombsimon/logrusr/v3@v3.0.0/logrusr.go:108"

and an other describe on the pod velero :
  Normal   Killing          8m32s  kubelet            Stopping container velero
  Normal   Killing          8m32s  kubelet            Stopping container azwi-proxy

and still stuck :
velero-5f7d856778-kwpnr                                         2/2     Terminating   0             17m

yes, it's the output of a terminating pod, containers are in "stopping" state, but never stopped.

The velero container seems to be Running too. Could you check the kubelet logs on the node?

I didn't try with other application yet.

Could you try with other applications? I tried in my cluster with different versions and can't repro pod termination issues.

@flbla Any updates re: https://github.com/Azure/azure-workload-identity/issues/774#issuecomment-1456731030?

Didn't had time yet to check
Will try to check this next week

Didn't had time yet to check Will try to check this next week

Sounds good! I'm going to close the issue with https://github.com/Azure/azure-workload-identity/issues/774#issuecomment-1453902591. Please feel free to reopen if you have any questions or confirm the issue.


Fix types

current typing allows passing string for UserData={a:string}.
change to Record<string, unknown> | string seems good, but user_data can get any type, so we can use number for example. Thus I used unknown.

OK.  Merged.


perf(linter): split rules

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #1780

PR #1781   👈

This stack of pull requests is managed by Graphite.

Current dependencies on/for this PR:

main

PR #1781   👈

This stack of pull requests is managed by Graphite.


TLS Tutorial uses outdated Browser

the sample use Microsoft Edge Legacy and should be updated to Microsoft Edge
Lifecycle FAQ
for your convenience i have attached the required screenshots
TLS_Client_Steps.zip

Fixed in PR #511


Make tracing session public

Turns out our current cassandra driver is old and incompatible with this library/cluster.
However we still want to use the TracingSession and nameproviders.
Exposing the TracingSession as public would allow anyone to instantiate a TracingSession and wrap it around their existing session.

Pull Request Test Coverage Report for Build 79

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.49%

Totals

Change from base Build 78:
0.0%

Covered Lines:
233

Relevant Lines:
239

💛  - Coveralls

@malafeev Any way to get this released so that we can add the dependency and use right away? 🙏

@akhil-karanth version 0.0.10 will be available in maven central during next 24 hours.

@akhil-karanth version 0.0.10 will be available in maven central during next 24 hours.

@malafeev Thank you


adding Instructions for contributors link on README.md

Description of the changes being introduced by the pull request:
As per CNCF assessment criteria, contributors guideline should be mentioned clearly.
Fixes #

@lukpueh as per your suggestion, I've added Instructions for contributors link along with Developer documentaion in README.md


(Feature) Add custom control presets/Customize controls

I used to play on the ex pc port where i could change the controls and now i wish i could do it here

This feature has been added. It's quite limited and minimal for now.
Let me know if you have suggestions.

wow
pretty cool
though along with this I made a discovery
the left long-jump giltch still happens with arrow keys


Latest 1.12.2 Version Crashes the Game

If I downgrade the version it works fine, but -150 crashes every time before the game even opens.. It doesn't generate a crash report either, but I did attach the regular log.
latest.log

Were all having this issue. The mod's probably dead so no point in looking at this.

Were all having this issue. The mod's probably dead so no point in looking at this.

Please stop. The mod's not dead. Don't be toxic

I'm hoping the devs still support the 1.12.2 versions. Noticed a lot have abandoned theirs.


Infinite Time-Waiting Threads in OrientDB Client while Adding Edges

Overview
My OrientDB client freezes in a very simple concurrent scenario Evidence shows several of my threads get into waiting state. They are waiting on one or more OrientDB threads that went into timed-waiting state and never got out of it.
Following the evidence and the description on how to reproduce the problem.
System Information

OrientDB Version.......: 1.5.0
Tinkerpop Blueprints.......: 2.4.0
Operating System......: Windows 7 Enterprise
Installed RAM............: 8 GB
Processor.................: Intel Core i5/2.6Ghz
System Type.............: 64/bit
Java Version..............: JDK-1.7.0_25-b17/64-bit

Downloads

OrientDB Configuration Dump
Thread Dump for my Thread Pool
Database Schema and Data

Preconditions

Create a database as described in the schema file provided above and populate it with the data provided in that file.
The data is simple, a set of SKUs and a set of attributes (colors).
I am using the following JVM options to run my test:

-d64 -server -Xmx1024m
-XX:+UseConcMarkSweepGC -XX:+AggressiveOpts -XX:CompileThreshold=200
-Dcache.level1.enabled=false

For experimantation purposes I also I tried the settings below in certain occasions to see if I would get different results:
OGraphDatabase.LOCK_MODE.NO_LOCKING
-Ddb.mvcc=false

However, I got the same results of thread-locking problems.
The Failing Scenario
The failing scenario consists simply in using a set of threads to add all attributes to a given SKU. Therefore the code will simply add edges to the database.
This is what my threads do. It looks for an SKU vertex, and then iterates over a collection of attribute IDs, which I look up and then add an edge from the Sku vertex to the attribute vertex.
public class DeadlockTest {

    private static final int THREAD_POOL_SIZE = 10;

    private static class AddAttributes implements Callable<Object> {

        private final String skuId;
        private final String[] attributeIds;

        public AddAttributes(String skuId, String[] attributeIds) {
            this.skuId = skuId;
            this.attributeIds = attributeIds;
        }

        @Override
        public Object call() {
            for (int i = 0; i < 10; i++) {
                try {
                    attempt();
                    return null;
                } catch (OTransactionException | ONeedRetryException ignore) {
                    System.out.println("Retyring transaction: " + ignore.getMessage());
                } catch (Exception ex) {
                    throw new RuntimeException(ex);
                }
            }
            System.out.println("Exhausted number of attempts");
            return null;
        }

        private void attempt() throws Exception {
            OrientGraph g = new OrientGraph("remote:localhost/fixme", "admin", "admin");
            try {
                try {
                    Vertex skuVertex = g.getVertex(skuId);
                    for (String attribute : this.attributeIds) {
                        Vertex attrVertex = g.getVertex(attribute);
                        g.addEdge("class:HashValue", skuVertex, attrVertex, "HasValue");
                        System.out.printf("Added Edge from %s to %s in thread %s%n",
                                skuVertex,
                                attrVertex,
                                Thread.currentThread().getName());
                    }
                } catch (Exception propagate) {
                    g.rollback();
                    throw propagate;
                }
            } finally {
                g.shutdown();
            }
        }
    }

    public static void main(String[] args) throws Exception {
        String[] skus = new String[20];
        for(int i=0; i < 20; i++) {
            skus[i] = String.format("#12:%d", i);
        }
        String[] attributes = new String[16];
        for(int i=0; i <= 15; i++) {
            attributes[i] = String.format("#11:%d", i);
        }

        OGlobalConfiguration.dumpConfiguration(System.out);

        Collection<Callable<Object>> tasks = new ArrayList<>();
        for (String sku : skus) {
            tasks.add(new AddAttributes(sku, attributes));
        }

        ExecutorService service = Executors.newFixedThreadPool(THREAD_POOL_SIZE);

        List<Future<Object>> results = service.invokeAll(tasks);
        for (Future<Object> result : results) {
            result.get();
        }

        System.exit(0);//this line is never reached.

    }
}

This is my main method. This code freezes invariably every time I run it:
Initial Diagnosis of the Problem
I ran this test several times and analyzed what was going on using both JConsole and JVisual VM.
Invariably, it seems that several threads get into TIME_WAITING state and never come out of it:
"pool-1-thread-8" - Thread t@18
   java.lang.Thread.State: TIMED_WAITING
	at java.lang.Object.wait(Native Method)
	- waiting on <6bd79538> (a java.util.ArrayList)
	at com.orientechnologies.orient.client.remote.OStorageRemote.beginRequest(OStorageRemote.java:1805)
...

In fact, I found several other threads in this state. They never get out of it. The rest of the treads get blocked by these threads:
"pool-1-thread-2" - Thread t@12
   java.lang.Thread.State: WAITING
	at sun.misc.Unsafe.park(Native Method)
	- waiting to lock <3d5a95c3> (a java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync) owned by "pool-1-thread-8" t@18
	...

@lvca  hi ,I have a problem,could you give me some advise?  I set the db.pool.min and db.pool.max in the orientdb-server-config.xml ,
 ,but I can't get db.pool.min =50 and db.pool.max =200 from OGlobalConfiguration.dumpConfiguration(System.out)

@NLPScott what's your problem and what are you trying to accomplish?


Webview_flutter issue inside another scroll views

when using webview_flutter widget inside another scroll view it will throw exception:
══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 4342): The following assertion was thrown during performResize():
I/flutter ( 4342): RenderAndroidView object was given an infinite size during layout.
I/flutter ( 4342): This probably means that it is a render object that tries to be as big as possible, but it was put
I/flutter ( 4342): inside another render object that allows its children to pick their own size.
I/flutter ( 4342): The nearest ancestor providing an unbounded height constraint is:
I/flutter ( 4342):   RenderIndexedSemantics#28d7e relayoutBoundary=up2 NEEDS-LAYOUT NEEDS-PAINT
I/flutter ( 4342):   creator: IndexedSemantics ← NotificationListener<KeepAliveNotification> ← KeepAlive ←
I/flutter ( 4342):   AutomaticKeepAlive ← SliverList ← Viewport ← IgnorePointer-[GlobalKey#583d5] ← Semantics ←
I/flutter ( 4342):   Listener ← _GestureSemantics ←
I/flutter ( 4342):   RawGestureDetector-[LabeledGlobalKey<RawGestureDetectorState>#91bcc] ← Listener ← ⋯
I/flutter ( 4342):   parentData: index=0; layoutOffset=0.0 (can use size)
I/flutter ( 4342):   constraints: BoxConstraints(w=411.4, 0.0<=h<=Infinity)
I/flutter ( 4342):   semantic boundary
I/flutter ( 4342):   size: MISSING
I/flutter ( 4342):   index: 0
I/flutter ( 4342): The constraints that applied to the RenderAndroidView were:
I/flutter ( 4342):   BoxConstraints(w=411.4, 0.0<=h<=Infinity)
I/flutter ( 4342): The exact size it was given was:
I/flutter ( 4342):   Size(411.4, Infinity)

i have tried many solutions even customscrollview with slivers but it does not help

BTW it is my code sample:
return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: CustomScrollView(
          slivers: <Widget>[
            SliverList(
              delegate: SliverChildListDelegate([
                Container(
                    height: 300,
                    color: Colors.greenAccent,
                    child: Text('box1')),
                Container(height: 200, color: Colors.red, child: Text('box2')),
              ]),
            ),
            SliverList(
              delegate: SliverChildListDelegate([
                WebView(
                  initialUrl: "http://www.wikipedia.com",
                  onPageFinished: (url) {},
                ),
              ]),
            )
          ],
        ));

if i put webview inside a container with fix height of 2000.0 then android webview will crash!

https://github.com/peeto/scrollable_flutter_web_view_example

https://github.com/peeto/scrollable_flutter_web_view_example

when heightPercent too large, it crashed
ResponsiveContainer(
widthPercent: 100,
heightPercent: 1500,
alignment: Alignment(0, 0),
margin: EdgeInsets.all(0),
padding: EdgeInsets.all(0),
child: WebView(
initialUrl: 'http://news.xjtu.edu.cn/info/1004/117731.htm',
javascriptMode: JavascriptMode.unrestricted,
)
),

Hi mate
Try this
return Scaffold(         appBar: AppBar(           title: Text(widget.title),         ),         body: CustomScrollView(           slivers: <Widget>[             SliverList(               delegate: SliverChildListDelegate([                 Container(                     height: 300,                     color: Colors.greenAccent,                     child: Text('box1')),                 Container(height: 200, color: Colors.red, child: Text('box2')),               ]),             ),             SliverToBoxAdatper(               child: SingleChildScrollView                child: Column(                children: <Widget>[                 WebView(                   initialUrl: "http://www.wikipedia.com",                   onPageFinished: (url) {},                 ),               ],             )           ],         ));

Running on
Flutter 1.12.13+hotfix.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 0b8abb4724 (3 weeks ago) • 2020-02-11 11:44:36 -0800
Engine • revision e1e6ced81d
Tools • Dart 2.7.0

Code Sample
import 'package:flutter/foundation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text('WebView'),
        ),
        body: CustomScrollView(
          slivers: <Widget>[
            SliverList(
              delegate: SliverChildListDelegate([
                Container(
                    height: 300,
                    color: Colors.greenAccent,
                    child: Text('box1')),
                Container(height: 200, color: Colors.red, child: Text('box2')),
              ]),
            ),
            SliverList(
              delegate: SliverChildListDelegate([
                WebView(
                  initialUrl: "http://www.wikipedia.com",
                  onPageFinished: (url) {},
                ),
              ]),
            )
          ],
        ));
  }
}

Logs
Restarted application in 1,432ms.
I/flutter ( 8954): ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
I/flutter ( 8954): The following assertion was thrown during performResize():
I/flutter ( 8954): RenderAndroidView object was given an infinite size during layout.
I/flutter ( 8954): This probably means that it is a render object that tries to be as big as possible, but it was put
I/flutter ( 8954): inside another render object that allows its children to pick their own size.
I/flutter ( 8954): The nearest ancestor providing an unbounded height constraint is: RenderIndexedSemantics#fb41d relayoutBoundary=up2 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE:
I/flutter ( 8954):   creator: IndexedSemantics ← NotificationListener<KeepAliveNotification> ← KeepAlive ←
I/flutter ( 8954):     AutomaticKeepAlive ← KeyedSubtree ← SliverList ← Viewport ← IgnorePointer-[GlobalKey#e18d2] ←
I/flutter ( 8954):     Semantics ← _PointerListener ← Listener ← _GestureSemantics ← ⋯
I/flutter ( 8954):   parentData: index=0; layoutOffset=0.0 (can use size)
I/flutter ( 8954):   constraints: BoxConstraints(w=392.7, 0.0<=h<=Infinity)
I/flutter ( 8954):   semantic boundary
I/flutter ( 8954):   size: MISSING
I/flutter ( 8954):   index: 0
I/flutter ( 8954): The constraints that applied to the RenderAndroidView were:
I/flutter ( 8954):   BoxConstraints(w=392.7, 0.0<=h<=Infinity)
I/flutter ( 8954): The exact size it was given was:
I/flutter ( 8954):   Size(392.7, Infinity)
I/flutter ( 8954): See https://flutter.dev/docs/development/ui/layout/box-constraints for more information.
I/flutter ( 8954):
I/flutter ( 8954): The relevant error-causing widget was:
I/flutter ( 8954):   AndroidView
I/flutter ( 8954):
I/flutter ( 8954):
I/flutter ( 8954): When the exception was thrown, this was the stack:
I/flutter ( 8954): #0      RenderBox.debugAssertDoesMeetConstraints.<anonymous closure>
I/flutter ( 8954): #1      RenderBox.debugAssertDoesMeetConstraints
I/flutter ( 8954): #2      RenderBox.size=.<anonymous closure>
I/flutter ( 8954): #3      RenderBox.size=
I/flutter ( 8954): #4      RenderAndroidView.performResize
I/flutter ( 8954): #5      RenderObject.layout
I/flutter ( 8954): #6      RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #7      RenderObject.layout
I/flutter ( 8954): #8      RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #9      RenderObject.layout
I/flutter ( 8954): #10     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #11     RenderObject.layout
I/flutter ( 8954): #12     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #13     RenderObject.layout
I/flutter ( 8954): #14     RenderSliverList.performLayout
I/flutter ( 8954): #15     RenderObject.layout
I/flutter ( 8954): #16     RenderViewportBase.layoutChildSequence
I/flutter ( 8954): #17     RenderViewport._attemptLayout
I/flutter ( 8954): #18     RenderViewport.performLayout
I/flutter ( 8954): #19     RenderObject.layout
I/flutter ( 8954): #20     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #21     RenderObject.layout
I/flutter ( 8954): #22     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #23     RenderObject.layout
I/flutter ( 8954): #24     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #25     RenderObject.layout
I/flutter ( 8954): #26     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #27     RenderObject.layout
I/flutter ( 8954): #28     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #29     RenderObject.layout
I/flutter ( 8954): #30     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #31     RenderObject.layout
I/flutter ( 8954): #32     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #33     RenderObject.layout
I/flutter ( 8954): #34     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #35     RenderObject.layout
I/flutter ( 8954): #36     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #37     RenderObject.layout
I/flutter ( 8954): #38     MultiChildLayoutDelegate.layoutChild
I/flutter ( 8954): #39     _ScaffoldLayout.performLayout
I/flutter ( 8954): #40     MultiChildLayoutDelegate._callPerformLayout
I/flutter ( 8954): #41     RenderCustomMultiChildLayoutBox.performLayout
I/flutter ( 8954): #42     RenderObject.layout
I/flutter ( 8954): #43     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #44     RenderObject.layout
I/flutter ( 8954): #45     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #46     _RenderCustomClip.performLayout
I/flutter ( 8954): #47     RenderObject.layout
I/flutter ( 8954): #48     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #49     RenderObject.layout
I/flutter ( 8954): #50     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #51     RenderObject.layout
I/flutter ( 8954): #52     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #53     RenderObject.layout
I/flutter ( 8954): #54     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #55     RenderObject.layout
I/flutter ( 8954): #56     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #57     RenderObject.layout
I/flutter ( 8954): #58     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #59     RenderObject.layout
I/flutter ( 8954): #60     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #61     RenderObject.layout
I/flutter ( 8954): #62     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #63     RenderOffstage.performLayout
I/flutter ( 8954): #64     RenderObject.layout
I/flutter ( 8954): #65     RenderStack.performLayout
I/flutter ( 8954): #66     RenderObject.layout
I/flutter ( 8954): #67     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #68     RenderObject.layout
I/flutter ( 8954): #69     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #70     RenderObject.layout
I/flutter ( 8954): #71     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #72     RenderObject.layout
I/flutter ( 8954): #73     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #74     RenderObject.layout
I/flutter ( 8954): #75     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #76     RenderObject.layout
I/flutter ( 8954): #77     RenderProxyBoxMixin.performLayout
I/flutter ( 8954): #78     RenderObject.layout
I/flutter ( 8954): #79     RenderView.performLayout
I/flutter ( 8954): #80     RenderObject._layoutWithoutResize
I/flutter ( 8954): #81     PipelineOwner.flushLayout
I/flutter ( 8954): #82     RendererBinding.drawFrame
I/flutter ( 8954): #83     WidgetsBinding.drawFrame
I/flutter ( 8954): #84     RendererBinding._handlePersistentFrameCallback
I/flutter ( 8954): #85     SchedulerBinding._invokeFrameCallback
I/flutter ( 8954): #86     SchedulerBinding.handleDrawFrame
I/flutter ( 8954): #87     SchedulerBinding.scheduleWarmUpFrame.<anonymous closure>
I/flutter ( 8954): #96     _Timer._runTimers  (dart:isolate-patch/timer_impl.dart:384:19)
I/flutter ( 8954): #97     _Timer._handleMessage  (dart:isolate-patch/timer_impl.dart:418:5)
I/flutter ( 8954): #98     _RawReceivePortImpl._handleMessage  (dart:isolate-patch/isolate_patch.dart:174:12)
I/flutter ( 8954): (elided 8 frames from package dart:async and package dart:async-patch)
I/flutter ( 8954):
I/flutter ( 8954): The following RenderObject was being processed when the exception was fired: RenderAndroidView#3e2c6 NEEDS-LAYOUT NEEDS-PAINT:
I/flutter ( 8954):   needs compositing
I/flutter ( 8954):   creator: _AndroidPlatformView ← Semantics ← _FocusMarker ← Focus ← AndroidView ← _PointerListener ←
I/flutter ( 8954):     Listener ← RawGestureDetector ← GestureDetector ← WebView ← RepaintBoundary ← IndexedSemantics ← ⋯
I/flutter ( 8954):   parentData: <none> (can use size)
I/flutter ( 8954):   constraints: BoxConstraints(w=392.7, 0.0<=h<=Infinity)
I/flutter ( 8954):   semantic boundary
I/flutter ( 8954):   size: Size(392.7, Infinity)
I/flutter ( 8954): This RenderObject has no descendants.
I/flutter ( 8954): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/flutter ( 8954): Another exception was thrown: RenderAndroidView object was given an infinite size during layout.
I/flutter ( 8954): Another exception was thrown: RenderSemanticsAnnotations object was given an infinite size during layout.
I/flutter ( 8954): Another exception was thrown: RenderPointerListener object was given an infinite size during layout.
I/flutter ( 8954): Another exception was thrown: RenderRepaintBoundary object was given an infinite size during layout.
I/flutter ( 8954): Another exception was thrown: RenderIndexedSemantics object was given an infinite size during layout.

Issue persists on latest dev channel (1.20.0-0.0.pre) with latest webview_flutter version.

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.2 19C57, locale en-US)
    • Flutter version 1.20.0-0.0.pre at /Users/deeptibelsare/Documents/Fluttersdk/flutter
    • Framework revision d9653445f4 (8 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/deeptibelsare/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/deeptibelsare/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/deeptibelsare/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3, Build version 11C29
    • CocoaPods version 1.9.3

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator)

! Doctor found issues in 1 category.

Anyone found a solution yet? I'm experiencing this error too.

i've got same problem, anybody can help me ?

i've got same problem, anybody can help me ?

Enabling hybrid composition solved this Android issue for me.
  @override
  void initState() {
    super.initState();
    // Enable hybrid composition.
    if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
  }

Enabling hybrid composition solved this Android issue for me.
  @override
  void initState() {
    super.initState();
    // Enable hybrid composition.
    if (Platform.isAndroid) WebView.platform = SurfaceAndroidWebView();
  }

Thank You that worked for me!

Using the original code and updating it per latest stable version changes, the reported exception persists.

 updated runnable code sample

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() {
  runApp(
    const MaterialApp(
     // theme: ThemeData(useMaterial3: true),
      home: WebViewApp(),
    ),
  );
}

class WebViewApp extends StatefulWidget {
  const WebViewApp({super.key});

  @override
  State<WebViewApp> createState() => _WebViewAppState();
}

class _WebViewAppState extends State<WebViewApp> {
  late final WebViewController controller;

  @override
  void initState() {
    super.initState();
    controller = WebViewController()
      ..loadRequest(
        Uri.parse('https://flutter.dev'),
      );
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Flutter WebView'),
      ),
      body: CustomScrollView(
        slivers: <Widget>[
          SliverList(
            delegate: SliverChildListDelegate([
              Container(
                height: 300,
                color: Colors.green,
                child: Text('box1'),
              ),
              Container(
                height: 200,
                color: Colors.red,
                child: Text('box2'),
              )
            ]

            ),
          ),
          SliverList(
            delegate: SliverChildListDelegate([
              WebViewWidget(
                controller: controller,
              ),
            ]),
          )
        ],
      )
    );
  }
}

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.19.2, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.19.2 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (5 days ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.21.0-4.0.pre.14, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.21.0-4.0.pre.14 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 1ca88730a0 (4 hours ago), 2024-03-11 18:31:25 -0700
    • Engine revision 6745955bb4
    • Dart version 3.4.0 (build 3.4.0-220.0.dev)
    • DevTools version 2.33.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/dhs/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for
      more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13C100
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

It will work like that without enabling hybrid composition because of Android and TextureView limitation. If you want to set height to it you need to enable hybrid composition. You can read about it here https://docs.flutter.dev/platform-integration/android/platform-views
and I guess issue can be closed


Sound in RPX

In the wut branch, the RPX needs sound!
This would preferably be done via a content/ folder rather than by being embedded into the RPX

In a similar fashion to how mods can be loaded automatically thanks to @dimok789's resource library, this would once again allow modding, haxchi style.
Question: Now that RPX files can be launched within HBL, is it necessary to maintain the HBL ELF build now? The RPX file can be launched from HBL, Loadiine GX2 and the Wii U Menu, and probably our emulators as well.

Done. See the wut_working branch.
(There is a small bug that causes it to say it is 49 commits behind the hbl_elf branch, because I created the wut_working branch as an orphan, with no history imported from the hbl_elf branch.)


Rename "Apply SaintsEditor" to "Enable SaintsEditor"?

Does "Apply SaintsEditor" mean "Enable SaintsEditor", and if so, why isn't it called that way? Unapply" is a similar case that could probably be "disable" instead. Not trying to be rude, but it seems that there is a deeper meaning that I haven't understood yet..? If so it might be sensible to extend the readme.
I'm not a native speaker, but I was skeptical to press the "Apply" Button because it sounds like it's going to apply non-reversible modifications. Is there a persistent change done to the project and/or editor? As far as I understand it's only a visual change.
Sidenote: You might want to move the explanation of SaintsEditor above the long list of possible attributes. I only found these instructions after wondering why the ".Playa" namespace didn't work.

Sure :) thanks for the notice! Both suggestions sound good!
The first is because Unity's internal process makes it look like "apply" so I didn't think much.
The second is because, when the project gets started, the "Editor" level components was very not-important feature. As it grows, also as I'm using it heavily in my project, it now has become a big important part... BUT the description didn't receive it's importance as it should (embarrassingly but also politely smiley face insert here).
I'm still working on some other features/issues so this will be processed later.


Revert "HTML navbar added and CSS stying added"

Reverts lunar-potato/gamma-movies#7

@andyvgumz put your code for your navbar in  instead of ,  is for all meta tags and meta links


README: Link to @codemirror/lang-markdown

As a beginner in CM6, it can be difficult to understand which of these two packages to use. This clarifies it.

I've pushed attached alternative patch instead.


Use correct bundle for class when loading nib

use correct bundle for class using init(forClass: AnyClass) initializer of NSBundle
for use with nibs in dynamic frameworks

:+1: thx!
Could you also add an entry in the CHANGELOG to credit yourself?

Np!
Just updated the documentation.
For the CHANGELOG.md, following Semantic Versioning, should I bump the version to 2.1.1? Thanks.

i thing we can consider a bug fix (even if the old implementation was following what was announced in the documentation so that might also seen as a behavior change, but meh), so 2.1.1 should be good indeed.

Perfect :+1:
Will merge tonight at home (where I have all my tools to publish a new release on CocoaPods & all)

2.1.1 is out :nada: (with this PR + 2 small other implementation detail fixes I just added)
Thx for your contribution!


'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 55 pos 14: '!debugNeedsLayout': is not true.

Steps to Reproduce

in the listview, return a ListTile:

ListTile(
                        title: Row(
                          children: <Widget>[
                            _getDeviceIcon(device),
                            const SizedBox(width: 8),
                            Expanded(
                                flex: 3,
                                child: Text(device.name,
                                    style: textStyle,
                                    overflow: TextOverflow.ellipsis)),
                            Expanded(
                                flex: 2,
                                child: Text(device.devType,
                                    textAlign: TextAlign.center,
                                    style: textStyle,
                                    overflow: TextOverflow.ellipsis)),
                            Text(errorCount > 0 ? '异常' : '正常',
                                style: Theme.of(context)
                                    .textTheme
                                    .caption
                                    .copyWith(
                                        color: errorCount > 0
                                            ? Colors.redAccent
                                            : Theme.of(context)
                                                .textTheme
                                                .caption
                                                .color)),
                          ],
                        ),
                        trailing: SizedBox(width: 0, height: 0),
                        subtitle: _buildDeviceAlarmInfoWidget(device, context),
                        onTap: () => _onClickDevice(context, device, index));

Logs

 I/flutter: ══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
 I/flutter: The following assertion was thrown during performLayout():
 I/flutter: 'package:flutter/src/rendering/shifted_box.dart': Failed assertion: line 55 pos 14:
 I/flutter: '!debugNeedsLayout': is not true.
 I/flutter: Either the assertion indicates an error in the framework itself, or we should provide substantially
 I/flutter: more information in this error message to help you determine and fix the underlying cause.
 I/flutter: In either case, please report this assertion by filing a bug on GitHub:
 I/flutter:   https://github.com/flutter/flutter/issues/new?template=BUG.md
 I/flutter: When the exception was thrown, this was the stack:
 I/flutter: #2      RenderShiftedBox.computeDistanceToActualBaseline (package:flutter/src/rendering/shifted_box.dart:55:14)
 I/flutter: #3      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1875:50)
 I/flutter: #4      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23)
 I/flutter: #5      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1875:22)
 I/flutter: #6      _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:98:20)
 I/flutter: #7      RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1875:50)
 I/flutter: #8      __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23)
 I/flutter: #9      RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1875:22)
 I/flutter: #10     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:98:20)
 I/flutter: #11     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1875:50)
 I/flutter: #12     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23)
 I/flutter: #13     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1875:22)
 I/flutter: #14     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.computeDistanceToActualBaseline (package:flutter/src/rendering/proxy_box.dart:98:20)
 I/flutter: #15     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1875:50)
 I/flutter: #16     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23)
 I/flutter: #17     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1875:22)
 I/flutter: #18     _RenderFlex&RenderBox&ContainerRenderObjectMixin&RenderBoxContainerDefaultsMixin.defaultComputeDistanceToHighestActualBaseline (package:flutter/src/rendering/box.dar
 I/flutter: #19     RenderFlex.computeDistanceToActualBaseline (package:flutter/src/rendering/flex.dart:602:14)
 I/flutter: #20     RenderBox.getDistanceToActualBaseline.<anonymous closure> (package:flutter/src/rendering/box.dart:1875:50)
 I/flutter: #21     __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:281:23)
 I/flutter: #22     RenderBox.getDistanceToActualBaseline (package:flutter/src/rendering/box.dart:1875:22)
 I/flutter: #23     RenderBox.getDistanceToBaseline (package:flutter/src/rendering/box.dart:1858:27)
 I/flutter: #24     _RenderListTile._boxBaseline (package:flutter/src/material/list_tile.dart:1294:16)
 I/flutter: #25     _RenderListTile.performLayout (package:flutter/src/material/list_tile.dart:1373:32)
 I/flutter: #26     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #27     RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:206:11)
 I/flutter: #28     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #29     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #30     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #31     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #32     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #33     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #34     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #35     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #36     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #37     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #38     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #39     _RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:105:13)
 I/flutter: #40     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #41     RenderSliverList.performLayout (package:flutter/src/rendering/sliver_list.dart:165:27)
 I/flutter: #42     RenderObject.layout (package:flutter/src/rendering/object.dart:1619:7)
 I/flutter: #43     RenderViewportBase.layoutChildSequence (package:flutter/src/rendering/viewport.dart:406:13)
 I/flutter: #44     RenderViewport._attemptLayout (package:flutter/src/rendering/viewport.dart:1334:12)
 I/flutter: #45     RenderViewport.performLayout (package:flutter/src/rendering/viewport.dart:1252:20)
 I/flutter: #46     RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:1496:7)
 I/flutter: #47     PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:765:18)
 I/flutter: #48     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding.drawFrame (package:flutter/src/re
 I/flutter: #49     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.drawFrame (package
 I/flutter: #50     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback (p
 I/flutter: #51     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1016:15)
 I/flutter: #52     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:958:9)
 I/flutter: #53     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:874:5)
 I/flutter: #57     _invoke (dart:ui/hooks.dart:236:10)
 I/flutter: #58     _drawFrame (dart:ui/hooks.dart:194:3)
 I/flutter: (elided 5 frames from class _AssertionError and package dart:async)
 I/flutter: The following RenderObject was being processed when the exception was fired: _RenderListTile#ad779 relayoutBoundary=up9 NEEDS-LAYOUT NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDAT
 I/flutter:   creator: _ListTile ← MediaQuery ← Padding ← SafeArea ← Semantics ← Listener ← _GestureSemantics ←
 I/flutter:     RawGestureDetector ← GestureDetector ← Listener ← InkWell ← ListTile ← ⋯
 I/flutter:   parentData: offset=Offset(16.0, 0.0) (can use size)
 I/flutter:   constraints: BoxConstraints(w=328.0, 0.0<=h<=Infinity)
 I/flutter:   size: Size(328.0, 56.0)
 I/flutter: This RenderObject had the following descendants (showing up to depth 5):
 I/flutter:     title: RenderFlex#38cdd relayoutBoundary=up10 NEEDS-PAINT
 I/flutter:       child 1: RenderSemanticsAnnotations#c65f6 relayoutBoundary=up11
 I/flutter:         child: RenderExcludeSemantics#ba063 relayoutBoundary=up12
 I/flutter:           child: RenderConstrainedBox#b2d79 relayoutBoundary=up13
 I/flutter:             child: RenderPositionedBox#1f643 NEEDS-LAYOUT
 I/flutter:       child 2: RenderConstrainedBox#09b46 relayoutBoundary=up11
 I/flutter:       child 3: RenderParagraph#8a529 relayoutBoundary=up11 NEEDS-PAINT
 I/flutter:         text: TextSpan
 I/flutter:       child 4: RenderParagraph#c3d22 relayoutBoundary=up11 NEEDS-PAINT
 I/flutter:         text: TextSpan
 I/flutter:       child 5: RenderParagraph#3638a relayoutBoundary=up11 NEEDS-PAINT
 I/flutter:         text: TextSpan
 I/flutter:     subtitle: RenderPadding#c926f relayoutBoundary=up10 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
 I/flutter:       child: RenderPositionedBox#b0950 relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
 I/flutter:         child: RenderRepaintBoundary#e3589 relayoutBoundary=up12 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
 I/flutter:           child: RenderCustomPaint#ec130 relayoutBoundary=up13 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
 I/flutter:             child: RenderRepaintBoundary#3fe31 relayoutBoundary=up14 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE
 I/flutter:     trailing: RenderConstrainedBox#724c9 relayoutBoundary=up10
 I/flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════

Did you ever resolve this issue? I am getting the same error. I haven't quite figured out the exact cause or fix, but I have narrowed it down to a conditional that I am using in my ListTile's subtitle. In my case, there is no problem building the tiles with the conditional item in the subtitle on the initial build. Only when adding or removing an item from the list do I get the error.
Can you share the source of _buildDeviceAlarmInfoWidget()? Maybe that will help us figure this out.

@kecson I will leave the reference here for future follow up #40002.

Did you ever resolve this issue? I am getting the same error. I haven't quite figured out the exact cause or fix, but I have narrowed it down to a conditional that I am using in my ListTile's subtitle. In my case, there is no problem building the tiles with the conditional item in the subtitle on the initial build. Only when adding or removing an item from the list do I get the error.
Can you share the source of _buildDeviceAlarmInfoWidget()? Maybe that will help us figure this out.

Yes, i have the same problem. Without subtitle there is no problem, but with subtitle i got that strange error.

this issue fixed in stable 1.12.13+hotfix.5.


Verify that policy exists before applying it (at compilation time)

It looks like it's only possible in our case.
Link to discussion: https://github.com/elixir-lang/elixir/issues/3096


As a teacher logged in to Terrastories, I can create a Curriculum

Larger Context:
Let’s create a Curriculum Builder feature in Terrastories! The idea behind a Curriculum Builder is to give users the ability to curate a selection of stories that will play in a certain order.
Let’s say there are 500 stories in Terrastories for a community. This is the entire archive of this community’s oral histories. But today, a teacher wants to focus on just a few of them that are thematically related, and play them a sequential order for their classroom.
For this story:
Let's focus on just the ability to have a teacher log in to administrate and go to a new Curriculum page, and make a Curriculum with a title and a description.

@rudokemper can you see if recent commit merges by sarah's work do this well enough to accept this issue or if we need more work for a first pass?

@FeminismIsAwesome @slaloggia I was able to do exactly what this ticket asks for! 👍 LGTM


SW-4713 Add participant project option menu that includes export, for now a no-op until BE is done

#2388
#2387  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Mar 21, 7:53 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


Add source_edit_link as supported theme configuration parameter

This was necessary to avoid the below message, and generate the edit button correctly pointing to a custom gitlab instance
preparing documents... WARNING: unsupported theme option 'source_edit_link' given

This fix (and especially this theme) works nicely for our doc site!

This would also be useful for me. This re-uses the capability already present in sphinx-basic-ng.

Oh, it's pretty similar to my #528 where I added also one hunk in ``src/furo/theme/furo/components/edit-this-page.html` which is needed for proper displaying of Edit icon.

Oops. Let me fix this conflict and rebase

Well it works for me with the following configuration:
html_theme_options = {
    'source_edit_link': '_sources/{filename}.txt',
    'source_repository': 'xxx',
    'source_branch': 'yyy'
}

I can't use only source_edit_link': '_sources/{filename}.txt', because of the following condition:
https://github.com/pradyunsg/sphinx-basic-ng/blob/a09afb4d587bf09c3f7ecdef31829f95808b84d3/src/sphinx_basic_ng/theme/basic-ng/components/edit-this-page.html#L50
Or do I miss something?

It’s an or statement. You should be able to use both (assuming you get main from both projects) and only declare the edit link

No, it's not working when I install main branches for all projects. The following is missing:
https://github.com/marxin/furo/blob/1d72ecbad5afafe9fa9c5b0b6f0ba1a646148d57/src/furo/theme/furo/components/edit-this-page.html#L27-L28

Well, I went ahead and cleaned things up. :)
https://pradyunsg.me/furo/customisation/edit-button/ will update to reflect the new semantics.

Great, thanks for it!


Save All no longer works

Does this issue occur when all extensions are disabled?: N/A

VS Code Version: 1.77.1
OS Version: Windows 10 19045.2728

Steps to Reproduce:

Open Project with many files
Edit multiple documents (in sub folders)
Use File > Save All in VSCode

Result:
No file is saved.
This issue was very recently introduced. I have VS Code auto update enabled, so it patched itself into this state where "Save All" feature no longer works. Before that "Save All" worked properly.

I have the same issue starting from 1.74

Previously i fix it by clean install or by installing 1.73.1
Currenlty on 1.77.3 and problem reoccured after i opened a large number of files.

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I tested against "code --disable-extensions" and the issue is 100% reproducible. Visual Studio Code displays the "All installed extensions are temporarily disabled." message in the lower right corner.
Do you need intel on a repository where this is reproducible?

Yeah it would be great to have a clear instruction for me how to reproduce. Does not have to be the same data as long as it is reliably reproducible with the steps.

I tried to reproduce it on a new "Project" with dummy files, 5 folders deep, but the issue is not reproducible this way. I suggest loading up a bigger project with many files.
In my case I open root folder of https://github.com/TheSuperHackers/GeneralsGamePatch
Then edit a file such as Patch104pZH\GameFilesEdited\Data\INI\Object\FactionBuilding.ini, then hit Save All, and nothing happens.

I cannot reproduce.

Ok I will run some more tests later to islate problem further. I do have more generated files in the project folder, including dynamic links, so perhaps it requires more than naked project.

👍

I cleaned local repository to naked state and the behavior was still reproducible on my machine.
Does vscode generate a meaningful log for issues like this that I could hand over here?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!

@bpasero running vscode from source i get some logs from fileCommands.ts & editorService.ts

If you need any more logs, then I'm ready to help


added docker file and kubernetes file

PR Description 📜
I write the docker file and kubernetes file and also comment out the command needed for running this app through this you can run app locally and also deploy locally
Fixes #128

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[ ] I have added screenshot for review.

## Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

please review my pr

@Mukesh751 kindly assign the label else it is not counted in gssoc

@sanjay-kv sr kindly add label sr otherwise it is not added into gssoc

@agarwalhimanshugaya done


runtime: panic message clobbered

What version of Go are you using (go version)?
tip (ca7c12d4c9)
Does this issue reproduce with the latest release?
No, not with Go 1.11
What operating system and processor architecture are you using (go env)?
linux/amd64
What did you do?
https://play.golang.org/p/HIJtff_t5Wh
package main

import "runtime"

type P string

func (p P) String() string {
	runtime.GC()
	runtime.GC()
	runtime.GC()
	zzz := "ZZZ"
	sink = zzz
	return string(p)
}

var sink interface{}

func main() {
	defer func() {
		panic(P("YYY"))
	}()
	panic(P("XXX"))
}

What did you expect to see?
With Go 1.11, this program panics with
panic: XXX
	panic: YYY

which looks correct to me.
What did you see instead?
With tip, this program panics with
panic: XXX
	panic: ZZZ

The "YYY" panic message is clobbered.
In runtime.gopanic, the _panic struct p is stack allocated and referenced from gp._panic. With stack objects, the stack variable p is dead at the point the panic message is printed (preprintpanics at https://go.googlesource.com/go/+/master/src/runtime/panic.go#563). gp._panic points to p, but stack scan doesn't look at gp. So whatever p points to may be collected and clobbered. We need to keep it alive.
Will send a CL soon.

Thank you for this report @cherrymui!
I can confirm that CL https://go-review.googlesource.com/c/134156 introduced this bug. Kindly paging @randall77 as well as @aclements


Emojis are rendered on separate lines from other text with huge additional margins

The CSS rules for emojis include display: block which moves them to separate lines, and margin-bottom: 2em; margin-top: 2em which add huge amount of space. I'm not sure whether it's intentional, but I'd be surprised to see emojis not being rendered together with the regular text.
A comment with an emoji:

Inherited CSS rules for emojis which cause this behavior:

Thanks, deployed the fix.


App deletion and deployment stuck in process for over an hour

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3tmxf00jyzsb9
Region
No response
Amplify Console feature
No response
Describe the bug
trying to delete app from console but the process has been stuck for over an hour.
Expected behavior
Deletion should have happened within 15 mins or so.
Reproduction steps
clicked delete from amplify console
Build Settings
No response
Additional information
No response

I think there is an ongoing issue with amplify console currently - see https://github.com/aws-amplify/amplify-console/issues/2494

Hi @danielmbutler 👋🏽, if you're still running into issues deleting your app try running this command to completely remove your backend: aws amplify delete-backend-environment --app-id <YOUR_APP_ID> --environment-name <THE_BACKEND_ENVIRONMENT_NAME>.
You should then be able to delete the frontend from the console.

Hi @hloriana thanks for your response, after some time all the operations were completed and all is good now.  will clsoe this


Continuous Delivery page is not available for a cluster Owner

On 2.5-head commit id: 2ba49cb

Deploy 2.5-head, deploy a few downstream cluster as a cluster owner - user1
From Dashboard top left, select Continuous delivery

Issue#1

The page is displayed like this.

Issue#2

Clicking on create shows errors in console and page is stuck in loading.

Expected:
Cluster owner of the local cluster should have access to this page. Downstream cluster owner has no permissions

I could not reproduce this issue in v2.7-head. As a cluster owner, I was able to successfully go through the same workflow without crashing:
Continuous Delivery home page for cluster owner (get started button leads to git repo creation page)

Cluster registration token page

Creating cluster registration token from YAML

Moving to test to confirm that there is no work to be done

This was marked as can not reproduce a while ago - moving milestone to 2.9.0 and correcting labels so that this can be verified by QA.


Responsiveness - Search

Context
Our current search bar isn't completely matching the Figma design.
We need to create a search button that will show up a search bar on mobile.

Closed by #35


[QUERY] Sample for client side encryption?

Query/Question
Hi there,
I am trying to use the new client side encryption for blob storage. A working code sample would be very helpful in getting started. Is there a working code sample you can point me toward?
I'm mostly interested in some examples of configuring a ClientSideEncryptionOptions  :
var options = new Azure.Storage.ClientSideEncryptionOptions(Azure.Storage.ClientSideEncryptionVersion.V1_0);
            options.KeyEncryptionKey = ? // I need a key from KeyVault - is there an easy out of the box way to wire this up?
            options.KeyResolver = ? // I just need one that talks directly to KeyVault - is there an out of the box thing I can use?
            options.KeyWrapAlgorithm = ? // Can I use the algorithms defined in https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.keyvault.webkey.jsonwebkeysignaturealgorithm?view=azure-dotnet-legacy ?

Thanks in advance!
Environment:

Name and version of the Library package used: Azure.Storage.Blobs 12.5.0-preview.6
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.302\

Host (useful for support):
Version: 3.1.6
Commit:  3acd9b0cd1

IDE and version : Visual Studio 16.6.5

Thank you for your feedback.  Tagging and routing to the team best able to assist.

Thanks for the feedback! We will definitely look to add a sample for Client Side Encryption for Queues.
To upload, you would only need the options.KeyEncryptionKey and options.Algorithms. Sorry there's no "out of the box solution" that I know of for this. The Key you would have to retrieve from Key Vault and the algorithm you decide on depends on the data you are trying to encrypt.  I would follow one of the tutorials on how to create one. I've linked one below
https://docs.microsoft.com/en-us/azure/storage/common/storage-encryption-keys-powershell?toc=/azure/storage/blobs/toc.json
Here's a quick sample I whipped up.
                 QueueClient queue = new QueueClient(queueUri, new ClientSideEncryptionOptions(ClientSideEncryptionVersion.V1_0)
                 {
                         KeyEncryptionKey = s_mockKey,
                         KeyWrapAlgorithm = s_algorithmName
                 });
                 // upload with encryption
                await queue.SendMessageAsync(message1, cancellationToken: s_cancellationToken); // invokes key wrap first time

                // download and update message
                var messageToUpdate = (await queue.ReceiveMessagesAsync(cancellationToken: s_cancellationToken)).Value[0];
                await queue.UpdateMessageAsync(messageToUpdate.MessageId, messageToUpdate.PopReceipt, message2, cancellationToken: s_cancellationToken); // invokes key unwrap first time and key wrap second time

                // download with decryption
                var receivedMessages = (await queue.ReceiveMessagesAsync(cancellationToken: s_cancellationToken)).Value; // invokes key unwrap second time
                Assert.AreEqual(1, receivedMessages.Length);
                var downloadedMessage = receivedMessages[0].MessageText;

Let's leave this issue open for now until we create the sample for Queue Client Side Encryption.

Thanks @amnguye ! I'm specifically interested in Blobs rather than Queue storage. It's my understanding I need the KeyResolver to be set to be able to download encrypted content - can you provide any quick guidance for that please? Much appreciated!

Definitely my bad! Sorry I somehow misread Query as Queue.
Yes, you do need a KeyResolver to download encrypted content. The KeyResolver you pass will depend on how you encrypted the content in the first place. So depending on the Key you chose in Key Vault to encrypt your data with, you will need to provide a key resolver that resolves to the right key (the key you encrypted with) or the key itself.
Here's a short sample of that
e.g.
ClientSideEncryptionOptions options1 = new ClientSideEncryptionOptions(ClientSideEncryptionVersion.V1_0)
{
     KeyResolver = GetKeyResolver()
};
BlobClient blobClient = new BlobClient(
                connectionString,
                containerName,
                blobName).WithClientSideEncryptionOptions(options1);
blobClient.DownloadTo(downloadFilePath);

Thanks @amnguye - is there any out-of-the-box implementation of a key resolver that I can use to talk directly to key vault? I am guessing the answer for now is no, I just want to be sure before I go ahead and try to roll my own.

Sorry I don't think there is. Let me know on this thread if you need any help.

No problem! I have fallen back to using the old blob client library for now because it has the tight integration with KeyVault out of the box that I'm looking for. Thanks for your help :)

Hi. If you could be so kind, could you link me the "tight integration with KeyVault out of the box" you are looking for? I under the impression when you said "out of the box" you meant that I provide you a sample Key Vault Key, Resolver just to see if it works. I just want to be on the same page that way I can provide you the information you need in case I did not provide it for you to switch to this library.

I'm referring to the out of the box KeyVaultKeyResolver that I can use with the old library. Details on this can be found here:
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-encrypt-decrypt-blobs-key-vault

I fully agree with ohofman, we definitely need something similar to the old BlobEncryptionPolicy to proivide client side encryption.

Hi, I don't think thats what ahofman ask was. His ask was for a sample of the v12 way to provide client side encryption, not to redo client side encryption the way the v11 library has it.
Also ahofman, we currently have an "out of the box solution" in the works, which is similar to the link. I was under the impression you were looking for a runnable sample without having to create a Key in KeyVault. You still have to provide your own encryption key, or resolver (Respectively) in order to encrypt and decrypt your blobs in the link you provided. I was wondering what you actually mean by "out of the box" solution, so we can better tailor our samples to your scenario.

Hi Amanda,
I may have misundertood ahofman request... But I still think we miss a way to encrypt/decrypt blobs client-side, able to cope with files already encrypted and stored in blobs.
Another question : we have a legacy project running in framework 4.8 and I cannot find the "WithClientSideEncryptionOptions' method mentioned in your snippet. Is it reserved to .net core library ?

@jaschrep-msft For the clientside encryption design question
As for the WithClientSideEncryptionOptions, I believe this is in preview. What version are you using? I believe we released it in 12.5.0.preview.1+

We are currently using <IP_ADDRESS> version for .net framework 4.8. It is not present in the 12.6.0 release either.

Apologies for just now replying.
The API surface changed over the course of the previews. WithClientSideEncryptionOptions did not make it into the final release. There is currently a tracked documentation gap for discovering the API released in 12.6.0, but the API docs are still available. The hook for attaching client side encryption options is in an extension of BlobClientOptions, found here. The options class should be very similar to the collection you're used to in v11.
Regarding already existing keyvault implementations, those were never a part of the storage library in v11 or v12. Keyvault publishes packages that fit the interfaces we incorporate into storage libraries, and you can use them as your providers. Their implementations are CryptographyClient and KeyResolver.

Thanks a lot for the link to the extension of BlobClientOptions.
First tests I have made let me think that it works perfectly :-)

Please re-open if you have further questions.


Adding unit tests with 100% code coverage

Current coverage is 100% (diff: 100%)

No coverage report found for master at d583fbf.

Powered by Codecov. Last update d583fbf...acaabdf


Is that method ok? Adding to dic and trying get the same item

https://github.com/James-Frowen/NetworkPositionSync/blob/4ca3ae74553d65f584a55a89033fbddaabb9f6a1/source/SyncPositionSystem.cs#L83

Oh, that methods looks like it has some left over all code, should just need the add call. Nice find :)


Not working with swift-numerics

After some experiments I found a bug. It seems to be because I use swift-numerics in the function.
https://colab.research.google.com/drive/1TL70U_I_2wEIyzSa5quB55h54A79bDtp?usp=sharing

Did you explicitly import the Swift Numerics library? If you didn’t, it would crash because of an undefined symbol. I’ll thoroughly examine the failure in a bit.

On Jan 7, 2022, at 12:31 PM, Daniel Müllenborn @.***> wrote:
After some experiments I found a bug. It seems to be because I use swift-numerics in the function.
https://colab.research.google.com/drive/1TL70U_I_2wEIyzSa5quB55h54A79bDtp?usp=sharing https://colab.research.google.com/drive/1TL70U_I_2wEIyzSa5quB55h54A79bDtp?usp=sharing
—
Reply to this email directly, view it on GitHub https://github.com/philipturner/swift-colab/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARDLOCNUMHDNS2AUIWF7CO3UU4PPNANCNFSM5LPIOAQQ.
You are receiving this because you are subscribed to this thread.

Also, if you’re running system commands, prepend then with %system and not “!” (when in Swift mode). Also, remove “sudo” from the command because Colab doesn’t allow that or need it. If you’re expecting to use GNUPlot in Swift (I didn’t fully examine your code), you need to import a Swift package that wraps it.
Sent from my iPhone

On Jan 7, 2022, at 12:34 PM, Philip Turner @.***> wrote:
Did you explicitly import the Swift Numerics library? If you didn’t, it would crash because of an undefined symbol. I’ll thoroughly examine the failure in a bit.

On Jan 7, 2022, at 12:31 PM, Daniel Müllenborn @.***> wrote:
After some experiments I found a bug. It seems to be because I use swift-numerics in the function.
https://colab.research.google.com/drive/1TL70U_I_2wEIyzSa5quB55h54A79bDtp?usp=sharing
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

It will probably be due to this function.
https://github.com/damuellen/Utilities/blob/main/Sources/Helpers/ODE.swift
My other notebook does not cause any problems.
https://colab.research.google.com/drive/1vDt4cN1d-zEmdsYgZB7t4QGLehFKBlyX?usp=sharing

Nice example of plots! I was asking the creator of SwiftPlot to provide a Colab notebook to test the IPython display connection's integrity, but I think you've done that!

Also, the %system command can't be in the same cell as a "!" command. %system runs in Swift mode; "!" runs in Python mode. What you have right now should cause a compiler failure in both modes.

Also, the %system command can't be in the same cell as a "!" command. %system runs in Swift mode; "!" runs in Python mode. What you have right now should cause a compiler failure in both modes.

I'm not sure what you're trying to tell me, but I'm using a modified version of your script in my other notebooks.
https://gist.github.com/damuellen/31ce73e851831839acd14806e97d5ae7

I'm saying that if you attempt to run the following all in one code cell, you'll experience a syntax error and it will never run:
%system apt ... (command)
!curl .. (command)

The very first code cell of the notebook you showed me would cause that breakage. Also, the first command in that notebook should pull from my repository and not yours.
If you want to install extra stuff, I recommend making a cell of %system commands that executes once you execute in Swift mode (instead of during the installation script). That makes it more reproducible and should provide the same capabilities as the shell script, assuming you're familiar with the quirks of system commands in Colab.

I the install script, you're putting everything you downloaded into /opt/swift, which isn't a good habit in general. By keeping the commands encapsulated within the Colab notebook instead, you have no chance of accidentally causing a name collision with that directory.

I adjusted the two notebooks as I understood you.

In the install script, you're putting everything you downloaded into /opt/swift,
to bring up a painful subject... 😊

I had a similar scenario where I wanted to keep utilities I created and use them in future software. I bundled some basic utility code from ARHeadsetKit into ARHeadsetUtil and tried using it with DL4S and MetalFFT.

I just overhauled Swift-Colab and completely rewrote all of its low-level code. There is no sufficient documentation about the changes at this time, but I want to have some insight into how it impacts people in the community who use Swift-Colab. When you read this, there will either be a disclaimer at the top of the README explaining how to use the new features, or a 2.0 release in Releases.
I know I could run through your linked notebooks in theory, but it's best that you test it since you're an expert on what's going on there. Do you mind running the notebooks through and reporting if anything goes wrong?

I just overhauled Swift-Colab and completely rewrote all of its low-level code. There is no sufficient documentation about the changes at this time, but I want to have some insight into how it impacts people in the community who use Swift-Colab. When you read this, there will either be a disclaimer at the top of the README explaining how to use the new features, or a 2.0 release in Releases.
I know I could run through your linked notebooks in theory, but it's best that you test it since you're an expert on what's going on there. Do you mind running the notebooks through and reporting if anything goes wrong?

You may have had a problem with SwiftPlot in EnableIPythonDisplay.swift. I fixed it by adding a conditional import statement.


”Sântămăria-Orlea”, ”Balomir”, ”Bărăștii Hațegului”, ”Bucium-Orlea”, ”Ciopeia” are listed in the drop-down menu

Description:
When user writes ”Sântămăria-Orlea”, ”Balomir”, ”Bărăștii Hațegului”, ”Bucium-Orlea”, ”Ciopeia” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Balomir"

Expected results
The location appears in the drop-down menu as "Sat Balomir, HUNEDOARA (Sântămăria-Orlea)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Bărăștii Hațegului"

Expected results
The location appears in the drop-down menu as "Sat Bărăștii Hațegului, HUNEDOARA (Sântămăria-Orlea)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Bucium-Orlea"

Expected results
The location appears in the drop-down menu as "Sat Bucium-Orlea, HUNEDOARA (Sântămăria-Orlea)".

Step 8
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Ciopeia"

Expected results
The location appears in the drop-down menu as "Sat Ciopeia, HUNEDOARA (Sântămăria-Orlea)".


Trigger revalidatePath for API endpoints doesn't work

When we hit the DTSI webhook the dtsiAllPeople is not getting refreshed. the revalidate flag does trigger the refresh on the specified interval.

Timeboxed to one day

Additional details. It appears https://standwithcrypto.org/api/public/dtsi/by-geography/usa/NY/26 has been returning cached data for days without updating. If i tweak the url to https://standwithcrypto.org/api/public/dtsi/by-geography/usa/ny/26 it returns the correct data.

timeboxed to a day of initial investigation

@travisbloom-cb from what I've seen, I'm not completely sure if we can invalidate the api route using revalidatePath, but one possible solution for this would be to use revalidateTag. It works like the query key in React Query where you can invalidate a specific key or every key that contains a certain string.
My approach here would be to add a new optional arg to fetchReq to accept this tags prop and then call invalidateTag directly in dtsi-updated-slugs-webhook


fix-dispute-choices

fixed an issue that would cause the 8th outcome to not display on a dispute form if invalid is the tentative winning outcome of an 8 category categorical market.
To test locally, fire up a pop node but not with normal time.
make an 8 outcome categorical market, push to reporting using flash, report INVALID then push 1 week to dispute rounds, go to dispute form and notice that outcome 1-8 are all being displayed properly now.

Bice one