Mystery Text discussion of Radio Plays (any plays other than ac.txt)

Post your ideas and findings and screen captures about any of the Radio Play texts here.

I looked at belltelephone.txt in the radio plays. This appears to be some sort of reenactment of when Alexander Graham Bell first showed off the telephone that he invented. At first I thought that it was the real thing, but the presence of a narrator indicates that this is just acting. Apart from Bell himself, there appear to be two other important named characters, Watson and Hubbard. I looked up those names in relation to Alexander Graham Bell and found out that Watson is Thomas Augustus Watson, who was Bell's assistant. Hubbard is most likely either Mabel Gardiner Hubbard, who was a businesswoman and Bell's wife, or her father Gardiner Greene Hubbard, who was a lawyer.


Feat/initialize base controller

Create BaseController class
Create unit test for BaseController

Here is the test result:


Null as the TypeKind is captured

Description:
Consider the following source snippet
function getIntVal() {
    worker w1 {
        int x = 12;
        x -> w2;
    }

    worker w2 {
        <-
    }
}

Steps to reproduce:
Within the worker w2 we have an incomplete worker receive action where the diagnostic properties contains the type symbols. If we get the type kind of the type symbol we get a null. Instead we should have NONE or CompilationError type kind. This is resulting of NPEs when using the API.
In order to observe the behaviour, get the cursor to the particular erroneous location and you can see the following stack trace thrown from the code actions.
Error - 4:40:35 PM] CodeAction 'CreateVariableCodeAction' failed! {, error: 'java.lang.NullPointerException'}
java.lang.NullPointerException
	at org.ballerinalang.langserver.common.utils.CommonUtil.generateVariableName(CommonUtil.java:780)
	at org.ballerinalang.langserver.codeaction.providers.createvar.CreateVariableCodeAction.getCreateVariableTextEdits(CreateVariableCodeAction.java:112)
	at org.ballerinalang.langserver.codeaction.providers.createvar.CreateVariableCodeAction.getDiagBasedCodeActions(CreateVariableCodeAction.java:77)
	at org.ballerinalang.langserver.codeaction.CodeActionRouter.lambda$getAvailableCodeActions$4(CodeActionRouter.java:109)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
	at org.ballerinalang.langserver.codeaction.CodeActionRouter.lambda$getAvailableCodeActions$5(CodeActionRouter.java:103)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177)
	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at org.ballerinalang.langserver.codeaction.CodeActionRouter.getAvailableCodeActions(CodeActionRouter.java:101)
	at org.ballerinalang.langserver.codeaction.BallerinaCodeActionExtension.execute(BallerinaCodeActionExtension.java:46)
	at org.ballerinalang.langserver.codeaction.BallerinaCodeActionExtension.execute(BallerinaCodeActionExtension.java:34)
	at org.ballerinalang.langserver.LangExtensionDelegator.codeActions(LangExtensionDelegator.java:157)
	at org.ballerinalang.langserver.BallerinaTextDocumentService.lambda$codeAction$8(BallerinaTextDocumentService.java:328)
	at java.base/java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642)
	at java.base/java.util.concurrent.CompletableFuture$Completion.exec(CompletableFuture.java:479)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)

Affected Versions:
SwanLake-beta3 at least

@nadeeshaan by applying the fix for the above NPE in the Semantic API side, would the following code segment that's being generated be considered appropriate?

@nadeeshaan by applying the fix for the above NPE in the Semantic API side, would the following code segment that's being generated be considered appropriate?

Basically, the variable assignment required diagnostic should not be suggested at the location first place. This is because we assume when the diagnostic available, the types are resolved. Otherwise we will have to include specific check for the types at the LS.

Adding a diagnostic-based test case is Blocked by #34031


Adding pytorch solution to titanic exercise

Reference Issues/PRs

Fixes #73
What does this implement/fix? Explain your changes.
Adding a pytorch solution to the titanic exercise along with changing the readme to include said solution and adding the predictions_pt.csv as the challenge dictates however keeping it separate to the tf solution's predictions.csv file.
Any other comments?

@Syn-Tax Looks great ! I have nothing to modify, will merge. Again, thanks !


Properties are not overridden for specific profiles when spring.cloud.config.label includes non existing branch

We have a service that is deployed to different environments. One of the environment requires different configuration. This is currently handled by adding a specific profile for service on this env. Our configurations are stored in Git the following way:
service
  - service.yml
  - service-global.yml
  - service-env2-overrides.yml

We have faced an issue with spring.cloud.config.label property breaking properties override mechanism.
When --spring.cloud.config.label=feature(_)already-deleted-branch,master is set -- properties from service-env2-overrides.yml do not take any effect. And when --spring.cloud.config.label=master,master -- everything works as expected.
Not sure what might be an issue, please advise.

Can you provide a complete, minimal, verifiable sample that reproduces the problem? It should be available as a GitHub (or similar) project or attached to this issue as a zip file.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


table created but no data

I have foolowed the steps as outlined in the readme. yet when i run the migration, the table is created quite alright but does not contain any data

now when i rum migrate --seed it gives the following error:  sizeof(): Parameter must be an array or an object that implements Countable


Relax bunny version requirement

Current version of bunny (2.5.0) includes a lot of bug fixes relevant for
most production environments. This commit makes sneakers depending on
bunny '~> 2.2' and therefore allow all 2.x versions.

I'd suggest to merge #233 first to make this pass travis, but I don't know what the PR/merge habits/requirements/policies in this repos are right now.

@pbollenbeck this looks OK and Bunny versioning (and backwards compatibility track record) is sane. Can you please rebase against master?

Sure. Currently on vacation, will do tomorrow.
Michael Klishin<EMAIL_ADDRESS>schrieb am Fr., 19. Aug. 2016 um
18:30:

@pbollenbeck https://github.com/pbollenbeck this looks OK and Bunny
versioning (and backwards compatibility track record) is sane. Can you
please rebase against master?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jondot/sneakers/pull/235#issuecomment-241066536, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA9o3JNArgKxokMQGTX9U5bvT5fx0RQ8ks5qhdoegaJpZM4JRv10
.


Ageojo/test discovery

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: ageojo.
This is most likely caused by a git client misconfiguration; please make sure to:

check if your git client is configured with an email to sign commits git config --list | grep email
If not, set it up using git config --global user.email<EMAIL_ADDRESS>Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

update config to include authorized email


proxy: improve gc handling of mcp.request

Since userdata have to pass through the GC twice before being collected, we usually make their allocations look oversized to the GC. This wasn't being done with mcp.request() because I don't personally see it causing problems.

wasn't the bug, closing.


Tree in alphabetical order

Hello,
Is it possible to make a function list with alphabetical order?
I am using this nice plugin for a special programing language where
would be easier to search in this alphabetical order rather than presence.
If you have any idea for it please let me know.
Regards,
Joe

It is a rather difficult one. Sorting can only make sense for a flat list functions. However codemap is generated for of classes with sub-classes then alphabetical sorting becomes problematic:
classA
   classB
      member10
      member77
   classD
      member1
      member2
classC
   member0


Document typedefs used in the corresponding functions

We have typedefs like these:
/// Number of bits per component
pub type Bits = u8;
/// Number of MSAA samples
pub type NumSamples = u8;
/// Number of EQAA fragments
pub type NumFragments = u8;

They end up as u8 in the documentation. We need to take that into account by explaining their meaning when they are used. Like here:
 /// Unsigned integer format with a given number of bits per component.
Unsigned(Components, Bits, ::attrib::IntSubType),

Alternatively, we may evaluate stronger types. Obviously, the ergonomics may suffer.

This seems like a Rustdoc issue :/

Not going to be fixed


Signed integer overflow

If you assemble the following code with rgbasm compiled with -fsanitize=signed-integer-overflow, you get a runtime error indicating that signed overflow occurred.
x =<PHONE_NUMBER> + 1

Clang and GCC have non-standard builtin functions to safely handle integer operations that could overflow.
https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html
https://clang.llvm.org/docs/LanguageExtensions.html#checked-arithmetic-builtins
If we want to avoid relying on compiler-specific extensions, we could perform the operations with 64-bit integers, detect overflow, and convert to 32-bit.

Instead of relying on GCC and Clang for this, it's probably worthwhile to just detect where the overflow is occurring and fix it properly. If this is not possible, -fwrapv is most likely the best solution.

The problem is that most overflows like this depend on text input, so it is pretty hard to detect where there are problems. And, even if you do detect them, how do you fix them? Do you actually implement the 2's complement behaviour in safe C? Or do you show an error and exit? Maybe -fwrapv is the best solution, yes. It is not a real fix from a strict point of view, but it makes the behaviour predictable.

-fwrapv is fine if you don't want to warn the user about the overflow.

Implementing two's complement behaviour in safe C is as simple as using unsigned types.

Well, yeah, but that means you need to start adding casts that look weird. Either you also add comments to explain why they are there or someone may think thet are useless. If what we want is to make sure that we always use two's complement, it makes sense to tell that to the compiler, I think.

Is there any particular reason to use signed types for user data (e.g., instruction operands)? Using unsigned types in general would solve the issue without the need for casts

@dbrotz That's not necessarily true. The sign of a product only matters for full products (i.e., multiplications where the result is twice as wide as its operands — for instance, a 64-bit result for 32-bit multiplication). If the result is as wide as the operands (which is the case here, where everything is 32 bits), signed and unsigned multiplication give the same result.
This is, however, not true for division.

Interesting. That still leaves division as a problem.
By the way, one thing I don't like about -fwrapv is that it would affect other code as well, since it can only be applied at a file granularity, as far as I know.

Division is undefined when the divisor is zero, obviously. Other than that, unsigned division can't overflow, but signed division has exactly one case of overflow, which is MIN_INT / -1 — which is undefined.
So any handling of signed division has to deal with that special case. (I think -fwrapv takes care of that too by returning MIN_INT for the division and 0 for the remainder.)
And yes, -fwrapv is file-granular at best.


SQLUpdate - works only with default Dialect

