Error creating: Internal error occurred failed callling webhook

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
Error creating: Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/inject?timeout=10s": context deadline exceeded

Source
replicaset-controller

Count
14

Sub-object

Last seen
2023-11-19T18:33:04+05:30

Whenever i try to do an deployment on a istio injected namespace it doesnt work. it worked before after I downgrade istio but it doesnt work again. is there an specific reason why this happens ?

Conditions:
  Type             Status  Reason
  ----             ------  ------
  ReplicaFailure   True    FailedCreate
Events:
  Type     Reason        Age                   From                   Message
  ----     ------        ----                  ----                   -------
  Warning  FailedCreate  83s (x17 over 8m50s)  replicaset-controller  Error creating: Internal error occurred: failed calling webhook "namespace.sidecar-injector.istio.io": failed to call webhook: Post "https://istiod.istio-system.svc:443/inject?timeout=10s": context deadline exceeded

the response of the istiod from different pod
[appuser@kafka-0 ~]$ curl https://istiod.istio-system:443/inject -k
no body found
[appuser@kafka-0 ~]$

Version
kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.26.3
Kustomize Version: v4.5.7
Server Version: v1.28.3-eks-4f4795d
WARNING: version difference between client (1.26) and server (1.28) exceeds the supported minor version skew of +/-1

istioctl version

client version: 1.17.2
control plane version: 1.19.3
data plane version: 1.17.1 (8 proxies)

Additional Information
I have the below error on my istiod logs
2023-11-19T13:01:32.122647Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 9): webhook is not ready, retry	controller=validation
2023-11-19T13:02:07.732905Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid config not rejected
2023-11-19T13:02:07.732932Z	info	validationController	validatingwebhookconfiguration istiod-default-validator (failurePolicy=Ignore, resourceVersion=80080723) is up-to-date. No change required.
2023-11-19T13:02:07.732942Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 10): webhook is not ready, retry	controller=validation
2023-11-19T13:03:09.048245Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid config not rejected
2023-11-19T13:03:09.048275Z	info	validationController	validatingwebhookconfiguration istiod-default-validator (failurePolicy=Ignore, resourceVersion=80080723) is up-to-date. No change required.
2023-11-19T13:03:09.048284Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 11): webhook is not ready, retry	controller=validation
2023-11-19T13:04:19.061236Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid config not rejected
2023-11-19T13:04:19.061266Z	info	validationController	validatingwebhookconfiguration istiod-default-validator (failurePolicy=Ignore, resourceVersion=80080723) is up-to-date. No change required.
2023-11-19T13:04:19.061275Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 12): webhook is not ready, retry	controller=validation
2023-11-19T13:05:29.071033Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid config not rejected
2023-11-19T13:05:29.071070Z	info	validationController	validatingwebhookconfiguration istiod-default-validator (failurePolicy=Ignore, resourceVersion=80080723) is up-to-date. No change required.
2023-11-19T13:05:29.071081Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 13): webhook is not ready, retry	controller=validation
2023-11-19T13:06:39.083301Z	info	validationController	Not ready to switch validation to fail-closed: dummy invalid config not rejected
2023-11-19T13:06:39.083331Z	info	validationController	validatingwebhookconfiguration istiod-default-validator (failurePolicy=Ignore, resourceVersion=80080723) is up-to-date. No change required.
2023-11-19T13:06:39.083367Z	error	controllers	error handling istiod-default-validator, retrying (retry count: 14): webhook is not ready, retry	controller=validation

I am running on eks and I dont have any firewall rules blocking anything. the same infra worked fine few days back suddenly this error happend
 kubectl get --raw /metrics | grep apiserver_admission_webhook_rejection_count
# HELP apiserver_admission_webhook_rejection_count [ALPHA] Admission webhook rejection count, identified by name and broken out for each admission type (validating or admit) and operation. Additional labels specify an error type (calling_webhook_error or apiserver_internal_error if an error occurred; no_error otherwise) and optionally a non-zero rejection code if the webhook rejects the request with an HTTP status code (honored by the apiserver when the code is greater or equal to 400). Codes greater than 600 are truncated to 600, to keep the metrics cardinality bounded.
# TYPE apiserver_admission_webhook_rejection_count counter
apiserver_admission_webhook_rejection_count{error_type="calling_webhook_error",name="namespace.sidecar-injector.istio.io",operation="CREATE",rejection_code="400",type="admit"} 300
apiserver_admission_webhook_rejection_count{error_type="calling_webhook_error",name="validation.istio.io",operation="CREATE",rejection_code="400",type="validating"} 55

Have you checked if you have invalid proxy settings? You may also check kube-controller-manager to see if there are any related info.

@hanxiaop what do you mean invalid proxy settings?  sure I will check if there's any related info in the kube-controller-manager

https://github.com/istio/istio/issues/36955
Almost sure it is not istio's issue, but it is the underlying network

Facing same issue with istio version 1.19.3. I had 1.17.5 version(both deployed via helm)

I was able to get it to work by adding some security rules
  node_security_group_additional_rules = {
    ingress_15017 = {
      description                   = "${local.cluster_name} Cluster API - Istio Webhook namespace.sidecar-injector.istio.io"
      protocol                      = "TCP"
      from_port                     = 15017
      to_port                       = 15017
      type                          = "ingress"
      source_cluster_security_group = true
    }
    ingress_15012 = {
      description                   = "${local.cluster_name} Cluster API to nodes ports/protocols"
      protocol                      = "TCP"
      from_port                     = 15012
      to_port                       = 15012
      type                          = "ingress"
      source_cluster_security_group = true
    }
  }

Yes, most of the time it's network issues.


Add implementation for list command to take in arguments

Codecov Report

Merging #68 (b731268) into master (53ae4bb) will increase coverage by 0.04%.
The diff coverage is 76.01%.

:exclamation: Current head b731268 differs from pull request most recent head be6aeae. Consider uploading reports for the commit be6aeae to get more accurate results

@@             Coverage Diff              @@
##             master      #68      +/-   ##
============================================
+ Coverage     72.72%   72.76%   +0.04%
- Complexity      423      488      +65
============================================
  Files            72       80       +8
  Lines          1287     1557     +270
  Branches        134      181      +47
============================================
+ Hits            936     1133     +197
- Misses          315      367      +52
- Partials         36       57      +21

Impacted Files
Coverage Δ

...main/java/seedu/address/commons/core/Messages.java
0.00% <ø> (ø)

...java/seedu/address/logic/commands/FindCommand.java
100.00% <ø> (ø)

src/main/java/seedu/address/model/Model.java
100.00% <ø> (ø)

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/UiManager.java
0.00% <ø> (ø)

.../java/seedu/address/model/util/SampleDataUtil.java
27.27% <21.42%> (+7.27%)
:arrow_up:

.../seedu/address/logic/parser/ListCommandParser.java
57.14% <57.14%> (ø)

...in/java/seedu/address/model/category/Category.java
58.33% <58.33%> (ø)

...c/main/java/seedu/address/model/person/Gender.java
58.33% <58.33%> (ø)

... and 29 more

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


Lazy import functions

Resolves #155
I went through most of the core modules and looked for imports that did not need to be global or did not need to be there at all (F401). I used https://github.com/nschloe/tuna to asses which imports are the slowest. The results are pretty stochastic, but the heaviest now are, roughly in order:

SciPy stack
NetworkX
Cheminformatics toolkits
OpenMM
versioning module

Right now, these core core imports average around 1.0-1.1 seconds on my machine:
from openforcefield.topology import Molecule, Topology
from openforcefield.typing.engines.smirnoff import ForceField

The major change here is moving the nglview import into a separate module. Previously, it was being checked every time something from openforcefield.topology was imported, even though only a fraction of the time will a visualization method be called. This should save around 0.7s seconds in the majority of workflows.

[ ] Better comparison of import times
[x] Tag issue being addressed
[ ] Add tests
[ ] Update docstrings/documentation, if applicable
[x] Lint codebase
[ ] Update changelog

Out of scope of this PR, but https://github.com/openforcefield/openforcefield/issues/617 may present an alternative to networkX.

Reaching diminishing returns with more digging, so opening this for review. I'm also punting on a more thorough comparison of import times, but can be done with something like this one-liner (after pip install tuna):
$ python -X importtime -c "from openforcefield.topology import Molecule" 2> import.log; tuna import.log


SSH-login via resource group and virtual machine name lookup fails, manually getting vm's ip works

