text:
Implement tools for diffing sets of owners of repo paths; fix bug in regex-based CODEOWNERS matching logic

Overview
This PR implements tools for diffing list of owners for all files in given repository, allowing one to quickly determine how the resolved list of owners for all repository file paths will change if a different CODEOWNERS matcher is used, or the contents of the file are changed.
And as such, this PR contributes to:

#5135
#2770

And contributes to providing information necessary to unblock this PR:

#5088
Per this comment:
https://github.com/Azure/azure-sdk-tools/pull/5088#pullrequestreview-1241376684

This PR builds upon the logic implemented in:

#5134

Changes made

Added CodeownersDiffTests class, a series of tools to be used manually to diff owners of files based on differing sets of settings
Fixed a bug in MatchedCodeownersEntry, i.e. the regex-based CODEOWNERS matcher, where the matcher was "eating up slashes too aggressively" when interpreting **, resulting in more matches being made than desired. I added tests to CodeownersFileTests to cover these cases.

@weshaggard I updated the matcher logic. Please have a look once you have a moment :) Thanks!


text:
PAT Removal from pipeline generation yml

This is the second PR, the one that removes the usage of azuresdk-azure-sdk-devops-pipeline-generation-pat.
Note: As of right now, this PR is incomplete. This PR relies on another PR being merged, publishing a new version of the pipeline-generator and the version of install-pipeline-generation.yml being updated to the published version. That needs to be part of this PR and will be updated once the other one is removed.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

You will need to update also update https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/steps/install-pipeline-generation.yml#L12

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

You will need to update also update https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/pipelines/templates/steps/install-pipeline-generation.yml#L12

Yes, I called that out in the description. The other PR, with the source changes, had to get merged and published first. The 3rd commit updates the version and that file is part of this PR.

source: gharchive/pull-request

authors: JimSuplizio azure-sdk weshaggard

repo: Azure/azure-sdk-tools

license: MIT

license_type: permissive

license_source: github-api


text:
[Question] azcopy sync from azure file share to local (not to the azure file share)

Hello,
is this possible in this direction or is it only possible to sync to cloud?
Greetings,
Hufi

It is possible to sync in both directions.

source: gharchive/issue

repo: Azure/azure-storage-azcopy


text:
Build issues

I had a few issues building clean. Various screenshots below, I'm currently stuck on the 3rd but will update this issue if I find a resolution
Could we enable a CI build on this repo to help make sure it continues to build clean?
Things that helped

Running build.cmd multiple times
Updating Web Developer Tools in Visual Studio 2015

Can you build successfully in VS? For the last error run "msbuild WebJobs.Script.proj /t:EnableSkipStrongNames". Also run all this from an admin VS Developer Command Prompt window.

Thanks @mathewc!  As I edited up above, here are the steps to solve the issue:

Running build.cmd multiple times
Updating Web Developer Tools in Visual Studio 2015
msbuild WebJobs.Script.proj /t:EnableSkipStrongNames (thanks Mathew!)

authors: dsyme mathewc

repo: Azure/azure-webjobs-sdk-script


text:
crash loop due to missing connection string

call stack
Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexingException: Error indexing method 'Functions.QueueTriggerCSharp1' ---> System.InvalidOperationException: Microsoft Azure WebJobs SDK ServiceBus connection string 'AzureWebJobsEndpoint=<REDACTED>' is missing or empty.
   at Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider.GetConnectionString(String connectionStringName)
   at Microsoft.Azure.WebJobs.ServiceBus.MessagingProvider.CreateMessagingFactory(String entityPath, String connectionStringName)
   at Microsoft.Azure.WebJobs.ServiceBus.Triggers.ServiceBusTriggerAttributeBindingProvider.TryCreateAsync(TriggerBindingProviderContext context)
   at Microsoft.Azure.WebJobs.Host.Triggers.CompositeTriggerBindingProvider.<TryCreateAsync>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexer.<IndexMethodAsyncCore>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexer.<IndexMethodAsync>d__13.MoveNext()
   --- End of inner exception stack trace ---
   at Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexer.<IndexMethodAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.WebJobs.Host.Indexers.FunctionIndexer.<IndexTypeAsync>d__9.MoveNext()

Related to #1250

This will be addressed by @mamaso https://github.com/Azure/azure-webjobs-sdk/pull/1035

authors: ahmelsayed davidebbo mathewc


text:
Improve list manipulation in bicep

Support for:

filtering
mapping
reducing
sorting
flattening (flat/flatMap - see https://github.com/Azure/bicep/issues/4153#issuecomment-972929108)
iteration over objects (keys and/or keys&values) - now completed, see #1427

Related:

#4152
#1427
#2082
#2251
#2065

filtering
mapping
reducing

We should close on syntax and semantics for lambdas in Bicep code, as well as in ARM JSON code.
e.g. something like obj.map(x => x.value) (Bicep) -> [map(obj, x => x.value)] (JSON).
I think the trickiest part is going to be figuring out how we handle captured variables and accurately preserving this information through the IL.

iteration over objects (keys and/or keys&values)

This - we should just go and do ASAP! The implementation in the IL of a keys() (or pairs()) function which Bicep can use as an iterator would be extremely simple.

we should just go and do ASAP!

FWIW, we've committed to doing this in 0.5 per #1427. I'm hoping we can knock it out this month.

Awesome, this would resolve this as well https://github.com/Azure/bicep/issues/2082

Linking #2251 for having the ability to sort an array (note the comparison functions are already available, what is needed is the meta sorting that takes one of the available comparers as a param).

Linking #2251 for having the ability to sort an array (note the comparison functions are already available, what is needed is the meta sorting that takes one of the available comparers as a param).

Good point, I'll add that to the original issue description

It's just my personal preference, but this came to my mind when I was reading @anthony-c-martin 's proposal about adding support lambda functions (#4691): I wonder if we can implement these functions as free functions rather than type members and add support for some functional programming language concepts in Bicep, such as currying, point-free style programming (with a pipeline operator like |>).
For example:
var sentence: string = 'The quick brown fox jumps over the lazy dog'
var shortestWordLength: int = sentence
  |> split(' ')            // get words
  |> map(s => length(s))   // get word lengths
  |> min                   // get the minimum length

Another function that would be useful to have is flat or flatMap - e.g. something similar to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/flatMap, to allow converting:
var foo = [
  [
    item1
    item2
  ]
  [
    item3
  ]
]

Into:
var foo = [
  item1
  item2
  item3
]

An alternative to the above would be supporting a spread syntax on function arguments, so that you could pass an array of arguments to a function, and have each element treated as a function argument (similar to JavaScript's apply() function), so you could write e.g:
var foo = [
  [
    item1
    item2
  ]
  [
    item3
  ]
]

var bar = concat(...foo)

Another issue related to handling list -> string conversion: #5242

I'm more proficient in ARM templates syntax than in Bicep but I'm looking for a function that searches though a list of objects by the object's property. Something like this:
var arr = [
  [
    {
      "id": "id1",
      "value": "value1",
    },
    {
      "id": "id2",
      "value": "value2",
    }
  ]
]

var item2 = find(arr, "id", "item2")

In ARM template that would this:
{
  "variables":{
    "arr":[
      {
        "id": "id1",
        "value": "value1"
      },
      {
        "id": "id2",
        "value": "value2"
      }
    ],
    "item2": "[find(arr, 'id', 'item2')]"
  }
}

Related item #5242

authors: abatishchev alex-frankel anthony-c-martin matsest shenglol stan-sz

repo: Azure/bicep


text:
Encoding DocumentUri.Path when converting DocumentUri to Uri

This is a workaround for https://github.com/OmniSharp/csharp-language-server-protocol/issues/1005.
Fixes https://github.com/Azure/bicep/issues/9466.
Microsoft Reviewers: Open in CodeFlow

Have you weighed up this approach against using .ToString()?
Fiddle: https://dotnetfiddle.net/ReOvDS

Have you weighed up this approach against using .ToString()?
Fiddle: https://dotnetfiddle.net/ReOvDS

That's a good find. I haven't explored ToString(), but it seems to fix the issue as well. The difference is that ToString is a slightly more expensive operation, but it handles encoding for other components (although for file system paths, this might not be a concern). Do you think if it's worth changing the implementation?

@shenglol I haven't read through the PR completely, but do we have any remaining ToUri() calls left? If not, should we make that a banned symbol?

authors: anthony-c-martin majastrz shenglol


text:
Alternative algorithm and metrics

The demo only shows the uses of hnsw. And cosine as metric. What are the other possible algorithms and metrices i can use. I have tried "euclidean" and it works, but "dotproduct" Is not supported. I couldn't find other available alternatives in the repo.

Hi, can you try dotProduct instead of dotproduct?

repo: Azure/cognitive-search-vector-pr


text:
fix: update mermaid related CDN urls

Major updates of this PR:

Added explicit version (@9) to mermaid CDN URL, since the current default latest version is v10, which has no mermaid.min.js file anymore, therefore old CDN URL returns 404 error.
Also added explicit version (@3) to vue-mermaid-string CDN URL, since the current default latest version is v4, which requires v3 Vue, but we're using v2 for now, therefore there's compatibility issue before adding the explicit version.

Now it works well again : )

Looks good to me. Thanks for the prompt action, @thurstonchen !

repo: Azure/config-driven-data-pipeline


text:
Add Hot Reload support for log-level property in RuntimeConfig

Related to https://github.com/Azure/data-api-builder/issues/1645
Once we have the log-level as a property of the RuntimeConfig, we need to add support so that this property can be hot reloaded both in a development and production mode.

depends on #1645

.12 also pending discussion with @abhishekkumams

authors: aaronburtle seantleonard

repo: Azure/data-api-builder


text:
Question about additionalRoleAssignments structure

Hello,
I am trying to deploy policy with  additionalRoleAssignments, which requires roleDefinitionId and scope. Unfortunately, do not know why the assignment of additional roles does not work. Assigment applies to custom policy, could I ask for guidance on what the correct definition should look like.
Below is my definition of assignment, The policy works correctly but the additional role no longer.
I will mention that I have one tenant.
`
{
"nodeName": "/7-DN-VMS-DeployRhelDscExtension/",
"assignment": {
    "name": "7-DN-VMS-DeployRhelDscExtension",
    "displayName": "7-DN-VMS-DeployRhelDscExtension",
    "description": "Deploy DSC configuration for RHEL servers."
},
"definitionEntry": {
    "policyName": "7-DN-VMS-DeployRhelDscExtension",
    "friendlyNameToDocumentIfGuid": "7-DN-VMS-DeployRhelDscExtension"
},
"parameters": {
    "automationAccountSubscriptionId": "xxxxxxxxxxxxxxxx",
    "automationAccountRg": "scb-core-mgt-devdlp-rg",
    "automationAccountName": "scb-core-mgt-devdlp-aac",
    "nodeConfigurationName": "DSCforRHEL.localhost"
},
"scope": {
    "dev": [
        "/subscriptions/xxxxxxxxxxxxxxxxxxxxxx"
    ]
},
"additionalRoleAssignments": [
    {
        "roleDefinitionId": "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",
        "scope": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxx"
    }
]

}
`
thanks in advance for your answer,
Aleksander

You do not need this unless a part of the remediation is in a different hierarchy. For example setting diagnostic settings and the Log Analytics Workspace is in a different subscription.
Assuming your policy is DeployIfNotExists, it should list the role definition id in the Policy detail section will be enabled.
Heinrich Gantenbein
From: alkozajac @.>
Sent: Wednesday, August 31, 2022 9:47 AM
To: Azure/enterprise-azure-policy-as-code @.>
Cc: Subscribed @.***>
Subject: [Azure/enterprise-azure-policy-as-code] Question about additionalRoleAssignments structure (Issue #64)
Hello,
I am trying to deploy policy with additionalRoleAssignments, which requires roleDefinitionId and scope. Unfortunately, do not know why the assignment of additional roles does not work. Assigment applies to custom policy, could I ask for guidance on what the correct definition should look like.
Below is my definition of assignment, The policy works correctly but the additional role no longer.
I will mention that I have one tenant.
`
{
"nodeName": "/7-DN-VMS-DeployRhelDscExtension/",
"assignment": {
"name": "7-DN-VMS-DeployRhelDscExtension",

"displayName": "7-DN-VMS-DeployRhelDscExtension",

"description": "Deploy DSC configuration for RHEL servers."

},
"definitionEntry": {
"policyName": "7-DN-VMS-DeployRhelDscExtension",

"friendlyNameToDocumentIfGuid": "7-DN-VMS-DeployRhelDscExtension"

},
"parameters": {
"automationAccountSubscriptionId": "xxxxxxxxxxxxxxxx",

"automationAccountRg": "scb-core-mgt-devdlp-rg",

"automationAccountName": "scb-core-mgt-devdlp-aac",

"nodeConfigurationName": "DSCforRHEL.localhost"

},
"scope": {
"dev": [

    "/subscriptions/xxxxxxxxxxxxxxxxxxxxxx"

]

},
"additionalRoleAssignments": [
{

    "roleDefinitionId": "/providers/microsoft.authorization/roleDefinitions/b24988ac-6180-42a0-ab88-20f7382dd24c",

    "scope": "/subscriptions/xxxxxxxxxxxxxxxxxxxxxxxx"

}

]
}
`
thanks in advance for your answer,
Aleksander

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fenterprise-azure-policy-as-code%2Fissues%2F64&data=05|01||cf7822a94d8a42c578af08da8b5faabe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637975540238433799|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Ya2SDsAUnvSBgWKQRHPSL4%2F9yxJNyMbHtXgA%2B6QUSjo%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABTITRJXTJ7GNPLN6K4NITDV35V6NANCNFSM6AAAAAAQBON72I&data=05|01||cf7822a94d8a42c578af08da8b5faabe|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637975540238590018|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=BEZ19UzinWHif5D%2BAF%2FIrRBbKqB7hU2X1IKXyXHasxQ%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.@.>>

yes, policy has mode DeployIfNotExist and assigns dsc configuration from automation account which is in other subscription (hierarchy) - as you described in the example.
To clarify - the policy works in subscription A where policy service principal is assigned the role "Virtual Machine Contributor" (this part works for me), in addition, it must also use the automation account that is in subscription B. On subscription B or RG (from subscription B) i want to assign the Contributor role or sth like that.
below is part of the policy code:
`
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.Compute/virtualMachines/extensions",
"roleDefinitionIds": [
"/providers/microsoft.authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c"
],
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Compute/virtualMachines/extensions/publisher",
"equals": "Microsoft.OSTCExtensions"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/type",
"equals": "Microsoft.OSTCExtensions.DSCForLinux"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/provisioningState",
"equals": "Succeeded"
},
{
"field": "name",
"equals": "DSCForLinux"
}
]
},`

For additionalRoleDefinition, the pipeline must have user administrator in that scope (or inherited at that scope). I hope this helps. Sorry for the long wait.

Do you get an error message. I'm suspecting that the identity running the deployment pipeline stage does not have permissions to do role assignments in the other subscription.
Heinrich Gantenbein
From: alkozajac @.>
Sent: Wednesday, August 31, 2022 1:37 PM
To: Azure/enterprise-azure-policy-as-code @.>
Cc: Heinrich Gantenbein @.>; Comment @.>
Subject: Re: [Azure/enterprise-azure-policy-as-code] Question about additionalRoleAssignments structure (Issue #64)
yes, policy has mode DeployIfNotExist and assigns dsc configuration from automation account which is in other subscription (hierarchy) - as you described in the example.
To clarify - the policy works in subscription A where policy service principal is assigned the role "Virtual Machine Contributor" (this part works for me), in addition, it must also use the automation account that is in subscription B. On subscription B or RG (from subscription B) i want to assign the Contributor role or sth like that.
below is part of the policy code:
`
"then": {
"effect": "deployIfNotExists",
"details": {
"type": "Microsoft.Compute/virtualMachines/extensions",
"roleDefinitionIds": [
"/providers/microsoft.authorization/roleDefinitions/9980e02c-c2be-4d73-94e8-173b1dc7cf3c"
],
"existenceCondition": {
"allOf": [
{
"field": "Microsoft.Compute/virtualMachines/extensions/publisher",
"equals": "Microsoft.OSTCExtensions"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/type",
"equals": "Microsoft.OSTCExtensions.DSCForLinux"
},
{
"field": "Microsoft.Compute/virtualMachines/extensions/provisioningState",
"equals": "Succeeded"
},
{
"field": "name",
"equals": "DSCForLinux"
}
]
},`

Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fenterprise-azure-policy-as-code%2Fissues%2F64%23issuecomment-1233283261&data=05|01||c357fab16d764194df0d08da8b7fd3b9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637975678386170595|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=z7w8OOhc3IUYa1T9Bt%2BGBlzavGQv0%2BUo2SqUV%2BXMeDk%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABTITRPMUYQID2SS3WKNSW3V36Q5VANCNFSM6AAAAAAQBON72I&data=05|01||c357fab16d764194df0d08da8b7fd3b9|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637975678386170595|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=HpFHmfjDXbMKzTgPhA5DiHBXO%2F43Wu3zxbkGOUcjjIE%3D&reserved=0.
You are receiving this because you commented.Message ID: @.@.>>

authors: alkozajac techlake

repo: Azure/enterprise-azure-policy-as-code


text:
Configure Renovate

Welcome to Renovate! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin.
🚦 Renovate will begin keeping your dependencies up-to-date only once you merge or close this Pull Request.

Detected Package Files

Dockerfile (dockerfile)
build/tooling/Dockerfile (dockerfile)
.github/workflows/codeql.yaml (github-actions)
.github/workflows/dep-review.yaml (github-actions)
.github/workflows/release.yaml (github-actions)
.github/workflows/test.yaml (github-actions)
go.mod (gomod)
charts/eraser/values.yaml (helm-values)
manifest_staging/charts/eraser/values.yaml (helm-values)
third_party/open-policy-agent/gatekeeper/helmify/static/values.yaml (helm-values)
config/manager/kustomization.yaml (kustomize)

What to Expect
With your current configuration, Renovate will create 21 Pull Requests:

chore(deps): update actions/dependency-review-action digest to 17b8abf

Schedule: ["at any time"]
Branch name: renovate/actions-dependency-review-action-digest
Merge into: main
Upgrade actions/dependency-review-action to 17b8abf3bb25cdd70c9afcd0a3e5daf330ad4182

chore(deps): update github.com/aquasecurity/fanal digest to 7f9185d

Schedule: ["at any time"]
Branch name: renovate/github.com-aquasecurity-fanal-digest
Merge into: main
Upgrade github.com/aquasecurity/fanal to 7f9185d5d01dedc494d23071f33b0cf5b4e20588

chore(deps): update github.com/aquasecurity/trivy-db digest to 9304617

Schedule: ["at any time"]
Branch name: renovate/github.com-aquasecurity-trivy-db-digest
Merge into: main
Upgrade github.com/aquasecurity/trivy-db to 930461748b6307590f4718daeab37cec51fe78b3

chore(deps): update github/codeql-action digest to 37d8b51

Schedule: ["at any time"]
Branch name: renovate/github-codeql-action-digest
Merge into: main
Upgrade github/codeql-action to 37d8b5142f45ae0422110d29caeb218c9673d1d9

chore(deps): update step-security/harden-runner digest to cdea734

Schedule: ["at any time"]
Branch name: renovate/step-security-harden-runner-digest
Merge into: main
Upgrade step-security/harden-runner to cdea734fa57747b9831aa9d6fcb274c5f9669557

chore(deps): update actions/cache action to v3.0.4

Schedule: ["at any time"]
Branch name: renovate/actions-cache-3.x
Merge into: main
Upgrade actions/cache to v3.0.4

chore(deps): update dependency ghcr.io/azure/eraser-manager to v0.2.1

Schedule: ["at any time"]
Branch name: renovate/ghcr.io-azure-eraser-manager-0.x
Merge into: main
Upgrade ghcr.io/azure/eraser-manager to v0.2.1

chore(deps): update module github.com/aquasecurity/trivy to v0.29.2

Schedule: ["at any time"]
Branch name: renovate/github.com-aquasecurity-trivy-0.x
Merge into: main
Upgrade github.com/aquasecurity/trivy to v0.29.2

chore(deps): update module github.com/onsi/gomega to v1.19.0

Schedule: ["at any time"]
Branch name: renovate/github.com-onsi-gomega-1.x
Merge into: main
Upgrade github.com/onsi/gomega to v1.19.0

chore(deps): update module google.golang.org/grpc to v1.47.0

Schedule: ["at any time"]
Branch name: renovate/google.golang.org-grpc-1.x
Merge into: main
Upgrade google.golang.org/grpc to v1.47.0

chore(deps): update module k8s.io/api to v0.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-api-0.x
Merge into: main
Upgrade k8s.io/api to v0.24.2

chore(deps): update module k8s.io/apimachinery to v0.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-apimachinery-0.x
Merge into: main
Upgrade k8s.io/apimachinery to v0.24.2

chore(deps): update module k8s.io/apiserver to v0.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-apiserver-0.x
Merge into: main
Upgrade k8s.io/apiserver to v0.24.2

chore(deps): update module k8s.io/client-go to v0.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-client-go-0.x
Merge into: main
Upgrade k8s.io/client-go to v0.24.2

chore(deps): update module k8s.io/cri-api to v0.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-cri-api-0.x
Merge into: main
Upgrade k8s.io/cri-api to v0.24.2

chore(deps): update module k8s.io/klog/v2 to v2.70.0

Schedule: ["at any time"]
Branch name: renovate/k8s.io-klog-v2-2.x
Merge into: main
Upgrade k8s.io/klog/v2 to v2.70.0

chore(deps): update module k8s.io/kubernetes to v1.24.2

Schedule: ["at any time"]
Branch name: renovate/k8s.io-kubernetes-1.x
Merge into: main
Upgrade k8s.io/kubernetes to v1.24.2

chore(deps): update module sigs.k8s.io/controller-runtime to v0.12.2

Schedule: ["at any time"]
Branch name: renovate/sigs.k8s.io-controller-runtime-0.x
Merge into: main
Upgrade sigs.k8s.io/controller-runtime to v0.12.2

chore(deps): update module sigs.k8s.io/kind to v0.14.0

Schedule: ["at any time"]
Branch name: renovate/sigs.k8s.io-kind-0.x
Merge into: main
Upgrade sigs.k8s.io/kind to v0.14.0

chore(deps): update module github.com/onsi/ginkgo to v2

Schedule: ["at any time"]
Branch name: renovate/github.com-onsi-ginkgo-2.x
Merge into: main
Upgrade github.com/onsi/ginkgo to v2.1.4

chore(deps): update module k8s.io/client-go to v12

Schedule: ["at any time"]
Branch name: renovate/k8s.io-client-go-12.x
Merge into: main
Upgrade k8s.io/client-go to v12.0.0

❓ Got questions? Check out Renovate's Docs, particularly the Getting Started section.
If you need any further assistance then you can also request help here.

This PR has been generated by Renovate Bot.

@nilekhc are we okay to close this for now?

Yes. Closing this for now.

authors: nilekhc sozercan

repo: Azure/eraser


text:
后端500报错，如何捕获报错信息？

class RetriableError extends Error { }
class FatalError extends Error { }
fetchEventSource('/api/sse', {
async onopen(response) {
if (response.ok && response.headers.get('content-type') === EventStreamContentType) {
return; // everything's good
} else if (response.status >= 400 && response.status < 500 && response.status !== 429) {
// client-side errors are usually non-retriable:
throw new FatalError();
} else {
throw new RetriableError();
}
},
onmessage(msg) {
// if the server emits an error message, throw an exception
// so it gets handled by the onerror callback below:
if (msg.event === 'FatalError') {
throw new FatalError(msg.data);
}
},
onclose() {
// if the server closes the connection unexpectedly, retry:
throw new RetriableError();
},
onerror(err) {
if (err instanceof FatalError) {
throw err; // rethrow to stop the operation
} else {
// do nothing to automatically retry. You can also
// return a specific retry interval here.
}
}
});
看了官网的实例，似乎没办法获取到后端500报错的body中的detail，打印看过onopen中的response，似乎也没有参数能直接获取到
而且我发现onopen不抛异常的话onerror是捕获不了请求500的错误

在 onopen 中判断 status 然后 await response.text() 或 await response.json() 就可以拿到响应值了。

authors: LZQCN Sharang-heng

repo: Azure/fetch-event-source


text:
feat: add scheduler metrics

Description of your changes
This PR adds the metrics planned for the Fleet scheduler.
I have:

[x] Run make reviewable to ensure this PR is ready for review.

How has this code been tested

[x] Unit tests

Special notes for your reviewer
This PR bumps the versions of a few critical deps, and makes some code changes accordingly.

Closing the PR as a better approach is available; will send a new one.

repo: Azure/fleet


text:
Use http.DefaultClient instance

Little idiomatic change, should not have any semantic difference at all.

@ahmetalpbalkan I'm fine with this. Merging / closing.

authors: ahmetalpbalkan brendandixon

repo: Azure/go-autorest

license_source: bigquery


text:
tracing: fix proxy support for default sender (#379)

This resolves #379 by using the default of http.DefaultTransport without modifying the global object.

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

TBD

authors: grrtrr msftclas


text:
STMicroelectronics B_L4S5I_IOT01A IoT Node 1.5 discovery kit

Thank you for contributing to the Azure IoT Plug and Play Models repository
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
The repository pipeline will ensure minimum validation of incoming DTDL models.

PR validation steps are described in the tools Wiki.
The same validation can be run locally via the dmr-client CLI.

Requested info template for model(s) submission
When submitting models to the repository we ask that you provide as much of the following meta information around your models and related devices as possible. This info will be used to improve Plug and Play.
:star2: Please replace the markdown comment examples with your own values.
Company Info
STMicroelectronics
www.st.com
github.com/stmicroelectronics
IoT Plug and Play Device Info
https://www.st.com/en/evaluation-tools/b-l475e-iot01a.html
Model Submission Goals

Device certification
Presence in the Certified Device catalog
IoT Central integration

Code Owners & Reserved Names

I have fixed latest validation errors, related to schema namespaces

repo: Azure/iot-plugandplay-models


text:
Quickstart template scripts for VMSS blue-green deployment

Check https://github.com/ArieShout/azure-quickstart-templates/tree/vmss-bg/301-jenkins-vmss-blue-green for the instructions of the deployment.

@chenkennt Could you help to check this?

repo: Azure/jenkins


text:
Docker compose for running up the solution quickly

Automate setup of vision-ai components (footfall and intrusion)
Automate setup of main-ui (still missing backend-api)
Automate genie setup with SQL and InfluxDB
Integration of MainUI with Genie

LGTM, can we merge this?

repo: Azure/jumpstart-apps


text:
Validation support for strings, arrays, numbers

Ok, this got a bit bigger than expected:

Add ValidatedType which adds support for validations.
Handle specially the ^.*/default$ validation used by Storage for names; disable AzureName when detected.

To do in future PR: make this more general.

Add SetAzureName function instead of writing the “setter” code inline in the from-ARM conversion, which simplifies things somewhat.
Simplify PropertyDefinition by removing general validation support; properties only have Required as a validation.
Add a Defaulter webhook to copy Name into AzureName (when required).

TODO: figure out why webhook configurations aren’t being generated by controller-gen.

Need to figure out how to leave a blank line after the Kubebuilder webhook comment…

Coverage decreased (-71.0%) to 0.0% when pulling b6ef8474a00a08612b606c7f5bbc3712082d79ba on validation-support into 396c288d33ea03a2ceb8364bb36fec68f06f804b on master.

authors: Porges coveralls


text:
Ewinner/designpatterns

fixup dead links due to typos in filename

OPS Build status updates of commit ca924e2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

OPS Build status updates of commit ca924e2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Publish service's config file: .openpublishing.publish.config.json is not found. Exception:

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

authors: ewinnerMSFT mikekinsman

repo: Azure/portaldocs


text:
[Built-in Rule] Storage accounts should be migrated to new Azure Resource Manager resources

Azure policy: https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/Storage/Classic_AuditForClassicStorages_Audit.json
{
    "name": "ClassicStorage_Do_Not_Use",
    "description": "Storage accounts should be migrated to new Azure Resource Manager resources",
    "recommendation": "Deploy Azure Resource Manager Storage Accounts, not Classic Storage Accounts",
    "helpUri": "https://github.com/Azure/template-analyzer/docs/built-in-bpa-rules.md/#storage-accounts-should-be-migrated-to-new-azure-resource-manager-resources",
    "evaluation": {
      "resourceType": "Microsoft.ClassicStorage/storageAccounts",
      "exists": false
    }
}

The rule was already added

repo: Azure/template-analyzer


text:
Issue using ${path.root} in lib_urls

I'm getting an error when using v0.8.0 of Alz, and specifying the lib_url

Intellisense is still referencing v0.6.3 for some reason - and so i'm getting a visual error in vscode.

Unexpected Attribute for lib_urls.

Tried with both the stable and pre-release Hashicorp Terraform extension.

Error when running a Plan or Apply
alz = {
source  = "Azure/alz"
version = "0.8.0"
}

provider "alz" {
lib_urls = [
"${path.root}/lib"
]
}
╷
│ Error: Failed to download libraries
│
│   with provider["registry.terraform.io/azure/alz"],
│   on terraform.tf line 28, in provider "alz":
│   28: provider "alz" {
│
│ relative paths require a module with a pwd
╵
Currently running TF 1.7.4 and language server 0.32.7.
Knocking back to 0.6.3 doesn't have an issue, but obviously I have to put back the older lib_dirs setting instead of.
Sorry - I know this is a post! Would you prefer a seperate issue raised?
Originally posted by @phx-tim-butters in https://github.com/Azure/terraform-azurerm-avm-ptn-alz/issues/26#issuecomment-1970801424

We do test a combination of remote and local libs here, but this does not use the provider.
https://github.com/Azure/alzlib/blob/bf08936852270de362ba7771d05c50da31472529/alzlib_test.go#L21C1-L34C2
Needs validating

Thansk Matt, I was just about to post.

I can't comment on why Vscode intellisense is defaulting to version 0.6.3 when using the alz provider - this is just visual, but still annoying. I've performed terraform init -upgrade and tried on several development environments (WSL, Windows 10 and Windows 11). Tried with both stable and pre-release of the Hashicorp Terraform vscode extension and using TF 1.7.4 and language server 0.32.7.
Output of Hashicorp log shows this;
2024/02/29 10:05:33 module_ops.go:368: preloaded schema for registry.terraform.io/azure/alz 0.6.3 in 1.733175ms
Not sure why it's trying to reference 0.6.3 when my provider states 0.8.0
alz = {
source  = "Azure/alz"
version = "0.8.0"
}
Could be a development environment issue? But haven't seen this before.

But I the issue trying to utilise lib_urls on v0.8.0 of the provider. Again, tried on several dev environments, and all upgraded.

I can't repro the issue with intellisense, it works here. Maybe a local issue?
I can repo the issue with the lib_urls and using relative paths. Looks like I need to have two inputs, one for local and one for remote?

I'll continue digging, there's nothing special about my environment at all. I'm just getting the TF language server defaulting to 0.6.3 of the provider, and I cannot understand why. I've even wiped the slate clean...
Are you saying there's potentially an issue with the lib_urls for now?

@phx-tim-butters you can work around this for now by using an absolute path.

I have fixed this - new patch release incoming

authors: matt-FFFFFF phx-tim-butters

repo: Azure/terraform-azurerm-avm-ptn-alz


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #54


text:
[AVM Module Issue]: ResourceGroupNotFound error when using a vnet gateway in another subscription.

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
(Optional) Module Version
No response
(Optional) Correlation Id
No response
Description
When making an ExpressRoute connection to a vnet gateway  in another subscription the code returns an error of resource group not found.

Adding this issue to document issues where connections to expressRoute Gateways in external subscriptions fail.  Initial discovery seems to indicate this may be tied to how we inject the resource group ID by using a data resource.  May need to convert the resource from AzureRM to AzAPI.


text:
chore: repository governance

Repository governance update
This PR was automatically created by the AVM Team hive-mind using the grept governance tool.
We have detected that some files need updating to meet the AVM governance standards.
Please review and merge with alacrity.
Grept config source: git::https://github.com/Azure/Azure-Verified-Modules-Grept.git//terraform
Thanks! The AVM team :heart:

Supersceeded by #23

authors: matt-FFFFFF mbilalamjad


text:
Adding an OSS notice

This notice contains all OSS that is used by this library.
I've kept the name as the default generated by the tool, but maybe it should be changed to OSS_NOTICE to avoid any confusion with other notice files we have in the library?
This can also be a .txt file if preferable, but I went with HTML because it's a little easier to view with all the licenses it contains.

Yea. Maybe we can rename it to something clearer. I don't remember reading that it has to be named something specific.

authors: mafurman pmaytak


text:
Transmit EPK and use as public key during decrypt

RFC 7518 Section 4.6.1.1 states:

The "epk" (ephemeral public key) value created by the originator for
the use in key agreement algorithms.  This key is represented as a
JSON Web Key [JWK] public key value.  It MUST contain only public key
parameters and SHOULD contain only the minimum JWK parameters
necessary to represent the key; other JWK parameters included can be
checked for consistency and honored, or they can be ignored.  This
Header Parameter MUST be present and MUST be understood and processed
by implementations when these algorithms are used.

EPK was referred to by comments in the code, but it seems that it was never used. Since the spec clearly states that the "Header Parameter MUST be present and MUST be understood and processed", I make the argument that this PR fixes a bug (#1951) and is not a feature enhancement.
This change does the following:

Takes the EncryptingKey's public parameter, encodes it as a JWK public key, and adds it into the JWT header.
Upon decryption, the discovered keys are used as the private decryption key. (This is typically TokenValidationParameters.TokenDecryptionKey)
JWK is extracted from the header and converted into an EcdsaSecurityKey. It is then used as the public key for the key agreement.

This PR also contains an extra commit that I've covered in PR #2119 . I can remove that from this change list if we decide not to proceed with that other PR.

@microsoft-github-policy-service agree company="Yubico"

@GregDomzalski we might as well drop #2119 and just take this PR.

I've updated this PR to be based on the new 7.x code.
I still need to do some regression testing on my side. But it would be really nice if we could get some traction on this PR. We're about to launch a product that takes a dependency on ECDH based key exchange / wrap algorithms working properly. I would really like to get these changes pushed upstream.
Please let me know what I can do to help make that a reality 😄

@GregDomzalski this looks good, we will have to account for users who have used the work-around.
I am thinking AppContext switch.

Some users could have coded up using a workaround, so we have to account for that.
I propose we add an AppContext switch to provide an override of the logic.
https://learn.microsoft.com/en-us/dotnet/api/system.appcontext?view=net-8.0

@brentschmaltz Thanks for the feedback. That seems like a reasonable approach.
What would you like the default behavior to be?
Based on the documentation and assuming an opt-in to the new behavior, a possible switch identifier could be:
Switch.Microsoft.IdentityModel.UseRfcDefinitionOfEpkAndKid or perhaps
Switch.Microsoft.IdentityModel.SetEpkAndKidHeadersAccordingToRfc
I'm not quite sure how to describe the change in behavior, so I'm happy to take other name suggestions :smile:

Alrighty. Let me know if that aligns with what you were thinking.
The diff definitely looks a lot cleaner - basically just adds at this point.
I introduced a centralized (public) class in Microsoft.IdentityModel.Tokens for defining constants for the switch values. There's only one const now - but I figured it would be a useful thing to have for consumers. Not to mention it provides a place to hang some documentation off from.
Here's the signature and accompanying documentation:
namespace Microsoft.IdentityModel.Tokens;

/// <summary>
/// Identifiers used for switching between different app compat behaviors within the Microsoft.IdentityModel libraries.
/// </summary>
/// <remarks>
/// The Microsoft.IdentityModel libraries use <see cref="System.AppContext" /> to turn on or off certain API behavioral
/// changes that might have an effect on application compatibility. This class defines the set of switches that are
/// available to modify library behavior. Application compatibility is favored as the default - so if your application
/// needs to rely on the new behavior, you will need to enable the switch manually. Setting a switch's value can be
/// done programmatically through the <see cref="System.AppContext.SetSwitch" /> method, or through other means such as
/// setting it through MSBuild, app configuration, or registry settings. These alternate methods are described in the
/// <see cref="System.AppContext.SetSwitch" /> documentation.
/// </remarks>
public static class AppCompatSwitches
{
    /// <summary>
    /// Uses <see cref="EncryptingCredentials.KeyExchangePublicKey"/> for the token's `kid` header parameter. When using
    /// ECDH-based key wrap algorithms the public key portion of <see cref="EncryptingCredentials.Key" /> is also written
    /// to the token's `epk` header parameter.
    /// </summary>
    /// <remarks>
    /// Enabling this switch improves the library's conformance to RFC 7518 with regards to how the header values for
    /// `kid` and `epk` are set in ECDH key wrap scenarios. The previous behavior erroneously used key ID of
    /// <see cref="EncryptingCredentials.Key"/> as the `kid` parameter, and did not automatically set `epk` as the spec
    /// defines. This switch enables the intended behavior where <see cref="EncryptingCredentials.KeyExchangePublicKey"/>
    /// is used for `kid` and the public portion of <see cref="EncryptingCredentials.Key"/> is used for `epk`.
    /// </remarks>
    public const string UseRfcDefinitionOfEpkAndKid = "Switch.Microsoft.IdentityModel.UseRfcDefinitionOfEpkAndKid";
}

Let me know if there's any additional API or doc review that needs to happen as a result of this addition.
I really appreciate your time looking into this and providing feedback. Thanks!

Hey @brentschmaltz - just following up here.

@brentschmaltz do we want to take this?

@jennyf19 we should take this for 8.

@GregDomzalski there are some conflicts, are you able to fix them?
We would like to get this into our 8 release that will be picked up by asp.net 9.

@jamiehankins @aafortner - Can you guys take this over?

Hi @brentschmaltz - I won't be able to do this personally as I'm no longer with Yubico, but I did hand this off prior to my departure. I'll work with my former colleagues to make sure we get this branch updated and merged in a timely manner. Thanks for the sign-off.

I don't and @AaFortner doesn't likely have write access to the fork. It takes less than five minutes to pull dev and rebase this branch on it. The only conflict is in a class header comment.
If @GregDomzalski still has write access to this, then maybe he can add us. Otherwise, we'd need to get our IT people involved.

Looks like I do still have access to this PR itself which means I can simply clone the fork and point the PR to that. I'll give that a try in the morning.

I sync'd up with @GregDomzalski offline, and it sounds like he hit some access issues after all. I'll follow up with our IT to see if we can get Jamie and/or myself added.

@AaFortner @GregDomzalski the PR is small enough that i could cherry pick in the commits.
If it gets to be too much effort let me know.

@brentschmaltz It wasn't big at all. Just had to get access handled.
It should be up to date now.

@jamiehankins @GregDomzalski thanks folks, merged.

authors: AaFortner GregDomzalski brentschmaltz jamiehankins jennyf19


text:
CommonJS or AMD dependencies warning in Angular 10

Please follow the issue template below. Failure to do so will result in a delay in answering your question.

Library

[x] msal@1.x.x or @azure/msal@1.4.0
[x] @azure/msal-angular@1.1.1
[ ] @azure/msal-browser@2.x.x
[ ] @azure/msal-angular@0.x.x
[ ] @azure/msal-angularjs@1.x.x

Important: Please fill in your exact version number above, e.g. msal@1.1.3.
Framework
Angular 10
Description
Angular 10 provides a build warning. This seems to stem from the use of minimatch.
This is non-consequential, but would be nice to clean up.
Error Message

WARNING in C:...\node_modules@azure\msal-angular_ivy_ngcc_\fesm2015\azure-msal-angular.js depends on 'minimatch'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

WARNING in C:...\node_modules\minimatch\minimatch.js depends on 'path'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

WARNING in C:...\node_modules\minimatch\minimatch.js depends on 'brace-expansion'. CommonJS or AMD dependencies can cause optimization bailouts.
For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Security

[ ] Is this issue security related?

Regression

[x] Did this behavior work before?
Version:
msal.angular 1.0.0

MSAL Configuration
// not relevant

Reproduction steps
// not relevant

Expected behavior
Browsers/Environment

[ ] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

any news on this? we're just working on updating our npm packages and running into this same issue

We'll be addressing this in MSAL Angular v2 (preview version coming soon!).

Minimatch has been replaced in the latest alpha of MSAL Angular v2. Closing.


text:
Angular 17 sample app

Adds Angular 17 sample that uses MSAL Angular v3 to msal-angular-v3-samples.
Note: Documentation update for Angular 17 support will be in a separate PR.

Closed in favor of #7017


text:
HOL 2 - Issue with email code

The lab has a line of code for graph service but it is commented out in the end folder. Need to make consistent.

This appears to be correct in the code - I worked through the HOL and compared to the end code, and I was able to send the email.  See line 74 in IncidentController.java

authors: ivegamsft rsponholtz

repo: AzureCAT-GSI/DevCamp

license: mit


text:
Mac OSX, new game:  City-State listing problems

Describe the bug
City-State listings only lists a single city-state even though multiple are known and still in existence.  It has been like this since the beginning of the game.
The right arrow next to the envoy count of 0 highlights and can be pressed, but does nothing.  Likewise, this has been true ever since the first envoy.
To Reproduce
See above.   Happens in all circumstances.  This is with a fresh install of Civ VI, Civ VI Rise and Fall, CQUI, Caps Lock, Rosetta (Dynamic City Names), Proverbium.
Expected behavior
Expected to see all known city-states listed.
Expected to be able to send envoys.
General informations

OS:  macOS High Sierra 10.13.6
Version:   Steam Workshop version, current as of August 12, 2018
Expansion  Rise and Fall
Other mods
https://steamcommunity.com/sharedfiles/filedetails/?id=1226909609 (Proverbium)
https://steamcommunity.com/sharedfiles/filedetails/?id=1161626651 (Rosetta)
https://steamcommunity.com/sharedfiles/filedetails/?id=1195009771 (Caps Lock)

Save game and logs
Saved game and entire log directory attached.
civ6-files.zip
Additional context
Civ VI was not even installed on this machine until August 12 nor did the saved game exist, so there is no possible conflict with older versions of the mods.

What version of Civ does mac get? It's possible that you didn't get the spring patch from Firaxis yet.

It's current, and according to Aspyr -- https://support.aspyr.com/hc/en-us/articles/216979606-Civilization-VI-STEAM-KB -- it supports cross-platform play per the update on July 19.
The Spring update went live for Mac on 7/2.

I'm also getting this issue on Windows 10, so I don't think it's a Mac problem.

I can reproduce this issue if I enable Caps Lock. Once that is disabled the issue goes away (even for already existing games).
When that mod is enabled the game also starts spitting out a bunch of errors related to the CityStates screen, so it looks like a conflict.
I'll look into it some more, but see if disabling Caps Lock resolves it for now.

I've tested some more, the issue is related to the official DLC's, but I'm not completely sure what combinations are causing issues. What I know for sure is that if you have only one of the DLC enabled you will run into this issue, with the exception of the DLC: Khmer and Indonesia Civilization Pack, which does not seem to have this issue.
However, if you only disable one official DLC you will never run into this issue (so if you enable everything except Khmer, you will not have this issue). I'm not sure what the cause is, and after enabling and disabling DLC for an hour I couldn't be bothered trying anymore.
If you are running any mods besides CQUI, see if disabling those resolves it (make sure you start a new game to test it). There's something funky going on, and it seems to cause multiple different issues depending on the DLC's and mods used. The issues appear to go away if you load all the DLC, but I'm not 100% sure about it.

Hrm.  The only DLC I actually have are the free Aztec DLC, and R&F -- none of of the civ+scenario packs.
I'll have to try w/o enabling Montezuma, I suppose.

What you can try is disabling caps lock after you start. That sorts the issue out as well. It doesn't affect savegames, so you can turn it on and off at any point.
Just start a game with Caps Lock enabled, save the game, disable Caps Lock, load the game. That worked for me anyway. It's still probably an issue on our end, so hopefully we'll get it resolved sooner or later.

Confirmed.
Fired up Civ VI, disabled Caps Lock, hit 'Continue', checked the city state menu -- three CSs were listed and I could send envoys.  Didn't make any other changes regarding other mods (left Proverbium and Rosetta in place) or DLC.
Weird, but it works.

Good to know. A strange one indeed.

authors: callym ihendriks leejaywu


text:
how to get dll

uh,I'm a newbie here and I want to know how to get that dll or make one

Can you please upload your game files to save me having to screw with VMT pointers?

what do you mean by saying VMT pointers?

authors: B3akers huajidadiguo lachashton


text:
Noise group parameters as normal latent parameter

VB has a clear distinction between model parameters and noise parameters. Also, due to the special restrictions of VB, the noise parameters (currently each noise model has a precision) is actually ignored and the noise is inferred anyways.
Especially regarding sampling algorithms, it would make much more sense to have the precision of the noise model as a latent parameter that gets its prior similar to the model parameters. Maybe:
problem = InferenceProblem()
...
noise_model_force = UncorrelatedSensorNoise(force_sensors)
problem.add_noise_model(noise_model_force)
problem.latent["noise_force"].add(noise_model_force.parameter_list, "precision")
problem.set_prior("noise_force", scipy.stats.gamma(...))

As stated above, however, VB needs a clear distinction between model parameters and noise parameters, which is not given right now.
According to #23 , the noise_model_force.parameter_list will somehow vanish and the line could read
problem.define_latent("noise_force",  noise_model_force, "precision")

and we could check, if noise_model_force is of type bayes.noise.NoiseModelInterface.

In the meantime, as I really want to continue working on interfaces to taralli, I plan to temporarily add a member like ParameterList.is_noise to distinguish that.

We recently had a discussion on howto structure a general inference problem. This is what we came up with

So we essentially have three sets of latent parameters, the ones that are our model parameters, the ones that eventually describe the prior of these model parameters (in our VB, the prior for the model parameters is deterministic and not describe by hyper parameters) and the hyperparameters related to the noise models.
Could we group all these variables into a single latent list. The user would then add individual latent variables to the model errors, model parameter priors or noise models?

authors: TTitscher joergfunger

repo: BAMresearch/BayesianInference


text:
🛑 Openweb Service (PLAY) - Tasks is down

In 3c9ef98, Openweb Service (PLAY) - Tasks ($OPENWEB_HEALTH_PLAY/tasks) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Openweb Service (PLAY) - Tasks is back up in f48b149.

repo: BBVA-Openweb/uptime-services


text:
Consolidate and modularize toil-vg's chunked call

Main goals:

Common code base for running with or without docker, on or off cloud
Make dockerized_chunked_call runnable on its own, so separate version (in vg) doesn't need to be maintained
Usable to debug issues that arise on large datasets, and for heavier vg CI down the road.

@cmarkello Putting this up now so you can see changes as I commit them.  Mostly a fairly superficial refactor of dockerized_chunked_call.py for now.

@glennhickey Could you rebase this against the latest version of master. I now have a more complete set of unit tests to run on it.

Your changes to the parameters will result in different vcf files that won't match the vcf's that they are compared with on S3. So those will need to be changed as well.

OK I'll pull out any default parameter changes and make a separate PR out
of them after.
On Fri, Nov 18, 2016 at 2:15 PM, Charles Markello notifications@github.com
wrote:

Your changes to the parameters will result in different vcf files that
won't match the vcf's that they are compared with on S3. So those will need
to be changed as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BD2KGenomics/toil-vg/pull/34#issuecomment-261616595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2_7gMS2392wBzsAj0xb457TrH7LRYWks5q_fk8gaJpZM4Kv4Dl
.

Though the changes to the default params in dockered_chunked_call.py should
have no bearing on the unit tests...
Anyway, the point's still valid.  Makes sense to fix default parameters in
a separate PR, which can include fixing things like having them specified
in multiple places.
On Fri, Nov 18, 2016 at 2:34 PM, Glenn Hickey glenn.hickey@gmail.com
wrote:

OK I'll pull out any default parameter changes and make a separate PR out
of them after.
On Fri, Nov 18, 2016 at 2:15 PM, Charles Markello <
notifications@github.com> wrote:

Your changes to the parameters will result in different vcf files that
won't match the vcf's that they are compared with on S3. So those will need
to be changed as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/BD2KGenomics/toil-vg/pull/34#issuecomment-261616595,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA2_7gMS2392wBzsAj0xb457TrH7LRYWks5q_fk8gaJpZM4Kv4Dl
.

Jenkins, test this please

@glennhickey Added fix to unit test to resolve the variant id inconsistency issue. I simply just ignored that column in the comparison.

authors: cmarkello glennhickey


text:
Friday 03-11-2023 roll call

Roll Call!
Leave a comment with these two things:

A summary of your study using only emojis
Something you'd like to share, anything goes! (within respect)

emoji cheat sheet

Good morning :)

Good Morning

Good Morning everyone!!

Good morning

Good morning✨

hi

hi

good morning :zzz:

Good morning

😀

Present!

Good morning...

Good morning

HELLO

Good morning

authors: Abdul-MalikSardalov ArseniiaDamaksina Dnyandeo33 IrynaSobetska Lemma-Barnabas MMikhailova Mileenka Navy2986 PreethiTapati adel0moussa alexander-lopez-s ervinMamutov firity inna9Z johnedelbi

repo: BF-BackEnd-class/home


text:
Ontology for our Scenario

We need to have an application ontology for the scenario of running nextGOALS

The ontology was handled through the Archiving tenant instead in the main demo of FINALES2

The ontology was handled through the Archiving tenant instead in the main demo of FINALES2


text:
add goto instant bool parameter

Dear Sirs,
I have added a parameter to the goto() function to allow going to desired slide instantly without the slide animation.

What's your use case of this?  Is it only as part of setting the initial slide?

For example if you have the ssr carousel in a view, than you go to another view than go back to the ssr carousel view it is desirable to mantain the previous state with the slider starting from the last viewed slide and not from the beginning.
So with goto instant is possible to emulate an hypothesic :starting_slide=5. Without the instant animation the user would otherwise see a fast slide animation each time, not very pretty.
Another use case is if you have elements representing past present and future, you would likely want to start show it positioned on the present.
Here again goto instant is a good workaround to substitute the missing starting_slide prop.

Closing this in favor of #100 but thanks for the contribution!

authors: mikimoresi weotch

repo: BKWLD/vue-ssr-carousel


text:
Support for TableGroups?

First off - this is a fantastic extension.  Your work is excellent!
Is your feature request related to a problem? Please describe.
DBML TableGroups is a useful feature for keeping large diagrams organized.  I think support for that feature along with custom colors would bring this extension in very close competition with the dbdiagram.io product.
Describe the solution you'd like
Support for the "TableGroups" syntax like the example below (illustrated in the link above).  Support for the "[color: ####]" syntax isn't necessary but would be a nice enhancement as well - at least for these groups.
TableGroup "User Wishlist System" [color: #1E69FD] {
  wishlists
  wishlist_items

  Note: '''
  This group manages the user wishlist functionality.
  - wishlists: Stores user-specific wishlists.
  - wishlist_items: Contains items added to each wishlist.
  '''
}

Bumping, grouping would be a huge benefit. I'm using header colors right now as a work around but things are starting to blend together. The ability to group (and collapse those groups) would be a massive improvement!

authors: SpudimusPrime acerrato

repo: BOCOVO/db-schema-visualizer


text:
 8장 ~ 14장, 2023-11-23 [22:00]

The Clean Coder

8장 테스트 전략
9장 시간 관리
10장 추정
11장 압박
12장 함께 일하기
13장 팀과 프로젝트
14장 스승과 제자 그리고 장인정신
부록(Optional)

해당 주차의 내용을 읽고 리뷰 내용을 자유 서식으로 Pull requests 생성
.md형식의 파일을 많이 사용하는 것 같습니다.(참고)
브랜치를 새로 파서 작성해주시면 됩니다.
추천하는 방식은 현재 이슈 Development에 Create a Branch로 현재 이슈에 바인딩된 브랜치를 발급받을 수 있습니다.
Required

각 챕터별로 1개 이상 논의 내용을 작성 (자유 형식)
Reviewer는 자신을 제외하고 나머지 멤버를 할당
멤버 전원이 리뷰어로 등록되기 때문에 총 멤버가 5명일 경우 4명의 풀리퀘를 리뷰

approve를 해주셔야 병합이 됩니다.
Optional

각 챕터별로 책 내용 정리, 추가 논의, 질문, 공유하고 싶은 정보, 생각을 정리
말씀드린 대로 참여는 강제가 아닙니다.

Discussion

논의는 디스코드에서 진행
풀리퀘 순서로 파트를 분배 후 이야기를 시작

ETC
최소 모임 전날에 리뷰를 마무리 해주시기 바랍니다.
논의 전에 전체적인 리뷰가 진행되었다는 가정으로 진행되기 때문입니다.
마지막으로 Required를 제외하면 전부 자유입니다.

The Clean Coder 마지막 스프린트라 추가로 북클럽 피드백, 다음 회차 참여 여부, 책 선정 추가


text:
XOR Cipher Challenge

Simple OTP cipher, which when broken gives the flag.

Layout of the challenge:

What we provide :
Plaintext.txt
Plaintext.cryp
Flag.cryp
In order to solve the challenge, one must XOR Plaintext.txt and Plaintext.cryp to get the key.
Once the key is obtained, one has to XOR key and Flag.cryp to get the flag.

Still have to test if the currently created files would satisfy this challenge.


text:
tutorial self-added :) + tiny page layout change

as suggested by wingnut

This pull request has been mentioned on Babylon.js. There might be relevant details there:
https://forum.babylonjs.com/t/we-have-emissivecolor-do-we-also-have-emissivetexture-for-all-texture-baked-exported-model/178/8

lol, these automatic messages are awesome ! :+1:

repo: BabylonJS/Documentation


text:
Updated heaps to match heapify example; Fixed HeapSort -> Heapsort sl…

Updated heaps to match heapify example
Fixed HeapSort -> Heapsort slide titles
Fixed \onlside<> -> \only<> corrupting slides with changing images

hi @TobiasFaller
koenntest du mir bitter, weil ich ein fauler hund bin, mal noch das pdf mit deinen änderungen schicken? würde mein review beschleunigen..
danke
der martin

authors: TobiasFaller martin-raden

repo: BackofenLab/AlgoDat


text:
Add CHED base model

Adds a "base" model for chemical entity NER.

Pull Request Test Coverage Report for Build 298

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

Totals

Change from base Build 294:
0.0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

authors: JohnGiorgi coveralls

repo: BaderLab/saber


text:
QR Code too big to fit in the screen.

Hi, whenever I'm running the examples, the QR code that I'm getting is too large to fit in the screen and thus can't be scanned. I'd be grateful if you could tell me a way to downsize them.

System Mac OS, Terminal - iTerm, upterm, default terminal. Shells - Bash, ZSH

Sorry, you can only change the window size at present, because it is output according to the bitmap, unless there is a way to compress it?

Any update on this?

authors: Baozisoftware adarshsrivastava11 hajsf

repo: Baozisoftware/qrcode-terminal-go


text:
🛑 Legislative Assembly is down

In 5cb4041, Legislative Assembly (https://www.ntassembly.ca) was down:

HTTP code: 504
Response time: 310 ms

Resolved: Legislative Assembly is back up in 0141582 after 7 minutes.

repo: Barctic/gnwt-monitor


text:
🛑 NWT Housing Corporation is down

In 416647f, NWT Housing Corporation (https://www.nwthc.gov.nt.ca) was down:

HTTP code: 503
Response time: 9504 ms

Resolved: NWT Housing Corporation is back up in dbb4442 after 9 minutes.


text:
🛑 Legislative Assembly is down

In 573e372, Legislative Assembly (https://www.ntassembly.ca) was down:

HTTP code: 503
Response time: 9613 ms

Resolved: Legislative Assembly is back up in d8d78c6 after 7 minutes.


text:
🛑 Education Culture and Employment is down

In d0376f8, Education Culture and Employment (https://www.ece.gov.nt.ca) was down:

HTTP code: 403
Response time: 280 ms

Resolved: Education Culture and Employment is back up in c698396.


text:
🛑 Environment and Natural Resources is down

In 3a0060b, Environment and Natural Resources (https://www.enr.gov.nt.ca) was down:

HTTP code: 503
Response time: 1518 ms

Resolved: Environment and Natural Resources is back up in 47aa0c9.


text:
🛑 Health and Social Services Authority is down

In c95dab9, Health and Social Services Authority (https://www.nthssa.ca) was down:

HTTP code: 403
Response time: 411 ms

Resolved: Health and Social Services Authority is back up in 8126ca5.


text:
🛑 NWT Housing Corporation is down

In 931e04d, NWT Housing Corporation (https://www.nwthc.gov.nt.ca) was down:

HTTP code: 504
Response time: 253 ms

Resolved: NWT Housing Corporation is back up in b370658 after 7 minutes.


text:
🛑 Justice is down

In b115b3d, Justice (https://www.justice.gov.nt.ca) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Justice is back up in 9df7000 after 2 hours, 21 minutes.


text:
🛑 Health and Social Services Authority is down

In 4aed4bd, Health and Social Services Authority (https://www.nthssa.ca) was down:

HTTP code: 504
Response time: 287 ms

Resolved: Health and Social Services Authority is back up in cc1e03a after 10 minutes.


text:
Party Mode status with main icon or as a label in the status.

Is your feature request related to a problem? Please describe.
When I have a look at the card, I cannot tell if Party Mode is enabled without opening the settings.
Since I see the date of the next schedule, I believe that the mower will start, but this is "misleading" since "Party Mode" is enabled.
Describe the solution you'd like

Show the Party Mode icon as one of the main icons of the card.
Alternatively, show "Docked (Party Mode)" instead of just "Docked".

Describe alternatives you've considered
Use a custom stacking card to combine this card with a entity card just to show the "Party Mode".
Additional context
Tested on landroid-card master (daaa172) with Landroid Cloud 5.0.2.

When is the fix coming?

Thanks a lot @Barma-lej! I sent you coffees. ☕
@Cosmicbase: build it yourself if you cannot wait for the next release.

authors: Cosmicbase Mincka

repo: Barma-lej/landroid-card


text:
🛑 QBitTorrent webUI is down

In f0c2c86, QBitTorrent webUI (https://qbittorrent.local.jonthan.xyz) was down:

HTTP code: 404
Response time: 745 ms

Resolved: QBitTorrent webUI is back up in 8a4511d after 13 minutes.

repo: Baronhez/upptime


text:
include of ActionView::Helpers::FormTagHelper changes the url_for implementation

when we include ActiveHashcash in our controller ActionView::Helpers::FormTagHelper gets automatically included as well. That changes the url_for and leads to some problems on our side.
https://github.com/BaseSecrete/active_hashcash/blob/0.4.0/lib/active_hashcash.rb#L7
with include ActiveHashcash
> SubscriptionsController.new.method('url_for')
 => #<Method: SubscriptionsController(ActionView::Helpers::UrlHelper)#url_for(options=...) .../actionview-6.1.7.8/lib/action_view/helpers/url_helper.rb:33>
> SubscriptionsController.methods.count
 => 421

without include ActiveHashcash
> SubscriptionsController.new.method('url_for')
 => #<Method: SubscriptionsController(ActionDispatch::Routing::UrlFor)#url_for(options=...) .../actionpack-6.1.7.8/lib/action_dispatch/routing/url_for.rb:170>

> SubscriptionsController.methods.count
 => 395

I think a fix would be to generate the hidden_field_tag via the view_context.
Do you except pull requests? That should fix it: https://github.com/BaseSecrete/active_hashcash/pull/6

@rocket-turtle This is no longer a problem, is it? 😅 https://github.com/BaseSecrete/active_hashcash/pull/6#issuecomment-2317588043

Yes this is fixed with https://github.com/BaseSecrete/active_hashcash/pull/6

authors: elalemanyo rocket-turtle


text:
Bash-it and .screenrc

Not really a bash-it issue, but more of a screen/bash-it integration question.
Whenever i launch screen i get a clean bash. No bash_profile is being sourced. What do i need to add to my .screenrc so whenever i launch a terminal in screen i get a full bash-it environment?

Which OS are you on? I just tried this on macOS, and I saw the same thing. I had to run source ~/.bash_profile from my screen session to make Bash-it work.
It's probably the old ~/.bashrc vs. ~/.bash_profile discussion. It's possible that it will work if you source ~/.bash_profile from your ~/.bashrc.

It's probably the old ~/.bashrc vs. ~/.bash_profile discussion. It's possible that it will work if you source ~/.bash_profile from your ~/.bashrc.

Yeah, that's probably it. So how should this be set up? Should all the bash-it stuff go into .bashrc instead of .bash_profile? Should i source .bash_profile from .bashrc? How do i set this up so it works for interactive bash as well as bash in screen?

That could work, yes.
You could also leave everything as it was before and then simply source ~/.bash_profile from your ~/.bashrc, e.g. at the end of the file. Really up to you.

Thanks!!

authors: Toontje nwinkler

repo: Bash-it/bash-it


text:
bash memleak

when I using the following shell to test.This shell process will abort, using gdb debug to show the following
test.sh
#!/bin/bash
for(i=0,i>=0,i++)
do
echo $i
bash -x echo.sh
done
echo.sh
#!/bin/bash
echo ''this is test ! !"
root:~$ gdb bash test.sh
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from bash...done.
"/root/test.sh" is not a core dump: File format not recognized
(gdb) set args test.sh
(gdb) r
Starting program: /root/bash test.sh
gdb: malloc.c:2394: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
Aborted
bash version is 4.4
using the version 5.0 still have this issue.
root@ubuntu:~/mailline/bash/bash$ ./bash --version
GNU bash, version 4.4.0(1)-release (aarch64-unknown-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

I think you're trying to report an issue with the Bash shell itself - this repo is for "Bash-it" a script framework that runs in Bash.
Please open the issue on the actual Bash shell project...

authors: nwinkler tiantaohuawei


text:
Can I make this work Rundeck Ansible for below scenario

Question : We have a ansible setup to deploy multiple applications and each application in inventory has upto 10 servers(parallel execution) using playbook for each app. Can I run multiple playbooks parallel(i.e multiple apps parallel) to reduce my deploy time using rundeck and ansible plugin.

Not really a question for this plugin, but for Rundeck in general. You might want to try asking on the mailing list.
I know Rundeck has some support for this (in form of dependent jobs), but I'm no expert on Rundeck. :)
Mailing list is here: https://groups.google.com/forum/#!forum/rundeck-discuss

authors: frozenice sgunnala

repo: Batix/rundeck-ansible-plugin


text:
Link to Zeng 2014 404s

https://github.com/BattModels/ElectrochemicalKinetics.jl/blob/master/dx.doi.org/10.1016/j.jelechem.2014.09.038d

Actually none of the external links work. I think you need to add https:// or something, otherwise it looks for it in the project repo


text:
Support for admonitions/callout blocks

From:

## Simple alerts
> [!NOTE]
> This is a note.

> [!TIP]
> This is a tip. (Supported since 14 Nov 2023)

> [!IMPORTANT]
> Crutial information comes here.

> [!CAUTION]
> Negative potential consequences of an action. (Supported since 14 Nov 2023)

> [!WARNING]
> Critical content comes here.

Ok, I have been struggling with the transformer. Here is my code, but it isn't working.
  import { Carta, Markdown, MarkdownEditor } from "carta-md";

  import plugin from 'remark-github-beta-blockquote-admonitions'
  import type { Plugin, UnifiedTransformer } from "carta-md";
  import remarkParse from 'remark-parse'
  import remarkRehype from 'remark-rehype'
  import rehypeStringify from 'rehype-stringify'

  const admonitionsTransformer: UnifiedTransformer<'sync'> = {
    execution: 'sync',
    type: 'remark',
    transform: ({ processor }) => {
      processor.use(remarkParse);
      processor.use(plugin, {});
      processor.use(remarkRehype);
      processor.use(rehypeStringify);
    }
  };

  const admonitions = (): Plugin => ({
    transformers: [admonitionsTransformer]
  })

const carta = new Carta({
    sanitizer: DOMPurify.sanitize,
    theme: "dark-plus",
    extensions: [admonitions()],
  });

I'm not sure if I'm doing the transformer right and how their example translates into a carta transformer:
import plugin from 'remark-github-beta-blockquote-admonitions'

const options = {} // Plugin options
const html = String(
  await remark().use(remarkParse).use(plugin, options).use(remarkRehype).use(rehypeStringify).process(`\
# Admonitions
> [!NOTE]
> test
`),
)

oh wait nvm it works!

Everything's right but you do not need to use all those plugins: all you need is:
  import plugin from 'remark-github-beta-blockquote-admonitions'

  const admonitionsTransformer: UnifiedTransformer<'sync'> = {
    execution: 'sync',
    type: 'remark',
    transform: ({ processor }) => {
      processor.use(plugin, {});
    }
  };

The rest of that stuff is done automatically

repo: BearToCode/carta


text:
Improved exceptions

Show registered formatters in "formatter not found" exception
All exceptions use "`" to delimit literals

:+1:

You need to fix failing tests.

Updated

Updated.

Perfect! Thank you very much :)

authors: WouterJ dantleech everzet

repo: Behat/Behat


text:
HTTPlug

Hi,
Is it possible to use php-http/httplug instead of guzzle.
This allow users to use the php-http/mock-client as client and perform nice tests.

Closing due to inactivity.
The question is still legit to me.

repo: Behat/WebApiExtension


text:
Couldn't import crnn module using project root as a namespace

Hi,
I use crnn-pytorch as a submodule with name pytorch_crnn. The project has no package namespace so I've done a quickfix with a relative import to fix import problem.
The proper way to do this is to introduce single root package (+ setup.py) and move all code except the scripts under this package. Then code can be imported as from root_package_name.foo import bar.

:+1:
Thanks for PR

authors: BelBES DXist

repo: BelBES/crnn-pytorch


text:
Omega

This is a sketch. I have some confusions about input parameters and its semantic type and also output semantic type.

Closing this PR in favour of #12

authors: BenKaehler Zakir-Hossine


text:
Blueprint Overlapping

Describe the bug
Appears that rooms (and stockpiles) can overlap.  This may be due to multiple gaming sessions.  Always the same game & ai version, just multiple save/loads/enable df-ai's

Example 1:
Overlapping didn't seem like much of an issue until I noticed that most of my fort was depressed and horrified, from constantly seeing bodies and bone refuse.

Example 2:
Dwarves were trapped down in the mines, as a z-level of their mineshaft was removed for a new fortress room.  Noticed as I started seeing inaccessible item & dehydration/starvation messages.

Expected behavior
Prevent structure overlapping or at least ensure bodies and refuse stockpiles are enclosed.
Visual reference

See top middle and bottom right
I was attempting to wall off the bones at top middle before taking screenshot
Also note the many blocks of stairways

ai version:
Dwarf Fortress 0.44.12
  Windows 64-bit
df-ai 0.44.12-r1-update1-6-gc32576d7 (Build ID: df-ai-pre-0.44.12-r1-180805000)
  code c32576d7b45f1336ad9f28272f6856655f80934e
DFHack 0.44.12-r1-0-gc2a64b35 (Build ID: df-ai-pre-0.44.12-r1-180805000)
  library c2a64b3573abbee549761f5c1c2626eec7a6e81c
  structures 23500e4e9bd1885365d0a2ef1746c321c1dd5094

Does not seem to be related to multiple gaming sessions.  Seeing overlap with fresh embark.

RIP - Poor fella was walled in

Ok, a few questions:

Is the AI generating a new layout every time it loads a save? It shouldn't be.
Do the room interiors overlap or is it just missing space for walls?
Is there a file named df-ai-plan.dat in your save folder (region#)?
Does the df-ai-plan.dat file increase significantly in size when you load and immediately save?

Does not appear to be generating a new layout everytime, at least with my current save.

I'll do some more testing tonight/overnight

I originally thought interiors overlap, as seen below... but maybe it is just missing walls? Hmm

I'll do some more testing tonight/overnight

Yes (2.58 MB (2,707,456 bytes))
No, appears to stay the same.

Looking more like walls/outer edge of blueprints aren't being taken into account when deciding placement?

Definitely looking like its just missing walls

authors: BenLubar mattregul

repo: BenLubar/df-ai

license: Zlib


text:
No releases since 2014: please make it explicit if the project was abandoned

Hi All,
I've found out about Heimdall while studying how to flash my Samsung S7 Edge firmware. I am a Linux, user, so Heimdall appeared to be the obvious solution, however the latest Heimdall distributed with Fedora 23 is very old, and from the looks of it the code in this repo is, too.
If the project was abandoned, or if development stopped at some point in time, could you please make it very clear, so that users with newer phone can understand immediately that Heimdall is not an option? Thanks.
G.

There's commits in this repo from only a few months ago.
Don't open pointless issues.

I'm also a Linux user, and glad to see the project is still active.
However, I can see where @giacecco is coming from:

the downloads page on BitBucket refers to Ubuntu up to only 13
other sites link to the GitHub downloads page, which only lists versions from 2012
the home page only lists very old Samsung devices (circa 2010).

I've just learned about Heimdall, and as an S7 owner, I actually can't tell if it will work with my device or not, unless I compile the source, or install a binary made for Ubuntu 13.
My experience in the OSS world tells me that many users will give up at this point, which hurts the project.
How can we improve this situation? Adding an updated list of devices maybe?

In the Linux world in particular package maintainers are not the same as project maintainers. I'm not at all stopping anyone from maintaining packages for the various Linux variants, however I don't have time to do so. Contributions are, and have always been welcome.

authors: Benjamin-Dobell dandv giacecco

repo: Benjamin-Dobell/Heimdall


text:
Feature discussion: Set thousand and decimal separator to an instance

I've been looking at a few libraries to format numbers and it seems like any of them, including numbro, allow to set decimal and thousand separator to an instance.
The feature I am expecting to achieve is similar to what accounting.js does
accounting.formatNumber(4999.99, 2, ".", ","); // 4.999,99

But it lacks the formatter string, which might be handy to set decimal places to be optional when they are 0.
The feature is pointing to the direction of not having to import or set a whole locale/culture and just format according to format string and separators symbols. How do you feel about it? Is there currently a way to achieve it?
Another examples for you guys to get an idea(setSeparators is an example function name)
numbro(123456).setSeparators('.',',').format('0,0[.]0') // => 123.456
numbro(123456).setSeparators(' ',',').format('0,0.00') // => 123 456,00
numbro(123456).setSeparators('—','*').format('0,0.000') // => 123—456*000

This comment is designed to help others in my situation, and not criticize this really good library, but for my use case (similar to this and explained #338) my users can actually specify the format themselves so it's not about locale.
number-formatter seems to do what I need, and may help others/influence the evolution of this library.

authors: jfstephe wachunei

repo: BenjaminVanRyseghem/numbro


text:
Add requirements.txt

Created requirements.txt file with initial necessary installations

I disagree. I don't think we need a global requirements.txt

repo: BerkayDur/Kelpie-LNHM-Botanical-project


text:
fix:trim prefix for node names

Fixes the issue where when the changeApiEndpoint playbook would reference the old node names with the prefix clusterName + clusterHash.

Changes implemented, also changed to inventory_hostname which actually will use the name from the inventory file.

repo: Berops/claudie


text:
Fail to inject due to the latest update of discord canary on Sept 26th,2022

Fail to inject due to the latest update of discord canary on Sept 26th,2022
Checking in as I am not sure if it's just me or yall got the problem too

I believe this only impacts Canary, stable is fine.

I believe this only impacts Canary, stable is fine.

@ItsMitchh This also affects PTB, see issue #1405

I believe this only impacts Canary, stable is fine.

Stable doesn't work for me either

I believe this only impacts Canary, stable is fine.

Stable doesn't work for me either

stable not working - reinstalling / fixing didn't help.

Discord switched from Babel to SWC for minifying its code, which breaks our usual methods of finding webpack modules to inject into. (by Powercord)
Waiting fix

For anyone looking for specifics: Discord moved from Babel => SWC in their transpilation step (likely to improve performance), which results in many webpack modules lacking important information BD looks for when doing module searches in discord's internals. Options are being explored at the moment, and BD alone will likely be fine, but plugins are a much different story.

Is there any way to downgrade Discord to the previous version until BD gets fixed?

i don't think there's a downgrade option. also, i wouldn't be afraid of BD, that'll be fine. just all the plugins that might choose to not update

repo: BetterDiscord/BetterDiscord


text:
eind slash binnen meta tags

https://github.com/BibekMA/the-startup-responsive-interactieve-website/blob/8f4492b93f25bfa04c21404b720711a2d6be934e/index.html#L4-L8
slashes weg halen aan het einde van de meta tags is niet nodig.

ik heb ze er allemaal uit gehaald

authors: BibekMA OniWithTheHoodie


text:
Update richness figure colors

Two things to try/consider:

[x] Use a different color palette (currently low is yellow and high is green). Try the inferno palette as a first start (often used by eBird).
[x] For areas where we have predictions and the predicted number of species is zero, use a markedly different color.
[ ] (stretch) Consider adding polygon(s) around those areas with >=4 species, since we talk about these areas in manuscript.

Updated colors. Used the eBird abundance/inferno palette for richness, with a light gray for areas with 0 species. Used a eBird-like palette for the richness change figures, with blue for positive values and red for negative values.
The 3rd item (denoting "hotspots") proved a bit difficult.  There are lots of very small hotspots, so using a polygon to delineate those areas wasn't possible.  Alternatively, we talked about binning values, having one color for 0 spp, one for 1-3 spp, and one for 4-7 spp. However, I didn't like that either and we're essentially throwing out information. Maybe this isn't necessary or if so, could put in supplement.

Closing for now; polygons around high richness areas did not add to figure.

For richness delta, try three-color palette as used for single species deltas showing loss "#fc8d59", stable "#ffffbf", and gain "#2c7bb6".

Delta plots just don't "pop" if that orange/blue palette is used. Keep red/blue palette.

authors: ezylstra jcoliver


text:
Push monitor type URL format

What is the correct syntax for the push monitor type push_url parameter?
It seems if I leave it out, there will be no ID for that monitor (ID will be null) and it will get regenerated every time when opening that monitor.
I tried setting a few value for it, but none of them seemed to work.

Hmm looks like push monitor will need some special treatment, I'll take a look late today.

It's now possible to specify a push_token, the token has to be 32 characters long and consist of [a-zA-Z0-9]

Thank you :)

authors: BigBoot radokristof

repo: BigBoot/AutoKuma


text:
gulp release时无法找到del module？

Error: Cannot find module 'del'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Module.require (module.js:366:17)
at require (module.js:385:17)
at Object. (D:\Program Files\wamp\www\flv.js-master\gulpfile.js:21:13)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Module.require (module.js:366:17)

npm install 齐了没？

这个报错提示遇到过,npm install装全就好了

我下载下来是压缩版的，请问哪里可以下载源码
原始邮件
发件人:ignacionotifications@github.com
收件人:Bilibili/flv.jsflv.js@noreply.github.com
抄送:Subscribedsubscribed@noreply.github.com
发送时间:2016年12月20日(周二) 14:56
主题:Re: [Bilibili/flv.js] gulp release时无法找到del module？ (#59)
这个报错提示遇到过,npm install装全就好了
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

重新安装一下del依赖包，npm install dev

npm install del

check whether you have install del as dev-dep first,
if not, install it.
$ npm i del --save-dev
At last, I don't think this is an issue of flv.js.

authors: XiaoyingZhao ZacksQ bq-hentai27 ignaciozhuzhu lianhr12 xqq


text:
Feat/hvcc

Not sure if it makes sense to add here.

Hmm, yeah, it's more of a compiler than a plugin development framework. Perhaps it can go in the Low Level Programming Languages section.

Well, it's not a Low Level Programming Language and since its main interface is currently through Pure Data, which is more a High Level Programming Language.
It's really a combination of transpiler and framework that can be used to make a variety of audio plugins.

I now notice the DSP Playgrounds section, where Pure Data should surely be placed at least.

Oh yeah, forgot about this PR. I'll just go ahead and merge it.

authors: BillyDM dromer

repo: BillyDM/awesome-audio-dsp


text:
not an Issue just a question about tabs

is there a way to keep all the tabs open for the next session? For now i have a workaround by closing grabber via taskmanager and it will ask to open all the tabs again the next time i start grabber. I wish this could be a feature. I know about the "restore closed tab" feature. but it only reopens 1 tab at a time. and i have more than 100 tabs open. thanks anyways for the great tool 👍

Hello
In the settings, in the "General" part there should be a "At start" option. If you set it to "Restore last session", it should automatically restore all your tabs and downloads. 👌
Let me know if it works.

hi. thank you very much. never saw that option. and it works too. thank you!!!

authors: Bionus mattiiz

repo: Bionus/imgbrd-grabber


text:
How to Run an online server no port apache2 (way 2 coming soon)

This tutorial is for *NIX style machines, I did this with my Raspberry Pi running Jessie

First navigate to the installation guide for the bot itself and install prerequisits.

then clone the bot to your favorite folder, such as 1/home//1

edit the default.cfg file however you like, but make sure to keep it 0.0.0.0 and port 8000 for the webserver

sudo apt-get install tmux

cd /home/<username>/poloniexlendingbot

tmux

enter python lendingbot.py, this should start running the bot.

press CRL+B and then press D to detach the instance of tmux, which keeps it running in background. Also, if you need to go back to the bot instance or etc, do tmux attach

find your system's IP address with hostname -I and look up "hostname":8000 on a browser to make sure the bot is working (example: 192.168.1.34:8000)

install apache2 with sudo apt-get install apache2 php5 libapache2-mod-php5

restart apache2 with sudo service apache2 restart

if you search your hostname without the "8000" (just 192.168.1.34), it should bring you to the default apache2 page

We want to see our bot web server without having to go to the 8000 port (trust.) so we cd /etc/apache2

sudo nano apache2.conf, find where this is:
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted

Then change the /var/www/ to where the www folder is for our bot, usually /home/<username>/poloniexlendingbot/www/

CTL + X and save

cd sites-available and sudo nano 000-default.conf

Find where it says DocumentRoot /var/www/html and replace with DocumentRoot /home/<username>/poloniexlendingbot/www notice no slash after the www

sudo nano default-ssl.conf and find DocumentRoot /var/www/html again and replace with DocumentRoot /home/<username>/poloniexlendingbot/www

CTL + X and save

sudo service apache2 restart and navigate to your hostname and it should be up! From here if you own a domain you can point it to your hostname or other stuff. YAY!

Or you could just change customWebServerPort to be 80 and not mess with installing apache at all. What's the difference? This apache method seems to be amazing over-kill.

Plus, if you run multiple instances of the bot, this won't work because the apache isolates you to a single instance (ie: folder) of the bot.

Well damn

Way 2:
In default.cfg, change your port from 8000 to 80

Sorry for bursting your bubble. I've got a free dns from duckdns.org so I can access my bots from home using that :8000 and :8001 It's just a port. Your browser just hides the :80 from you. The bot still serves up HTTP/1.0 qualified traffic.

@utdrmac duckdns.org does what exactly, points a subdomain of duckdns.org to your IP? so instead of looking up 192.168.1.34:8000 you could look up lendingbot.duckdns.org?
My second method was using a ftp server and uploading the poloniexlendingbot/www folder to a free domain hosting website.

Well, their free subdomain services don't do port redirection. If I wanted port 80, I would just set the bot to use port 80 and that would be fine; no apache needed. But as I run multiple bots, I have to use multiple ports.
If you upload to a hosting website, that might not work as the JSON/AJAX could have cross-domain security issues.
What exactly are you trying to accomplish with this "issue"?

Could you label this discussion please? sorry about that.

authors: chriscrutt utdrmac

repo: BitBotFactory/poloniexlendingbot


text:
External script files

Currently, scripts are pretty much inline. Add support for scripts to be loaded from an external file.
External file will have the extension .brs

Works.