Can't set Dialect for SQLUpdate, the only solution is to change SqlSettings.DefaultDialect.
var cn = Connection as WrappedConnection;
SqlSettings.DefaultDialect = cn.Dialect;
var prUpd = new SqlUpdate(Entities.ProduktRow.Fields.TableName)
            .Where(Entities.ProduktRow.Fields.ProduktId == Row.ProduktId.Value);

There is nothing dialect sensitive in SqlUpdate if i remember right

Try:

Create SqlUpdate
Create any subquery CreateSubQuery
Add subquery to WHERE in SqlUpdate - subquery is sensitive for Dialect

Subquery can set its own dialect with .Dialect though.
Anyway, ok ill consider adding a similar method to set dialect with SqlQuery


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/102211

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/103412

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/106466

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107558

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113406

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113410

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/113575

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/117398


doesn't work on iPhone

I consider it as a bug in iPhone's safari.
When I want to right click a file, I try to hold the item. But in both iOS simulator (iOS10.0) and real iPhone6(iOS10.2), they don't respond to my action.
When I double click a file, iPhone think I want to zoom. Although I added no-scalable to viewport, it zoomed.
Both bugs exist in iPhone Chrome as well.
Everything works fine in my Nexus, so I think this is a bug in iPhone.

me too


wrong step_time calculation in RNN translation

step_time is the total time for handling a batch of training data. In translate.py:
      # Get a batch and make a step.
      start_time = time.time()
      encoder_inputs, decoder_inputs, target_weights = model.get_batch(train_set, bucket_id)
      _, step_loss, _ = model.step(sess, encoder_inputs, decoder_inputs,
                                   target_weights, bucket_id, False)
      step_time += (time.time() - start_time) / FLAGS.steps_per_checkpoint

I just interested to know why the consuming time is divided to FLAGS.steps_per_checkpoints? @lukaszkaiser

It was my fault.
step_time accumulates the total running times of steps during a checkpoint.


otel-cli exec in conjunction with background span and storing output to variable

Hi All,
I've been messing around with otel-cli for a bit (nice project btw), and I'm running into a bit of an issue with a script I'm trying to write and am wondering if anyone has any ideas.
Problem:
I want to use a background span and run otel-cli exec, but I also want to store the output of the command that exec runs as a variable for future use. But when I do this, I get an error.
Example:
#!/bin/bash

set -e
set -x

carrier=$(mktemp)
sockdir=$(mktemp -d)

otel-cli span background \
    --tp-carrier $carrier \
    --sockdir $sockdir \
    --tp-print \
    --service $0 \
    --name "$0 script execution" \
    --timeout 10 &

output=$(
    otel-cli exec --service $0 \
        --name "curl google" \
        --tp-required \
        --tp-carrier $carrier \
        --tp-print "curl https://google.com"
)

echo "${output}"

When I run this script though, I get the following error:
failed to find a valid traceparent carrier in either environment for file '/tmp/tmp.TmpYvJyIKf' while it's required by --tp-required
If I remove the variables storing part output=$(...), the script works. Does anyone know how to achieve this?

Just an update here, I don't actually think the issue is with output=$(...), rather its an issue with the background job and bash not waiting long enough. If I run the above example a few times, occasionally it will work and sometimes it will fail. I suspect bash is running the second command before the first command can add the traceparent to $carrier. I'm not sure if anyone has any ideas on how to fix this. I know I could probably use something like sleep, but I'd like to avoid that if possible.

It's probably just running so fast that the carrier file hasn't been written yet by the time the second otel-cli tries to read it.
I think the solution will be to have --tp-carrier loop/sleep a few times to wait for the file. This might introduce latency for some folks but will probably be around 10-20ms in the common case. otel-cli span background does something similar for the Unix socket and it seems to work fine so we'll copy that approach.

@BenB196 I started a PR that adds a demo for 2 ways to handle this case, please let me know if it makes sense.
https://github.com/equinix-labs/otel-cli/pull/168/files

Hi @tobert both examples look like they make sense (and are probably safer/more efficient than an uncontrolled infinite loop)

release v0.3.0, please reopen if there's still an issue
otel-cli span background --wait and the demo that shows how to avoid the condition is included in that release.


Unblock PR: Add missing '@types/marked' dependency

