Angularjs ng change is not triggering in Firefox

I am using the ng-change for select.
This is working fine in my application. But when I test in firefox, the ng change is not triggering. Is this the bug from angular? Do I do anything wrong?
For the simple program it's working in the plnkr. But in my large application, this is not trigger.
Do I need to do any modification specially for this?

It's impossible to say what the problem is without a running demo. Please try to reproduce the problem and then re-open this issue. Thanks!

That is browser issue not from angular.
In firefox, if select is inside the anchor then the issue will come. Sorry for the wrong post.


TypeScript Template does not correctly support the use of p-limit

On all backends we use tap (which makes it easy to do utility functions by passing the tap instance).
With jest you are also having problems with some node libraries on a service started from this template. It should be fixed easily through the transform of the jest configuration, but also reading here https://twitter.com/matteocollina/status/1453029660925861901 it is not recommended to use jest for node
one wonders why jest was chosen over tap, and it doesn't seem very recommended as a test suite because if you work with Node's bees it might not be reliable because of this: https://github.com/facebook/jest / issues / 2549

I would close this issue since we moved to use tap as testing library.


fix: Add a simple cache invalidation in dev mode

This pull request addresses https://github.com/isaachinman/next-i18next/issues/626

I definitely agree with @wasd171 - I have just started using this project and I found it very frustrating having to restart the server every time. I started using nodemon as a workaround but it's still a ton of overhead to see a simple change when Next.js has such a great dev experience otherwise.

I can see the argument for making it config-level since not all users use NODE_ENV=production (although that seems to be pretty standard). It should be called out in the docs early on though so that it's easy for devs to find

I believe it'd be possible to write this as a one-liner via i18n. reloadResources in the HOC.
The goal of this package has never been to main a "great" dev experience on par with NextJs. I'm the sole maintainer and rely on contributions by the community, but am also very wary of scope creep. Using nodemon to restart your server when you change localisation content in development is a perfectly reasonable solution.


How to test enterText on a widget that extends EditableText

I have a widget, for doing @mentioning stuff, that extends EditableText.
Everything works fine on the UI, but the flutter test for enterText fails with no widget:
Bad state: No element
apparently it cannot find a TextInput or EditableText (because, by extending, it becomes that!).
For example:
final String dummyDesc = 'hello world';
final Finder widgetThatExtendsEditableText = find.byType(WidgetThatExtendsEditableText);
await tester.enterText(widgetThatExtendsEditableText, dummyDesc);

this will show the error
Any idea how to test this?

I suggest you to use keys to easily find a widget!
Please use StackOverflow for questions.

Hi @bionara
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow.
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

I disagree with @TahaTesser - the issue is that the testing framework has a bug that means you cannot test widgets that extend the base widget of EditableText
I found a hack to fix this, but it's a hack:
Type get runtimeType => EditableText;
Definately something that needs looking at in the framework.

@TahaTesser I'd like to work on this issue please guide me

Hi @yashugarg
Please check out contributor's guide
Verify the docs aren't already on the master API docs website https://master-api.flutter.dev/
You can begin locating docs https://master-api.flutter.dev/flutter/flutter_test/flutter_test-library.html and creating PR  for it


Research SDGI in Godot 4 under voxel vision

Talking with Zylann: «Eventually a recent breakthrough in Godot is going to be SDFGI, which is somewhat voxel-based (volumetric SDF)»
https://godotengine.org/article/godot-40-gets-sdf-based-real-time-global-illumination

https://twitter.com/reduzio/status/1262021308335915009?lang=en
Getting rid of polygons, no more triangles ... interesting path!


appinsight distributed tracing not working in nodejs-functionApp when deployed through azure pipeline task

We noticed that when we deploy a function APP via azure pipeline distributed tracing is not working as expected. when functionApp 1 calls the functionApp2 (using axios) trace context headers are not getting passed. But same functionality works well when we deploy the code directly from visual studio.
Can you please let us know in case if there is anything we need to add to enable appinsight to pass required headers for outgoing calls ?

which task is used with ADO pipeline

which task is used with ADO pipeline

We use - task: AzureFunctionApp@1
Here is the job details
jobs:

deployment: Deploy_Web_Stg_Slot
pool:
vmImage: ubuntu-16.04
variables:

name: "environment-name"
value: "dev"
group: InfraVar-Dev
name: release
value: ${{Parameters.release}} ${{Parameters.releasenumber}}
name: servicename
value: ${{Parameters.servicename}}
environment: dev
strategy:
runOnce:
deploy:
steps:
- script: |
ip=$(curl -s http://ipinfo.io/json | jq '.ip')
echo "##vso[task.setvariable variable=ip]$ip"
displayName: "Get Azure Build Agent IP Address"
- task: DownloadBuildArtifacts@0
inputs:
downloadType: 'single'
artifactName: 'tf'
downloadPath: '$(System.ArtifactsDirectory)'
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
displayName: "Replace tokens in terraform"
inputs:
rootDirectory: '$(System.ArtifactsDirectory)/tf'
targetFiles: |
**/.tfvars
**/.tf
/*.yaml
escapeType: none
tokenPrefix: ""
tokenSuffix: ""
- script: |
terraform init -backend-config="storage_account_name=$(AZDO--BACKEND--STORAGEACCT)" -backend-config="access_key=$(AZDO--BACKEND--ACCESSKEY)"
terraform workspace select $(environment-name) || terraform workspace new $(environment-name)
terraform init -backend-config="storage_account_name=$(AZDO--BACKEND--STORAGEACCT)" -backend-config="access_key=$(AZDO--BACKEND--ACCESSKEY)"
terraform plan -var client_secret="$(AZDO--SUB--CS)"
terraform apply -var client_secret="$(AZDO--SUB--CS)" -auto-approve
workingDirectory: '$(System.ArtifactsDirectory)/tf'
displayName: "Terraform Init & Apply"
- task: raul-arrieta.terraform-outputs.terraform-outputs.terraform-outputs@0
displayName: "Terraform Outputs"
inputs:
workingDirectory: '$(System.ArtifactsDirectory)/tf'
variablePrefix: "op_"
- task: DownloadBuildArtifacts@0
inputs:
downloadType: 'single'
artifactName: '${{Parameters.servicename}}'
targetPath: '$(System.ArtifactsDirectory)'
- task: AzureFunctionApp@1
displayName: "Azure Function App Deploy: ${{Parameters.servicename}}"
inputs:
azureSubscription: "${{Parameters.svc_conn}}"
appType: functionApp
appName: "$(OP_FUNCAPP_NAME)"
#Uncomment the next lines to deploy to a deployment slot
#deployToSlotOrASE: true
#slotName: ''
#resourceGroupName: '$(OP_FUNCAPPRG_NAME)'
package: "$(System.ArtifactsDirectory)//*.zip"
- task: AzureAppServiceSettings@1
displayName: Azure App Service Settings
inputs:
azureSubscription: "${{Parameters.svc_conn}}"
appName: "$(OP_FUNCAPP_NAME)"
# To deploy the settings on a slot, provide slot name as below. By default, the settings would be applied to the actual Web App (Production slot)
# slotName: staging
appSettings: |
[
{
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~3",
"slotSetting": false
},
{
"name": "direction",
"value": "in",
"slotSetting": false
}
]

We use - task: AzureFunctionApp@1
Here is the job details
jobs:

deployment: Deploy_Web_Stg_Slot
pool:
vmImage: ubuntu-16.04
variables:

name: "environment-name"
value: "dev"
group: InfraVar-Dev
name: release
value: ${{Parameters.release}} ${{Parameters.releasenumber}}
name: servicename
value: ${{Parameters.servicename}}
environment: dev
strategy:
runOnce:
deploy:
steps:
- script: |
ip=$(curl -s http://ipinfo.io/json | jq '.ip')
echo "##vso[task.setvariable variable=ip]$ip"
displayName: "Get Azure Build Agent IP Address"
- task: DownloadBuildArtifacts@0
inputs:
downloadType: 'single'
artifactName: 'tf'
downloadPath: '$(System.ArtifactsDirectory)'
- task: qetza.replacetokens.replacetokens-task.replacetokens@3
displayName: "Replace tokens in terraform"
inputs:
rootDirectory: '$(System.ArtifactsDirectory)/tf'
targetFiles: |
**/.tfvars
**/.tf
/*.yaml
escapeType: none
tokenPrefix: ""
tokenSuffix: ""
- script: |
terraform init -backend-config="storage_account_name=$(AZDO--BACKEND--STORAGEACCT)" -backend-config="access_key=$(AZDO--BACKEND--ACCESSKEY)"
terraform workspace select $(environment-name) || terraform workspace new $(environment-name)
terraform init -backend-config="storage_account_name=$(AZDO--BACKEND--STORAGEACCT)" -backend-config="access_key=$(AZDO--BACKEND--ACCESSKEY)"
terraform plan -var client_secret="$(AZDO--SUB--CS)"
terraform apply -var client_secret="$(AZDO--SUB--CS)" -auto-approve
workingDirectory: '$(System.ArtifactsDirectory)/tf'
displayName: "Terraform Init & Apply"
- task: raul-arrieta.terraform-outputs.terraform-outputs.terraform-outputs@0
displayName: "Terraform Outputs"
inputs:
workingDirectory: '$(System.ArtifactsDirectory)/tf'
variablePrefix: "op_"
- task: DownloadBuildArtifacts@0
inputs:
downloadType: 'single'
artifactName: '${{Parameters.servicename}}'
targetPath: '$(System.ArtifactsDirectory)'
- task: AzureFunctionApp@1
displayName: "Azure Function App Deploy: ${{Parameters.servicename}}"
inputs:
azureSubscription: "${{Parameters.svc_conn}}"
appType: functionApp
appName: "$(OP_FUNCAPP_NAME)"
#Uncomment the next lines to deploy to a deployment slot
#deployToSlotOrASE: true
#slotName: ''
#resourceGroupName: '$(OP_FUNCAPPRG_NAME)'
package: "$(System.ArtifactsDirectory)//*.zip"
- task: AzureAppServiceSettings@1
displayName: Azure App Service Settings
inputs:
azureSubscription: "${{Parameters.svc_conn}}"
appName: "$(OP_FUNCAPP_NAME)"
# To deploy the settings on a slot, provide slot name as below. By default, the settings would be applied to the actual Web App (Production slot)
# slotName: staging
appSettings: |
[
{
"name": "FUNCTIONS_EXTENSION_VERSION",
"value": "~3",
"slotSetting": false
},
{
"name": "direction",
"value": "in",
"slotSetting": false
}
]

@chshrikh
We noticed below 2 warnings in our logs when webpack is running, do you think this may be causing the issue ? and any idea how to over come this ?
webpack: ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; Module not found: Error: Can't resolve '@opentelemetry/tracing' in
webpack: ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; Module not found: Error: Can't resolve 'applicationinsights-native-metrics'
##[warning]webpack partially succeeded
2021-01-15T19:12:32.3967342Z ##[warning]webpack: ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; Module not found: Error: Can't resolve '@opentelemetry/tracing' in 'D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src'; resolve '@opentelemetry/tracing' in 'D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\diagnostic-channel-publishers\package.json (relative path: ./dist/src); resolve as module; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/@opentelemetry/tracing); no extension; D:\a\1\s\code\node_modules@opentelemetry\tracing doesn't exist; .ts<EMAIL_ADDRESS>doesn't exist; .js<EMAIL_ADDRESS>doesn't exist; .json<EMAIL_ADDRESS>doesn't exist; as directory; D:\a\1\s\code\node_modules@opentelemetry\tracing doesn't exist; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src\node_modules]; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\node_modules]; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules@opentelemetry\tracing]; <EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>@ ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; @ ./node_modules/diagnostic-channel-publishers/dist/src/index.js; @ ./node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/initialization.js; @ ./node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js; @ ./node_modules/applicationinsights/out/applicationinsights.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.3987860Z ##[warning]webpack: ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; Module not found: Error: Can't resolve 'applicationinsights-native-metrics' in 'D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection'; resolve 'applicationinsights-native-metrics' in 'D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\applicationinsights\package.json (relative path: ./out/AutoCollection); resolve as module; D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\applicationinsights\out\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\applicationinsights\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/applicationinsights-native-metrics); no extension; D:\a\1\s\code\node_modules\applicationinsights-native-metrics doesn't exist; .ts; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.ts doesn't exist; .js; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.js doesn't exist; .json; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.json doesn't exist; as directory; D:\a\1\s\code\node_modules\applicationinsights-native-metrics doesn't exist; [D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights\out\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.ts]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.js]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.json]; @ ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; @ ./node_modules/applicationinsights/out/applicationinsights.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.4003918Z ##[warning]webpack: ./node_modules/follow-redirects/debug.js; Module not found: Error: Can't resolve 'debug' in 'D:\a\1\s\code\node_modules\follow-redirects'; resolve 'debug' in 'D:\a\1\s\code\node_modules\follow-redirects'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\follow-redirects\package.json (relative path: .); resolve as module; D:\a\1\s\code\node_modules\follow-redirects\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/debug); no extension; D:\a\1\s\code\node_modules\debug doesn't exist; .ts; D:\a\1\s\code\node_modules\debug.ts doesn't exist; .js; D:\a\1\s\code\node_modules\debug.js doesn't exist; .json; D:\a\1\s\code\node_modules\debug.json doesn't exist; as directory; D:\a\1\s\code\node_modules\debug doesn't exist; [D:\a\1\s\code\node_modules\follow-redirects\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules\debug]; [D:\a\1\s\code\node_modules\debug.ts]; [D:\a\1\s\code\node_modules\debug.js]; [D:\a\1\s\code\node_modules\debug.json]; @ ./node_modules/follow-redirects/debug.js; @ ./node_modules/follow-redirects/index.js; @ ./node_modules/axios/lib/adapters/http.js; @ ./node_modules/axios/lib/defaults.js; @ ./node_modules/axios/lib/axios.js; @ ./node_modules/axios/index.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.4017749Z webpack summary section markdown file creation is started

@chshrikh
We noticed below 2 warnings in our logs when webpack is running, do you think this may be causing the issue ? and any idea how to over come this ?
webpack: ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; Module not found: Error: Can't resolve '@opentelemetry/tracing' in
webpack: ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; Module not found: Error: Can't resolve 'applicationinsights-native-metrics'
##[warning]webpack partially succeeded
2021-01-15T19:12:32.3967342Z ##[warning]webpack: ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; Module not found: Error: Can't resolve '@opentelemetry/tracing' in 'D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src'; resolve '@opentelemetry/tracing' in 'D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\diagnostic-channel-publishers\package.json (relative path: ./dist/src); resolve as module; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\diagnostic-channel-publishers\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/@opentelemetry/tracing); no extension; D:\a\1\s\code\node_modules@opentelemetry\tracing doesn't exist; .ts<EMAIL_ADDRESS>doesn't exist; .js<EMAIL_ADDRESS>doesn't exist; .json<EMAIL_ADDRESS>doesn't exist; as directory; D:\a\1\s\code\node_modules@opentelemetry\tracing doesn't exist; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\src\node_modules]; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\dist\node_modules]; [D:\a\1\s\code\node_modules\diagnostic-channel-publishers\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules@opentelemetry\tracing]; <EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>@ ./node_modules/diagnostic-channel-publishers/dist/src/azure-coretracing.pub.js; @ ./node_modules/diagnostic-channel-publishers/dist/src/index.js; @ ./node_modules/applicationinsights/out/AutoCollection/diagnostic-channel/initialization.js; @ ./node_modules/applicationinsights/out/AutoCollection/CorrelationContextManager.js; @ ./node_modules/applicationinsights/out/applicationinsights.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.3987860Z ##[warning]webpack: ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; Module not found: Error: Can't resolve 'applicationinsights-native-metrics' in 'D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection'; resolve 'applicationinsights-native-metrics' in 'D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\applicationinsights\package.json (relative path: ./out/AutoCollection); resolve as module; D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\applicationinsights\out\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\applicationinsights\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/applicationinsights-native-metrics); no extension; D:\a\1\s\code\node_modules\applicationinsights-native-metrics doesn't exist; .ts; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.ts doesn't exist; .js; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.js doesn't exist; .json; D:\a\1\s\code\node_modules\applicationinsights-native-metrics.json doesn't exist; as directory; D:\a\1\s\code\node_modules\applicationinsights-native-metrics doesn't exist; [D:\a\1\s\code\node_modules\applicationinsights\out\AutoCollection\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights\out\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.ts]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.js]; [D:\a\1\s\code\node_modules\applicationinsights-native-metrics.json]; @ ./node_modules/applicationinsights/out/AutoCollection/NativePerformance.js; @ ./node_modules/applicationinsights/out/applicationinsights.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.4003918Z ##[warning]webpack: ./node_modules/follow-redirects/debug.js; Module not found: Error: Can't resolve 'debug' in 'D:\a\1\s\code\node_modules\follow-redirects'; resolve 'debug' in 'D:\a\1\s\code\node_modules\follow-redirects'; Parsed request is a module; using description file: D:\a\1\s\code\node_modules\follow-redirects\package.json (relative path: .); resolve as module; D:\a\1\s\code\node_modules\follow-redirects\node_modules doesn't exist or is not a directory; D:\a\1\s\code\node_modules\node_modules doesn't exist or is not a directory; D:\a\1\s\node_modules doesn't exist or is not a directory; D:\a\1\node_modules doesn't exist or is not a directory; D:\a\node_modules doesn't exist or is not a directory; D:\node_modules doesn't exist or is not a directory; looking for modules in D:\a\1\s\code\node_modules; using description file: D:\a\1\s\code\package.json (relative path: ./node_modules); using description file: D:\a\1\s\code\package.json (relative path: ./node_modules/debug); no extension; D:\a\1\s\code\node_modules\debug doesn't exist; .ts; D:\a\1\s\code\node_modules\debug.ts doesn't exist; .js; D:\a\1\s\code\node_modules\debug.js doesn't exist; .json; D:\a\1\s\code\node_modules\debug.json doesn't exist; as directory; D:\a\1\s\code\node_modules\debug doesn't exist; [D:\a\1\s\code\node_modules\follow-redirects\node_modules]; [D:\a\1\s\code\node_modules\node_modules]; [D:\a\1\s\node_modules]; [D:\a\1\node_modules]; [D:\a\node_modules]; [D:\node_modules]; [D:\a\1\s\code\node_modules\debug]; [D:\a\1\s\code\node_modules\debug.ts]; [D:\a\1\s\code\node_modules\debug.js]; [D:\a\1\s\code\node_modules\debug.json]; @ ./node_modules/follow-redirects/debug.js; @ ./node_modules/follow-redirects/index.js; @ ./node_modules/axios/lib/adapters/http.js; @ ./node_modules/axios/lib/defaults.js; @ ./node_modules/axios/lib/axios.js; @ ./node_modules/axios/index.js; @ ./LoggerPoc/index.ts
2021-01-15T19:12:32.4017749Z webpack summary section markdown file creation is started

@chshrikh / @aksm-ms / @nadesu ,
On further analysis we noticed that as we were using webpack it was getting only the dependents used to run the functions .We added a step in Azure pipeline to do npm install to include node_modules into dist folder. After this changes distributed tracing seems to be working fine.
By doing this our bundle size is getting increased , can you please suggest if this is right way to do or is there any other approach.

@chshrikh / @aksm-ms / @nadesu ,
On further analysis we noticed that as we were using webpack it was getting only the dependents used to run the functions .We added a step in Azure pipeline to do npm install to include node_modules into dist folder. After this changes distributed tracing seems to be working fine.
By doing this our bundle size is getting increased , can you please suggest if this is right way to do or is there any other approach.

@madanbhavi Is the issue still being faced ?
Also, you can try to run from a package file :  Run your Azure Functions . Also check the link from the FuncPack author.

@madanbhavi Any update here ?

Closing the issue since there has been no response. Please feel free to re-open the issue in case of any queries.


structopt changed underscore options to hyphen

so trying to use the merge tool in the debug menu resulted in
[2021-11-05T13:15:15Z INFO  map_gui::tools::command] RunCommand: ./target/release/cli import --map fordham --city=us/nyc --skip_ch
> error: Found argument '--skip_ch' which wasn't expected, or isn't valid in this context
>       Did you mean --skip-ch?
>
> USAGE:
>     cli import --city <city> --map --skip-ch
>
> For more information try --help
>

Good catch, thanks!


Angular Material Datepicker Reactive Forms Preselected Date with MomentDateAdapter

What is the expected behavior?
To show preselected date from API on load of the page.
What is the current behavior?
I am using Angular Material Datepicker with reactive forms with MomentDateAdapter(to customise the date format) and I am able to get the date from API, but not able to show it on the input field and on datepicker when user lands on the page.
<input _ngcontent-c3="" class="mat-input-element mat-form-field-autofill-control ng-untouched ng-pristine ng-invalid" formcontrolname="FED" matinput="" placeholder="Flight End Date" ng-reflect-mat-datepicker="[object Object]" ng-reflect-value="Jul 27, 2018" ng-reflect-name="FED" ng-reflect-placeholder="Flight End Date" aria-haspopup="true" id="mat-input-2" aria-invalid="false" aria-required="false">

The above console source code shows how the date is reflected in the ng-reflect-value but not in ng-reflect-mat-datepicker.
HTML Code
 <mat-form-field class="datepickerInput">
          <input formControlName="FED" matInput [matDatepicker]="picker1" placeholder="Flight End Date" value={{fedVal}}>
          <mat-datepicker-toggle matSuffix [for]="picker1"></mat-datepicker-toggle>
          <mat-datepicker touchUi="true" #picker1></mat-datepicker>
          <mat-error>
          <div *ngIf="submitted && f.FED.errors || !usForm.get('FED').valid && usForm.get('FED').touched" class="invalid-feedback">
            <div *ngIf="f.FED.errors.required">Please select a date</div>
          </div>
        </mat-error>
        </mat-form-field>

TS Code
  ngOnInit() {
      this._testService.getSettingData()
      .subscribe(data => {
        this.fedVal = data['universalSetting']['flightEnd'];
        this.fsdVal = data['universalSetting']['flightStart'];

this.usForm = this.fb.group({
            'FSD': [this.universalSetting['flightStart'], Validators.required],
            'FED': [this.universalSetting['flightEnd'], Validators.required],
          });

   this.finalSettingVal = $.param({
            flightEnd: moment(this.usForm.value.FED, 'MMM-DD-YYYY').format('MMM DD, YYYY'),
            flightStart: moment(this.usForm.value.FSD, 'MMM-DD-YYYY').format('MMM DD, YYYY'),
          });
});
 }
}

What is the use-case or motivation for changing an existing behavior?
I want to use custom date format as per the project requirement.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5
Material 2
Mac OS High Sierra
Working on latest chrome broswer
Any idea where I have gone wrong? This is urgent, please help.

@sweetyv I tried to reproduce this with stackblitz but was unable to. Here's a link to what I tried. If you could provide a stackblitz with an example of this issue, that would be very helpful. Thanks!
https://stackblitz.com/edit/angular-svkid5?file=src%2Fapp%2Fdatepicker-formats-example.ts


Cleanup UI

Fix CSS padding, etc. @rgossiaux might have more ideas/context

I think @pcvera and @cs-miller had some observations and ideas here as well.
For starters, it might also be good to use a package manager like npm or yarn to manage javascript and other dependencies.

There are major steps we could take short of resorting to a proper build step that would get us some benefit.

exchange momentjs for a smaller time library, or maybe drop it entirely. It's 16kb of wire transfer and js parse overhead and is only used in one function, and only in the answer queue page at that.
given that our table maxes out at ~150 rows, we don't really need things like pagination or virtualization that our data table dependency is good for. Considering that our current solution somehow actually hurt our performance in the past, I think we could get rid of it for something lighter. I think the one thing the current table may be doing for us well is preserving scroll position, but we can handle that.

If we were to go for a full webpack build, I think the frontend would largely have to be rewritten, the current paradigm doesn't look like it would translate well to packages, but I also don't think a rewrite would be all that difficult.

The pagination was actually a performance optimization. I recall on  ~200
puzzle loadtests last year, the load times were substantially longer when
we had to render all 200 puzzles in a single page.
On Sun, Nov 29, 2020 at 10:30 PM Peter Vera<EMAIL_ADDRESS>wrote:

There are major steps we could take short of resorting to a proper build
step that would get us some benefit.

exchange momentjs for a smaller time library, or maybe drop it
entirely. It's 16kb of wire transfer and js parse overhead and is only used
in one function, and only in the answer queue page at that.
given that our table maxes out at ~150 rows, we don't really need
things like pagination or virtualization that our data table dependency is
good for. Considering that our current solution somehow actually hurt our
performance in the past, I think we could get rid of it for something
lighter. I think the one thing the current table may be doing for us well
is preserving scroll position, but we can handle that.

If we were to go for a full webpack build, I think the frontend would
largely have to be rewritten, the current paradigm doesn't look like it
would translate well to packages, but I also don't think a rewrite would be
all that difficult.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cardinalitypuzzles/smallboard/issues/222#issuecomment-735579898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALN2UIVKD65EZULAP5BCQLSSM3ZHANCNFSM4UGZTLWA
.

How long is "substantially longer"? I'm pretty confident that's a limitation in datatables and not inherent to rendering rows. If we could efficiently display 200+ rows, is it something we'd want to do?

Last year's messenger chat logs seem to indicate that 176 puzzles took ~5 seconds and 300 puzzles took 20 seconds :'D

^ stats were before adding pagination and changes in #114. I don't remember which one ultimately made things faster (probably both?)
I think if we could efficiently display 200+ rows, that would be optimal.

oof, we can definitely beat 20 seconds, #114 suggests it was closer to 5 prior to a change in the loading behavior, but I bet we can beat that too.

as a heads up before anyone gets too deep into this, i started prototyping rewriting the main hunt view in React last night. it's going pretty well and i'm hoping it will address the performance issues as well as some other stuff. it's still a work in progress / not production-ready yet but i'm working on this branch if you're curious and i should have more to share in a couple days

I'm going to close this since I don't think the discussion is very relevant any more after the switch to React and this issue doesn't track any specific changes. The UI could still stand to be improved a lot but I think we can track it in more specific issues.

I'm going to close this since I don't think the discussion is very relevant any more after the switch to React and this issue doesn't track any specific changes. The UI could still stand to be improved a lot but I think we can track it in more specific issues.


Add semver action

This PR adds semver action and reorganizes the on_push workflow to the following steps:

Tests and Build
Version
Sign Apple app
Release

It also adds CODE_OF_CONDUCT.md, CONTRIBUTING.md and AUTHORS documents.

Looks good even with my comments because the issues I raised are all minor.


updating codeowners

:nut_and_bolt: Description
updating to ensure we ping ux for review when we
touch the ui, and changing all references to infra-automation-team
and compliance-team to superteam

@apriofrost @jonong1972 what do y'all think of also getting notified for changes to automate-cli?

@susanev I'm good with just the UI related files. I used to receive way too many notifications when I was the owner of the hab-cli related files. I'm worried about that would happen again. :)


Add/revise descriptive text for plans tables on My Dashboard

If a user creates a new account w/an Org affiliation and enters the tool for the first time, they may see a table w/Org plans on My Dashboard. We need to add something about what these plans are  just above the table to orient users. We should also revise the text slightly for the main plans table for consistent UI language:
Proposed text for main plans table and Org plans table @sjDCC :
"The table below lists the plans that you have created, and that have been shared with you by others. You can edit, share, download, make a copy, or remove these plans at any time."
"The table below lists the plans that users at your organisation have created and shared within your organisation. This allows you to download a PDF and view their plans as samples or to discover new research data."

looks good. closing issue.


Add rustc-codegen-cranelift component to rust-overlay for nightly

Apologies if there is some way to do this I'm missing, but I'm trying to add rustc-codegen-cranelift as a component, as it's included in the latest nightly. Since it's very new, I don't think it's included.
Can I get that added?

Enabling extensions = [ "rustc-codegen-cranelift" ] should work. But right now, there are some issues upstream that it contains only documentations but no backend DLL. See https://github.com/rust-lang/rust/pull/81746#issuecomment-1783888093. The next nightly release since https://github.com/rust-lang/rust/pull/117328 should make it work.

2023-10-31 is out with the fix. Now this works under master:
rust-bin.nightly."2023-10-31".minimal.override {
  extensions = [ "rustc-codegen-cranelift-preview" ];
}

I verified that rustc -Zcodegen-backend=cranelift compiles and runs flawlessly. :tada:

2023-10-31 is out with the fix. Now this works under master:
rust-bin.nightly."2023-10-31".minimal.override {
  extensions = [ "rustc-codegen-cranelift-preview" ];
}

I verified that rustc -Zcodegen-backend=cranelift compiles and runs flawlessly. 🎉

Indeed it does, it works with just rustc-codegen-cranelift as well. Thanks for looking into it!


Set default places for e.g. dolphin (write the user-places.xbel)

I would like to be able to set the "Places" in dolphin with plasma-manager.
These are defined in ~/.local/share/user-places.xbel.
xbel is the XML bookmark exchange language. Despite this rather general name it seems only to be used by KDE applications (e.g. gnome doesn't), and a few relatively unknown browsers. That is why I believe plasma-manager might be the right place for this feature.

For now you can achieve this via home.file.".local/share/user-places.xbel" but the user-places file does not seem tor accept variables for userfolder so in a multihost,multiuser config you'd have to create multiple.
Here's how I did it
https://github.com/Moe1369/nixos-config/blob/main/modules/user/plasma/default.nix

I will try to implement this, in this weekend or next week. Shouldn't be too different from what I did in #362


heap limit Allocation failed - JavaScript heap out of memory

After round about 5 min of running ddev vite I am getting this error:
<--- Last few GCs --->

[3073:0x6c6f5c0]   503107 ms: Scavenge 4017.1 (4127.1) -> 4005.0 (4127.8) MB, 44.29 / 0.00 ms  (average mu = 0.197, current mu = 0.031) allocation failure;
[3073:0x6c6f5c0]   503220 ms: Scavenge 4018.9 (4127.8) -> 4006.9 (4129.6) MB, 25.15 / 0.00 ms  (average mu = 0.197, current mu = 0.031) allocation failure;
[3073:0x6c6f5c0]   506514 ms: Mark-Compact 4018.9 (4129.6) -> 4005.6 (4131.6) MB, 3115.04 / 0.00 ms  (average mu = 0.180, current mu = 0.161) task; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

 1: 0xb82d33 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
 2: 0xef0c50 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 3: 0xef0f37 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
 4: 0x1102ad5  [node]
 5: 0x1103064 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
 6: 0x1119f54 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]
 7: 0x111a76c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
 8: 0x10f0a71 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
 9: 0x10f1c05 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0x10cf256 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x152b086 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x7f8403ed9ef6
Aborted

ddev version v1.23.4
Node Version 20

It sounds like you're out of memory. Is this on macOS? If so, how much RAM do you have allocated in your Docker provider? And of course, your code itself could use up the RAM.

The default on WSL2 on a 32GB machine would be 16GB allocated to WSL2, and if you're using docker-ce, it would have access to any of it.  Do use top or other tools to look at this.
Could you provide the file output of ddev debug test ?  Thanks.
Or is this report from the browser? If from the browser, it's a completely different thing.

I had similar issues in the past, either when vite scans too many files (that's why I added an ignore list to my vite plugin), or when the composer.json is missing/invalid and vite tries to index more than the current project. I haven't looked into the details yet, maybe those details already help for your analysis?

I had still "old" extensions in the "web" path (from before the update to TYPO3 12).
Without them the error doesn't occure (so far).
Thank you


Integrating CMake actions with CDash and CTest

Hi @lukka,
Thanks very much for an extremely useful set of actions. I am on the process of porting my project's aging Travis IaC infrastructure [1] to the brand new world of GitHub actions and I started by using your code. I very quickly got something up and running with great vcpkg support [2] but I then ran into a problem. In the past I made use of CDash quite a lot for dashboards [3]. This allowed us to view detail stats of the CI builds. It worked via a CTest script [4], though it was by no means perfect.
I've been trying to integrate that with your actions, but I have now begun to think this is not a good idea because the approaches seem to be quite different. I am now thinking about making a copy & paste action of your run-cmake action but just have it execute a CTest script. Do you think this is a good idea? Or would it perhaps make more sense for your test step to allow users to supply a script via -S script_name?
Any ideas on this would be greatly appreciated :-)
Many thanks for your time.
Marco
[1] https://github.com/MASD-Project/dogen/blob/master/.travis.yml
[2] https://github.com/MASD-Project/dogen/blob/master/.github/workflows/build-vcpkg.yml
[3] https://my.cdash.org/index.php?project=MASD+Project+-+Dogen
[4] https://github.com/MASD-Project/dogen/blob/master/CTestConfig.cmake
[5] https://gitlab.kitware.com/cmake/cmake/-/issues/23383

Actually, after spending some hours trying to integrate presets with CTest scripts, I do not think this works that well at present. Seems like the "stand-alone" approach used by run-cmake is orthogonal to CTest scripts, and if you need both there needs to be an element of copying and pasting :-( I will continue my investigations on [1], but I do not think its a good idea to make use of this as a GitHub Action. I'll close the ticket for now.
[1] https://gitlab.kitware.com/cmake/cmake/-/issues/23383

@mcraveiro using cmake or ctest in 'run script' mode is a different scenario than consuming a CMakePresets.json file, and the run-cmake is targeted for the latter scenario.
For the former scenario I'd suggest to directly launch the command, e.g. run: ctest -S ....
Probably you may need to run vcpkg and cmake before running ctest -S to implement a "build and then test" workflow.


Playback of an HLS stream with redundant playlists for failover does not work if primary stream is missing

Version
Media3 1.4.1
More version details
Bug also reproduceable in Media3 v1.4.0. /1.5.0
Devices that reproduce the issue
Google Pixel 7a with Android 15
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Yes
Reproduction steps
Play a HLS Livestream Manifest with primary and backup playlist on an Android based device which uses ExoPlayer(Android TV, Smartphone, etc.)
Condition: Primary streams (manifest, + segments) are not available (HTTP 404 Errorcode)
Example HLS Manifest:
index.m3u8.txt
Expected result
The player switches to the backup playlists when recieving "HTTP ERROR 404" for the primary playlists.
Actual result
The player stops playback
Media
Not applicable,
A test stream will be delivered later, as it is currently only available in Germany due to geoblocking.
Bug Report

[ ] You will email the zip file produced by adb bugreport to
<EMAIL_ADDRESS>after filing this issue.

@rottalexander
Thank you for reporting your issue! Would you please provide a bug report? If you're unable to share the bug report publicly, please send them to<EMAIL_ADDRESS>with the subject Issue #1988. Please also update this issue to indicate you've done this.

The player switches to the backup playlists when receiving "HTTP ERROR 404" for the primary playlists.

ExoPlayer does exclude renditions that fail like here and then selects the next best suitable rendition/playlist in which case the alternative with the same bitrate should be chosen.

A test stream will be delivered later, as it is currently only available in Germany due to geoblocking.

Would be great to have a test stream so I can evaluate the behaviour of above. We can VPN to Germany if that's required.
Do you have such streams that exhibit the behaviour, like that fail predictibly to test that behavior?
Like Micheal mentioned, a bug report would be useful specifically if you have an EventLogger registered with the player, There I think we would see that some tracks gets excluded. Having  stream and such a bugreport would be a good first step.


Added comments and stub ginkgo files

Description
For cmd/spec/main.go, it is a standalone program typically run either locally or part of github actions.  Adding comments explaining why LogErrorAndPanic() is not appropriate.
Also created stub ginkgo programs
Fixes # THEEDGE-1637
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[X] Documentation update
[X] Tests update
[ ] Refactor

Checklist:

[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[X] I run go fmt ./... to check that my code is properly formatted
[X] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #690 (e280eda) into main (71258a6) will decrease coverage by 0.41%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #690      +/-   ##
==========================================
- Coverage   32.18%   31.76%   -0.42%
==========================================
  Files          42       43       +1
  Lines        4440     4498      +58
==========================================
  Hits         1429     1429
- Misses       2813     2871      +58
  Partials      198      198

Impacted Files
Coverage Δ

cmd/spec/main.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Error when installing

Getting the following error when installing. I'm using pnpm, Node.js v22.11.0 and Next.js v14.2.18.
┌  [·] React Scan
│
◇  No drivers found. Install Playwright Chromium driver to continue?
│  Yes
node:internal/child_process:285
const err = new ErrnoException(exitCode, syscall);
^
Error: spawn npx ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:483:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npx',
path: 'npx',
spawnargs: [ 'playwright@latest', 'install', 'chromium' ]
}

same here

What chip @nerophase @tarcisioandrade?

What chip @nerophase @tarcisioandrade?

My processor is an 11th Gen Intel(R) Core(TM) i3-1115G4. Is that what you mean?

What chip @nerophase @tarcisioandrade?

CPU? AMD Ryzen 5 2400G

Same issue here

Run the command manually:
npx playwright@latest install chromium

Then rerun your react-scan command.

Run the command manually:
npx playwright@latest install chromium

Then rerun your react-scan command.

fix, thanks


Add link on navbar and add Venus and how many match played at that stadium..

Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'Hacktoberfest' contributors of 'FIFA WORLD CUP 2022 Project'.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID (If not, then put NA) :
Approach for this Project :
What is your participant role? (Mention the Open Source Program name. Eg. HRSoC, GSSoC, GSOC, Hactoberfest etc.)

Please assign to me @Nirvik07

Hi @Nirvik07, I would love to take up this issue. My details are as follows :
Full name : Patel Yashkumar Amitbhai
GitHub Profile Link : https://github.com/patelyash5208
Participant ID (If not, then put NA) : NA
Approach for this Project : I would use HTML, CSS  to create the page
Participant role: Hacktoberfest

@patelyash5208 please fill up the google form in contributing.md file. If you have done so, then start your work.

I made a pull request please accept my request.
On Thu, 6 Oct, 2022, 12:01 am Nirvik Ghosh, @.***>
wrote:

Assigned #20 https://github.com/Nirvik07/FIFA_WORLD_CUP_2022/issues/20
to @patelyash5208 https://github.com/patelyash5208.
—
Reply to this email directly, view it on GitHub
https://github.com/Nirvik07/FIFA_WORLD_CUP_2022/issues/20#event-7527547032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AT7Y6B6T7EMV666QP2M67GTWBXCP3ANCNFSM6AAAAAAQ4HU2OA
.
You are receiving this because you were assigned.Message ID:
@.***>


Today get error

Hi, these days it has been working perfectly, but this afternoon, it has given this error:
I know perfectly that it does not solve captchas, but the page does not have the captcha activated, I have tried it from different ip, browsers, mobile.
Page is activated DDoS protection by Cloudflare 5 secs
Unhandled rejection CaptchaError: captcha     at validate (/volume1/homes/admin/node_modules/cloudscraper/index.js:193:11)     at processRequestResponse (/volume1/homes/admin/node_modules/cloudscraper/index.js:161:5)     at Object.onceWrapper (events.js:272:13)     at Request.emit (events.js:180:13)     at Request.<anonymous> (/volume1/homes/admin/node_modules/request/request.js:1161:10)     at Request.emit (events.js:180:13)     at IncomingMessage.<anonymous> (/volume1/homes/admin/node_modules/request/request.js:1083:12)     at Object.onceWrapper (events.js:272:13)     at IncomingMessage.emit (events.js:185:15)     at endReadableNT (_stream_readable.js:1106:12)     at process._tickCallback (internal/process/next_tick.js:178:19)
It has failed without change the code
node version v9.11.1
I write here if you have changed something in the cloudflare that you should know.
Thanks, greetings.

Cloudscraper version?
I think this is a duplicate of #170 and we should have a fix for it soon.

Last version install for npm: 3.4.0
Few minutes ago, i try a clean installation, but I have the same error.

I think this is a duplicate of #170 and we should have a fix for it soon.

Ok!! Very thanks.

@Anarcht can you provide a URL where Cloudscraper fails for testing purposes? I have a fix but I haven't been able to confirm it.
Also, if you'd like to test the fix:
cd your-project
npm i --save "git://github.com/pro-src/cloudscraper.git#170_fix_build"
# The following command will remove node_modules and do a fresh install
npm ci

I have placed the command as you have written to me, and it has been updated.
Unfortunately, to try we'll have to wait a few hours, because as I said in the first post, when the web has a high load, it is when activate the DDoS protection by Cloudflare 5 secs
We will wait about 10 hours or hopefully something less.
I will tell you, thank you very much.
Greetings.

@Anarcht I've confirmed the fix in #174 but you'll want to re-run those commands before testing it. There will be a new release soon anyways so no worries :+1:

@Anarcht 3.5.0 was released. Thanks @pro-src for adjusting the challenge solver!

@codemanki Installed 3.5.0, very thanks to @pro-src and you for work!!


Fix FlexShrink default value

On react-native flexShrink default value is not 1 but 0. 1 is the default value for the web and this can be confusing.

@Titozzz Hmm, according to the Yoga Layout docs, the default value is 1 no matter of platform - https://yogalayout.com/docs/flex/.
Also I was not able to find the code altering this value in Yoga (https://github.com/facebook/yoga/search?p=1&q=flexshrink),, nor React Native (https://github.com/facebook/react-native/search?p=1&q=flexshrink) source.
Can you provide the link to the source or place where this discrepancy can bee seen?

https://github.com/facebook/react-native/blob/6e6443afd04a847ef23fb6254a84e48c70b45896/ReactCommon/yoga/yoga/Yoga-internal.h#L143
you can see that even react native web uses this default: https://snack.expo.io/EsBsku4O0

But I do agree that all the docs say it's 1 which is why it's confusing

This is not complete...
Forgot to update https://reactnative.dev/docs/layout-props#flexshrink


ss_mkt Parameter Causing Anomaly Detection in DuckDuckGo Results

Description
When using DuckDuckGo's API for querying, adding the ss_mkt parameter seems to trigger anomaly detection. Specifically, if ss_mkt=FR (or any other country code variant) is appended to the request URL, the response includes a script with window.execDeep = function() {DDG.deep.anomalyDetectionBlock({...})}, which appears to be blocking or altering the query response.
Steps to Reproduce

Use the following working URL to perform a query (e.g., what is weather today):

https://links.duckduckgo.com/d.js?q=what is weather today&kl=wt-wt&l=us-en&p=1&s=0&a=h_&dl=en&ct=FR&df=m&vqd=4-130790525484318490675696036619647809147&bing_market=en-US&p_ent=&dp=a2VtvYQbwBUAnJjgW_GROFNV_mc6SfdjMK9PLqH42pqZ3fsCcOsNuDJagf0YUf4NazjDeNsiE8uQBCPRHf0rDV9gnMMek-we5JwQZ87pMeFh4-7e5KVEkLAYafYyGqW7.FOFBUBx1to6nRs7UUN6QSA&sjs=forecast&perf_id=2d03f98f2d7a55da&parent_perf_id=7fe2f5d308add94a&host_region=eun&sp=1&dfrsp=1&bpa=1&baa=1&bcca=1&btaa=1&wrap=1&aps=0&bccaexp=b&biaexp=b&btaaexp=b&eclsexp=b&litexp=b&msvrtexp=b

Add the ss_mkt parameter, e.g., ss_mkt=FR, to the URL:

https://links.duckduckgo.com/d.js?q=what is weather today&kl=wt-wt&l=us-en&p=1&s=0&a=h_&dl=en&ct=FR&df=m&vqd=4-130790525484318490675696036619647809147&bing_market=en-US&p_ent=&dp=a2VtvYQbwBUAnJjgW_GROFNV_mc6SfdjMK9PLqH42pqZ3fsCcOsNuDJagf0YUf4NazjDeNsiE8uQBCPRHf0rDV9gnMMek-we5JwQZ87pMeFh4-7e5KVEkLAYafYyGqW7.FOFBUBx1to6nRs7UUN6QSA&sjs=forecast&perf_id=2d03f98f2d7a55da&parent_perf_id=7fe2f5d308add94a&host_region=eun&sp=1&dfrsp=1&bpa=1&baa=1&bcca=1&btaa=1&wrap=1&aps=0&bccaexp=b&biaexp=b&btaaexp=b&eclsexp=b&litexp=b&msvrtexp=b&ss_mkt=FR
3. Observe the response which includes window.execDeep = function() {DDG.deep.anomalyDetectionBlock({...})} instead of the expected data.
Expected Behavior
Adding the ss_mkt parameter should not trigger anomaly detection, and the query should return results as expected.
Actual Behavior
Adding ss_mkt=FR results in the DuckDuckGo response containing a script with DDG.deep.anomalyDetectionBlock, which seems to block or modify the response.
Environment

Query Tool: DuckDuckGo API
Affected Parameter: ss_mkt

Additional Information
This anomaly is observed specifically when setting the ss_mkt parameter to a value such as FR. Other values may produce similar results.
Request
If the current DuckDuckGo API does not support the ss_mkt parameter, please consider removing or disabling it to avoid triggering anomaly detection blocks.

I have the same issue using langchain and the duck duck search library, please consider removing the parameter from the code.

Temporary fix
import { search, SafeSearchType } from 'duck-duck-scrape';
// import * as DDG from 'duck-duck-scrape';

const searchResults = await search('node.js', {
  safeSearch: SafeSearchType.STRICT
}, {
  uri_modifier: (rawUrl) => {
    const url = new URL(rawUrl);
    url.searchParams.delete("ss_mkt");
    return url.toString();
  }
);

Hello,
Is there any reference where the have mentioned about replacing ss_mkt by bing_market?.
For me replacing ss_mkt by bing_market flag does not give any answer.
Thank you.

Looking at doing a DDG request now does seem the query parameter was replaced with bing_market, also assuming the values were somewhat changed since the default is "us" with what im receiving being "en-US". Don't know of other changes but that seems to be the most obvious one.
@flaviogoncalves If you just make a PR and summarize your changes I can review and merge

It seems that new version is not fixing the issue. I can do one query per like ~15-30 minutes

Not sure how else to fix this other than adding common browser headers to each request, I don't know what else I really can do to solve this. You might just need to deal with proxies whenever you hit an anomaly.


wireguard: Set wireguard device MTU to detected route MTU

For more optimal packet sizes in large MTU setups, set the
cilium_wg0 MTU based on the detected MTU minus overhead.
Additionally set the route MTU on container side to detected
MTU minus wireguard overhead when wireguard is enabled.
Tested manually with "--mtu 1400", causing cilium_wg0 and
route MTU to be set to 1320.

test-me-please

test-runtime

test-net-next

assume we don't support wireguard + tunneling today (otherwise there'd be some extra changes lower in GetRouteMTU() where the encrypt+ipsec cases are handled).

@joestringer We do, just that in the case of tunneling pod2pod traffic goes only via the wg tunnel, so it's encapsulated only once (https://github.com/cilium/cilium/pull/15716#discussion_r616211824).

Looks good, thanks.
One question: have you tested that ping -c1 -s 1412 $REMOTE_POD_IP doesn't get fragmented, while ping -c1 -s 1413 $REMOTE_POD_IP does? -s 1412 because +8 for ICMP hdr.

Yep, fragments as expected. Though there's odd issue with small fragments getting dropped. Not related to this issue though so I'll debug and fix that separately if I can.

test-1.21-4.9

test-net-next


Add Access-Control-Allow-Origin header for all response codes.

See https://github.com/zulip/zulip/pull/5711 for the original PR, which we can't merge because Trusty's nginx doesn't support this feature.
This is something that would be helpful for people prototyping with our API.  There's 3 paths forward for doing it:

Upgrading nginx for trusty (annoying as a backport, since nginx has security updates with some frequency, but maybe we can find a PPA)
Desupporting Trusty and moving everyone to Xenial.
Finding another way to do this in the config.

Resolved by b72bb8171b699a2f9c72cca12baaf2aa0a8122bb, since we de-supported Trusty.


[Minor] Abort changelog writer before resetting

What changes were proposed in this pull request?
In commit(), changelogWriter is set to None before iterating.
This PR calls abort() on the changelogWriter before resetting.
Why are the changes needed?
To properly handle the abort of changelogWriter.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing test suite.
Was this patch authored or co-authored using generative AI tooling?
No

@HeartSaVioR
Can you take a look ?


updating miekg/pkcs11 for go 1.6

@diogomonica @riyazdf @cyli Please LGTM ASAP. Jenkins tests are breaking when we upgrade go the 1.6 over there.
Signed-off-by: David Lawrence<EMAIL_ADDRESS>(github: endophage)

LGTM

:+1:


Sprint 4:  Team Portfolio

PDF of Team Portfolio based on manual guidelines, with an emphasis on Think, Innovate and/or Control Award criteria.  Be sure review the portfolio and award criteria  in the manual
Define and assign the distribution of duties here and create the necessary sub issues. Be sure to set the necessary assignees and label (Portfolio) on related issues.

Nov 5, 2024
Today, I started off with a new document and started to make a cover page for it on Canva. Once I was done making a cover page for the contest's theme "Into the Deep", I started by adding the titles and subheadings required in a detailed structure. Here is a picture of the cover page.

Nov 5, 2024
Today, I updated the "Into the Deep" cover page to better align with its theme. I also began designing the "Who We Are" page, mapping out its visual layout. Here’s an image of the enhanced cover page.

Nov 8, 2024
Today, I started off with making the third page of the document: Making the legend and the timeline & planning section. I made use of some sea like elements to give it an into the deep vibe. I also took inspiration of some of the past portfolios of the 19447 team to make the legend and tweaked it a bit. Here is the legend and title design so far:

Nov 11, 2024
Today, I started by discussing the timeline and planning section. I then discussed how we used sprints and differentiated the timings for certain parts, such as building certain sections, coding, etc. Here is the sprint page.

Nov 13, 2024

Nov 14, 2024

Nov 15, 2024

Nov 18, 2024

Nov 19, 2024


doc: add api interface

Codecov Report

Merging #85 (c74f0a1) into main (30cea33) will decrease coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #85      +/-   ##
==========================================
- Coverage   97.10%   96.64%   -0.46%
==========================================
  Files          71       71
  Lines        2178     2178
  Branches      406      355      -51
==========================================
- Hits         2115     2105      -10
- Misses         53       59       +6
- Partials       10       14       +4

Impacted Files
Coverage Δ

di/api/executor.py
90.47% <0.00%> (-9.53%)
:arrow_down:

di/api/dependencies.py
92.00% <0.00%> (-8.00%)
:arrow_down:

docs_src/bind_as_a_dep.py
93.10% <0.00%> (-6.90%)
:arrow_down:

di/container/_solving.py
97.82% <0.00%> (-2.18%)
:arrow_down:

tests/test_execute.py
93.56% <0.00%> (-1.17%)
:arrow_down:

docs_src/autowiring.py
0.00% <0.00%> (ø)

Sorry for the delay I have to spin this up locally and see what the docs look like

The formatting of the API docs isn't perfect, certainly not as good as is achievable using Sphinx, but at least it's simple and looks good enough for a reference page. Thank you @woile and sorry for the delay!


Debug mode stops code execution without breakpoints.

From @Premitium on April 5, 2016 7:10
Hey I am running {N} 1.5.2 (I cannot update to a newer version because of a plugin that we are currently using) and whenever I start the app with tns debug android the node debugger runs in chrome and stops at different places where there are no breakpoints. It slows down everything!
Anyone had the same issue?
Copied from original issue: NativeScript/NativeScript#1885

Hi @Premitium
Indeed 1.5.x is quite old and I would suggest to upgrade to a newer version. If the plugin in question is the only reason to stay with 1.5.x I would love to help you with the migration. Please let us know which is the plugin or even better send us the URL to the plugin repo.

@Premitium, feel free to reopen the issue if you need any help or face any problems.

I found the solution. I had to clear the DNS cache and it worked fine since then.


[C#] MathBot and OrderBot - Add support for AzureOpenAI

associated: #958

Unable to support until AzureOpenAI provides Assistants support
https://learn.microsoft.com/en-us/answers/questions/1428786/availability-of-openai-assistants-api-on-azure-ope

I believe Azure OpenAI has launched Assistants
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/assistant

#1571 #1609


added typedefs to export in package.json

typescript will complain about not being able to resolve the type defs without explicitly adding them to the exports section

I also experimented with changes similar to yours, it seems work stable with typescript 5:
https://github.com/steel97/pixi-tilemap/commit/bead6374b63837c9a153b056865671e16bf2605d
Unfortunately I forgot why I specified default import file, but it look like pixi.js also doing that: https://github.com/pixijs/pixijs/blob/0ec36b5be87b99e14a9316db51fb81a074edfd45/bundles/pixi.js/package.json#L22

I also experimented with changes similar to yours, it seems work stable with typescript 5: steel97@bead637 Unfortunately I forgot why I specified default import file, but it look like pixi.js also doing that: https://github.com/pixijs/pixijs/blob/0ec36b5be87b99e14a9316db51fb81a074edfd45/bundles/pixi.js/package.json#L22

Yeah either is okay with me :). At the end of the day its the repo owner who decides. Whose maintaining this nowadays? @ivanpopelyshev ? @bigtimebuddy ?

Thanks you @spassvogel!

Would the maintainers be so kind to publish a new version with this fix? :sweat_smile:
I'm currently on 4.0.0, if anyone stumbles upon the same problem, try the following workaround:
// pixi-tilemap.js
export * from '@pixi/tilemap';

// pixi-tilemap.d.ts
export * from<EMAIL_ADDRESS>
// usage
import { CompositeTileMap } from './pixi-tilemap';

Using TypeScript's typeRoots or declare module "@pixi/tilemap" maybe would be a bit cleaner, but I couldn't get it to work.

@humodz you can install package directly from git
npm install git+https://github.com/pixijs/tilemap.git

Published 4.1.0 with all the changes since 4.0.0.
We are looking for a maintainer for this project (@steel97?). We need someone that can resolve issues and publish update to npm. Any takers? The PixiJS core team doesn't have the bandwidth to manage this plugin and we could use a hero.

Resolving current issues and publishing npm releases is not difficult task, but... Looks like pixi.js v8 will be released soon, and, porting this library to v8 is quite tricky task.
I think for now it's better to wait for v8 release to decide how to maintain this library in best way


[Request-For-External] Codeunit 8800 "Custom Layout Reporting" - Procedure SaveReportRequestPageParameters

Hello, we need the following currently Internal procedure to be set as Global. Can you please check this? Thank you!
[Request-For-External] Codeunit 8800 "Custom Layout Reporting" - Procedure from Internal to Global
procedure SaveReportRequestPageParameters(ReportID: Integer; XMLText: Text)

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 41864.


Issues with learning in custom environment

Hello,
I'm writing you to discuss a problem that is not directly related with your code and application but is affecting my own efforts to apply RL on a more custom type of problem where we have an environment which is not atari-like.
In my custom environment I have noisy, difficult to interpret images which are my observations, and i can take a bunch of actions. For each image between 1 and 4 actions can be considered correct and between 8 to 5 actions are always incorrect.
This problem can be also formulated in a fully supervised manner, as a classification problem, where we ignore the fact that more than one action can be considered correct at a time and that these actions are related to each other over time and define a "trajectory" of actions.
When we use the supervised approach in the way i just described the system works well, meaning that there is no struggle interpreting those noisy images that are difficult to understand by humans.
When these images are organized in a structured manner, in an environment one can play with, it's possible to use a RL algorithm to solve the problem. We have tried with satisfactory results DQN, which works okay. In that case the reward signal is provided continuously, for an action that goes in the right direction we assign a reward of 0.05, for an action that goes in the wrong one -0.15, for a "done" action issued correctly +1 and for a "done" actions issued incorrectly -0.25. A "done" action doesn't terminate the episode (it is terminated after 50 steps). DQN in these settings very slowly converges and shows nice validation results.
When we employ A3C, the behavior is either:

Reward goes up for a bit, then stabilizes to a very poor value, never moves again (we tried also dampening beta as we optimize and we got an identical behaviour)
Reward fluctuates and then drift in a way that for 50 steps of the episode a correct action is NEVER done. meaning the -0.15 reward is always the one that is obtained for all the steps, like the network would have learned perfectly how not to do things.

I am very puzzled by this behavior. I have checked and re-checked every moving piece. the environment, the inputs to the network in terms of images, the rewards, the distribution of different actions over time (such that i see if the network is just learning to issue always the same action for some reason). All these problems seem to be absent. I thought it was a problem of exploration vs. exploitation and therefore i reduced first and then increased beta. i have also dampened beta over time to see what happens, but the most i obtained was a sinusoidal kind of behavior of the reward.
I also have tried to use a epsilon greedy strategy (just for debug purposes) instead of sampling from the policy distribution, with no success (network converges to the worst possible scenario rather quickly).
I tried reducing learning rate with no success.
Now, the policy gradient loss is not exactly the same as the cross-entropy loss but it resembles it quite a bit. With an epsilon greedy policy i would expect that for each image (we have a limited number of images (observations) that are re-proposed when the environment reaches a similar state) all the possible actions are actually explored and therefore the policy is learned in a way that is not so far away from the supervised case. If i set discount factor to zero (which i have tried), the value part of the network does not really play a role (i might be mistaken though) and if i give a reward for each step i take i should kind of converge to something that resembles my classification approach that i described above.
Maybe the fact that multiple actions can generate the same reward or penalty is the problem ?!
I would immensely appreciate any help or thought coming from you. Despite I'm really motivated about applying RL to my specific problem I really don't know what to do to improve the situation.
Thanks a lot,
Fausto

It's hard to comment as you are doing the experiments in first person, but I'll try anyway.
The possible experiments that come to my mind are, not necessarily in the proper order:

Try giving a positive / negative reward only when done, avoid partial rewards; overall RL was designed to work with sparse rewards, although I agree that dense rewards may help. Also terminating the episode when done may be a good idea - I guess data coming after "done" may be very noisy and meaningless.
try modify tMax - if tMax is as long as the entire episode, the problem should me much closer to a supervised problem with noiseless data (at least for the estimation of the V value), and you should converge.
In our experience, fitting the correct V value is in general easy - is this the case for your application too?
It seems that you convergence towards a very bad local minimum - I would have suggested changing the learning rate, as we have seen that this has a big influence on the convergence, but it seems that you already tried. Anyway, some more try with very small or very large learning rate may give some more hints.
If you haven't done it yet, increase the minimum training batch size for increasing the stability of the algorithm.

first of all, i would like to thank you for the interest in the problem i'm facing and for your kind answers.
I am right now trying the delayed reward scheme.
I'm using reward +1 for correct "done" and reward -1 for wrong "done".
When I don't use epsilon greedy, but I rely on the usual exploration strategy, I quickly converge to the situation where the agent wonders endlessly (50 steps) without ever issuing "done". this is understandable. The same thing happens when i try with epsilon greedy (just for fun and also because it's difficult to find a good beta parameter actually).
Now i'm trying with 1 for correct "done" and -0.1 for wrong "done" hopefully encouraging "done" to be issued more often. I will update the thread here in order to also provide potentially useful information to future readers.

Ok. Funny enough now it issues just "done" because it's more convenient now in average.
So it seems that the policy is collapsing to just one action when this action is the only one that gets rewarded (and sometimes penalized a little). This happens with both epsilon greedy and the policy distribution based exploration strategy.
This should not happen. We have the mechanism of the delayed reward in place exactly to address these kind of situations.
This can be due to three things:

The value function is not learned correctly. The mechanism of the delayed reward strongly depends on the value function, as in policy gradient in a3c we have a loss where we try to promote high ri + gamma*R - v(si). Possible causes: network has too few parameters (unlikely). Learning rate too big. There is some problem with the discounted reward somehow...

the network forgets. Even if there is an exploration strategy it's sufficient to see a few episodes in a row exhibiting a certain behavior and training with it, and suddenly the networks thinks that the best thing to do is that action. I don't believe that lowering the learning rate would help.

something I'm unable to see right now

Also my losses do not look smooth or descending at all. Have no clue why.
My activation histograms look like this when beta = 0.01

and like this when beta = 0.1

I will try to use tensor board a bit more effectively and get a more info about the behaviors i'm seeing. hopefully somebody more expert than me (i consider myself still a novice in RL) will have some idea.

Based on the previous comment, your agent seems to be short-sighted. It cannot see rewards in a far future... Maybe because he is receiving rewards at every frame, and fall into a local minimum where collecting low-term reward is enough? If this is the case, both reducing the learning rate and increasing tMax may help. I am not sure if also changing gamma may have some effect - in theory a small gamma should favor a short-sighted agent, on the other hand a small gamma may provide a larger gradient for a high, occasional big reward (like the one you provide when it's done). BTW, providing the right reward is a problem per se - why not providing just +1 or -1 for any reward or, as I suggested before, providing the reward only when it's done?
As for the histogram, beta = 0.1 seems to perfectly regularize the output (as far as I understand you have 9 action, and the histogram here is concentrated around p = 0.11, which is coherent with this). In other words, I guess this agent is completely random, and therefore useless. The first histogram seems much better.
As for the smoothness of the curves, RL is really unstable and I only occasionally see a smooth convergence curve. Nonetheless, you can "regularize" this curves by increasing the "minimum training batch size" in the config file, and/or increasing tMax (again in the config file). Be careful, however: changing these parameters may also require changing the learning rate.


Timestamping not usefull for conditionally acting on delta

The current library is most useful for logging how long something took to execute to the console. However, this is my use case in pseudo code (that doesn't work with the library):
TimestampMillis timestamp;

void setup()
{
  timestamp.start();
}

void loop() {
  timestampDelta = timestamp.end();  <-- This overwrites the internal start, which causes it not to work
  if (timestampDelta >= 15000) {
    ...
    timestamp.start();
  }
}

Possible solution:

Most logical would be to not overwrite the internal .start() variable until .start() is called again.

So maybe its even better to make the class act like this:
start(): to store a start internally
delta() : to return the delta of millis() - start
print() : calls delta() and prints the delta. Optionally you can keep it returning the delta, which you do now.
end() is not required, application can end it just by calling start again or keep it rolling as long as wanted.
This is simple and requires no protection.

Thanks for your feedback. What do you think of this proposal in a new branch "feature-delta-time"?
https://github.com/Erriez/ErriezTimestamp/tree/feature-delta-time

Almost there! See review comment(s).

Hmm, I can't find your review comment(s). According to the GitHub documentation, it is only possible to add comments on a Pull request. Or did I miss something?

Added review comments on the last conmit of your branch i think.

Found it and created a Pull request #6 for discussion.

Fixed in commit 992c914.


NGramIndex on Inner Property does not work (Runtime Error)

@apereiratl here is an issue for what we briefly chatted about.
Here is a simple Record I have:
    public RentalProperty(Guid id, string name, PropertyDetails details, PropertySecurityInfo securityInfo)
    {
        Id = id;
        Name = name;
        Details = details;
        SecurityInfo = securityInfo;
    }

Here is a working NGramIndex, with the not-working index commented out
    public void Configure(IServiceProvider services, StoreOptions options)
    {
        // RentalProperty search indexes

        // Works great! Useful for whole-word matching.
        options.Schema.For<RentalProperty>().FullTextIndex();

        // Top-level string property works great! Useful for partial-match searching
        options.Schema.For<RentalProperty>().NgramIndex(x => x.Name);

        // Inner Property NGramIndex does not work. There is a runtime error.

        // BROKEN:
        // options.Schema.For<RentalProperty>().NgramIndex(x => x.Details.MailingAddress.StreetAddress1);
    }

Luckily, the NGramSearch still works fine. I just worry about not having that one field indexed properly, and speed concerns when we get more data in our database.
  await using var session = await GetSession(cancellationToken);
  var rentalProperties = await session.Query<RentalProperty>()
      .Where(x => x.Name.NgramSearch(searchText)
                  || x.Details.MailingAddress.StreetAddress1.NgramSearch(searchText)  // TODO - make sure there is a way to index this?
                  || x.PlainTextSearch(searchText))
      .ToListAsync(cancellationToken);

  return rentalProperties;

So on to the error, when trying to NGramIndex on an inner property, this occurs:
[10:18:50 ERR] An unhandled exception has occurred while executing the request. <s:Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware>
Weasel.Postgresql.PostgresqlIdentifierInvalidException: Database identifier mt_doc_rentalproperty_idx_ngram_details as jsonb) ||   || cast(data ->> mailingaddress as jsonb) ||   || data ->> streetaddres
s1 is not valid. See https://www.postgresql.org/docs/current/static/sql-syntax-lexical.html for valid unquoted identifiers (Marten does not quote identifiers).
   at Weasel.Postgresql.PostgresqlMigrator.AssertValidIdentifier(String name)
   at Weasel.Core.Migrations.DatabaseBase`1.generateOrUpdateFeature(Type featureType, IFeatureSchema feature, CancellationToken token)
   at Weasel.Core.Migrations.DatabaseBase`1.ensureStorageExists(IList`1 types, Type featureType, CancellationToken token)
   at Marten.Linq.MartenLinqQueryProvider.ensureStorageExistsAsync(LinqHandlerBuilder builder, CancellationToken cancellationToken)
   at Marten.Linq.MartenLinqQueryProvider.ExecuteAsync[TResult](Expression expression, CancellationToken token)

I haven't been able to get the basic NGramSearch to work both with and without specifying the index on the config. I originally had a full text and gin index set on a document. Removed those but still not working. It throws an error
function mt_grams_vector(text) does not exist

@tonykaralis Can you please post how you're trying to use this feature?

I believe you need PostgreSQL 10+ or else it is not supported.
Make sure you have mt_grams_vector available in public/routines in your database as shown here (screenshot from DataGrip)

If that all looks good, then it's potentially related to this bug.
I have found that you can still NgramSearch without the NgramIndex just fine, however it's probably slower especially with a lot more data!
@tonykaralis When I was learning how to use this, I encountered the same error function mt_grams_vector(text) does not exist but it was because the method was not attached to some property correctly. Share your usage example please? :)

@tonykaralis @OptimusPi Could please update us on this issue with a repro?

I haven't been able to get the basic NGramSearch to work both with and without specifying the index on the config. I originally had a full text and gin index set on a document. Removed those but still not working. It throws an error function mt_grams_vector(text) does not exist.
I checked the DB and according to PGAdmin the function does exist.

Most likely you are using multiple database schema. Most likely, it is related to https://github.com/JasperFx/marten/issues/2398

@OptimusPi Probably you could use a duplicate field for the nested property as a workaround and create an NGramIndex on the duplicated field.

@mysticmind Thank you for getting back to us. This is definitely the issue I'm facing then as all of my data resides in a separate schema called Data


make blog images responsive

fix #789

:global(img) {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

is it worth it to add object-fit for fun or does it not do anything? I was running this on local and it seemed to be working too

fun has been added

i dont think it does anything though, so maybe just keep it simple?


Create optional checkVersion function

This should fix https://github.com/humitos/sphinx-version-warning/issues/29

Note that while I opened this PR, all the work was done by @qt1p.

Wrong PR


Windows EC2 Instance: Waiting for SSH to become available...

Is there no way to test WinRm via knife or whatever other tools you might be using? I imagine that this might break how we're spitting out shares/mounts to get chef-solo to run on the VM but I'd be happy if we could test for the open port then issue a knife bootstrap windows winrm $host style command or similar. I'm not sure if this fits into the whole mantra but I sort of feel like there hasn't been much support for this sort of issue. Let me know what you think.

Are you sure it's actually trying to connect to SSH?
I discovered that on my setup the info message is a lie, it's actually trying to connect to WinRM and in my case I know the AMI doesn't have that on it.
==> default: Waiting for SSH to become available...
 INFO winrm: Checking whether WinRM is ready...
DEBUG provider: Searching for cap: winrm_info
DEBUG provider: Checking in: aws
 INFO machine: Calling action: read_ssh_info on provider AWS ()
 INFO runner: Preparing hooks for middleware sequence...
 INFO runner: 2 hooks defined.
 INFO runner: Running action: #<Vagrant::Action::Builder:0x5b7ba28>
 INFO warden: Calling IN action: #<Vagrant::Action::Builtin::ConfigValidate:0x5baa9c0>
 INFO warden: Calling IN action: #<VagrantPlugins::AWS::Action::ConnectAWS:0x5baaac8>
 INFO connect_aws: Connecting to AWS...
 INFO warden: Calling IN action: #<VagrantPlugins::AWS::Action::ReadSSHInfo:0x5c259c0>
 INFO warden: Calling OUT action: #<VagrantPlugins::AWS::Action::ReadSSHInfo:0x5c259c0>
 INFO warden: Calling OUT action: #<VagrantPlugins::AWS::Action::ConnectAWS:0x5baaac8>
 INFO warden: Calling OUT action: #<Vagrant::Action::Builtin::ConfigValidate:0x5baa9c0>
DEBUG winrmshell: initializing WinRMShell
DEBUG winrmshell: powershell executing:
hostname
if ($?) { exit 0 } else { if($LASTEXITCODE) { exit $LASTEXITCODE } else { exit 1 } }
 INFO winrmshell: Attempting to connect to WinRM...
 INFO winrmshell:   - Host: xxx
 INFO winrmshell:   - Port: 5985
 INFO winrmshell:   - Username: vagrant
 INFO retryable: Retryable exception raised: #<Errno::ECONNREFUSED: No connection could be made because the target machine actively refused it. - connect(2) (http://xxxx:5985)>
DEBUG winrmshell: powershell executing:

@MartinSGill you are right - I was also sitting there "Waiting for SSH to become available" but your comment did the trick - once I opened up the default port for WinRM (5985) on the VPC firewall, I was able to get passed that failure. Now I just need to figure out how to deal with the rsync failure that occurred right afterward.

@MartinSGill @jakefeasel
Did you guys ever get winrm set up to provision your windows ec2 instances?
I'm getting this output in debug mode; however, none of my provision scripts ever work:

function which {
    $command = [Array](Get-Command $args[0] -errorAction SilentlyContinue)
    if($null -eq $command)
    {
      exit 1
    }
    write-host $command[0].Definition
    exit 0
}

function test ([Switch] $d, [String] $path) {
  if(Test-Path $path)
  {
    exit 0
  }
  exit 1
}

function chmod {
  exit 0
}

function chown {
  exit 0
}

function mkdir ([Switch] $p, [String] $path)
{
  if(Test-Path $path)
  {
    exit 0
  } else {
    New-Item $path -Type Directory -Force | Out-Null
  }
}

# function to check whether machine is currently shutting down
function ShuttingDown {
    [string]$sourceCode = @"
using System;
using System.Runtime.InteropServices;

namespace VagrantWindows {
    public static class RemoteManager {
        private const int SM_SHUTTINGDOWN = 0x2000;

        [DllImport("User32.dll", CharSet = CharSet.Unicode)]
        private static extern int GetSystemMetrics(int Index);

        public static bool Shutdown() {
            return (0 != GetSystemMetrics(SM_SHUTTINGDOWN));
        }
    }
}
"@
    $type = Add-Type -TypeDefinition $sourceCode -PassThru
    return $type::Shutdown()
}

if (ShuttingDown) {
  exit 1
}
else {
  # see if a reboot is scheduled in the future by trying to schedule a reboot
  . shutdown.exe -f -r -t 60

  if ($LASTEXITCODE -eq 1190) {
    # reboot is already pending
    exit 2
  }

  # Remove the pending reboot we just created above
  if ($LASTEXITCODE -eq 0) {
    . shutdown.exe -a
  }
}

# no reboot in progress or scheduled
exit 0

exit $LASTEXITCODE
DEBUG winrmshell: Exit status:<PHONE_NUMBER>

My provision script is the following:
config.vm.provision "shell", inline: "mkdir c:\hello"

@dav92lee I don't think I ever did. You can see my attempts for vagrant with ec2 and windows here: https://github.com/jakefeasel/sqlfiddle2/blob/master/Vagrantfile#L68
As you can see from the comments, I gave up trying to run the powershell provisioner in that environment, and instead just have the provisioning done prior to creating the AMI.


test-refactoring: remove forked class in tests

Forked because of
https://github.com/cloudfoundry/uaa/pull/1462
We have now AlphanumericRandomValueStringGenerator and will get the other one.
For tests go with AlphanumericRandomValueStringGenerator
Prevent problems with https://github.com/cloudfoundry/uaa/pull/2813 where we now have the same class also in UAA context

I'm having trouble understanding the context. The code changes are easy enough to review on the surface. @strehle could you explain the motivation?
Why were some RandomValueStringGenerator uses replaced but not all?

I'm having trouble understanding the context. The code changes are easy enough to review on the surface. @strehle could you explain the motivation?
Why were some RandomValueStringGenerator uses replaced but not all?

Motivation is to remove a mix of RandomValueStringGenerator and AlphanumericRandomValueStringGenerator usages.
History:
RandomValueStringGenerator comes from spring-security-oauth2 (https://github.com/spring-attic/spring-security-oauth/blob/main/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/common/util/RandomValueStringGenerator.java) and created random. In the past without extra characters, but with latest updates 2.5.1 , added -_
This new chars caused many test failures in UAA because we used the random for client / user creation.... and many test scenarios. Therefore I forked the original class from ext. project into UAA test scope, see
https://github.com/cloudfoundry/uaa/blob/develop/uaa/src/test/java/org/cloudfoundry/identity/uaa/login/util/RandomValueStringGenerator.java
Later there was the new class https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/java/org/cloudfoundry/identity/uaa/util/AlphanumericRandomValueStringGenerator.java because others in UAA had similar issues.
Now (back in present) we want remove the spring security oauth2 dependency but the  RandomValueStringGenerator  still is in test, therefore this PR is a cleanup to remove this fork and re-use the AlphanumericRandomValueStringGenerator in places where we need random without special chars.
In the big move https://github.com/cloudfoundry/uaa/pull/2843 the original class RandomValueStringGenerator  comes again to UAA but this time with its current behavior, means with extra characters which is needed for OAuth2 code creation.
You may see that all changes are only in TEST code, therefore this extra cleanup PR because I see it as a easy to approve PR and thought its better to have it in a extra PR and not within https://github.com/cloudfoundry/uaa/pull/2843


Add 'Back-To-Top' Button

The addition of a "Back to Top" button on the homepage of our website would enhance user experience by providing a convenient way for users to quickly return to the top of the page after scrolling down. This feature is commonly seen on many websites and has become an expected element for smooth navigation.
https://github.com/dvjsharma/Drawn2Shoe/assets/146121869/d0197ab3-1645-4606-a452-741e36c36d3f

Go ahead @AsmitaMishra24 . A minor improvement I recommend is to make the button visible only when the user is scrolling down, not at the first frame itself. Also, FYI we already have scroll to top functionality when route changes. #78

updaes @AsmitaMishra24


No locals while debugging with generated pdb

I'm debugging qemu (the binary is attached to "Invalid entrys in generated pdb" issue) and windbg does not show any locals. For example when debugging bdrv_co_rw_vmstate function, gdb shows as locals "drv" and "ret", and as arguments "bs", "qiov", "pos", "is_read".

Looks like these variables are kept in registers and sometimes even passed through several registers. It's a major effort to support these in the conversion.
I suspect you are using an optimized build. If feasible you should disable that.

I built the exe without optimizations, the locals are generated and I'm able to see them in windbg. But cvdump writes several warnings:
WARNING: UDT mismatch for lconv
<<<<<<
0x101b : Length = 26, Leaf = 0x1505 LF_STRUCTURE
# members = 18,  field list type 0x101a,
Derivation list type 0x0000, VT shape type 0x0000
Size = 88, class name = lconv, UDT(0x000010b2)

0x10b2 : Length = 26, Leaf = 0x1505 LF_STRUCTURE
# members = 0,  field list type 0x1022,
Derivation list type 0x0000, VT shape type 0x0000
Size = 0, class name = lconv, UDT(0x000010b2)

and
<<<< WARNING >>>> 1 line/addr pairs are out of bounds!
.\debian\tmp\usr\x86_64-w64-mingw32\include\psdk_inc\intrin-impl.h (None), 0001:0055B820-0055B82A, line/addr pairs = 1
1120 0055B820
.\mingw-w64-crt\misc\invalid_parameter_handler.c (None), 0001:0055B82A-0055B82B, line/addr pairs = 1
 10 0055B82A

.\mingw-w64-crt\misc\output_format.c (None), 0001:0055B830-0055B840, line/addr pairs = 2
Is this important?
qemu-system-i386_dbg.zip

WARNING: UDT mismatch for lconv

These appear because there are multiple definitions of the same struct in the DWARF info, too, probably from different compilation units. Most of them shouldn't be a problem, but anonymous ones that are all called __noname.

<<<< WARNING >>>> 1 line/addr pairs are out of bounds!
Is this important?

Very unlikely, these are 2 empty sections from inlined code in the C runtime that you will probably not hit.


Why Mortar needs to add the "Ghost View" when I use VFL to define layout?

@jmfieldman I am just curious, why we need to add the "Ghost View" to the view hierarchy when defining its layout with VFL? Why we need "Ghost View" at all? Is it some kind of simplification or workaround for a complex problem you couldn't solve otherwise? I tried to look into source code, but couldn't figure out why exactly we need it, why it's not possible to do the job without implicitly adding anything to given view hierarchy? I'd appreciate if you share some insights with me. Thanks!
P.S. Thanks a lot for the library, it's amazing! I'm switching on Mortar from SnapKit and super happy with it.

@maximkhatskevich in my experience there is no way to get ratio-based sizing between views (without adding an additional view).  For example, if you want something like:
[view1][space][view2][space][view3]
Where all elements are the same width, you can't get dynamically sized between-view space like that (that will scale cleanly w/ autolayout).  Perhaps anchors can do this (?) but I don't much experience with those (which is why I used a ghost view).
You can see that the only place I add a ghost view is when a VFL node is ratio-based and does not include a view (e.g. it is an empty ratio-based VFL node).

P.S. Glad you like the library! :)

@jmfieldman so you use the ghost view as reference view with size value for given axis equal to "~~1", and then constrain other views in the same VFL expression along this axis to this reference view, with a multiplier equal to their weighted size?

Rather, I determine all of the ratios first.  So ~~1 | ~~2 | ~~3 would be 1/6, 2/6, 3/6.  I can then assign each view their specific ratio of the parent width.  Then each view can be linked to the ones next to it w/ leading/trailing edges.  Since raw space can't be ratio-based it needs to be a ghost view :(

Okay, I see. I guess this approach came from the fact that leading and trailing views can potentially be different views, right? When it's the same view (when we use "|^^" or "|>>", etc.) - we could just use this view itself as a reference and do not add a ghost view if I understand everything correctly? What do you think?

The latter -- the ghost views take the empty ratio space in the VFL expression

Also w/ this method it doesn't really which autolayout view+edge combos are the "parent edges" for the VFL expression.  There will simply be some parent left/right or top/bottom edges that have some scalable space S between them.  We set all the ratio views inside S to have width/height relative to each other.

@jmfieldman okay, thanks for the info. I think that's enough info for me for now. Appreciate your time!


Adding Orchestartion swagger API Specs

What this PR does / why we need it: Add Swagger API specs
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #35
Special notes for your reviewer:
Release note:

Codecov Report

Merging #37 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #37   +/-   ##
=======================================
  Coverage   39.53%   39.53%
=======================================
  Files          13       13
  Lines         683      683
  Branches       71       71
=======================================
  Hits          270      270
  Misses        403      403
  Partials       10       10


Use SMCIPMITool for Supermicro machines to mount/unmount virtual media

The Supermicro provided tool called SMCIPMITool can mount/unmount virtual media and do many other things. We should automate using it with IBMCloud Supermicro hardware so we can have a more automated install process.
Example:
$ ./SMCIPMITool x.x.x.x root xxxxxxxxx wsiso umount
Done
$ ./SMCIPMITool x.x.x.x root xxxxxxxxx wsiso mount "http://x.x.x.x:8081" /iso/discovery.iso
mounting ISO file ...
Mount ISO successfully

It seems we also need to place the iso files into one level deep on the directory tree of the http server in order for it to behave as expected as well.

This is completed for ibmcloud deployments, both the bare-metal and SNO cluster types implement SMCIPMITool to mount/unmount ISOs now. We should still look to use this instead of redfish with scale lab and alias lab supermicro hardware before closing this issue out.

Finished with #97


use github actions instead of travis-CI

Pull Request check-list
Please make sure to review and check all of these items:

[x] Does $ tox pass with this change (including linting)?
[x] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)?
[x] Is the new or changed code fully tested?
[ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Please provide a description of the change here.

This had failed initially, but then passed when I retired it. Not sure if this was a freak error in github actions or an error in the action itself.
In the action yaml, it looks like this only runs against master. We had Travis setup to run on a push/pr to any branch. Is that not a good idea?

This had failed initially, but then passed when I retired it. Not sure if this was a freak error in github actions or an error in the action itself.
In the action yaml, it looks like this only runs against master. We had Travis setup to run on a push/pr to any branch. Is that not a good idea?

It's set to run on push to master branch or PR pointed at master branch.