Describe the bug
ssh-login to virtual machine fails getting ip dynamically via resource group and virtual machine name.
"Direct" ssh-login to manually look up the vm's ip address works.
Command Name
az ssh vm Extension Name: ssh. Version: 1.1.4.
Errors:
The command failed with an unexpected error. Here is the traceback:
'str' object has no attribute 'get'
Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "C:\Users\ugmf100335\.azure\cliextensions\ssh\azext_ssh\custom.py", line 66, in ssh_vm
    _do_ssh_op(cmd, ssh_session, op_call)
  File "C:\Users\ugmf100335\.azure\cliextensions\ssh\azext_ssh\custom.py", line 159, in _do_ssh_op
    op_info.ip = op_info.ip or ip_utils.get_ssh_ip(cmd, op_info.resource_group_name,
  File "C:\Users\ugmf100335\.azure\cliextensions\ssh\azext_ssh\ip_utils.py", line 36, in get_ssh_ip
    if public_ip_ref and public_ip_ref.get("id", None):
AttributeError: 'str' object has no attribute 'get'

To Reproduce:
Make sure az ssh is properly authenticated, can access the ressource group and find the vm.

az ssh vm -n vm_valid -g RG_NOT_VALID
(ResourceGroupNotFound) Resource group 'RG_NOT_VALID' could not be found.
Code: ResourceGroupNotFound
Message: Resource group 'RG_NOT_VALID' could not be found.

az ssh vm -n VM_NOT_VALID -g rg-valid
A valid resource VM_NOT_VALID in the resource group rg-valid was not found.
Please ensure the active subscription is set properly and resource exists.

Next step should work, but gives error - compare error message above.

az ssh vm -n VM_VALID -g RG_VALID

Alternative login via IP works.

az ssh vm --ip VM_IP

Expected Behavior
Gather IP information dynamically via resource group and virtual machine name and then login with ssh.
Environment Summary
Windows-10-10.0.19045-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.46.0

Extensions:
ssh 1.1.4

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

route to CXP team

@johannes-bauma-mayer Try updating to version 1.1.5 using "az extension update -n ssh"

@johannes-bauma-mayer Apologies for the late reply. Thanks for reaching out to us and reporting this issue. This issue is fixed as a part of this PR https://github.com/Azure/azure-cli-extensions/pull/6004. Updating the ssh extension by running the below command should fix it.

az extension update -n ssh

Hope this helps.

@vthiebaut10 and @navba-MSFT I updated as advised and can confirm this issue is fixed.


[REBUILD] Startup warnings

These startup warnings must be fixed before rebuild version is publicly released:
Invalid data encountered for texture Lexicon.pk3:textures/tran50.dat
Invalid data encountered for texture Lexicon.pk3:textures/tran80.dat
Unknown patch 'CONFA0' in texture 'CN00'..'CN07'
Unknown patch 'CONFA0' in texture 'CN10'..'CN17'
Unknown patch 'CONFA0' in texture 'CN20'..'CN27'
Unknown patch 'CONFA0' in texture 'CN30'..'CN37'
Unknown patch 'CONFA0' in texture 'CN40'..'CN47'
Unknown patch 'CONFA0' in texture 'CN50'..'CN57'
Unknown patch 'CONFA0' in texture 'CN60'..'CN67'
Unknown patch 'CONFA0' in texture 'CN70'..'CN77'
Unknown patch 'CONFA0' in texture 'CN80'..'CN87'
Unknown patch 'CONFA0' in texture 'CN90'..'CN97'
Unknown patch 'CONFA0' in texture 'CN100'..'CN107'
Unknown patch 'CONFA0' in texture 'CN110'..'CN117'
Unknown patch 'CONFA0' in texture 'CN120'..'CN127'
Unknown patch 'CONFA0' in texture 'CN130'..'CN137'
Unknown patch 'CONFA0' in texture 'CN140'..'CN147'
Unknown patch 'CONFA0' in texture 'CN150'..'CN157'
Unknown patch 'CONFA0' in texture 'CN160'..'CN167'
Unknown patch 'CONFA0' in texture 'CN170'..'CN177'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 76: Unknown class name 'CS2ZombieMan'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 79: Unknown class name 'Epic1A8'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 82: Unknown class name 'AAA32'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 99: Unknown class name 'CS2ShotgunGuy'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 102: Unknown class name 'Epic1A11'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 105: Unknown class name 'AAA31'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 122: Unknown class name 'CS2ChaingunGuy'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 125: Unknown class name 'Epic1A9'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 128: Unknown class name 'AAA30'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 145: Unknown class name 'ValiantImp'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 148: Unknown class name 'Epic2A36'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 151: Unknown class name 'AAA29'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 169: Unknown class name 'LexiconEvilMarine'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 172: Unknown class name 'HLC_WolfensteinSS'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 175: Unknown class name 'Epic2A39'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 178: Unknown class name 'AAA33'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 194: Unknown class name 'ValiantDemon'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 197: Unknown class name 'AAA27'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 213: Unknown class name 'ValiantSpectre'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 216: Unknown class name 'AAA28'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 231: Unknown class name 'AAA26'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 247: Unknown class name 'Epic1A10'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 250: Unknown class name 'AAA17'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 267: Unknown class name 'ValiantLostSoul'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 270: Unknown class name 'Epic2A37'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 273: Unknown class name 'AAA25'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 290: Unknown class name 'ValiantPainElemental'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 293: Unknown class name 'Epic2A38'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 296: Unknown class name 'AAA24'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 313: Unknown class name 'ValiantPyroDemon'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 316: Unknown class name 'AAA23'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 319: Unknown class name 'SD20x6A3'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 334: Unknown class name 'AAA16'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 350: Unknown class name 'ValiantArachnotron'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 353: Unknown class name 'AAA120'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 368: Unknown class name 'AAA19'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 385: Unknown class name 'ValiantSuperMancubus'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 388: Unknown class name 'AAA22'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 391: Unknown class name 'SD20x6A4'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 407: Unknown class name 'ValiantCybruiser'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 410: Unknown class name 'AAA15'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 425: Unknown class name 'AAA14'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 773: Unknown class name 'Mayhem17HealthBonus'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 780: Unknown class name 'Epic2A31'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 787: Unknown class name 'SD20x7A13'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 822: Unknown class name 'Mayhem17ArmorBonus'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 829: Unknown class name 'Epic2A32'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 836: Unknown class name 'SD20x7A1'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 869: Unknown class name 'Epic2A9'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 892: Unknown class name 'Epic2A6'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 916: Unknown class name 'Mayhem17Soulsphere'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 923: Unknown class name 'SD20x7A10'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 952: Unknown class name 'Mayhem17GreenArmor'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 959: Unknown class name 'SD20x6A1'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 987: Unknown class name 'Mayhem17BlueArmor'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1010: Unknown class name 'Mayhem17Megasphere'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1034: Unknown class name 'MayhemInvulnSphere'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1041: Unknown class name 'SD20x6A8'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1069: Unknown class name 'Mayhem17BlurSphere'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1093: Unknown class name 'Epic2A29'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1100: Unknown class name 'SD20x6A9'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1128: Unknown class name 'Mayhem17Berserk'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1147: Unknown class name 'ValiantSpiderMastermind'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1229: Unknown class name 'Epic2A24'
"Lexicon.pk3:actors/_replacercode/replacer.txt" line 1232: Unknown class name 'SD20x6A2'
"Lexicon.pk3:fontdefs.txt" line 3: PAN_T: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 4: PAN_L: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 5: PAN_M: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 6: PAN_R: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 7: PAN_B: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 9: PAN_24: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 12: PAN_24C: Unable to find texture in font definition for PANELFONT
"Lexicon.pk3:fontdefs.txt" line 64: FONT3__2: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 65: FONT3__3: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 66: FONT3__5: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 67: FONT3__9: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 68: FONT3__A: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 69: FONT3__B: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 70: FONT3__C: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 71: FONT3__D: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 72: FONT3__E: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 73: FONT3__F: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 74: FONT3__L: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 75: FONT3_PR: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 76: FONT3__1: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 77: FONT3__Q: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 78: FONT3__P: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 79: FONT3__R: Unable to find texture in font definition for SONICFONT
"Lexicon.pk3:fontdefs.txt" line 121: FONT5__2: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 122: FONT5__3: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 123: FONT5__5: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 124: FONT5__9: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 125: FONT5__A: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 126: FONT5__B: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 127: FONT5__C: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 128: FONT5__D: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 129: FONT5__E: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 130: FONT5__F: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 131: FONT5__L: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 132: FONT5_PR: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 133: FONT5__1: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 134: FONT5__Q: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 135: FONT5__P: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 136: FONT5__R: Unable to find texture in font definition for SONICFONTHD
"Lexicon.pk3:fontdefs.txt" line 178: FONT6__2: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 179: FONT6__3: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 180: FONT6__5: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 181: FONT6__9: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 182: FONT6__A: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 183: FONT6__B: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 184: FONT6__C: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 185: FONT6__D: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 186: FONT6__E: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 187: FONT6__F: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 188: FONT6__L: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 189: FONT6_PR: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 190: FONT6__1: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 191: FONT6__Q: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 192: FONT6__P: Unable to find texture in font definition for SONICFONTVR
"Lexicon.pk3:fontdefs.txt" line 193: FONT6__R: Unable to find texture in font definition for SONICFONTVR
Skin 'heckcube.png' not found in 'HeckCube'
Skin 'heckcube2.png' not found in 'HeckCube'
Skin 'heckcube_runes.png' not found in 'HeckCube'
Skin 'heckcube.png' not found in 'HeckCube'
Skin 'heckcube2.png' not found in 'HeckCube'
Skin 'heckcube_runes.png' not found in 'HeckCube'
Skin 'heckcube_runes2.png' not found in 'HeckCube'

Commit 0005d8a removed most of these errors, the only ones left are the replacer code errors.


cmake error

CMake Error at /home/futura/ti-processor-sdk-linux-am437x-evm-<IP_ADDRESS>/linux-devkit/sysroots/x86_64-arago-linux/usr/share/cmake-3.6/Modules/FindX11.cmake:439 (message):
Could not find X11
Call Stack (most recent call first):
src/CMakeLists.txt:186 (find_package)

Which distro are you using? Building the glfw library requires X11 library to be present in the system. So, you need to find the package for your distro that provides the X11 library.

No ti forum talks about this as it won't support x11. In such case what should i do?

If the target Linux system doesn't provide X11 or Wayland then GLFW will currently not work there. Sorry.

echo $XDG_SESSION_TYPE

Closing this as there doesn't seem to be anything to do.


@FeignClient custom configuration doesn't seem to take effect

I have two feign client class in my project,one is PersonClient,and the other one is StoreClient.
I want to config each of them with two configuration classes.
Here below is the source code.
@FeignClient(name = "personClient",serviceId = "person-service",configuration = PersonFeignConfig.class)
//@FeignClient(name = "person-service",fallback = PersonHystrixCommand.class)
public interface PersonClient {
    @RequestMapping("/person/say")
    String say(@RequestParam("word") String word);

    @RequestMapping("/person/sayError")
    String sayError();

    @RequestMapping("/person/sayHi")
    String sayHi();
}

the config class is
public class PersonFeignConfig {
    private Logger LOGGER = LoggerFactory.getLogger(PersonFeignConfig.class);

    @Bean
    @Scope("prototype")
    Request.Options options() {
        LOGGER.info("PERSON FEIGN CONFIG ");
        return new Request.Options(1, 1);
    }
}

@FeignClient(name = "personClient",serviceId = "person-service",configuration = PersonFeignConfig.class)
//@FeignClient(name = "person-service",fallback = PersonHystrixCommand.class)
public interface PersonClient {

    @RequestMapping("/person/say")
    String say(@RequestParam("word") String word);

    @RequestMapping("/person/sayError")
    String sayError();

    @RequestMapping("/person/sayHi")
    String sayHi();
}

configuration class is
@Configuration
public class StoreFeignConfig {
    private Logger LOGGER = LoggerFactory.getLogger(StoreFeignConfig.class);

    @Bean
    @Scope("prototype")
    @Primary
    Request.Options options2() {
        LOGGER.info("STORE FEIGN CONFIG");
        return new Request.Options(5000, 5000);
    }
}

In my opinion, call PersonClient should not get response.because i've configed the connectTimeoutMillis 1ms and readTimeoutMillis 1ms.
but it always returns response code 200.
CODE URL: https://github.com/eacdy/test
WHAT's wrong with the code?Could you help me?

try to put those configuration classes out of application's @ ComponentScan.
From documentation

The FooConfiguration has to be @Configuration but take care that it is not in a @ComponentScan for the main application context, otherwise it will be used for every @FeignClient. If you use @ComponentScan (or @SpringBootApplication) you need to take steps to avoid it being included (for instance put it in a separate, non-overlapping package, or specify the packages to scan explicitly in the @ComponentScan).

@bilak  I've moved the two config classes, it still wouldn't work

Can you show us how you moved it out of your application's component scan?  Something that can be a little tricky.

I've moved the two config classes .
CODE URL: https://github.com/eacdy/test

@eacdy serviceId is deprecated and have both is causing problems.
@FeignClient(name = "personClient",serviceId = "person-service",configuration = PersonFeignConfig.class)

should be changed to:
@FeignClient(name = "person-service",configuration = PersonFeignConfig.class)

@spencergibb thank you very much, problems are resolved.

I have a similar problem.
I have two different feign client class but feign name is same(call the same  one  service),After seeing this article,I've moved the two config classes,but the problem remains.
and I try to modify use using two non feign names,the problem has been solved.
so? call the same  one  service must be used a same config classes??

@luny52 I dont see how you problem is similar.  Please open a separate issue with your question as well as an example project.

@ryanjbaxter   ok


fix(curriculum): Attribute order shouldn't matter Music Player

Attribute order shouldn't matter Music Player Step 72 #53130
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #53130

Hey @DivyaMaddipudi !
It looks like a couple of reviews were left for this PR
Did you have any questions about what changes needed to be made?

Thanks for your contribution, @DivyaMaddipudi.
We've moved on from this cuz another PR has fixed the issue.


Karma/Phantom tests not supporting es6

I'm being able to use es6 to my ionic project but I can't test code written with es6 when running gulp karma. I've tried installing karma-es6-shim hopping that it would do the trick but was not effective.
When testing a arrow function I'm getting:
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
  SyntaxError: Unexpected token '>'
  at app/main/services/list-serv.js:36

Does anyone run through the same problem?

Hi @adolfosrs, you could check out other setups for karma using ES6 and then adapt the karma.conf.js https://github.com/mwaylabs/generator-m-ionic/blob/master/generators/app/templates/karma.conf.js.
It shouldn't be too hard I think! Let me know if you find something :)

Hi @adolfosrs ! Trust you doing well and in a good health. Could you please share some source code to see how you added ES6 support for this boilerplate?

I've added ES6 support to the boilerplate produced by this Yeoman generator. It's working for Karma, ESLint and gulp build. The only more work left is to add support for ES6 imports (which based on my understanding needs Browserify and Babelify).
As for fixing the error with Karma, you'll need to add install "karma-babel-preprocessor" through node and the following piece of code to your karma.conf.js file:
preprocessors: {
  'app/**/templates/**/*.html': ['ng-html2js'],
  'app/!(bower_components)/**/*.js': ['babel'],
  'test/karma/**/*.js': ['babel']
},
babelPreprocessor: {
  options: {
    presets: ['es2015'],
    sourceMap: 'inline'
  },
  filename: function (file) {
    return file.originalPath.replace(/\.js$/, '.es5.js');
  },
  sourceFileName: function (file) {
    return file.originalPath;
  }
},

You can also have a look at how I set everything up in my project here: https://github.com/jairemix/ionic1-es6-starter

Inactive.


ClojureScript support?

I don't suppose there is planned ClojureScript support, is there? I'm working on a CLJS app right now and writing the Foursquare API functions, maybe I could extract them into this library in the future? I'm using cljs-ajax for AJAX support, which is just a wrapper for the goog.net.XhrIo namespace.

@bsima Sorry for lateness, was away.
Clojurescript support wasn't part of the original plan, but I will put it into the roadmap.


bug: Colors issue

Did you check docs and existing issues?

[X] I have read all the flash.nvim docs
[X] I have searched the existing issues of flash.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
0.9.2
Operating system/version
Any
Describe the bug
I am use Material color theme
https://github.com/marko-cerovac/material.nvim
And something wrong with my high colors by default.
Its look is terrible for use.

Could you advice hot to make it user friendly?
Steps To Reproduce
Just run
Expected Behavior
return {
  {
    "folke/flash.nvim",
    event = "VeryLazy",
    ---@type Flash.Config
    opts = {

      modes = {
        char = {
          jump_labels = false,
          highlight = {
            backdrop = true,
            groups = {
              match = "Blue",
              label = "Red",
            },
          },
        },
      },
    },
  -- stylua: ignore
  keys = {
    { "s", mode = { "n", "x", "o" }, function() require("flash").jump() end, desc = "Flash" },
    { "S", mode = { "n", "x", "o" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" },
    { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" },
    { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" },
    -- { "<c-s>", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" },
  },
  },
}

Ohh sorry
I find the same issue on Material theme repo
https://github.com/marko-cerovac/material.nvim/issues/171

Yeah, the theme needs to be fixed, or you can do it manually.
The hl groups are mentioned in the readme


Difference about adding eval or not

In MNIST main.py, there are function calls of eval.
mx.eval(model.parameters()) # L66

mx.eval(model.parameters(), optimizer.state) # L76

But I can also remove the eval and everything works fine.
From the document

Operations in MLX are lazy. The outputs of MLX operations are not computed until they are needed. To force an array to be evaluated use eval().

So what is the difference here if I remove the two eval calls in main.py?

Performance
Correctness

When doing eval the arrays are computed at that time. Otherwise they are computed when needed. In the MNIST example, when removing eval, the arrays are computed when printing the loss for instance. I will add a small example to help me explain what happens:
model = MyAwesomeModel()
# At this point model.parameters() is not evaluated.
# We simply have a lot of arrays that when evaluated
# will result in randomly initialized weights.

for iteration, batch in enumerate(my_dataset):
    loss, grad = loss_and_grad_fn(model, batch)
    # Still nothing evaluated. Loss is the forward pass and grad are
    # arrays that when evaluated will run the backward pass.

    optimizer.update(model, grad)
    # Still nothing evaluated. The parameters now are arrays that
    # when evaluated will do 1 gradient update.

    if ((iteration + 1) % 10) == 0:
        print(loss)
        # Now this will evaluate the 10th loss value. In order to do that, it will
        # do 10 forward passes and 9 backward passes. It will also initialize
        # the random weights in the beginning.

So I hope the example above is somewhat illuminating. In theory we don't care about when an array is evaluated. However it may affect the performance as we may end up evaluating huge huge graphs in the background if we evaluate once every 10 steps for instance. Imagine a 10 layer network evaluated every 10 steps. The computation graph that exists in the background may be several thousand operations. Just processing this graph in order to evaluate it may have some overhead.
Another reason it may affect performance is the unnecessary keeping of arrays in memory because of partial evaluation. As an example image the following situation:
x = mx.random.rand(shape=(1024, 1024))
y = x.sum(0)
z = x.sum(1)
# So far nothing is evaluated (not even x)
print(y)
# Now y is obviously evaluated and in order to do that we evaluated x.
# However, z is not evaluated and as a result we need to keep x in memory
# because it is needed to evaluate z.
#
# Evaluating both y and z makes the needed memory 2048 floats rather than 1M floats.

@angeloskath what motivated the choice of lazy evaluation? Do you have a reference for understanding the benefits of this, particularly for ML?

I honestly think that the lazy evaluation is one of the coolest things about MLX. It allows us to do some things simply and efficiently that would be cumbersome otherwise.
It is for sure not the only one, but one example that everyone benefits immediately from is initializing big models and then loading their weights without actually initializing them randomly. To achieve the same in PT one would need to initialize the model on the "meta" device and then load the weights on the correct device and then update the model. The simple pattern of model = MyModel(), model.load_state_dict(torch.load("path", map_location="cpu")) and model.to(device) can be quite slow in comparison.
Importantly, it also allows us to have behaviors similar to compiled/static graph frameworks like Jax without imposing a static graph. mx.simplify is a good first example. We quickly go through the graph and eliminate some redundant computation but do not require the user to "jit" anything. Another one is our function transformations. You never deal with "symbolic" arrays in MLX function transformations. This means you can print, put a breakpoint have loops and ifs that depend on the values of arrays (like in PT) all being into a function transformation.
The main thing is that it should be completely transparent to the user except for the need to call mx.eval once in the training loop.

Damn, that's really cool thanks for enlightening me. Honestly lazy evaluation deserves more of a shoutout in the docs, perhaps with examples like you've given here. I think a lot of people don't really understand the benefits or how to deal with it

Thanks for the detailed explanation. I have the feeling that no eval related operations called will introduce a larger graph when we keep adding operations. So it seems we need to be aware of when we should add related eval operations.


Postgres - custom tablespace for schema history table not working

Which version and edition of Flyway are you using?
6.0.0
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Gradle Plugin
Which database are you using (type & version)?
Postgres 10.x and Postgres 11.x
Which operating system are you using?
Linux
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
Not taking provided custom tablespace, picking up the default one.
What did you expect to see?
It should use the provided tablespace in flyway config file. flyway.tablespace=abc
What did you see instead?
Migration  failed
SQL State  : 42501
Error Code : 0
Message    : ERROR: permission denied for tablespace xyz
Location   :  ()
Line       : 14
Statement  : ALTER TABLE "postgres"."flyway_schema_history" ADD CONSTRAINT "flyway_schema_history_pk" PRIMARY KEY ("installed_rank")
ERROR: permission denied for tablespace xyz

Can you verify that your permissions are set up correctly for using your abc tablespace? You could do this by manually running a script against the DB with the credentials you're using with Flyway. e.g:
CREATE TABLE foo(i int) TABLESPACE abc;

@MikielAgutu Thank you for quick response. My bad, the issue is I provided flyway.tablespace=abc but it is still taking default tablespace xyz and throwing exception for that default tablespace. I have updated the issue description

I'm having trouble reproducing this. Can you check the environment variable (FLYWAY_TABLESPACE) is not set?
Can you also clarify what you mean by 'default tablespace', particularly how xyz has become the default. Are you setting the default via SET default_tablespace, or do you mean the built in pg_default? Could you also send me your config file? Thanks :)

I have the existing database having 4 tablespace xyz, abc, lmn, qwe and I want to execute flyway on tablespace abc but its picking xyz. Yes you can say xyz is default like pg_default.
Could you please let me know how to print environment variable? I am using gradle and didn't get much at above link.
My flyway.conf file
flyway.url=jdbc:postgresql://<IP_ADDRESS>:5432/postgres
flyway.schemas=postgres
flyway.baselineOnMigrate=true
flyway.tablespace=abc

Can you review your entire configuration and ensure the tablespace option isn't set anywhere other than your flyway.conf file? You can read how to configure Gradle on this docs page.
In particular note at the end of the document the overriding order:

Settings are loaded in the following order (higher items in the list take precedence over lower ones):

System properties
Environment variables
Custom config files
Gradle properties
Flyway configuration section in build.gradle
<user-home>/flyway.conf
Flyway Gradle plugin defaults

It could be that you have specified it in one of those places and it's overriding your flyway.conf.
If you've set your flyway.conf using the -Dflyway.configFiles system property, then the first two items on the list could be overriding it. If your flyway.conf lives in <user-home>/flyway.conf then the first 5 items on the list could be overriding it.

Could you please let me know how to print environment variable?

These are just normal system level environment variables, acesses to them is OS dependent. You're using Linux so I assume printenv | grep FLYWAY is what you need.

Can you review your entire configuration and ensure the tablespace option isn't set anywhere other than your flyway.conf file? You can read how to configure Gradle on this docs page.
In particular note at the end of the document the overriding order:

Settings are loaded in the following order (higher items in the list take precedence over lower ones):

System properties
Environment variables
Custom config files
Gradle properties
Flyway configuration section in build.gradle
<user-home>/flyway.conf
Flyway Gradle plugin defaults

It could be that you have specified it in one of those places and it's overriding your flyway.conf.
If you've set your flyway.conf using the -Dflyway.configFiles system property, then the first two items on the list could be overriding it. If your flyway.conf lives in <user-home>/flyway.conf then the first 5 items on the list could be overriding it.

Could you please let me know how to print environment variable?

These are just normal system level environment variables, acesses to them is OS dependent. You're using Linux so I assume printenv | grep FLYWAY is what you need.

Thank you, let me try this.

Any news?

@alextercete not tried above solution yet.. will try over the weekend and let you know.

@MikielAgutu I checked with printenv from my jenkin and didn't find any flyway environment variable. I proceeded with the workaround by executing history table manually. On local I created new tablespace and provided in config and worked for me. Now Checking with access issue with my infra team for higher environments. @MikielAgutu @alextercete Thank you for you help and follow up


Add 'Add More' button OR pagination to fetch more images/gifs

For now it is fetching 25 content from the api. It would be nice to have a button with plus icon in it at the very end of the page to fetch more content.  Or if you prefer pagination would work too.

Im going to take up this issue instead of the other one as this one seems to be easier for me.
Should be done within a week.

I created a pull request for this issue

@furkanmutlu
Hey, I haven't heard from you in a while, but I did push the changes: a820500afddc372e82257ec123d0a4c9b9acd858

@rd-code-23  Sorry for the late response, I was on holiday. I will take a look at it today or tomorrow. Thanks :)

@furkanmutlu did you get a chance to look?


STOR-952: Rebase 1.3.5

Diff from upstream: https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/compare/v1.3.5..bertinatto:rebase-1.3.5
Changelog since 1.2.7: https://github.com/kubernetes-sigs/gcp-filestore-csi-driver/blob/master/CHANGELOG/CHANGELOG-1.3.md
There are no new features since 1.27, only bug fixes. However, we need to do a full range test because this CSI driver is new in 4.12 and wasn't previously tested by our QE.
CC @openshift/storage

/lgtm


Update jsoniter-scala-core, ... to 2.17.1

Updates

com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-core
com.github.plokhotnyuk.jsoniter-scala:jsoniter-scala-macros

from 2.17.0 to 2.17.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.plokhotnyuk.jsoniter-scala" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.github.plokhotnyuk.jsoniter-scala" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #166.


SDC catalog app: Show skip logic behavior

Is your feature request related to a problem? Please describe.
Demonstrate to developers how the SDC skip logic behavior works.
Describe the solution you'd like
Add skip logic as a widget in the behavior tab. Skip logic should show a realistic example of how skip logic works. Example: By selecting yes on the first question, the second question appears. If no is selected, the question does not appear.
Additional context
Open to feedback on what we should show. Designs are WIP.

@shelaghm Informative UI for skip logic behavior at the bottom of screen, It will be the part of app or need to add component in SDC?

@PallaviGanorkar the informative UI was intended to show up in the SDC Catalog app, but not in deployment apps. The idea behind the grey box is to help visualize the skip behavior that's "invisible" on screen, but can be found in the code. In the library itself the skip logic informative UI would not be displayed.
@jingtang10 Curious to hear your thoughts?

yeah i agree this grey box can be a thing in the catalog app.
no need to implement it in the sdc lib.

for 2. releated ticket: https://github.com/google/android-fhir/issues/1528 but i don't think they're the same now...

@jingtang10
Yes, this is the same grey box as the help text box. We don't need to use the icon for this box, so can remove that if it adds a lot of complexity
Yes, I suggest we use terminology that aligns with FHIR, so lets update this component to enable when as you suggested

@PallaviGanorkar will look into if we can use dynamic text to replace the Help header text. If that's not possible, then we use a simpler text box such as option 1 described by Jing above.

Skip logic text in box: "If Yes is selected, a follow-up question is displayed. If No is selected, no follow-up questions are displayed."

@shelaghm  I have used info icon from https://fonts.google.com/icons?selected=Material Icons%3Ainfo%3A
Please let me know if any change required in icon

@shelaghm Please find attached screenshot below, info grey box is displayed at the bottom of screen as other UI on the screen is rendered from SDC lib and i don't have reference to particular UI component from Catalog App

@PallaviGanorkar this looks good to me!

@shelaghm Setting icon on the right top of the screen, is there any functionality expected on click of this icon?

@PallaviGanorkar the settings/gear icon is used to display error states
I don't believe we want to show error states for this screen as skip logic is a behavior and there's no error state associated with it. We can remove the gear icon from this screen unless there's some other functionality we want to show under the gear icon?
@jingtang10 @santosh-pingle what do you think?

@shelaghm sgtm! thanks.
just to summarise - we are putting this in the catalog app (instead of using the help item control and rewrite the questionnaire) because of the "skip logic" title in the grey box. if we want to just reuse the help item control, the title would not be configurable to "skip logic".
pallavi has already done this in her latest udpate for the pr.
and the gear icon has been removed.

Sounds good. Thanks for the update!


fix Enable common expr pushdown in the restore inverted idx case

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #45283
Problem Summary:
set enable_common_expr_pushdown = false will affect the execution of match_any
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?


Alt+Space has been reserved since Windows 3? or Windows 95?

Alt+Space has brought up the window menu since at least Windows 95, maybe Windows 3 or even earlier. PowerToys should not override this keyboard shortcut.

@sitecorejohn
tracked in https://github.com/microsoft/PowerToys/issues/5331


Link hedaer, how to specify multiple uris

Request type
Correction or update
Details
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link
I think you should say how to specify multiple uris.
Based on this answer
https://stackoverflow.com/questions/25369191/http-response-headers-multiple-link-values
I belive this would be the right way
Link <https://one.example.com>; rel=preconnect, <https://two.example.com>; rel=preconnect, <https://three.example.com>; rel=preconnect

Good idea; added: https://wiki.developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Link#Examples
Do you think this looks OK?


NOT FOUND page

Proposal
Show not found page if the route is incorrect

@purnima143 @codewithvk  please assign it

@Subham142 Do you design 404Error page or just want to create a route?

@codewithvk  i'll make the route + the page +the styling


Implement enumerators

Another important features are enumerators. Making them known should be trivial. Providing access to their members will be hard.

https://taylorconor.com/blog/enum-reflection/


Add Rajeev to seed

Review app deployed to https://teaching-vacancies-review-pr-3081.london.cloudapps.digital


Add workflow steps beta documentation

Summary
Supports the open beta launch of workflow steps from apps (https://api.slack.com/workflows/steps).
This is in place while a more native Bolt for JavaScript API is developed.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

Screenshot of the navigation menu with the new beta options


bug(grasshopper): StreamGet resolves Stream Id with default Account not the account provided

Prerequisites

[x] I read the contribution guidelines
[x] I checked the documentation and found no answer.
[x] I checked existing issues and found no similar issue.
[x] I checked the community forum for related discussions and found no answer.
[x] I'm reporting the issue to the correct repository (see also speckle-server, speckle-sharp, specklepy, speckle-docs, and others)

What package are you referring to?
RhinoGH
Describe the bug

User expectation would be that passing a String ID per the property label and providing an account would resolve to the Server Stream.
Instead, the Node uses the Default Account server to resolve a Stream ID, not the provided account property.
Providing a Stream Url including the ID resolves to a stream as expected.

Closing this ticket as we are moving to Jira to reduce noise. You can access it there.


download m4s segment with mpd mpeg-dash

Hi,
i want to download a VOD from an mpd file but i have many problems
this is the link of mpd file
https://neunlds1610lon.akamaized.net/nlds_vod/osn/vod/drm/nlncp/2019/06/21/0135e6f4-54d4-3de4-9189-fceb0ac87980/v1/stream/0135e6f4-54d4-3de4-9189-fceb0ac87980_1_pc.mp4.mpd
there is many segments m4s like this
https://neunlds1610lon.akamaized.net/nlds_vod/osn/vod/drm/nlncp/2019/06/21/0135e6f4-54d4-3de4-9189-fceb0ac87980/v1/stream/0135e6f4-54d4-3de4-9189-fceb0ac87980_1_3000_video/Time=2532000.m4s
and i think that the file is also encrypted
so i have used youtube-dl, dashproxy, ismdownloader and streamlink. none of them has helped me.
Thank you

You can't, it's DRM protected.

i know but how to download all segments m4s ?


feat: add files for distributed_classification

Files for LLM script classification

Please avoid encoding multiple pieces of information in strings by joining with _ or -. Use tuples, namedtuples, or frozen dataclasses insteadl.

Consider adding type annotations to the code, these work great as documentation (and help coding easier overall by empowering autocomplete).


Pendragon 6th Edition - Version 1.1

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[x] I have followed the Character Sheets Standards when building this sheet.

[x] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Quality of life css styling that is backwards compatible.

Character Sheet Info Roll20 Internal Use only.

Good to see you around @clevett

Good to see you around @clevett

I'm not here. You see nothing. ;)


Minnesota Ed-Fi API/ODS Extensions for 2021-22

Sharing Minnesota's Ed-Fi MetaEd extensions for 2021-22 per request from the Ed-Fi Alliance.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@davidreeg I think we had a process failure at Ed-Fi on this pull request. I see that you closed it two weeks ago. Would you like to re-open it? The only caveat is that you would need to sign the commit.


Zasm wrong jump calculation

Hello,recently I have faced a problem with incorrect jump encoding.Do not think about the sense of the god it is just an example.
` Program program(MachineMode::I386);
x86::Assembler assembler(program);
auto label = assembler.createLabel();
ASSERT_EQ(assembler.jmp(label), Error::None);
for (int i = 0; i < 100; i++)
ASSERT_EQ(assembler.nop(), Error::None);
ASSERT_EQ(assembler.bind(label), Error::None);
ASSERT_EQ(assembler.int3(), Error::None);
ASSERT_EQ(assembler.align(Align::Type::Code, 10), Error::None);
Serializer serializer;
ASSERT_EQ(serializer.serialize(program, 0x0000000000401000), Error::None);`
My jmp should went to int3 instruction but it goes 3 bytes futher.I looked at the source code of zasm and noticed possible incorrect logic(I think).When jmp is encoding first time its size is 5.But on extrapass its value 2(cause now we already have bounded label and it changes from far jmp to short).So now ctx.drift is 3 and we should run pass one more time.But because of aligning at the end of the code drift becomes 0(3 - 3).And now zasm does not run the third pass (despite aligning happens not in range of our jmp)and he thinks that offset of int 3 is still 105 instead of 103.Am I doing something wrong or it is a bug?
P.S.Code is just an example dont take it as smth meaningful.

Dont pay attention to ASSERT_EQ I just copied some code from google test,rewrite and forgot to delete these macros

Thanks for the report, I'll look into it once I get a bit of time.

Should be fixed, thanks again.

Sorry to be late.But may we remove ctx.drift calculation and variable itself?Zasm never uses drift anymore?Or you are planning to rewrite code to use drift in the end?

I mean calculation at lines   135 140 173 178 and drift variable declaration at line 506 ?


Login is broken on some types of mobile phones

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
If in override/config.json set DefaultServerUrl and set AutoSelectServerUrl to true, after login, channel data is not loading.
Environment Information

Device Name: Samsung Galaxy S10 - SMG973F
OS Version: Android 10
Mattermost App Version: 1.36.0
Mattermost Server Version: 5.28.0

Steps to reproduce
If in override/config.json set DefaultServerUrl and set AutoSelectServerUrl to true, after login, channel data is not loading.

Observed behavior
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.

Possible fixes
If you try to remove clear settings in override/config.json, then you will try to write server url address by yourself without autoselection, server will load without any problem.

@Temirtator Are you using the app in English or in another language?

@Temirtator Are you using the app in English or in another language?

I am using application on russian language

@Temirtator Are you still seeing this issue with the latest version of the beta (V2)?


Support additional DNS providers

I found a Terraform example from Hashicorp of using ExternalDNS to create DNS records for external services.  Here is a video demonstration linked by the example article.
ExternalDNS supports CloudFlare, AWS, GCP, Azure, DO and many more.
A related issue #189 requests OVH support , which ExternalDNS also supports.
This is a duplicate of issue #206, which was closed as out of scope.  I thought that this example might be more motivating than the previous issue.  However, if this issue is still considered out of scope, feel free to close.

Hey @brl0, thank you for all your contributions to QHub.
It is funny you suggest this now because I was about to ask about the use/implementation of additional DNS registers, besides Cloudflare for the docs.
Is this something you'd be willing to work on implementing? I have no idea how much work it will be but I think it would be quite a nice addition to QHub. We can add it to the tech-discussion meeting and see the next steps if you are.

Honestly, this is not something I am likely to work on anytime soon.
I would however suggest keeping this issue open as I still think it is a worthwhile consideration for expanding DNS support.

Moving this to icebox for now as it's not currently in our roadmap


flashprint: 5.8.0 -> 5.8.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/flashprint/versions.
meta.description for flashprint is: Slicer for the FlashForge 3D printers
meta.homepage for flashprint is: https://www.flashforge.com/
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.8.1 with grep in /nix/store/awi3l6gxjlc904y6qsj9vckf9hrlpg9h-flashprint-5.8.1
found 5.8.1 in filename of file in /nix/store/awi3l6gxjlc904y6qsj9vckf9hrlpg9h-flashprint-5.8.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
flashprint

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/awi3l6gxjlc904y6qsj9vckf9hrlpg9h-flashprint-5.8.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A flashprint https://github.com/r-ryantm/nixpkgs/archive/2ffd899107b83d04999cb1cca19e0e14d28c3742.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/2ffd899107b83d04999cb1cca19e0e14d28c3742#flashprint

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/awi3l6gxjlc904y6qsj9vckf9hrlpg9h-flashprint-5.8.1
ls -la /nix/store/awi3l6gxjlc904y6qsj9vckf9hrlpg9h-flashprint-5.8.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

flashprint

Maintainer pings
cc @ianliu for testing.

@ofborg eval


switch to debug from info to produce less noise

Blindly switched most frequently appearing messages to debug. I'll verify the resulting log

Yep, that looks ok to me by looking at logs

so we might want to info! some operations later, but definitely not all of them.

I left in place messages like "scheduling metadata upload", so it may be enough already :)


In editor, Animation Frames displayed on SpriteFrames do not respect filtering settings

Godot version
v4.0.beta2.official [f8745f2f7]
System information
Windows 10
Issue description
In the Spriteframes object, displayed animation frames do not respect filtering settings in the editor.  This can result in the preview showing bleed from edges which is not present in the actual sprites, even if 'fix alpha border' is enabled.

Steps to reproduce
Import a texture for an animated sprite, look at it in the editor.
Minimal reproduction project
sprite_frames_v4b2.zip

Duplicate of https://github.com/godotengine/godot/issues/57550.


[Feature Request]: Important Improvement in the layout of few games

How would you like to enhance the existing project.
Issue
Important Improvement in the layout of few games
Description
Few of games does not appear user engaging and attractive as its elements are not properly oriented.
Current behavior
Here container is only half of the page

Here layout is looking clumsy

Desired Behavior
I would add my skills to enhance its appearance so that it would become more clean, eyecatching and user engaging.
I want to work on this.
Please assign this work to me.
Describe breifly how would you implement the same.
Steps to solve this issue.

I would give proper orientation to all elements.
I would work on the appearance of the page to make it more appealing.
Features of html , CSS , Javascript will be applied.

In the middle of the work, I would provide screenshots of the work.
Are you contributing for a program?
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hi @Dimple-01 , I am assigning this task to you. Kindly complete your work within a week. Good luck!


Switch over to using SCons

While CMake is fine as a build tool, at a later stage more dynamic project functionality (such as different build configurations per subproject, shader & other asset compilation, asset packaging, etc.) will be needed, which is hard to achieve using just CMake. Thus some external logic will be required either way, which SCons does already.
SCons also seems to be easy to integrate into IDEs via compilation databases and such.

Scratch that, SCons will require external tooling as well, CMake is fine for now


Got a project conflict in Beta

Working on project in MakeCode with Github. As I'm writing the markdown, it tells me that there's a conflict and updates it to copy-copy-copy-copy (from copy-copy-copy that it used last time).
The open makecode tabs were:

tutorial-tool
extension playground
asset tool
the project mentioned above
the skillmap that resulted from that project
(https://arcade.makecode.com/beta--skillmap#github:kiki-lee/beg-split/rockstar)

I did a clear-cache refresh on both 4 & 5 immediately before this happened, and one with Eric a few minutes before.
New Edge on Mac

It's still happening.  It just added another -copy.  Here's the message in the console:
—-
Creating Application Cache with manifest https://arcade.makecode.com/beta---manifest
beta#:1 Application Cache Checking event
pxtapp.js:1 Browser: chrome 93.0.4577.63 on mac
beta#:1 Application Cache Error event: Invalid or missing manifest origin trial token: https://arcade.makecode.com/beta---manifest
pxtapp.js:1 workspace: browser
beta#:1 Error while trying to use the following icon from the Manifest: https://arcade.makecode.com/blob/a5c2c65b442096a29b7c686a8b6c8e02b5b35cea/<EMAIL_ADDRESS>(Download error or resource isn't a valid image)
pxtapp.js:1 PouchDB adapter: idb
18Failed to decode downloaded font:
18OTS parsing error: invalid sfntVersion:<PHONE_NUMBER>
pxtweb.js:1 performance report:
first JS running @ 424ms
DOM loaded @ 847ms
workspace init finished @ 6s
loading started #changeheader @ 30s
loading done #updateeditorfile @ 44s
loading done #changeheader @ 44s
loading done #updateeditorfile @ 50s
simulator ready @ 51s
	loadBlockly took ~ 314ms

trg-arcade.userpxt.io/beta---simulator#sim-frame-13090040948875347790.48466469998499306:2 [Deprecation] Application Cache API manifest selection is deprecated and will be removed in M85, around August 2020. See https://www.chromestatus.com/features/6192449487634432 for more details.
pxtsim.js:1 Simulator ServiceWorker registration successful with scope:  https://trg-arcade.userpxt.io/
trg-arcade.userpxt.io/beta---simulator#sim-frame-170284426352464348440.904247560670399:2 [Deprecation] Application Cache API manifest selection is deprecated and will be removed in M85, around August 2020. See https://www.chromestatus.com/features/6192449487634432 for more details.
pxtsim.js:1 Simulator ServiceWorker registration successful with scope:  https://trg-arcade.userpxt.io/
beta---simserviceworker:1 Installing service worker...
beta---simserviceworker:1 Opened cache
beta---simserviceworker:1 Activating service worker...
pxtapp.js:1 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('https://trg-arcade.userpxt.io') does not match the recipient window's origin ('https://arcade.makecode.com').
postMessageCore @ pxtapp.js:1
postMessage @ pxtapp.js:1
postDebuggerMessage @ pxtapp.js:1
setTraceInterval @ pxtapp.js:1
start @ pxtapp.js:1
run @ pxtapp.js:1
i.run @ main.js:1
(anonymous) @ main.js:1
Promise.then (async)
(anonymous) @ main.js:1
runSimulator @ main.js:1
(anonymous) @ main.js:1
Promise.then (async)
startSimulator @ main.js:1
restartSimulator @ main.js:1
restartSimulator @ main.js:1
onSimulatorCommand @ main.js:1
handleSimulatorCommand @ pxtapp.js:1
handleMessage @ pxtapp.js:1
listener.listener @ pxtapp.js:1
trg-arcade.userpxt.io/beta---simulator#sim-frame-220226060570794627270.04960338055168845:2 [Deprecation] Application Cache API manifest selection is deprecated and will be removed in M85, around August 2020. See https://www.chromestatus.com/features/6192449487634432 for more details.
pxtsim.js:1 Simulator ServiceWorker registration successful with scope:  https://trg-arcade.userpxt.io/

It's reproducing steadily every 5 min or so now.

Getting them again in force today.  They take all different forms, but seem to start when I'm editing my github skillmap in one window and viewing it in another.
Today, I also got this version when I didn't have any other version of this project open. Only the forest skillmaps in other tabs.

One solid repo for me: I've noticed if you switch to another Arcade tab while a cloud save is in progress, it triggers a cloud conflict. This is due to the newly focused tab's need to "take workspace ownership". When it does this, it sees a project with unsynced local changes and starts a cloud save. But the same save is already happening in the other tab, it just hasn't completed yet.
Could this match one or more of the forms you're seeing today?
Is your experience better/worse/same as before my cloud conflict fixes went in? We wouldn't want to ship it if it's worse. I'm hoping to continue making improvements and ship them incrementally.

I wouldn't say it's worse, but it's not better.  I think the saving case could account for most of the issues, expecially when working with github, since I often see it when I've clicked the button to upload to my repository.  I don't think it waits for a save to finish before it switches screens.
Also, could it have something to do with where it is in a saving cycle when flipping between Block, JS, and Asset tabs?  I'd totally believe that could be an instigating point for my other projects.

No repro in recent history.


Possible Memory Issue with ACKS=0

We use kafkajs to produce a high throughput of messages > 4,000 messages per second. For one of our workflows we use acks=0 and notice that the memory builds up quite high because the producer send request is resolved immediately. However, the message still gets placed on a queue in kafkajs (?) with a socket request (?) until it is actually sent. For this there would be a delay, however small until the message is sent, removed from the queue, and unreferenced by kafkajs to be eligible for gc. But we don't see that delay due to the send resolving immediately, asynchronously, and before the message is sent.
We use worker threads in a pool to do the producing to Kafka. We check for any backpressure on the main thread from our workers in order to pause our intake until the workers can finish producing their kafka messages and return to get more.
Since the workers return immediately from a send with acks=0, the backpressure is not detected and the memory rises until the application exits due to heap-space issues. When we make the acks=1 this no longer becomes an issue, of course, as the full round trip is executed and our application works as expected.
Is there any callback, instrumentation event, or otherwise we can use with an acks=0 in our producer in order to detect when the message is sent by the socketRequest (?) Is there a way to not have the socket expect a response but also to not resolve until the message has been actually sent by the socket and that message becomes eligible for gc?
Would that info be in the instrumentation event and we just wait on that in a listener? That can probably be done but it would likely be a smallish kludge for us to do, but we would understand if it were the only way.
Thanks for a great product! We can't wait until v16.0.0 to come out. You guys do such an amazing job.

I do think using an instrumentation event might work for you as a way to check if you need to apply backpressure. Specifically, I suspect you might be able to use the REQUEST_QUEUE_SIZE event. That'll essentially tell you how many requests are currently either in flight or waiting to be sent. You can see an example of how it's used here: https://github.com/tulios/kafkajs/blob/fbf4a178fd062c346be94a8104b9f9f28356df5f/src/producer/index.spec.js#L275-L326
It's a little cumbersome because each broker connection has an independent request queue, so I supposed you need to keep a global total, something along the lines of:
const globalRequestQueueDepth = (client: Producer | Consumer | Admin) => {
  const queues = new Map();
  producer.on(client.events.REQUEST_QUEUE_SIZE, ({ payload }) => {
    const { broker, queueSize } = payload;
    queues.set(broker, queueSize);
  });

  return () => {
    let sum = 0;
    for (const queueSize of queues.values()) {
      sum += queueSize;
    }
    return queueSize;
  }
}

const producerQueueDepth = globalRequestQueueDepth(producer)

producerQueueDepth()

Thanks Nevon, we'll take a look at that, I always took the REQUEST_QUEUE_SIZE from the documentation as a change on how many in-flights you could have but looking at socketRequest I can see I was incorrect and I like your idea. Thank you for your help!

I'm going to close this issue, but feel free to re-open if needed.

Dear guys, I met the similar problem。
Env： EC2(client): 4u8g, nodejs v14.17.6，kafkajs：1.15.0
If I set ack=1, the next request will be blocked until kafka leader response, that will lower the qps of my core business when the kafka server load is hight or some network problem happens. So I set client ack=0 to acheive that the kafka server problem should not affect my core business.
When I add 2 second delay to the network beetween client with kafka server, and send msg of 20qps（each msg 1MB） to the server, the EC2 memory increase rapidly, that result in Out of memory.
How to solve the OOM problem?

Let's say you were to have a method allowing you to send a kafka message
asynchronously receiving a callback on successful (or unsuccessful) ack.
The messages in the queue would still lead to pileup and probably more
memory issues unless backpressure was monitored and controlled via some
type of sent vs received ack ratio.
We use acks=-1 along with RD Kafka which sends at a very reasonable rate.
To detect and manage back-pressure we use the async library and set up a
queue. Lib RD is a gigantic pain in the tuckus: it doesn't work in worker
threads, is native, and has a lot of configuration details, but ultimately
provides extraordinary control over our producing (and consuming for that
matter). Using the async package's queue data structure allows us to make
each produce call concurrently (asynchronous) but wait on the promises. The
queue blocks automatically if the queue gets beyond a certain amount. It's
a wonderful package.
Also, RD Kafka provides for a very robust roll-your-own commit methodology.
However, for most applications I recommend KafkaJS as it is well abstracted
and provides simplicity to a very complex system. It also works quite well
and has very good documentation. But if speed is your game, RD Kafka is the
way to go.
On Mon, May 23, 2022 at 10:27 AM Tommy Brunn @.***>
wrote:

Reopened #1278 https://github.com/tulios/kafkajs/issues/1278.
—
Reply to this email directly, view it on GitHub
https://github.com/tulios/kafkajs/issues/1278#event-6661646647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHJRYT4FQZXMHYGHT66DC3VLOIV7ANCNFSM5NEPIOYA
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Ira Klotzko, Ph.D.
Owner and Managing Director
Irate Solutions, LLC. http://www.iratesolutions.com
http://www.iratesolutions.com201.761.9374 (c)
Skype: iklotzko
IM(google) @.** @.**>
IM(yahoo) iklotzko
IM(aim) iklotzko

Why timeout, or drop messages rather than pause the intake of data going to your producer (when max_pending_len > pending_len) ? The driver of our producer messages is a consumer from another topic and their subsequent transformations. Whenever our pending_cnt > high_water_cnt we issue a pause on our consumer. When our pending_cnt <= low_water_cnt we resume. For other applications our producer is fed from files read in, in those cases we issue a pause to the input stream.
I think separating out the async sending is a great idea, it's always good to have shorter-running tasks executing on your event queue. After your business-logic is done it's not as important to have the sending be separate as it is to encapsulate the sending into an async task put on the event queue--but perhaps that is what you are saying.
Also, KafkaJS plays very nicely in worker threads, if you are running this on a system with a sufficient core count, consider spawning worker threads (or cluster if you don't like threads) that send your messages to take advantage of parallel processing. However, just make sure your producer sends back a message saying it has completed its task so you can manage back pressure using the pending count.
Are you batching your messages into an array before sending? The performance/throughput advantages of doing that cannot be understated.
Ira


Table in iframe doesn't overflow correctly on IOS devices

Go to https://designsystem.gov.au/components/table/ on an IOS device. The overflow is not working as expected. It's likely we may need to play around with the iframe
Here are a few resources that might have the solution:
https://davidwalsh.name/scroll-iframes-ios

https://stackoverflow.com/questions/26046373/iframe-scrolling-ios-8


What's the effect of assign_lambda?

I found that removing assign_lambda had no effect on the results, and the training speed increased several times.
https://github.com/thulab/DeepHash/blob/0990a8d9760a37f5f41b0f9dbeb0173bbea614e3/DeepHash/model/dhn/dhn.py#L193-L194
Hence, what's the effect of aassign_lambda in codes?

Hi, it seems that assign_lambda is unnecessary. Thanks very much.


BF-10640 expose destroy webview

https://bloomfire.atlassian.net/browse/BF-10640

By analyzing the blame information on this pull request, we identified @mkonicek and @nicklockwood to be potential reviewers.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Sorry! Meant to merge this into my fork.


strings.Title does not handle punctuation

write new 'strings.Title'

fixed as of commit 4ce78b7b9c2f09eb632325d6d8a07071c96c0dc2


micromamba complain from @pypi_base about package incompatibility in intel macos

I use decorator @pypi_base and @batch for cloud computing a certain step.
If i understand correctly, @pypi_base utilizes micromamba to test environment compatibility locally first. The problem is when using @batch it will download pip files for linux, and my local computer is intel macos. Then micromamba will complain that some pip wheel files is not supported for my intel macos.
Do you have a work around to solve this? Micromamba only does a dry-run right, is there a way to work around?

@Shuaijun-Gao can you help me with the error message?

Can someone assign this to me? I can take a look.

We don't create the environment on your local Mac for Linux - we just do a dry run to get a list of dependencies, download those packages, and upload them to S3 if they don't already exist there.
@pypi(packages={"greenlet": "3.0.3"})
@batch
def start...

this works well for me, but I am on an M1 Mac

yeah, I tried on my friend's m1 mac, it worked. But on intel mac, the dry run will fail

Did you check if all your steps are indeed decorated with @batch?

I am seeing a very similar issue.  I have an Apply M2 and when I'm trying to deploy a job to a kubernetes cluster, Micromamba is giving me some very mysterious error:
nothing provides __glibc >=2.17 needed by libgcc-ng-11.2.0-h1234567_0

I checked mamba in general and saw similar reports when people ran on Mac M1/M2 chips.  The problem goes away completely when i run on my Linux machine.  So I'm pretty confident this is some low level issue with micromamba doing a dry run of the environment before deploying the job.

do you run into the same error if you set CONDA_OVERRIDE_GLIBC=2.27 in your environment before executing the flow?

I didn't try that.  i tried some other configurations that avoided this problem.  However the general problem still holds.  One of the dependencies i wanted to install isn't available on mac and wasn't able to progress.  This time the error is
nothing provides requested vllm 0.6.1.post2

Which I interpret as saying I can't install vllm locally during the bootstrap process.
Is there someway to skip this bootstrapping? I was hoping metaflow would let me write something I can't run locally and deploy it smoothly.

Yes, that is the expected behavior. What are the dependencies that you are
trying to install? For executions remotely, we download the packages to be
shipped to remote compute by faking the architecture of your local machine

which should work reliably. This error is usually indicative of not
specifying the conda channel where vllm is available.

On Mon, 23 Sep 2024 at 5:51 pm, Keith Stevens @.***>
wrote:

I didn't try that. i tried some other configurations that avoided this
problem. However the general problem still holds. One of the dependencies i
wanted to install isn't available on mac and wasn't able to progress. This
time the error is
nothing provides requested vllm 0.6.1.post2
Which I interpret as saying I can't install vllm locally during the
bootstrap process.
Is there someway to skip this bootstrapping? I was hoping metaflow would
let me write something I can't run locally and deploy it smoothly.
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/metaflow/issues/1930#issuecomment-2369879689,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF2MO6X344CPI3VG3MEM23ZYCZRRAVCNFSM6AAAAABLMMHOHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZHA3TSNRYHE
.
You are receiving this because you commented.Message ID:
@.***>

My dependencies are fairly simple:
    @conda(
        python="3.9",
        packages={
            "vllm": "0.6.1.post2",
        },
    )

Why would this work correctly on my Linux machine but not my Mac?

vllm is not available as a conda package - so the dependencies shouldn’t
work either on Linux or Mac.
On Mon, 23 Sep 2024 at 6:04 pm, Keith Stevens @.***>
wrote:

My dependencies are fairly simple:
@conda(
    python="3.9",
    packages={
        "vllm": "0.6.1.post2",
    },
)

Why would this work correctly on my Linux machine but not my Mac?
—
Reply to this email directly, view it on GitHub
https://github.com/Netflix/metaflow/issues/1930#issuecomment-2369896778,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF2MO67TBA722RRM6H4CFDZYC3ARAVCNFSM6AAAAABLMMHOHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZHA4TMNZXHA
.
You are receiving this because you commented.Message ID:
@.***>

okay after tweaking things I think I figured it out and realize its my misunderstanding of how the decorator works in conjunction with running the launch step.
I switched the decorator back to pypi but run with --environment=conda which I'm guessing means its pulling information from my local conda environment?
This at least is working for me even though I don't totally get why.


Refactor State and GeneralizedAlphaTimeIntegrator classes to work with 2-D kokkos views

Currently, the State class holds a 1-D Kokkos view and the GeneralizedAlphaTimeIntegrator is hardcoded to work with 1 node problems. We need to expand the capability to work with multiple nodes and to this end, should look into refactoring the above classes to work with 2-D Kokkos Views.

Implemented in #89.

Implemented in #89.


Serving protected images with ImageProcessor

Hi
First: thanks for creating such a fantastic component. Its awesome!
Second: I have a problem I can't figure out how to set up the "right way" - this might not be the correct place to ask, if so, I'm sorry about that - but where else?
The case is that the ASP.NET (not MVC) system we're working on saves images in /App_Data to keep them "protected". We will then serve the images through an ashx httphandler that checks if the image being requested is public or not. Something like src="/ImageProvider.ashx?p=1&file=123".
The problems I'm facing now is that I need the handler to serve images from App_Data (or another "private" folder) - and then I loose ImageProcessor as that processes all image types since it's a module.
Is there an "obvious" method to integrate this with ImageProcessor? For instance, would it be feasible to place all images in a publically accessible folder and have ImageProcessor call our code before the image is served so we can determine if the image is public or not?
If you have any ideas, I'll be glad to hear them - thanks in advance for any help at all :)
Best regards
Jan

Hello,
I am trying to accomplish something similar but I am running into a problem. I can get URLs such as the following to work:
/secure-files.axd?pic.jpg?width=125&height=125&mode=max
This is great but I need to be able to support sub folders. If I try to include a sub folder such as the following the image will load once. But when I refresh the image I get an error:
Sample URL: /secure-files.axd?subfolder/pic.jpg?width=125&height=125&mode=max
The error is:
Invalid file name for file monitoring: 'subfolder/pic.jpg'. Common reasons for failure include:

The filename is not a valid Win32 file name.
The filename is not an absolute path.
The filename contains wildcard characters.
The file specified is a directory.
Access denied.

Moving beyond the above, I would prefer a slightly different structure to the URLs so I was hoping to include the path as a query string parameter, something like the following (with the path encoded):
/secure-files.axd?path=subfolder%2Fpic.jpg&width=125&height=125&mode=max
When I try this I get a 404 and the GetImage(object id) method is never called. In your code comments for the example implementation you said:
If you are using the querystring params as a means of identifying the correct image then you can do something with it here.
So I am thinking this scenario should be potentially workable, but maybe I am missing an implementation detail.
BTW, nice job on this library. I am just starting to work with it and looking forward to contributing in any way I can.
Thanks,
John

Hi John,
Thanks for your support :smile:
Yeah, there's no support for subfolders within the url structure. I think it would perhaps open up a can of worms to add support also.
Would you not be able to search for the file using FileInfo/DirectoryInfo? Performance for those classes is pretty good?
By that comment I meant to possibly use a parameter following the filename. I've not really done much testing to use that functionality though as I've never needed it.
Cheers
James

Hi Jim,
Thanks for the feedback. My application definitely needs support for nested subfolder structures in secure directories, so I will need to do some more experimenting when I have time.
I wonder if the prefix approach could be adapted to look for a folder prefix. So instead of having something like this:
/secure-files.axd
We could have a prefix like the following:
/secure-files
And then ImageProcessor would take that /secure-files prefix and rewrite it to /App_Data/secure-files somehow. Then we can maintain the full file path (with subfolders) to the image after the prefix. This would be ideal for my application, but I'm guessing it might cause problems with routing. I'll have another look at the code base when I get a chance and see if I can come up with any ideas.
Thanks,
John

Hi John,
I'll have look at the subfolder structure support also when I get a mo, the error you are getting is due to the file monitors not knowing the correct path to the image. I should have made the interface return a tuple with the path to the image and the byte array so it could be added. I can't really change that just now though as it would break current implementations. I might though if I have to...
Using the prefix wouldn't work as I need that to remain as a key for the different possible implementations. I use *.axd as you realised to avoid routing issues by default though it is configurable.
Cheers
James

Hi Jim,
I've been thinking about this a little more. I took a look at ProcessImageAsync and I think I have a pretty good feel for what is going on there. Maybe we can make a slight change to look for a querystring parameter called "path" if a prefix (i.e. handler.axd) is available. Then if a "path" is available, instead of having to set requestPath to the value of the entire querystring and breaking everything up further down the procedure, we can simply set requestPath = request.QueryString["path]". Here is a an example of what I am getting at:
if (string.IsNullOrWhiteSpace(currentService.Prefix))
{
    requestPath = HostingEnvironment.MapPath(request.Path);
    queryString = HttpUtility.UrlDecode(request.QueryString.ToString());
}
else
{
    if (string.IsNullOrWhitespace(request.QueryString["path"]))
    {
        requestPath = HttpUtility.UrlDecode(request.QueryString.ToString());
    }
    else
    {
        requestPath = request.QueryString["path"];
        queryString = HttpUtility.UrlDecode(request.QueryString.ToString());
    }
}

If it worked this would have 2 benefits - current implementations using a .axd handler would not break, and we would enable the possibility of "cleaner" URLs that do not contain multiple question marks.
So with this in place we could use a URL such as the following to call a file stored in the App_Data directory:
/secure-files.axd?path=subfolder%2Fpic.jpg&width=125&height=125&mode=max
I'm going to grab the source and try this out myself when I get a chance, but I wanted to toss it out there and get your thoughts. If you are interested and I can get it to work I'll submit a pull request.
Thanks,
John

Hi Jim,
I recently came back to this because I had some time to revisit ImageProcessor, and I have a new need to integrate it into some of my applications. I'm following up and posting here to help anybody that might stumble on this issue while searching the repo. I took some time to dig into the changes you've made in the last year, and it was great to see the changes you made to the IImageService (particularly removing the multiple ? QueryString stuff).
I was able to accomplish what I needed by sending the image directory as a QueryString parameter. I realized that the file name needs to be a simple file name (no path) in order to prevent the cache errors. Here is the code that worked for me:
public async Task<byte[]> GetImage(object id)
    {
        var context = HttpContext.Current;
        if (string.IsNullOrWhiteSpace(context.Request.QueryString["dir"]))
            throw new HttpException(404, "Not Found");
        string path = HostingEnvironment.MapPath("~/App_Data" + context.Request.QueryString["dir"] + "/" + id.ToString());

        var fileInfo = new FileInfo(path);
        if (!fileInfo.Exists)
            throw new HttpException(404, "Not Found");

        byte[] buffer;
        using (var file = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.Read, 4096, true))
        {
            buffer = new byte[file.Length];
            await file.ReadAsync(buffer, 0, (int)file.Length);
        }

        return buffer;
    }

The key seems to be not altering the id that gets passed into the method so that it can be handled as intended further down the line. And I can now write URLs such the following to generate thumbnails from any directory hierarchy:
/secure-files.axd/image.gif?width=125&height=125&mode=max&dir=%2fsecure-files%2sub-folder
Anyway, hope this helps somebody. Also, I have put together a pretty thorough file manager demo app that uses ImageProcessor in a number of ways along with other open source tools. I'd like to help you out and contribute somehow. Do you take contributions in the form of sample implementations?


tls: update BoringSSL-FIPS to 20190808. (#12170)

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

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

Test name
Commit
Details
Rerun command

test-tsan_envoy_release-1.7
ae0fa0521340b7fecce126e7b155f461fc6542c0
link
/test test-tsan_envoy_release-1.7

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

/retest

/test test-tsan_envoy_release-1.7

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

Test name
Commit
Details
Rerun command

test-tsan_envoy_release-1.7
ae0fa0521340b7fecce126e7b155f461fc6542c0
link
/test test-tsan_envoy_release-1.7

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

/test test-tsan_envoy_release-1.7


Textual definition update:

Guidelines
See http://wiki.geneontology.org/index.php/Guidelines_for_GO_textual_definitions#Use_genus-differentia_patterns_for_definitions
More details at https://douroucouli.wordpress.com/2019/07/08/ontotip-write-simple-concise-clear-operational-textual-definitions/

GO term ID and label for which you request a definition update

GO:0110162: regulation of mitotic spindle elongation (spindle phase three)
GO:0110163: negative regulation of mitotic spindle elongation (spindle phase three)
GO:0110164: positive regulation of mitotic spindle elongation (spindle phase three)

New proposed definition (genus-differentia pattern, plus additional information if needed)

GO:0110162: Any process that modulates the frequency, rate or extent of the cell cycle process in which the distance is lengthened between poles of the mitotic spindle during mitotic prophase anaphase B (spindle phase three) PMID:27697865
GO:0110163: Any process that stops, prevents or reduces the frequency, rate or extent of the cell cycle process in which the distance is lengthened between poles of the mitotic spindle during mitotic prophase anaphase B (spindle phase three). PMID:27697865
GO:0110164: Any process that activates or increases the frequency, rate or extent of the cell cycle process in which the distance is lengthened between poles of the mitotic spindle during mitotic prophase anaphase B (spindle phase three). PMID:27697865

Reference(s)
PMID:27697865

Additional information

The definitions of these terms are wrong. Phase 3 of spindle elongation is anaphase B, not prophase. Quoted text from the article cited in the term definition PMID:27697865:

Spindle assembly in S. pombe is similar to that in other eukaryotes and can be divided into three phases corresponding to prometaphase (I), metaphase/anaphase A (II), and anaphase B (III). Phase I spindles rapidly elongate to approximately 1.5 μm, while phase II spindles are much less dynamic, with a length of up to 3 μm. Phase III spindles rapidly elongate to 10 to 12 μm (8, 9). In phase II, sister chromosomes need to become bioriented, and the cell will stay in this phase until biorientation has been achieved.

Probably annotations should be revised in case they were made based on the definition and not the term name.

Hi @ValWood, tagging you here, not sure if I have to mention someone when making these kind of requests.

The  only annotations to this term for any species are 3 from PomBase:
https://www.pombase.org/term/GO:0061805
and they are all "phase" 3 so although not best practice,  I think it would be OK to tweak the def to match the intent in the term name.

Agreed, went into the references, and indeed they are annotated to phase 3, so they are correct, we would just need the definitions of these tree terms to be changed as indicated above.