This is one of several related changes to address technical debt required to unblock PR #5767.
This adds the missing '@types/marked' dependency that previously was omitted.
(PR #5796 has an explanation of why this is blocking an unrelated PR.)

Thanks, @SamBroner !


Investigate - Bolero Dependency crashes some debugging sessions and unit tests

Having Bolero as a dependency crashes the process of compiling the binary, which is necessary to run concrete playback and the debugging sessions.
Related to #74 and #66

This isn't a extension issue, so closing it for now. Also was resolved by #66's PR #93 .


Managed Identity Support

Is your feature request related to a problem? Please describe.
I have a requirement to authenticate my function app using a managed identity but managed identities are not supported on ACA function apps. It is frustrating that ACA function apps don't align more closely with standard container apps in terms of features.
Describe the solution you'd like
Managed Identity support for Azure Container App Function apps.
Describe alternatives you've considered
Going back to using the regular function app and app service plan because ACA function app is missing too many features.
Additional context
This issue is also impacting/impacted the other feature request I raised https://github.com/Azure/azure-functions-on-container-apps/issues/90. I might be able to work around my issue if only one of these features were missing even if it's not ideal but as it stands having both features missing deviates too far from the security and business requirements.

Hello @Perks-of-Being-a-Cauliflower Managed identity is supported in Azure Functions on ACA - See here - https://learn.microsoft.com/en-us/azure/azure-functions/functions-container-apps-hosting#considerations-for-container-apps-hosting
https://learn.microsoft.com/en-us/azure/azure-functions/functions-deploy-container-apps?tabs=acr%2Cbash&pivots=programming-language-csharp#create-and-configure-a-function-app-on-azure-with-the-image
May I know which trigger are you using?

@raorugan The problem I got is that the managed identity of the function app is not the managed identity of the container app since those are seperate resources. Especially when deploying with bicep this is super frustating because you need to query the container app resource after creating the function app to then enable the managed identity.

can you please check this bicep sample - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/Biceptemplates/MI_VNET_sample . You should not need to query the container app

So far I only tried it using 'SystemAssigned' identity on the function app and then assign the AcsPull role to the function app principal but that does not work (getting an UNAUTHORIZED when trying to pull the acr image) because the function app principal is not the container app managed identity.
Also I don't really want to use user assigned identities...

Sorry for the delayed response,
I was using Australia East. You are correct that System assignment MI can be applied to the container app function app. I was able to do so through the portal. Not sure why the bicep wouldn't let me do it, I haven't had time to properly check. Perhaps the way I had it configured was causing issues or the bicep was deploying the wrong error.
Due to other considerations, I ended up switching to using a flex consumption plan function app rather than use container apps.

@raorugan under these circumstances, can we get a comment on how system assigned managed identities for function app on container apps deployed via bicep can be used?

Sure! Please use this sample to deploy functions on Azure container apps - https://github.com/Azure/azure-functions-on-container-apps/tree/main/samples/Biceptemplates/MI_VNET_sample  .
Before deploying the above Bicep template update the samples/Biceptemplates/MI_VNET_sample/index.bicepparam file containing below parameter to 'true'  -->   param useSystemIdentity = true

For your reference here are the steps:

CTrl+ (open) the terminal -> Git Bash

Clone the MI_VNET_Sample folder
git clone https://github.com/Azure/azure-functions-on-container-apps.git

cd /azure-functions-on-container-apps/samples/Biceptemplates/MI_VNET_sample

update the samples/Biceptemplates/MI_VNET_sample/index.bicepparam file containing below parameter to 'true'  -->
param useSystemIdentity = true

Right click on the index.bicep and choose Deploy Bicep File…

Press 'Enter' to confirm the deployment name

Choose Region -> '<region_name>'

Choose

View the progress of deployment by clicking on portal link returned in the Output console

After succesfull deployment Click on the function app resource

Invoke the http function url and make sure it executes successfully

Update the image with a http trigger image referencing key Vault using MI
az resource update
-g
-n <funa_name>/config/web
--resource-type Microsoft.Web/sites/config
--set properties.linuxFxVersion="<<image_name>> "
Verify the linuxFxVersion is updated correctly, in JSON View in Portal.

Check the configuration ToC in functions portal resource blade and make sure the image is updated

On invoking the http trigger you must now see the updated message

You can also verify the keyVault Overview-> Access Control(IAM) -> Search for the MI identity assigned to following KeyVault roles

Key Vault Secrets Officer , Key Vault Secrets User  Or use this portal link
go to Function on ACA resource page -> Identity-> System assigned

Hope the above steps are helpful. PLease let us know

As I already said this is not working for me. Let me explain in detail:
This is the bicep I use to create the function app on container apps:
param service string
@minLength(2)
@maxLength(28)
param name string
param managedEnvironmentName string
param minReplicas int = 0
param maxReplicas int = 1

var location = resourceGroup().location
var functionAppName = '${name}-ca'
var _managedEnvironmentName = '${managedEnvironmentName}-cae'

resource managedEnvironment 'Microsoft.App/managedEnvironments@2024-03-01' existing = {
  name: _managedEnvironmentName
}

resource functionApp 'Microsoft.Web/sites@2024-04-01' = {
  name: functionAppName
  location: location
  tags: {
    service: service
  }
  identity: {
    type: 'SystemAssigned'
  }
  kind: 'functionapp,linux,container,azurecontainerapps'
  properties: {
    managedEnvironmentId: managedEnvironment.id
    siteConfig: {
      linuxFxVersion: 'DOCKER|mcr.microsoft.com/azure-functions/dotnet8-quickstart-demo:1.0'
      minimumElasticInstanceCount: minReplicas
      functionAppScaleLimit: maxReplicas
    }
    storageAccountRequired: false
    appSettings: [
      {
        name: 'DOCKER_REGISTRY_SERVER_URL'
        value: 'xxx.azurecr.io'
      }
    ]
  }
}

output name string = name
output fullName string = functionApp.name
output principalId string = functionApp.identity.principalId

This is the bicep I use to assign a role for the container registry:
@minLength(36)
@maxLength(36)
param roleDefinitionId string
@minLength(36)
@maxLength(36)
param principalId string

resource roleDefinition 'Microsoft.Authorization/roleDefinitions@2022-04-01' existing = {
  name: roleDefinitionId
  scope: subscription()
}

resource containerRegistry 'Microsoft.ContainerRegistry/registries@2022-12-01' existing = {
  name: 'xxx'
}

resource roleAssignment 'Microsoft.Authorization/roleAssignments@2022-04-01' = {
  name: guid('containerRegistryRoleAssignment', 'xxx', principalId)
  scope: containerRegistry
  properties: {
    roleDefinitionId: roleDefinition.id
    principalId: principalId
  }
}

Then the bicep I use to create and assign roles to the function app:
module functionApp 'common/function-app.bicep' = {
  name: 'functionApp'
  params: {
    service: 'xxx-api'
    name: 'xxx-functions${environmentSuffix}'
    managedEnvironmentName: 'xxx${environmentSuffix}'
  }
}

module azureContainerRegistryPullRoleAssignment 'common/role-assignments/container-registry.bicep' = {
  name: 'azureContainerRegistryPullRoleAssignment'
  scope: resourceGroup('xxx-rg')
  params: {
    roleDefinitionId: '7f951dda-4ed3-4680-a7ca-43fe172d538d'
    principalId: functionApp.outputs.principalId
  }
}

Afterwards I use the Azure/functions-container-action@v1 action to deploy a docker image from the xxx.azurecr.io container registry. This results in an UNAUTHORIZED error.
This error happens because the container app behind the function app does not have access to the container registry, because the above bicep file only sets up system assigned managed identity for the function app not for the container app.
As you can see here is the identity configuration of the function app itself:

Here is the role assignment:

But the problem is the underlying container app which has neither a managed identity nor a role assignment:

Since the container app is also in a seperate resource group which does not allow further editing because of a deny all role assignment, it is impossible to set this up correctly.

The exact error message from the Azure/functions-container-action@v1 github action:
Error: Error: Failed to patch configuration settings for app service role-functions-staging-ca.
BadRequest - Internal server error occurred. ContainerAppOperationError. Failed to provision revision for container app 'xxx-functions-staging-ca'. Error details: The following field(s) are either invalid or missing. Field 'template.containers.functions-container.image' is invalid with details: 'Invalid value: "xxx.azurecr.io/xxx-functions:bb5e0250": GET https:?scope=repository%3Arole-functions%3Apull&service=xxx.azurecr.io: UNAUTHORIZED: authentication required, visit https://aka.ms/acr/authorization for more information.';.. (CODE: 400)

The functionapp bicep should include below propwrties as well . Currently I see these missing in your template
acrUseManagedIdentityCreds:
acrUserManagedIdentityID:

In the example they are set to this:
acrUseManagedIdentityCreds: !useSystemIdentity
acrUserManagedIdentityID: useSystemIdentity ? '': identityResourceId

Since I am using system assigned identity I thought I can leave them out. I will set them to false and '' and see if that works.

@raorugan Unfortunately, still the same error.

Just a hint for someone coming at this in the future. If you deploy the function app via bicep for the first time it will not work with acrUseManagedIdentityCreds and acrUserManagedIdentityID enabled. Instead you should use the patch cmd as described here.

Sure @DavidVollmers ! thanks for the feedback. We are in progress of upgrading these samples. Should be out soon!!


Supabase custom domains

Describe the feature you'd like to request
Right now authentication goes to a random Supabase URL, which looks sketchy.
It'd be nice to setup custom domains so that the user sees the right domain on Google OAuth
Describe the solution you'd like
https://supabase.com/docs/guides/platform/custom-domains
Describe alternatives you've considered
Keep as is

I'd suggest db.opensource.observer
But we're swimming along just fine on free tier right now. I might punt this until we need pro tier for some other reason


[HOLD #35539][#VIP-VSB] Thread in #admin shows Hidden with avatar placeholder in LHN for workspace member

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

WAVE/PROJECT SUGGESTION : #vip-vsb
Version Number: v1.4.31-7
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:
Precondition:

User A is an admin of Workspace A.
User B is a member of Workspace A.

[User B] Create a room under Workspace A.
[User B] Invite User C to the room.
[User A] Go to #admin room of Workspace A.
[User A] Reply in thread to the system message "User B invited User C to room".
5.[User B] Note the thread in LHN.

Expected Result:
The thread in LHN will appear with thread title and complete avatar for User B.
Actual Result:
The thread in LHN appears with "Hidden" as thread title and avatar placeholder for User B. The thread in LHN only shows the title and avatar after user opens the thread. On production, it is the same behavior except that it shows "Deleted message".
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/e453bdba-958e-456e-ac5d-5f2b34ac5063

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01403dd68ad2cbea53
Upwork Job ID:<PHONE_NUMBER>673921536
Last Price Increase: 2024-02-01

I'm unavailable next week, Please assign a new C+ Issue here if required, thanks!
cc: @CortneyOfstad

Sounds good @Santhosh-Sellavel — we should be good, but thanks for the heads up! 👍

@Santhosh-Sellavel thoughts on the proposal above? Thanks!

@Santhosh-Sellavel does the proposal above work, or does it need feedback? Thanks!

Will Review today

@CortneyOfstad This seems like backend issue can you add internal

I suggest we show a different title for the thread. This is because we don't have the correct data. I'm suggesting to modify the logic added by this pr #34362.

Can you elaborate on that @nebiyuelias1

@CortneyOfstad This seems like backend issue can you add internal

bump @CortneyOfstad

Not overdue — waiting for an engineer to pick it up 👍

Still waiting on an engineer for this one 👍

Reached out in the room since there is not an urgency applied. Waiting to hear back to get this moving 👍

Bumped the thread in Slack here to get an urgency applied. If that doesn't move an engineer to tackle this.

Alright, so after checking with the team, this will be corrected by https://github.com/Expensify/App/issues/35539. Adjusting the frequency to reflect that 👍

No update as there was not any movement on the on-hold issue. Going to keep an eye on both to see when a PR is created.

No movement yet on the GH https://github.com/Expensify/App/issues/35539 yet. Should be pretty quick this week, as it is shown as "high" priority. Will continue to monitor.

No movement yet on the other GH, but Puneet linked another issue 24 minutes ago 👍

Hey @mallenexpensify! I am heading OoO and will be back March 11th, so reassigned to have someone keep this moving until I am back. At this stage, we're on-hold for https://github.com/Expensify/App/issues/35539. It shows that Puneet has requested a query in relation to that other GH. Thanks!

Issue not reproducible during KI retests. (First week)

No action needed here so far, we're still on hold pending

https://github.com/Expensify/App/issues/35539

The PR for that is actively being worked on by Puneet, he commented 13 mins ago

https://github.com/Expensify/Expensify/issues/373736

Back from OoO — thanks for holding down the fort @mallenexpensify!
No action needed, as still waiting for the on-hold issue 👍

https://github.com/Expensify/App/issues/35539#issuecomment-1980993855

Waiting on query.

Issue not reproducible during KI retests. (Second week)

Issue not reproducible during KI retests. (Third week)

I'm unable to recreate this either, so going to close 👍
Thanks @mvtglobally for continuing to test this!


mozHidden' and 'mozVisibilityState' are deprecated

I get this message in Firefox log:
"'mozHidden' and 'mozVisibilityState' are deprecated.  Please use the unprefixed 'hidden' and 'visibilityState' instead."

This is something coming from the Javascript slick file.
Is it just me?

I get this on all Firefox browser. Latest Version
I use latest slick 1.6.0

@simeydotme any ideas on this one?

I must say it was on Ubuntu 14, **firefox **and firefox dev. And jQuery 1.10 if this is important.

i'll look at the docs, it's probably worth updating the js if they've deprecated it 3+ versions ago, otherwise keep it in for a while. Probably just a console.warn

seems since version 18, so I'll try to remove it before next release :) :+1:

@simeydotme sorry I didn't get your answer. So was my report good or what it is about? What do you mean with updating js. You mean in this project here right?
Removing the mozHidden stuff right? If yes, great, tell me when it's fixed. :)

@simeydotme is this update still in progress?

Yeah what is the current state of this?

@kwoxer @jazzbassjohnson there hasn't been a new release of Slick yet so no change / update (per @simeydotme above; "I'll try to remove it before next release :)".) You will still see the warning in your console. It's a deprecation notice, no biggie.

@kwoxer
did you get it fixed, i have same issue on my website: http://duino4projects.com/convert-arduino-avr-flash-programmer/
Its not showing ads in microsoft edge, firefox but showing good on chrome.
Any idea or help will be greatly appreciated, Weired thing is that, ads on few different pages is being shown of same site e.g.: http://duino4projects.com/blog
Thanks

Well as already said this should just be a Warning/deprecation and should not effect anything else.

Actually its effecting, on page which don't show adsense ad, showing this error, while other pages which show ads don't have this warning.
thats why i was assuming there is something wrong. :(
Which can't figure it out, but i am going to roll-back wordpress installation to previous version to see if it unblock google ads on home page.?
@kwoxer  can you see ads of my site's home page in edge browser? or firefox latest version?
Thanks

Someone finally find a solution for this?
Right now, in my page this "warning" make youtube videos disappear in firefox.


"Sânnicolau Român, Berechiu, Roit" are villages in "Sânnicolau Român" commune, "BIHOR" county

Description
When an user search a location, this appear in the drop-down menu
according to the law
Precondition
The website ( https://peviitor-ro.github.io/ui.orase/ ) is up an running.
Empty the search bar after every step

Steps 1
Write "Sânnicolau Român"
Expected result
In the drop down menu you find "Sat Sânnicolau Român, BIHOR(Sânnicolau Român)"
Test Data
Sânnicolau Român

Steps 2
Write "Berechiu"
Expected result
In the drop down menu you find "Sat Berechiu, BIHOR(Sânnicolau Român)"
Test Data
Berechiu

Steps 3
Write "Roit"
Expected result
In the drop down menu you find "Sat Roit, BIHOR(Sânnicolau Român)"
Test Data
Roit


[$500] On Onfido setup, the numbers at the top can be clicked

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.41-2
Reproducible in staging?: y
Reproducible in production?: n (New flow)
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to workspace settings
Start adding bank account manually
Proceed upto onfido page
Click on the circles at the top

Expected Result:
Should not be able to click
Actual Result:
Able to click and change status
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/fafcbddd-ebe7-4b51-adff-d02abe72fdc3

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017f9176469aeb0a7d
Upwork Job ID:<PHONE_NUMBER>986205696
Last Price Increase: 2024-02-13
Automatic offers:

Ollyws | Reviewer | 0
akinwale | Contributor | 0

Seems related to https://github.com/Expensify/App/pull/34498
I'm going to assign people who approved the PR and the author since they probably have more context than me and the changes look extensive.

cc @barttom @shubham1206agra

Proposal
Please re-state the problem that we are trying to solve in this issue.
Steps displayed by InteractiveStepSubHeader component are clickable on Onfido step
What is the root cause of that problem?
Empty method is passed via onStepSelected prop inside VerifyIdentity screen
https://github.com/Expensify/App/blob/00fc955b129c572d79fb0a862359544799adffd3/src/pages/ReimbursementAccount/VerifyIdentity/VerifyIdentity.tsx#L67-L73
What changes do you think we should make in order to solve the problem?

Remove onStepSelected prop completely in the place linked above and add another check inside InteractiveStepSubHeader
disabled={isLockedStep || !onStepSelected}
This way step will be disabled completely (not even clickable) if we do not plan on navigating to it anyway

I am Michał from Callstack - expert contributor group. I’d like to work on this job.

Assigned @MrMuzyk to this issue as author of the PR

@abzokhattab Hi! Sorry for the confusion. This was a deploy blocker issue automatically labelled with External and Help Wanted labels. By contributing guidelines, if there is a regression found from your PR, the author is the one who should fix it. In this case its @MrMuzyk and other callstack devs who worked on this big feature.
We ca however, offer partial reward to contributor who offered solution that was used in the fix.

It seems like @MrMuzyk used different solution than you have proposed though so I would say no partial reward this time.
We appreciate your help and surely it will work out better next time. With Deploy blocker there is always a risk that you wont be the one picked since the PR author is more easily identifiable (but the fix is also more easily identifiable)

PR was CPed this is resolved


Add an API to service decl symbol to get the attached listener types

Purpose
This PR adds a new method(listenerTypes()) to ServiceDeclarationSymbol for retrieving the types of the listeners to which the service is attached.
Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@pubudu91 We need to add more test cases to cover cases reported by codecov. Could you please create an issue?

@pubudu91 We need to add more test cases to cover cases reported by codecov. Could you please create an issue?

Created #29628 to track this.


Bitbucket pull request support

Bitbucket pull request support

Don't merge it, wait for the PRs on Bitrise


Hide individual files in addition to folders?

Thanks for this plugin!
This is more of a request than a bug:
I have a few configuration files in the root of my vault (sortspec, prettierrc, that sort of thing) that I can't move into folders but which I'd like to hide from the file explorer view. This plugin does a great job hiding folders, but I noticed that it can't seem to hide these individual files even if their paths are added to the "Folders to hide" list.
I realize "folder" is right there in the name of plugin, but might be nice to be able to hide files as well.

Not a bad idea! Should be possible with pretty much the same logic, for configuring I will probably add a file: prefix or something like that. Will look into it when I have time :)

Hi, are you using the default file explorer? I just tried it out any my Obsidian only shows a selected list of type types anyways like (obviously .MDs) and .PDFs.
Files with a .js ending, or no ending at all, don't get shown at all in the File Tab for me.

Aha good thought — I'm not using a custom file explorer, but I do have Obsidian's "Detect all file extensions" setting checked:

For now I've switched to File Hider which does seem to hide individual files regardless of the all extensions setting — but I do miss the feature in your implementation that syncs hidden files to the exclusions list.

Ahh didn't know about that setting!
If you include the file endings and not just the name, it should work:

https://github.com/user-attachments/assets/206304f0-d193-4f00-acf7-80a8aab0cfad

You're absolutely right, I'm not sure why I hadn't added the file extensions in the exclusion list. Works now!
Thanks for the investigation.


Tweak Weights: Split "by Time" (like now) and "by Quantity"

Hi there, love this so far!!!
Question, or am I not seeing it...
the weighting option doesn't seem to impact the shuffle options.
Am I just not seeing it and my random shuffles are just hitting odd rands or is this weighting only applied at the time it is changed ignoring the shuffle types afterwards?
I read the help on weighting and balancing, but I am not sure if weighting affects the shuffle options.
My use example:
5  shows, I weight them as 20, 40, 60, 80 & 100.
I set the number before randomize to '2' and try the shuffle options ( block, random,cyclic), the number '2' doesn't get  honored except for block (probably by design there and thats OK but would be great if it was 'global' for the shuffles), but the weighting doesn't really seem to be honored in my limited tests. I only have 10 channels so far.....
Am I just not seeing it in the long view of the shuffle? I tend to only look at the top 20-40 or so... not too much.
Anyway......
Sorry for posting a question in the issues, but I can't find an official 'forum' for dizquetv to ask user questions yet.
Thanks!!!
j

@psybertech : Yes, the number is only used by block shuffle.
Weight is time-based, not quantity based. What it means is that if for example, there are two TV shows. One TV has 12 one hour-long episodes and the other show has 24 half hour episodes. These shows are actually already "balanced" , because the total show length for both shows is 12 hours.
Now if I wanted the second show to be twice as frequent as the first show. We would need 12 episodes of the first show and 48 episodes of the second show. So my tip is: When trying to see if weights are working, don't focus on which show appears more times in the list, but which show's total duration is longer.

Thanks, @vexorian
Understood!
I was just hoping for a 'only show each show twice' thing, so you could see a back to back airing and then move on. If you tune in part way thru the first, then at least the next would be the same show... or a new one, and so on.
Got it.
I have another question I will post soon... sorry again for posting questions in the 'issues' section.
cheers!
j

Does it sound like what you want is something like Block Shuffle, but where you can select the number of times each show appears in a block, instead of making it count for all shows? I think it can be done.

To be honest, I just started playing with this yesterday, so I don't have any real experience on what I really want to see.
In my head, I just want to see no more than X episodes of a single show in a row, but have the ability for some shows to come back more often... kinda like they are more popular and, but yet I can still squeek in some shows that are under-appreciated, all while having the same basic guide of 'no more than X in a row', but it would be ok to have a show rotate out, play another show for X and if the random gods deem it so, then the heavily weighted show comes back right after.
In my head I get it. haha
But I am all for more options.
Since I have just started to scratch the surface, I am not sure what I really want to do yet and each channel has the potential for different things.
And to be honest... this is something I have wanted for OVER A DECADE!!!
I've been using HTPC/media servers/etc, since the original Xbox via the first XMBC and always wanted my own channels.
My only method of doing so was straight up shuffled playlists, and well, that just sucked.
So this is the first EXCITING thing I have seen in a loooong time.
I don't even use plex other than a backup server for EMBY, but I am glad I do! =D
Thanks again!!!!
cheers
j

@psybertech At this point, what would you like to do with this issue/question?  Are you wanting an enhancement request to limit quantity per show for the Block Shuffle tool, or are you good with closing this out?

I guess I would like and enhancement.
To be able to use the weight and have it applied to whatever shuffle option is used if possible.
So, for random shuffle, an example:
5 shows all with 5 or more seasons each
1 show with 10+ seasons
1 show with just one...
I want to weight the 1 show with one season very high, giving it a better chance on popping up, weight the one show with 10+ seasons pretty low and then weighting the others somewhere else in the middle... not sure where until I can see it sort of working. But in my head this makes sense and its just a basic example really.
Thanks
J

@psybertech Does this Description capture your Enhancement Request?:
Tweak Weights: Split "by Time" (like now) and "by Quantity"

If QTY = amount of episodes, then yes.
Thanks!

Yes, QTY = amount of episodes.  Thank you for confirming.

Random slots in 1.3.0  are a good replacement for this. By playing with time, duration and weight you can control both the frequency and the time weight with more granularity. So I am closing this


Adding logo and icons

I can make personalised logo and icons to make your website look more proffesional and user friendly.
Please assign this issue to me under gssoc'24 EXTENDED with label gssoc'24 and hacktoberfest.

hello , I can add logos and icons in your website please assign this task to me with labels


Add Combobox accessibility functionality

This issue is to propose an enhancement for the combobox. It consists of two main changes:

Add Keyboard Support - Extend the combobox functionality to support ctrl+n and ctrl+p key combinations, functioning similarly to the up and down arrows. This would provide a smoother and more intuitive user experience. (Suggested by @iseth)

Focus Management - Adjust how focus is handled with the combobox. Currently, when the combobox is focused and opened, closing it with the ESC key also removes focus from the combobox. The proposed behavior is that the ESC key should only close the combobox, still maintaining its focus. This would allow the user to reopen the combobox with either CR or SPACE, or proceed to the next element with the TAB key. (Suggested by @cirdes)

I believe these enhancements will significantly improve user interaction with the combobox.

@iseth, I'm closing this issue because Ctrl+N and Ctrl+P are not mandatory for the combobox, and the vast majority of keyboard shortcuts have been added. Additionally, the focus issue has been fixed.
Feel free to reopen it if needed.


Add licensing header to test_shaders.py

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


V2(ALPHA): Chainlink Asset Balance Page not displaying properly on ALL time frame

in App.shapeshift.com, the Chainlink asset page is not displaying properly. on the ALL Balance Graph on asset page showing a flat-lined graph, even with a balance showing above.

log into app.shapeshift.com with a wallet containing the chainlink token
go to the asset page for chainlink
click on balances and go to the ALL time tab
See flat-lined graph

Triage Ticket Link: https://discord.com/channels/554694662431178782/873244924026449940/938556301896736778

Similar to #939  - 429 error.

closing as resolved with rate limiting


⚠ Turnos 24x7 has degraded performance

In af2a599, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1014 ms

Resolved: Turnos 24x7 performance has improved in 282753d.


In IE11 application is breaking because sanitize-html

installed 2.4.0 and checked in IE11, but it's getting break whoever page loads  it's breaking the application.
the error is getting generate from ./node_modules/sanitize-html/index.js":
please find the attached screen shot

One more screen shot

sanitize-html 2 is not intended to be directly used in browsers. See this paragraph from the README:

The primary change in the 2.x version of sanitize-html is that it no longer includes a build that is ready for browser use. Developers are expected to include sanitize-html in their project builds (e.g., webpack) as they would any other dependency. So while sanitize-html is no longer ready to link to directly in HTML, developers can now more easily process it according to their needs.

sanitize-html 2 is not intended to be directly used in browsers. See this paragraph from the README:

The primary change in the 2.x version of sanitize-html is that it no longer includes a build that is ready for browser use. Developers are expected to include sanitize-html in their project builds (e.g., webpack) as they would any other dependency. So while sanitize-html is no longer ready to link to directly in HTML, developers can now more easily process it according to their needs.

Could you please make this as Disclaimer or point to be noted or in some way to highlight to developers who are looking to use this in browser?

It is fairly standard among newer modules not to try to ship a
one-size-fits-all browser build anymore, but rather expect that developer
has a frontend build of their choice set up and will be using "import" or
"require" to pull in the library, will npm install it, etc. But we could
add a disclaimer, sure. Would you like to submit a PR?
On Fri, Jan 7, 2022 at 8:47 AM Yuvaraj @.***> wrote:

sanitize-html 2 is not intended to be directly used in browsers. See this
paragraph from the README:
The primary change in the 2.x version of sanitize-html is that it no
longer includes a build that is ready for browser use. Developers are
expected to include sanitize-html in their project builds (e.g., webpack)
as they would any other dependency. So while sanitize-html is no longer
ready to link to directly in HTML, developers can now more easily process
it according to their needs.
Could you please make this as Disclaimer or point to be noted or in some
way to highlight to developers who are looking to use this in browser?
—
Reply to this email directly, view it on GitHub
https://github.com/apostrophecms/sanitize-html/issues/488#issuecomment-1007420427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAH27NSBHBVMGY6ZAWDDJ3UU3VHLANCNFSM5AXJP7HA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
THOMAS BOUTELL | CHIEF TECHNOLOGY OFFICER
APOSTROPHECMS | apostrophecms.com | he/him/his

@uiyuvi What kind of disclaimer are you looking for? That paragraph is in the README, which also says this is intended for use with Node.js.


tf keras model.save_weights not working with MirroredStrategy in 1.12

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
Yes, duplicated the minimal code from documentation snippet from here
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):"18.04.1 LTS (Bionic Beaver)"
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:None
TensorFlow installed from (source or binary): source and binary
TensorFlow version (use command below): v1.12.0-rc2-0-g748435b8ef
Python version: 3.6.6
Bazel version (if compiling from source): 0.15.2
GCC/Compiler version (if compiling from source): 6.4.0
CUDA/cuDNN version: 9.0 / 7.3
GPU model and memory: 2 x 1080-ti

Describe the current behavior
Cannot save a tf.keras model if trained with MirroredStrategy either by calling save_weight or by a tf.keras.callbacks.ModelCheckpoint, but does work if MirroredStrategy is not used.
Code to reproduce the issue
inputs = tf.keras.layers.Input(shape=(1,))
predictions = tf.keras.layers.Dense(1)(inputs)
model = tf.keras.models.Model(inputs=inputs, outputs=predictions)

features = tf.data.Dataset.from_tensors([1.]).repeat(10000).batch(10)
labels = tf.data.Dataset.from_tensors([1.]).repeat(10000).batch(10)
train_dataset = tf.data.Dataset.zip((features, labels))

distribution = tf.contrib.distribute.MirroredStrategy()

model.compile(loss='categorical_crossentropy',
              optimizer=tf.train.GradientDescentOptimizer(learning_rate=0.2),
              distribute=distribution)
model.fit(train_dataset, epochs=5, steps_per_epoch=10)

And adding:
model.save_weights('my_weight')

Error looks lite:
Traceback (most recent call last):
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/contrib/distribute/python/values.py", line 72, in get
    return self._index[device]
KeyError: '/replica:0/task:0/device:CPU:0'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "minimal_example.py", line 17, in <module>
    model.save_weights('my_weight')
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py", line 1449, in save_weights
    session = backend.get_session()
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 469, in get_session
    _initialize_variables(session)
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 722, in _initialize_variables
    variables = _get_variables(ops.get_default_graph())
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/backend.py", line 716, in _get_variables
    variables.update(opt.optimizer.variables())
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py", line 787, in variables
    optimizer_variables = [v for v in self._non_slot_variables()
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py", line 788, in <listcomp>
    if _from_current_graph(v)]
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/training/optimizer.py", line 781, in _from_current_graph
    return variable.op.graph is current_graph
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/contrib/distribute/python/values.py", line 308, in op
    return self.get().op
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/contrib/distribute/python/values.py", line 76, in get
    (device, self._index.keys(), device_util.current())), e)
  File "<string>", line 3, in raise_from
ValueError: Device /replica:0/task:0/device:CPU:0 not found in dict_keys(['/replica:0/task:0/device:GPU:0', '/replica:0/task:0/device:GPU:1']) (current device )

Changing to:
checkpoint_path = "my_weight"
cp_callback = tf.keras.callbacks.ModelCheckpoint(checkpoint_path,
                                                 save_weights_only=True,
                                                 verbose=1,
                                                 period=1)
model.fit(train_dataset,
          epochs=5,
          steps_per_epoch=10,
          callbacks=[cp_callback])

Also does not work an end up with:
Epoch 1/5
 1/10 [==>...........................] - ETA: 4s - loss: 1.1921e-07
Epoch 00001: saving model to model_dir/my_weight
WARNING:tensorflow:You are accessing attribute _replicated_modelof the DistributedCallbackModel that may not have been set correctly.
Traceback (most recent call last):
  File "minimal_example.py", line 35, in <module>
    callbacks=[cp_callback])
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1624, in fit
    validation_steps=validation_steps)
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_distributed.py", line 198, in fit_loop
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/callbacks.py", line 214, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/callbacks.py", line 599, in on_epoch_end
    self.model.save_weights(filepath, overwrite=True)
  File "/home/BP/anaconda3/envs/tf12_gpu/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 2336, in save_weights
    self._replicated_model.save_weights(filepath, overwrite=overwrite,
AttributeError: 'NoneType' object has no attribute 'save_weights'

You need to save the weights of the model as a HDF5 file.
Try doing model.save_weights('my_weight.h5') instead.

@ymodak
model.save_weights('my_weight.h5')
model.save_weights('my_model.h5', save_format='h5')
and
model.save_weights('my_weight') witch should save in the TensorFlow checkpoint file format
does not work when MirroredStrategy is use. All of them work if MirroredStrategyis not used.

sorry about that

You need to save inside distribution.scope(), so this should work:
with distribution.scope():
    model.save_weights('my_weight.h5')

Also if you're then trying to load weights under the MirroredStrategy, I think it will only load onto the first tower (although maybe this is fixed?). Anyway you can look here for an example of how to do it.

Nagging Assignee @anj-s: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

You need to save inside distribution.scope(), so this should work:
with distribution.scope():
    model.save_weights('my_weight.h5')

Also if you're then trying to load weights under the MirroredStrategy, I think it will only load onto the first tower (although maybe this is fixed?). Anyway you can look here for an example of how to do it.

Did you get a chance to try this?


Auto adjust row height?

How can I make the row height dynamic, based on content? Wrapped text gets cropped by default.

As long as the row component didn't set the number of height.

Using row styles made it work for me. Thanks.


feat(Link): add externalIcon prop

📝 Description

Add a brief description

add new props externalIcon to control Link suffix external icon.
set Link rel="noopener" and target="_blank" when isExternal=true

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):

No
📝 Additional Information

Seems like there are some circular dependencies in apps/docs

Hey @sun0day thanks for contributing, could we change the Loading component to a custom link icon?

hey @sun0day what about this one?

hey @sun0day what about this one?

Cool. Done.

Hey @sun0day sorry for the delay, could you please fix the issues?

Hey @sun0day thanks for contributing, could we change the Loading component to a custom link icon?

Hey @sun0day sorry for the delay, could you please fix the issues?

Done

Hey @sun0day thanks for fixing the issues however looks like something is broken in the example code, could you take a look please?

Hey @sun0day thanks for fixing the issues however looks like something is broken in the example code, could you take a look, please?

This error seems to be caused by deployment. The preview ui version mismatched the latest code in the branch.


linter should complain about tabs in .less files

Currently we use eslint for our .js but we don't do any linting of our .less files.

Perhaps stylelint?  See this css-tricks.com post.  Looks like you can turn off tab support via the indentation rule.


How does rancher 2.0 access the apiserver of kubernetes non-secure port 8080

Trouble to ask, rancher 2.0 want to access the original kubernetes non-secure port 8080 apiserver, what should I do?

I got the following return after using kubectl proxy, which doesn't look like kubernetes api
$ kubectl proxy
Starting to serve on <IP_ADDRESS>:8001

$ curl http://<IP_ADDRESS>:8001
{"type":"collection","links":{"self":"https://<IP_ADDRESS>:8001/"},"actions":{},"pagination":{"limit":1000,"total":4},"sort":{"order":"asc","reverse":"https://<IP_ADDRESS>:8001/?order=desc"},"resourceType":"apiRoot","data":[{"apiVersion":{"group":"meta.cattle.io","path":"/meta","version":"v1"},"baseType":"apiRoot","links":{"apiRoots":"https://<IP_ADDRESS>:8001/meta/apiroots","root":"https://<IP_ADDRESS>:8001/meta","schemas":"https://<IP_ADDRESS>:8001/meta/schemas","self":"https://<IP_ADDRESS>:8001/meta","subscribe":"https://<IP_ADDRESS>:8001/meta/subscribe"},"type":"apiRoot"},{"apiVersion":{"group":"management.cattle.io","path":"/v3","version":"v3"},"baseType":"apiRoot","links":{"authConfigs":"https://<IP_ADDRESS>:8001/v3/authconfigs","catalogs":"https://<IP_ADDRESS>:8001/v3/catalogs","clusterAlerts":"https://<IP_ADDRESS>:8001/v3/clusteralerts","clusterEvents":"https://<IP_ADDRESS>:8001/v3/clusterevents","clusterLoggings":"https://<IP_ADDRESS>:8001/v3/clusterloggings","clusterRegistrationTokens":"https://<IP_ADDRESS>:8001/v3/clusterregistrationtokens","clusterRoleTemplateBindings":"https://<IP_ADDRESS>:8001/v3/clusterroletemplatebindings","clusters":"https://<IP_ADDRESS>:8001/v3/clusters","composeConfigs":"https://<IP_ADDRESS>:8001/v3/composeconfigs","dynamicSchemas":"https://<IP_ADDRESS>:8001/v3/dynamicschemas","globalRoleBindings":"https://<IP_ADDRESS>:8001/v3/globalrolebindings","globalRoles":"https://<IP_ADDRESS>:8001/v3/globalroles","groupMembers":"https://<IP_ADDRESS>:8001/v3/groupmembers","groups":"https://<IP_ADDRESS>:8001/v3/groups","ldapConfigs":"https://<IP_ADDRESS>:8001/v3/ldapconfigs","listenConfigs":"https://<IP_ADDRESS>:8001/v3/listenconfigs","nodeDrivers":"https://<IP_ADDRESS>:8001/v3/nodedrivers","nodePools":"https://<IP_ADDRESS>:8001/v3/nodepools","nodeTemplates":"https://<IP_ADDRESS>:8001/v3/nodetemplates","nodes":"https://<IP_ADDRESS>:8001/v3/nodes","notifiers":"https://<IP_ADDRESS>:8001/v3/notifiers","podSecurityPolicyTemplateProjectBindings":"https://<IP_ADDRESS>:8001/v3/podsecuritypolicytemplateprojectbindings","podSecurityPolicyTemplates":"https://<IP_ADDRESS>:8001/v3/podsecuritypolicytemplates","preferences":"https://<IP_ADDRESS>:8001/v3/preferences","principals":"https://<IP_ADDRESS>:8001/v3/principals","projectAlerts":"https://<IP_ADDRESS>:8001/v3/projectalerts","projectLoggings":"https://<IP_ADDRESS>:8001/v3/projectloggings","projectNetworkPolicies":"https://<IP_ADDRESS>:8001/v3/projectnetworkpolicies","projectRoleTemplateBindings":"https://<IP_ADDRESS>:8001/v3/projectroletemplatebindings","projects":"https://<IP_ADDRESS>:8001/v3/projects","roleTemplates":"https://<IP_ADDRESS>:8001/v3/roletemplates","root":"https://<IP_ADDRESS>:8001/v3","self":"https://<IP_ADDRESS>:8001/v3","settings":"https://<IP_ADDRESS>:8001/v3/settings","subscribe":"https://<IP_ADDRESS>:8001/v3/subscribe","templateContents":"https://<IP_ADDRESS>:8001/v3/templatecontents","templateVersions":"https://<IP_ADDRESS>:8001/v3/templateversions","templates":"https://<IP_ADDRESS>:8001/v3/templates","tokens":"https://<IP_ADDRESS>:8001/v3/tokens","users":"https://<IP_ADDRESS>:8001/v3/users"},"type":"apiRoot"},{"apiVersion":{"group":"cluster.cattle.io","path":"/v3/cluster","version":"v3"},"baseType":"apiRoot","links":{"namespaces":"https://<IP_ADDRESS>:8001/v3/cluster/namespaces","persistentVolumes":"https://<IP_ADDRESS>:8001/v3/cluster/persistentvolumes","root":"https://<IP_ADDRESS>:8001/v3/cluster","self":"https://<IP_ADDRESS>:8001/v3/cluster","storageClasses":"https://<IP_ADDRESS>:8001/v3/cluster/storageclasses","subscribe":"https://<IP_ADDRESS>:8001/v3/cluster/subscribe"},"type":"apiRoot"},{"apiVersion":{"group":"project.cattle.io","path":"/v3/project","version":"v3"},"baseType":"apiRoot","links":{"appRevisions":"https://<IP_ADDRESS>:8001/v3/project/apprevisions","apps":"https://<IP_ADDRESS>:8001/v3/project/apps","basicAuths":"https://<IP_ADDRESS>:8001/v3/project/basicauths","certificates":"https://<IP_ADDRESS>:8001/v3/project/certificates","configMaps":"https://<IP_ADDRESS>:8001/v3/project/configmaps","cronJobs":"https://<IP_ADDRESS>:8001/v3/project/cronjobs","daemonSets":"https://<IP_ADDRESS>:8001/v3/project/daemonsets","deployments":"https://<IP_ADDRESS>:8001/v3/project/deployments","dnsRecords":"https://<IP_ADDRESS>:8001/v3/project/dnsrecords","dockerCredentials":"https://<IP_ADDRESS>:8001/v3/project/dockercredentials","ingresses":"https://<IP_ADDRESS>:8001/v3/project/ingresses","jobs":"https://<IP_ADDRESS>:8001/v3/project/jobs","namespacedBasicAuths":"https://<IP_ADDRESS>:8001/v3/project/namespacedbasicauths","namespacedCertificates":"https://<IP_ADDRESS>:8001/v3/project/namespacedcertificates","namespacedDockerCredentials":"https://<IP_ADDRESS>:8001/v3/project/namespaceddockercredentials","namespacedSecrets":"https://<IP_ADDRESS>:8001/v3/project/namespacedsecrets","namespacedServiceAccountTokens":"https://<IP_ADDRESS>:8001/v3/project/namespacedserviceaccounttokens","namespacedSshAuths":"https://<IP_ADDRESS>:8001/v3/project/namespacedsshauths","persistentVolumeClaims":"https://<IP_ADDRESS>:8001/v3/project/persistentvolumeclaims","pipelineExecutions":"https://<IP_ADDRESS>:8001/v3/project/pipelineexecutions","pipelineSettings":"https://<IP_ADDRESS>:8001/v3/project/pipelinesettings","pipelines":"https://<IP_ADDRESS>:8001/v3/project/pipelines","pods":"https://<IP_ADDRESS>:8001/v3/project/pods","replicaSets":"https://<IP_ADDRESS>:8001/v3/project/replicasets","replicationControllers":"https://<IP_ADDRESS>:8001/v3/project/replicationcontrollers","root":"https://<IP_ADDRESS>:8001/v3/project","secrets":"https://<IP_ADDRESS>:8001/v3/project/secrets","self":"https://<IP_ADDRESS>:8001/v3/project","serviceAccountTokens":"https://<IP_ADDRESS>:8001/v3/project/serviceaccounttokens","services":"https://<IP_ADDRESS>:8001/v3/project/services","sourceCodeCredentials":"https://<IP_ADDRESS>:8001/v3/project/sourcecodecredentials","sourceCodeProviderConfigs":"https://<IP_ADDRESS>:8001/v3/project/sourcecodeproviderconfigs","sourceCodeProviders":"https://<IP_ADDRESS>:8001/v3/project/sourcecodeproviders","sourceCodeRepositories":"https://<IP_ADDRESS>:8001/v3/project/sourcecoderepositories","sshAuths":"https://<IP_ADDRESS>:8001/v3/project/sshauths","statefulSets":"https://<IP_ADDRESS>:8001/v3/project/statefulsets","subscribe":"https://<IP_ADDRESS>:8001/v3/project/subscribe","workloads":"https://<IP_ADDRESS>:8001/v3/project/workloads"},"type":"apiRoot"}]}


feat: added GET /facility/{facilityId}/fixedFee endpoint

Migrate the GET '/facility/{facilityId}/fixedFee' endpoint

Migrate the GET '/facility/{facilityId}/fixedFee' endpoint

Hello Alex can we have an elaborated description please with ## Introduction explaining the problem and ##Resolution explaining resolutions please.


Use packed attribute for enums to modify their type

This patch helps to avoid the type definitions for enums (that is a c++11 feature).

LGTM

Looks good to me

@rtakacs, please update the PR

Updated.

Landed (a45976bca650449b97351ad10af7b5df92516809)


Molecule table - smiles not saved

When entering smiles in the structure editor, they are not saved in the molecule table.

using mol files, drawing, or typing smiles, in all 3 cases the smiles were saved in the canonical_smiles column


Issue with puppetlabs-apt 2.3.0

Hello.
Trying to install Jenkins on Ubuntu using your plugin but it fails on apt-get update. Looking to /etc/apt/sources.list.d/jenkins.list
  GNU nano 2.2.6     File: /etc/apt/sources.list.d/jenkins.list

# This file is managed by Puppet. DO NOT EDIT.
# jenkins
deb http://pkg.jenkins-ci.org/debian trusty binary/

Notice the 'trusty' before 'binary/'. Seems the reason is because apt module sets the default value if repos parameter is blank:
https://github.com/jenkinsci/puppet-jenkins/blob/56f05d26aff21c35f7900a5843f9af36be0a2a75/manifests/repo/debian.pp#L16
Probably can be fixed by specifying repos => 'binary/' and release => ' ' (as a single whitespace) - helped when I was trying to add a repo using apt module.
I know this is just workaround and I'm not sure if this issue should be addressed to you, but I think better you to know. Just started with puppet, so probably I may understand some things incorrectly. If you need any additional info - let me know.

Sorry, please ignore issue above. Was using an old module version. Thanks for awesome module!


Affix: Add component Affix

Please make sure these boxes are checked before submitting your PR, thank you!
fixed #13569 #15679 #16169 #3404

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

It doesn't work as expected.
https://deploy-preview-21192--element.netlify.app/?utm_source=github&utm_campaign=bot_dp#/zh-CN/component/affix

It doesn't work as expected.
https://deploy-preview-21192--element.netlify.app/?utm_source=github&utm_campaign=bot_dp#/zh-CN/component/affix

I forgot to add it to the components.json.  Now it works!


Use crate-ci/typos tag

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
Dependabot tries to update the commit based on the repo, but the repo does not only host the GitHub action. It also contains the binary tags, which clash with the action. This means we now use the action tag rather than the commit.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Codecov Report

Merging #1821 (234f400) into main (ce10242) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1821   +/-   ##
=======================================
  Coverage   49.11%   49.11%
=======================================
  Files          71       71
  Lines        6984     6984
=======================================
  Hits         3430     3430
  Misses       3420     3420
  Partials      134      134

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e


Blazor Server Side work on electronize start but not after electronize build /target win

Hello, i use electron.Net for my blazor project.
When i use it with electronize start, it's working perfectly, but when i try to publish it to windows ( electronize build /target win )
i've got an javascript error.

this is my manifest.json:
{
"executable": "DakaraApp",
"splashscreen": {
"imageFile": "/wwwroot/images/Dakara.png"
},
"name": "Dakara",
"author": "Alsaris",
"singleInstance": false,
"environment": "Production",
"build": {
"appId": "com.AdminDashboard.Server.app",
"productName": "DakaraApp",
"copyright": "Copyright © 2020",
"buildVersion": "0.0.1",
"win": {
"icon": "/wwwroot/images/Dakara.png"
},
"mac": {
"icon": "/wwwroot/images/Dakara.png"
},
"linux": {
"icon": "/wwwroot/images/Dakara.png"
},
"compression": "maximum",
"directories": {
"output": "../../../bin/Desktop"
},
"extraResources": [
{
"from": "./bin",
"to": "bin",
"filter": [ "/*" ]
}
],
"files": [
{
"from": "./ElectronHostHook/node_modules",
"to": "ElectronHostHook/node_modules",
"filter": [ "/" ]
},
"**/"
]
}
}
Can someone help me ?

Check the output folder of the build: Desktop\win-unpacked\resources\bin
Check the .exe file that you have there, and make sure you have the same name in the electron.manifest.json under "executable":"..."

For people who are searching for solution... Please make sure the "executable": "YourNamespaeName", (from electron.manifest.json) match the YourNamespaeName from your .csproj file...
Also make sure that you dont use whitespaces and characters as -,/.... there because electron removes it and than app does not know what exe file to run because the name executable is different from defined in manifest...
Your executable can be find under obj/host/bin it ends with .exe

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!


Cardano URI Scheme

This is a specification of what we've already implemented in both the Yoroi Extension and in Yoroi Mobile

Updated stake pool specific URI scheme CIP in response: https://github.com/cardano-foundation/CIPs/pull/25/commits/0ca54385a0ddf6c398ff283bacb92405f57c212c

We should be wary of people who disguise “donate” links as actually opening up a phishing website that LOOKS like a wallet.

Could it be a security option to let users set a recognition word/phrase inside the wallet?
This is something phishing wallets can't know.

one time setup: Please set something you know, such as your preferred color, your birth location, your first car...
crucial wallet areas such as landing page for web+Cardano URIs clearly show this locally stored string

I know not perfect but an option

@gufmar the wallet checksum already plays this role for Yoroi

@SebastienGllmt it is hard to believe this CIP was put through without including the material in this other CIP as agreed: https://github.com/cardano-foundation/CIPs/pull/25#issuecomment-760150596

@SebastienGllmt it is hard to believe this CIP was put through without including the material in this other CIP as agreed: https://github.com/cardano-foundation/CIPs/pull/25#issuecomment-760150596

@rphair the CIP is in 'Draft', there is much room to propose and add changes. As noted, Editors have limited bandwidth. Thanks for stepping up where needed, and I suggest you join the (new) CIP-Biweekly calls to be further involved - we're holding them publicly at https://www.crowdcast.io/cips-biweekly
(Will strive to publish upcoming agendas a week in advance)

@rphair the CIP is in 'Draft', there is much room to propose and add changes. As noted, Editors have limited bandwidth. Thanks for stepping up where needed, and I suggest you join the (new) CIP-Biweekly calls to be further involved - we're holding them publicly at https://www.crowdcast.io/cips-biweekly
(Will strive to publish upcoming agendas a week in advance)

thank you @crptmppt for the confirmation & clarification about what it means to be a "draft" - that's very reassuring.  I appreciate the invitation, have subscribed to that channel & will be happy to join your next meeting 😎

thank you @crptmppt for the confirmation & clarification about what it means to be a "draft" - that's very reassuring.  I appreciate the invitation, have subscribed to that channel & will be happy to join your next meeting 😎

@rphair I'm kind of confused. There are two ways of merging our work:

Now that this PR is merged, your submit a follow-up PR that modifies this document that extends it with your proposal
Now that this PR is merged, your create a separate CIP that refers to this one and defines how you plan to extend it

My strong preference is on (1).
At any rate, both options required getting this PR to be merged first.

@rphair I'm kind of confused. There are two ways of merging our work:

Now that this PR is merged, your submit a follow-up PR that modifies this document that extends it with your proposal
Now that this PR is merged, your create a separate CIP that refers to this one and defines how you plan to extend it

My strong preference is on (1).
At any rate, both options required getting this PR to be merged first.

@SebastienGllmt as we left it, according the agenda resulting from our last conversation, my single-pool link spec was to be included in your own spec (step 3) before the payment spec was merged in as an approved CIP (step 4):

Simplify motivation
Remove multi-pool notation
Merge spec into Payment URI spec
Merge payment spec as approved draft CIP
Create new PR that adds the multi-pool notation and leave that as an open PR to the existing payment URI cip

I don't object to the change in plan, if that's what's it takes to keep the pool links included in this CIP going forward, but when observing step 4 happening before step 3 yesterday, after not hearing anything for 2 months, I think I was the one who was confused.
Also according to the original plan I would have only created one new PR: for adding the multi-pool spec into this CIP, since the single-pool spec would have been added before your own CIP pull request was merged.  Now I will be submitting two new PRs: one immediately for single-pool, and another down the road for multi-pool as we originally planned.
Thanks again for putting the key component through and allowing the URI scheme for this CIP to carry the stake pool links.  I would only insist that my upcoming pull request include a link to the other PR (https://github.com/cardano-foundation/CIPs/pull/25), which has now become a dead end, since it establishes a date on the original request as well as some helpful discussion.

@SebastienGllmt as we left it, according the agenda resulting from our last conversation, my single-pool link spec was to be included in your own spec (step 3) before the payment spec was merged in as an approved CIP (step 4):

Simplify motivation
Remove multi-pool notation
Merge spec into Payment URI spec
Merge payment spec as approved draft CIP
Create new PR that adds the multi-pool notation and leave that as an open PR to the existing payment URI cip

I don't object to the change in plan, if that's what's it takes to keep the pool links included in this CIP going forward, but when observing step 4 happening before step 3 yesterday, after not hearing anything for 2 months, I think I was the one who was confused.
Also according to the original plan I would have only created one new PR: for adding the multi-pool spec into this CIP, since the single-pool spec would have been added before your own CIP pull request was merged.  Now I will be submitting two new PRs: one immediately for single-pool, and another down the road for multi-pool as we originally planned.
Thanks again for putting the key component through and allowing the URI scheme for this CIP to carry the stake pool links.  I would only insist that my upcoming pull request include a link to the other PR (https://github.com/cardano-foundation/CIPs/pull/25), which has now become a dead end, since it establishes a date on the original request as well as some helpful discussion.

The proposed changes have now been merged in via this new PR: https://github.com/cardano-foundation/CIPs/pull/61

The proposed changes have now been merged in via this new PR: https://github.com/cardano-foundation/CIPs/pull/61


minor spell check (line 123 : menthods to methods)

Minor spell check but, testing out how to contribute to open source.

[ X] I have read freeCodeCamp's contribution guidelines.
[X ] My pull request has a descriptive title (not a vague title like Update index.md)
[X ] My pull request targets the master branch of freeCodeCamp.
[ X] None of my changes are plagiarized from another source without proper attribution.
[ X] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.


Confusing name of variable

Hi,
in the 4th case of study, the section "4 - tidy the survey data" says:

Group by age and summarize the value column to see how the overall agreement with all questions varied by age.
Count the value column to check out how many respondents agreed or disagreed overall.

The real name of the variable is rating and not value, as it was the name given to it in the pivot_longer() of the previous chunk of code. I realized later that probably value is written on purpose to emphasize that it is the column containing the value and not the key. Anyway, as this is written with then syntax usually used for literal names of variables, it seems a little bit confusing, at least to me.
Great course! :)

Thank you so much @noeliarico! 🙌  I changed these variable names in the exercises but missed them in the narrative/instructions.


LayoutLMv3 on FUNSD using ground-truth entity groupings

I was curious about LayoutLMv3 on FUNSD results which are much higher than previous SOTA. At this line https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py#L131
is LayoutLMv3 trained/evaluated on FUNSD using the ground truth provided entity grouping for its line segment embeddings as it is iterating through the GT items?
Would that make the task an entity labeling task (labeling of already grouped entities) rather than an (arguably harder) entity extraction task (grouping of words + labeling)? In the paper it does seem to say that it only does semantic labeling of entities:

We focus on semantic entity labeling task on the FUNSD dataset to assign each semantic entity a label among “question”, “answer”, “header” or “other”.

but then in the table it compares LayoutLMv3 entity labeling results to entity extraction results from prior work so I'm a bit confused.
Is it the same for CORD? Are the word groupings coming from the OCR engine or from the ground-truth annotations?
Thanks!

@ThomasDelteil Thanks for the question! LayoutLMv3 still considers the FUNSD problem as a token-level labeling task. But it takes advantage of the textlines/segments output from the OCR engine, where 2D positions of the whole segments are used in the pre-training and fine-tuning tasks. We use segment 2D position embeddings for all downstream tasks.

Thanks @wolfshow for your answer. Can you point me in the code where the word and segment information is taken from the OCR engine? From looking at this file: https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py it seems that the word and segment information are loaded from the FUNSD dataset.

loading the data from FUNSD dataset https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py#L75
reading each entity iteratively https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py#L110
Creating the token-level labels indeed https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py#L123
Creating the segment information from all the words of that entity (that's where the segment label is leaked) https://github.com/microsoft/unilm/blob/master/layoutlmv3/layoutlmft/data/funsd.py#L131

Unfortunately the FUNSD dataset format doesn't give you OCR-engine-like inputs. For example, you can have multiple entities on the same line or even have entities that are multi-line. If you wanted to use the same style as during the pre-training, you could run an OCR engine in parallel to loading the annotations, and then post-process the OCR engine segment outputs to match them to the words from the annotations and use theses segments for your labeling task. As it stands, from what I can read from the code, it is not a real token-level labeling task as the entity groupings are leaking through the segment embeddings. If this code is what was used to get the results from the paper, the comparison Table 1 might not really be a fair one.
See this picture of the data to understand what I mean. You can see that the rectangles representing the "lines" or "segments" used from the inputs are not OCR engine lines but the actual entities.

In the pre-training, we get these segments from the OCR engines to get the 2D position embeddings. For downstream tasks, we just used the segments for whatever was given from the dataset. We do this to avoid the messy reading order problem during pre-training. Meanwhile, there has been some previous work in Table 1 that has already used the segment 2D embeddings, which we have mentioned in the paper.

Thanks @ThomasDelteil for the question and @wolfshow for the clarification!
TL;DR: LayoutLMv3 uses segment-level layout positions and conducts semantic entity labeling on the FUNSD. We have pointed out in our paper that the comparison between segment-level and word-level works is not directly comparable.
Detailed explanation:
The FUNSD paper gives a definition of three tasks on FUNSD:

Form understanding: We decompose the FoUn challenge into three tasks, namely word grouping, semantic-entity labeling, and entity linking.
• Word grouping is the task of aggregating words that belong to the same semantic entity.
• Semantic entity labeling is the task of assigning to each semantic entity a label from a set of four predefined categories: question, answer, header or other.
• Entity linking is the task of predicting the relations between semantic entities.

LayoutLMv3 follows some previous works (e.g., LayoutLMv2, StructuralLM) to conduct the semantic entity labeling task, which is about "assigning to each semantic entity a label" (labeling of already grouped entities).

The FUNSD dataset is suitable for a variety of tasks, where we focus on semantic entity labeling in this paper. (LayoutLMv2)
The FUNSD dataset is suitable for a variety of tasks, where we just fine-tuning StructuralLM on semantic entity labeling. (StructuralLM)
We focus on semantic entity labeling task on the FUNSD dataset to assign each semantic entity a label among “question”, “answer”, “header” or “other”. (LayoutLMv3)

In LayoutLMv3 paper Section 3.3, we point out the potential performance gap between segment-level and word-level layout positions:

Note that LayoutLMv3 and StructuralLM use segment-level layout positions, while the other works use word-level layout
positions. The use of segment-level positions may benefit the semantic entity labeling task on FUNSD [25], so
the two types of work are not directly comparable.

Thanks @wolfshow and @HYPJUDY for the detailed answers. I agree that your approach follows the original FUNSD dataset paper entity labeling task definition. It would have been indeed easier if all prior work using FUNSD would have stuck to that original definition as well to make comparisons easier. Quick question, in LayoutLMv2, I don't think the segment-level / grouped entity information is used other than for the 1D ordering of the words, making the semantic labeling task actually a 1D grouping task + labeling. Is my understanding correct? Or do you know if the entity group information used in some post-processing to average labels across entities?

Your understanding is correct. To my knowledge, only LayoutLMv3 and StructuralLM use segment-level layout positions that take advantage of grouping. I came to this conclusion by reading their papers, so it may not be entirely correct either.

Hi @wandering-walrus, please see https://github.com/microsoft/unilm/issues/838.


[eadk/*.py] Code refactoring

Max line length == 100
Missing docstrings
Co-Authored-By: Tim ats<EMAIL_ADDRESS>Should be PEP8 compliant (except for the line length and the docstrings)

Hi @ArtichOwO ! Thanks for your contribution! We decided to introduce nwlink and therefore don't use any Python code in the sample app.


Simplify dashboard configuration

Currently it's a bit tricky to configure the dashboard. For instance it is not clear that only build configurations of Deployment type are considered. Seems it's not stated anywhere in the UI.
Maybe it would be better to have some preview of the dashboard right on the configuration page, or at least show what build configurations are matched by the provided criteria and why.

That's a nice idea. Thanks for the feedback. I'll think about how best to go about that.
This is mentioned as the first point in Deployment Visibility section of the readme, but I would agree that's still not very visible.

Done everything what documentation says, make few "deployment" builds and still having blank "Deplyments" tab :-(

@mabakay Can you attach a screenshot of the configuration as well as showing how your projects are setup so I can take a look?

Project where dashboard is configured:

Child build configuration of type Deployment:

Child configuration:

Root project dashboard result after 6 builds:

Excellent, thanks for the info. The last screenshot is the most telling. Normally, if the plugin cannot find any builds, you will still see the search bar and the list of your configured environments. In this case everything is missing, which means it's not just a data problem - it's not been able to load the front-end code at all.
Could you please tell me:

What version of TeamCity you're running
Open up your browser's development mode, go to the Deployments tab and copy the output of the console and paste it here?

I suppose one thing you could try given some of the plugin isn't even running... In the what I'd think unlikely case that the plugin didn't install correctly, perhaps completely uninstall it and then install it again.

Normally, if the plugin cannot find any builds, you will still see the search bar and the list of your configured environments.

This was most helpful.
On Firefox or any other Chrom-specific browser it works! I get:

On Edge (which I use most) I suppose script has problem with inserted HTML:

It is in Polish but it says that html and body tags are doubled.
For now I simply user other browser and my problem is solved :-)

I'm using TeamCity Professional 2019.1.2 (build 66342)

Thanks for the follow up. Edge clearly doesn't like the way I'm inserting the plugin code into the page, which perhaps isn't so surprising, though Firefox and Chrome are what I test with so assumed that was okay. I might see if I can do something about this, though I suppose since Edge is a dead end in its current form, might not be worth too much time on it.


feat: [PagoPA-1361] Bulk Loading

List of Changes

added new API: POST /organizations/{organizationfiscalcode}/debtpositions/bulk

Motivation and Context

added to gpd the possibility of mass loading of debit positions

How Has This Been Tested?

junit and manual test

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

update_code

it's ok to me 💯
perhaps it would be useful to provide a parameterized maximum size for the payment position list

Validation added


Uploading account image to new profile

Once I create an account, I am trying to upload an image. I am not getting any errors nor is the image uploading. I noticed in your example you use Account.setProfilePicture however I am using Client.set.. Im not sure if this is the problem but here is my code
            new Client.AccountEmailCreator(session)
                .setEmail(email)
                .setUsername(username)
                .setPassword(password)
                .setName(name)
                .register()
                .spread(function(account, discover) {
                    // account instanceof Client.Account
                    console.log("Created Account", account)
                    console.log("Discovery Feed", discover);
                    //var fs =
                    fs.appendFile('./accounts/accounts.txt', username + ':' + password + ', \n', function (err) {
                        if (err)
                            return console.log(err);

                        })

                })

                console.log("time to set profile")
                //do account image set    nothing here seems to work or thrw errors
                Client.setProfilePicture = function (session, streamOrPath) {
                    var stream = Helpers.pathToStream(streamOrPath);
                    var request = new Request(session)
                    console.log("Okay")
                    return request.setMethod('POST')
                        .setResource('changeProfilePicture')
                        .generateUUID()
                        .signPayload()
                        .transform(function(opts){
                            opts.formData.profile_pic = {
                                value: stream,
                                options: {
                                    filename: 'profile_pic',
                                    contentType: 'image/jpeg'
                                }
                            }
                            return opts;
                            console.log("File ready");
                        })
                        .send()
                        console.log("Sent")
                        .then(function(json) {
                            return new Account(session, json.user)
                            console.log("returned");
                        })
                }

        } else {
            console.log("Was not created");
        }

@prgamnnwidjs go to spam somewhere else...

Spam? Im learning javascript, trying to make a web version of instagram. Its a sign up form that lets someone create an account?  If you want to lear javascript go to codeschool.com and lear first syntax at least.


Needed: Proper installation guide for Ubuntu Linux

Is your feature request related to a problem? Please describe.
The "installation" instructions seem focused on Windows machines or Docker hosts. My media is hosted on a machine that also hosts a bunch of server apps... including Navidrome. I have Docker running on another Linux server, but I think it would run smoother from the same hosting server. I am using Apache2 to run reverse proxies for all of my internet-facing apps with a cert.
Describe the solution you'd like
I'd like better instructions. You've given me a dump of python code. Most Linux installation guides will proceed with setting up the proper folders, config files, and a service startup configuration. A bit about setting up the reverse proxy would also be nice... I asusme I'd change the PORT to a unique value and reverse proxy asknavidrome to /asknavidrome off the root url for my home server. A short blurb for people would also be great.
I have Navidrome working great through a reverse proxy. I have all of my stuff running great, I don't want to mess anything up trying to cram a loose pile of python code (no offense) on my server without some better guidance.
Describe alternatives you've considered
I tried exercising my google-fu, just not a lot on the web about this Alexa Skill.
Additional context
This is my first attempt at using a custom skill.  I might dig into trying out some of my own, if I can think of something as useful as this. I'm a dev with 40+ years of experience, but my main domains lately has been enterprise and game/mobile development.

Hi @LeeLorenzSr
I appreciate your comments, however the skill was specifically designed to be run in a container and not as a stand alone application and the documentation reflects this.  You are of course able to fork the repository and investigate yourself and I would welcome a pull request if you are able to generate documentation that you feel is better than what is available.  The port the app runs on (5000) is determined by Flask which runs serves the skill.  You can find some information on changing the port here medium.com.  To do this you would change line 1029 of app.py which is located in the skill folder in the repository.
Once configured you'd run the app.py file with Python to start the skill