Integration with WP default gallery

Hello, i really dont know is this issue...
i'm trying to integrate bricklayer with default WP gallery, i include all the stuff, and in developer tools i can see  appended stuff,
but columns are 100% width
DEMO: http://hafizovic.ba/wp/246-2/
This is link to file where i initialized script
http://hafizovic.ba/wp/wp-content/themes/hafizovic/js/custom.js?ver=05012016

@hafizovic Do you include CSS?

Yeah, this one
http://hafizovic.ba/wp/wp-content/themes/hafizovic/css/bricklayer.min.css?ver=0.4.2

Does the container have bricklayer class name? It seems you do not.


Swagger UI example JSON ignores property example value when property is an enum

I reduced my schema filter to this minimal example:
public class TestFilter : ISchemaFilter
{
	public void Apply(OpenApiSchema schema, SchemaFilterContext context)
	{
		if(context.Type.Namespace == "MyProject.Services.Models")
		{
			foreach (var modelProp in context.Type.GetProperties())
			{
				var key = System.Text.Json.JsonNamingPolicy.CamelCase.ConvertName(modelProp.Name);
				var schemaProp = schema.Properties[key];
				var type = modelProp.PropertyType;
				var underlyingType = Nullable.GetUnderlyingType(type);
				if (underlyingType != null)
				{
					schemaProp.Example = new OpenApiNull();
					if (underlyingType.IsEnum)
					{
						; // breakpoint
					}
				}
			}
		}
	}
}

This works as expected for properties with types like int? and bool?. The example JSON will contain properties like "someProperty": null. The breakpoint is hit, proving that this code is running for nullable enum properties. But the example JSON for a nullable enum property is still "someProperty": 0 or "someProperty": "EnumValue" depending on JsonStringEnumConverter.
As an experiment, I changed the body of Apply to this:
var underlyingType = Nullable.GetUnderlyingType(context.Type);
if (underlyingType != null)
{
	schema.Example = new OpenApiNull();
	if(underlyingType.IsEnum)
	{
		; // breakpoint
	}
}

This also works as expected for properties with types like int? and bool?. Unexpectedly, the breakpoint here is never hit.
Then I changed Apply to this:
if (context.Type.IsEnum)
{
	schema.Example = new OpenApiNull();
}

Now all enum properties have an example value of null.
It seems that for most property types, the example JSON generator looks at OpenApiSchema.Example on the property schema as expected. But when the property is an enum type, it uses the example value for the property type instead of the property.
Incidentally, I also noticed that OpenApiSchema.Nullable is true for nullable primitives but false for nullable enums.

I thought I was onto something after reading https://datatracker.ietf.org/doc/html/draft-fge-json-schema-validation-00. In C#, nullability of an enum is a property of the reference. In OpenAPI schema, nullability of an enum is a matter of null being a member of the enum. So I tried adding null to all my enum schemas:
if(context.Type.IsEnum)
{
	schema.Enum.Add(new OpenApiNull());
}

I also set Nullable to true on the property schemas of nullable enums. And... no dice. It still uses the example from the type, not the property.

Reporting this on swagger-api.


Print Email

A customer discovered that when you click "Print" in Usermin, it won't print correctly. It prints the first page and that's all.
Thinking the customer was just doing something wrong, I checked and he was correct.
It seems, if you scroll down the email, it'll print just that portion of the email when you click the "Print" in the bottom menu of Usermin. Something definitely needs to be adjusted as this is a serious problem for those who print their email from Usermin.
For the moment, I've simply switched the Usermin theme back to the Virtualmin Framed Theme as the bug doesn't affect the older theme.
*** Webmin, User, and Virtualmin are all current BTW ***

It's all be reworked with new mail. There is huge amount of control over CSS in terms of what and how is printed.

It will be perfect when finished.

I'm going to use the mail myself, which means I'm making it outstanding. Starting at the end of April.

Wrong, at the end of February.

By the end of April we should have new and functional UI.

until new mail is finished, you may switch back to framed version of authentic for usermin. hoefully print mail is working there....

It should be trivial to fix. I'll check that tomorrow and add it to 19.09.1 in no time.
Framed Version of Authentic sounds scary. I'm endlessly happy it's gone forever.

The only reason I brought this topic up was the print functionality is essentially "broken". I'm not requesting a feature, which I understand is a bit moot given the newer UI being developed, but rather viewing this as a theme "bug". Sure I can and have switched back to the Framed Theme for Usermin, but this shouldn't be necessary generally speaking. Cheers.

Fixed.


Ensure secured API key param restrictSources only accepts string

When generating secured API keys, an optional restrictSources
parameter can be used as a string (such as "<IP_ADDRESS>" or
"<IP_ADDRESS>/24"). We discovered that some API clients wrongly accept other
types (such a list of strings, etc.) which is wrong.
Could you make sure that restrictSources only accepts string as a valid type
as a secured API keys parameter?

Seems to be already fixed in v3.8.0

Indeed, thanks for noticing @Aallam!


Add to GRDI-AMR.com

Was development related to the GRDI-AMR1 or GRDI-AMR2 projects?
If so, would you mind if I linked to this project from https://grdi-amr.com?

Hi @chapb,
Yes! Development of this program was related to GRDI-AMR2. Feel free to also link https://github.com/OLC-Bioinformatics/BaitCapture.
Cheers,
Liam

Awesome, thanks!


Scoping out compile cluster for QHub and QT conda-forge

Notes
Ralf, Tania, compilation of QT within QHub. Set up servers and tear
them down when not being used. Could we do this on QHub.
Using NFS mounts for storage.
Requirements:

attaching a scratch volume with high speed ssd
having docker or being able to mount a docker image
they have some scripts that download and run everything inside of
the image. Must use images
the libraries are linked
=docker run /bin/bash=, download and run everything inside of image
the development environment
resources 32 RAM, 8-16 cpus
arm64 compilation (only linux)
sooner is better

Images to use:

x86_64 :: https://hub.docker.com/r/condaforge/linux-anvil-cos7-x86_64
arm64 :: https://hub.docker.com/r/condaforge/linux-anvil-aarch64

I have made an attempt at incorporating the JupyterLab components on top of these images as a base.
Here is the source: https://github.com/Quansight/quansight-conda-linux-anvil
It seems to work as a JupyterLab image, but not sure yet if it does what is needed for its original conda/linux purpose.

Do you have any examples of the kind of thing they need to do with it? We could try that out in the JupyterLab terminal.


Default objectType is serialized

Summary
The Activity objectType property is present when serialising an Activity even though the objectType is optional and not required when the objectType value is Activity. This also applies to actor or authority when it is of type agent.
Steps to reproduce

final var json = """
    {
        "actor":{
            "name":"A N Other",
<EMAIL_ADDRESS>        },
        "verb":{
            "id":"http://adlnet.gov/expapi/verbs/attempted"
        },
        "object":{
            "id":"https://example.com/activity/simplestatement"
        }
    }""";

final var statement = objectMapper.readValue(json, Statement.class);

// When Deserializing Statement With Activity
final var result = objectMapper.writeValueAsString(statement);

// Then ObjectType Is Present
assertThat(result, hasNoJsonPath("$.object.objectType"));

Expected behaviour
ObjectType is not present in deserialized Statement
Actual behaviour
ObjectType is present in serialized Statement

@Selindek tells me that the model in xAPI-Java is opinionated and always added the ObjectType, which is permitted by the xAPI specification.
There is a related a bug in the LRS conformance suite. An issue has been raised at https://github.com/adlnet/lrs-conformance-test-suite/issues/259.
Closing this issue since this is not a bug with the xAPI-Java model.


Atom on Mac App Store

Summary
Make Atom available on the Mac App Store.
Motivation
Makes Atom more accessible and distributable in enterprise environments (via Apple VPP and MDM).
Describe alternatives you've considered
Manually packaging and distributing the app via MDM can be painful whenever there is a new update to Atom.
Additional context
@lee-dohm makes a comment in #10976 referencing the sandbox which Mac Apps are required to stay in and I don't believe that is still an issue considering that apps such as Text Wrangler are available in the Mac App Store.

Thanks for the suggestion.
We're still not interested in distributing Atom via either the Mac or Windows App Stores. We don't believe that the added overhead for us, to our development and distribution processes, is worth the meager discoverability benefit for our users. While it is true that Text Wrangler is available in the Mac App Store, Bare Bones Software's more full-featured programmer-targeted editor, BBEdit, is no longer available in the Mac App Store. And there are specific differences between the App Store and non-App Store versions.

@lee-dohm the interest is more in the distribution of the app in large enterprise and education environments than it is in discoverability. Earlier this year at Apple's WWDC, it was announced that Microsoft Office, BBEdit and Panic Transmit will be returning to the Mac App Store because of sandboxing improvements.

@lee-dohm bumping this

Even assuming that the sandboxing would be a complete non-issue, there is still additional overhead in having another distribution mechanism as well as other concerns around review periods and other minutiae. We simply don't have the resources to take this on at this time and have no plans to do so for the foreseeable future.


[Feature] Add default volumes and volumeMounts for /tmp/ray to Ray Pods

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
In most KubeRay YAML manifests, you will find volumes and volumeMounts for /tmp/ray, as illustrated below. This enables users to access Ray logs even after the Ray container restarts. I am unsure whether it is common for some Kubernetes clusters to reject Pods with volumeMounts or not. If it is rare, we can add the volumes and volumeMounts for users automatically.
volumeMounts:
  - mountPath: /tmp/ray
    name: ray-logs

volumes:
  - name: ray-logs
    emptyDir: {}

Note: If Ray Autoscaler is enabled, the volume and volumeMount will be set automatically. See code for more details.
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

cc @andrewsykim Would you mind commenting on this issue? Without your comment, I am unable to assign the issue to you. Thanks!

+1 I think just automating the volume mounting is easier.

Actually, one thing to consider here is that users may not want to use emptyDir for the ray logs. They may want to persist them with remote storage or local disk on nodes. We might make that harder to do if we automatically add these volumes and mounts

Actually, one thing to consider here is that users may not want to use emptyDir for the ray logs. They may want to persist them with remote storage or local disk on nodes. We might make that harder to do if we automatically add these volumes and mounts

This makes sense. I am wondering if is it common for users to use volumes to persist logs. In my experience, most users utilize logging tools like FluentBit to stream logs to remote storage. Since my data points are quite limited, would you mind sharing your experiences with volume/volumeMount usage in Kubernetes (not limited to KubeRay)?

Case 1: If it's common for users to set up volume/volumeMount themselves, we should avoid automatically injecting volume/volumeMount for them. Instead, we just need to write the docs to suggest users to add volume for /tmp/ray.
Case 2: If it's rare, we can inject volume/volumeMount for users with a feature gate to enable users to disable the injection.

From my experience, I find the sidecar route with fluentbit to be the most common, but I don't think case 2) is rare.
Another option we can take is to always apply the default volume mounts unless we see an existing mount from the user with a prefix /tmp/ray. Do you know if ray logs are always stored in /tmp/ray? If so this might be a reliable way to know if we should automatically add log volumes

I checked with the Ray team.

Ray logs are not always stored in /tmp/ray. It is configurable by setting _temp_dir. See this doc for more details.
Most users use the default path /tmp/ray.
My colleague said that 3 independent users have tried to configure the path. All of them configured it because they were running Ray alongside an external system that ingests logs written to a specific directory.

agree with @andrewsykim  - case 2 is not rare and I have been using volume mounts to store logs for smaller PoC deployments. However, since this is configurable as standard Kubernetes volume mounts, people can use them while creating RayService or RayCluster deployment configuration YAML.
Are we looking here to add one such relevant example @kevin85421 ?


Master Data GET APIs for Review Request - Ministries, Category

Title of ticket:
Description
The APIs for listing Master Data on Review Request - Ministries, Applicant Types. We might need to leave less important aside, like request type . But this will get commented on the story level as we decide
Dependencies
Are there any dependencies?
DOD

[ ] Multiple API endpoints to list separate Master Data details in JSON format
[ ]
[ ]
[ ]
[ ]

Deployed in test.


feat: add configuration for tests

I think that I have added what we need for testing.
In setupTests.js I have assigned to window object the export from testing library.

Thanks. Looking great!
One dependency should be moved though.
Also what do you think? Should we add one single "app doesn't throw on render" test just to verify that the setup is working?

And last one, do we need to add  https://github.com/testing-library/user-event?

I have added the other things that we need. I also create a test, as you suggest, for App.js :)

Awesome! Thanks.


Premature end of stream when reading from NetworkStream in .Net 6 on Linux

Hello,
we have a problem when reading CBOR messages from a network stream in .Net 6 on a linux machine. That is, CBORObject.Read throws a CBORException
[2023.04.03 14:28:25:592] [CborReceiver] Exception during CBOR read
PeterO.Cbor.CBORException: Premature end of stream
   at PeterO.Cbor.CBORReader.ReadByteData(Stream stream, Int64 uadditional, Stream outputStream)
   at PeterO.Cbor.CBORReader.ReadStringArrayMap(Int32 type, Int64 uadditional)
   at PeterO.Cbor.CBORReader.ReadInternal()
   at PeterO.Cbor.CBORReader.ReadStringArrayMap(Int32 type, Int64 uadditional)
   at PeterO.Cbor.CBORReader.ReadInternal()
   at PeterO.Cbor.CBORReader.Read()
   at PeterO.Cbor.CBORObject.Read(Stream stream)
   at Mabri.Module.P126.Embedded.Ring.Communication.Cbor.CborReceiver.ReadNextCborObject() in
/home/pi/Documents/P126.Fabian/Mabri.Module.P126.Embedded.Ring/Communication/Cbor/CborReceiver.cs:line 83
[2023.04.03 14:28:25:596] [CborReceiver] An unexpected CBOR exception occured. As a workaround, the client is
disconnected.

when it is actually receiving a message. Before, the call simply blocks as expected. At first, we believed this problem to be caused by the network stream timing out while reading the message (because bytes may be send in chunks). However, we disabled all timeouts and the problem persists. We inspected the source code and believe that this check fails:
if (PropertyMap.ExceedsKnownLength(stream, uadditional)) {
      throw new CBORException("Premature end of stream");
}

However, we don't understand what is happening as the NetworkStream does not inherit from MemoryStream and does not support seeking. As for the payload, we send some an ordered map with mostly primitive types but also a jpeg-encoded image. The jpeg data is not encoded as a string but added directly to the ordered map:
var cborObject = CBORObject.NewOrderedMap();
cborObject.Add(MessageField.Red1ImageBytes + offset, GetImageBytes(_markingResult.Markings[wavelengthIndex]));

We have a unit test which creates the CBOR object, converts to bytes, writes the bytes to a memory stream and parses the cbor object from the stream. This works as expected, both on linux and windows.
We are using library version 4.5.2 as provided by the official NuGet source. Any help or advice would be appreciated. Thanks in advance!

We have found that increasing the JPEG compression is a workaround. Now, the transferred image is 9 instead of 90kbytes and we can parse the message. However, I don't believe this is intended behavior and should still be reviewed.

Maybe this is related to this issue, that was fixed, but it looks like the nuget package has not been updated

Can you see if this problem goes away with the most recent code in the repository?

Hello Peter,
I'm working on the same project as the guy who posed the question.
We are using the nuget package 4.5.2 of your Repo, which is the version with the most recent code.
We are still receiving the exact same error while reading from the stream.
Have you got any suggestions on how to handle with it?
Thank you in advance!

I have pushed version 4.5.3.

Should be resolved.

I am still seeing this error sometimes when deserializing data from a NetworkStream. I will try to gather more data and hopefully I will be able to create something reproducible.


No default networking add-ons: Terraform waiting for the nodes to be in Ready state (question)

Hi,
So we're trying to implement the new supported argument to disable default networking add-ons. Before this, we're doing lots of local-exec to uninstall and cleanup vpc cni, kube-proxy and core-dns because we're using alternative add-ons.
Current testing: module definition is creating a cluster without any default networking add-ons+ deploying managed node group. Terraform is stuck in applying because the nodes are in Not Ready state and we're assuming because of the missing CNI add-on. In our current flow, we have a depends_on to wait for eks module to finish before installing Cilium.
Is there any other way to do this without splitting the EKS cluster creation and managed node group just to insert Cilium installation in the middle?
Second solution we're thinking is to add the time_sleep.trigger you did with the default add_ons. So basically, Cilium doesn't depend on the whole module but just implement a time_sleep, just to have ample amount of time before the managed node groups get created.

Is there any other way to do this without splitting the EKS cluster creation and managed node group just to insert Cilium installation in the middle?

No - you would have to break this up into steps. Roughly:

Deploy control plane without default addons
Deploy Cilium, kube-proxy, and CoreDNS - not using the EKS addon API because the API will want to wait for those addons to reach a running state, otherwise it will mark the addon as failed/degraded
Deploy nodes/compute

You might be able to get away with:

Deploy control plane without default addons
Deploy Cilium
Deploy nodes/compute + kube-proxy and CoreDNS - they will fail for awhile until nodes come up, but it should succeed eventually

So we're currently deploying Cilium using helm_release and wait is set to false. I ended up testing it with time_sleep

Deploy control plane without default addons
Add time_sleep similar to this
Deploy Cilium (with depends_on time_sleep) and all the other add-ons

In my terraform apply, both Cilium and managed_node_groups were created simultaneously. But because Cilium was faster to deploy, nodes were ready just in time.
Just to confirm, it that the same as the 2nd option you mentioned in your previous comment?

@mmshin were you able to succeed? I am stuck on same issue, any info or better terraform you can share please?

@mmshin were you able to succeed? I am stuck on same issue, any info or better terraform you can share please?

Hi, yes. So there were 2 options that I tried.

Add time_sleep similar to this before the cilium installation

But then I realized our helm provider definition has this dependency host  = module.eks.cluster_endpoint, meaning that time_sleep i added is not needed. And it worked. As long as the helm_release.cilium doesn't wait for the whole module to finish.

So in general, cilium just needed to make sure that the cluster is ready. Then, both cilium and nodes will be created at the same time. Our cilium installation has wait set to false so from TF's perspective, it was done in 9s. So by time that the nodes are done creating, Cilium is already up and the nodes will also be Ready just in time.
I hope my explanation makes sense.

Thanks for explanation @mmshin , I was actually able to make it work by time_sleep by following above but I am facing another issue with cilium, I am able to nslookup any domain from the pod but can't ping or curl any external domain, internal works fine, all my services are up and running and coredns log show it's fine, I dont have that issue with kube-proxy so definitely something in cilium,
do you have an idea about it or if you could please share your cilium values?
this is what I used:
kubeProxyReplacement: "true"
ipam:
  mode: "eni"
egressMasqueradeInterfaces: "eth0"
eni:
  enabled: true
k8sServiceHost:"http://xxxxx"
k8sServicePort: 443
tunnel: disabled
endpointRoutes:
  enabled: true
hubble:
  metrics:
    enabled:
      - dns
      - drop
      - tcp
      - flow
      - icmp
      - http
  relay:
    enabled: true
  ui:
    enabled: true
envoy:
    enabled: true
gatewayAPI:
  enabled: true
routingMode: "native"


Send event with idempotency mechanism

@geomagilles  I think this is ready for review. Not much code here as almost everything is in agent repository.


fix: change the libraries to new herbs organization

Fixes #

Proposed Changes

change the libraries to new herbs organization

Readiness Checklist
Author/Contributor

[x] If documentation is needed for this change, has that been included in this pull request
[x] Remember to check if code coverage decrease, if so, please implement the necessary tests

Reviewing Maintainer

[ ] Label as breaking if this is a large fundamental change
[ ] Label as either automation, bug, documentation, enhancement, infrastructure, or performance

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Tweak substrate-consensus-aura to be "aura_family"

The pattern in forkful consensus algorithms of "divide time into discrete slots, somehow select a proposer for each slot, and have them author a block" is very common.
By introducing a trait for choosing the proposer-selection algorithm, we can easily convert our current Aura implementation into Ouroboros (instantiated with a VRF, maybe BLS or hash-chain) or other similar consensus algorithms.

I guess this has been done in #1632 with the introduction of substrate-consensus-slots.


It also updates the GoogleCloudPlatform/k8s-cloud-provider library to v1.25.0 and updates associated API calls.
Backporting this change to 4.15 since changing scope for an Ingress was broken.

/jira refresh

/approve
/lgtm
/label backport-risk-assessed

/test verify-commits

After building a 4.15 cluster with this PR applied, changing the scope on an Ingress object updates the router.
❯ diff router-foo-{before,after}.yaml
5d4
<     cloud.google.com/load-balancer-type: Internal
9d7
<   - gke.networking.io/l4-ilb-v1
23c21
<   resourceVersion: "43934"
---
>   resourceVersion: "45014"
53,54c51,52
<      ingress:
<      - ip: <IP_ADDRESS>
---
>     ingress:
>     - ip: <IP_ADDRESS>

/label qe-approved

/label cherry-pick-approved

/lgtm


Allow automated releasing by looking at github labels

Motivation

Allow releasing en masse
Allow a pipeline to eventually do it for us

Notes
Release tasks were broken for the minority of checks that were not added to AGENT_BASED_INTEGRATIONS. I've removed that constant in favor of check auto-detection so everything works now and in future.

Codecov Report

Merging #2169 into master will decrease coverage by 11.06%.
The diff coverage is n/a.


Must pass an array or slice to 'whereExist'

Hi,
What am I doing wrong?
$ docker run --rm -ti jwilder/docker-gen -version
0.4.0

logstash-forwarder.json.tmpl:
{{whereExist . "Labels.logs" | len}}

$ docker run --rm -ti -v `pwd`/templates:/templates -v /var/run/docker.sock:/tmp/docker.sock jwilder/docker-gen -watch /templates/logstash-forwarder.json.tmpl /etc/logstash-forwarder.json
2015/07/16 07:13:41 template error: template: logstash-forwarder.json.tmpl:1:2: executing "logstash-forwarder.json.tmpl" at <whereExist . "Labels...>: error calling whereExist: Must pass an array or slice to 'whereExist'; received &[0xc208000d80 0xc208001560 0xc2080017a0 0xc208001c20 0xc2080a2120 0xc2080a2360 0xc2080a26c0 0xc2080a2b40 0xc2080a2fc0]

What does . refer to at that point in your template? The error message doesn't make it very clear what was received if it isn't an array or slice. That error message could probably be improved to say something more useful...
Also, what is it you're trying to do?

I'm trying to filter out the list of containers and keep only those which have label "logs" present. . is a root object, which is []*RuntimeContainer.

If that were the case, then you wouldn't be getting that error.
$ is the root object. . is only set to the root object initially. If you use template, with, or range, then . will get a new value inside that context.

{{whereExist . "Labels.logs" | len}}

Is the actual full content of the template.
This doesn't work either:
{{whereExist $ "Labels.logs" | len}}

$ echo '{{whereExist $ "Labels.logs" | len}}' > template.tmpl && docker run --rm -ti -v `pwd`/template.tmpl:/template.tmpl -v /var/run/docker.sock:/tmp/docker.sock jwilder/docker-gen -watch /template.tmpl /template.out
2015/07/17 05:56:28 template error: template: template.tmpl:1:2: executing "template.tmpl" at <whereExist $ "Labels...>: error calling whereExist: Must pass an array or slice to 'whereExist'; received &[0xc208000c60 0xc208001320 0xc208000900 0xc2080017a0 0xc208001b00 0xc20809e120 0xc20809e5a0 0xc20809e000 0xc20809e7e0 0xc20809eb40]

@md5 please run this command yourself and see what happens:
echo '{{whereExist $ "Labels.logs" | len}}' > template.tmpl && docker run --rm -ti -v `pwd`/template.tmpl:/template.tmpl -v /var/run/docker.sock:/tmp/docker.sock jwilder/docker-gen -watch /template.tmpl /template.out

It doesn't work from the latest master either:
docker-gen [master] $ echo '{{whereExist . "Labels.logs" | len}}' > template.tmpl && ./docker-gen template.tmpl template.out
2015/07/17 09:13:43 template error: template: template.tmpl:1:2: executing "template.tmpl" at <whereExist . "Labels...>: error calling whereExist: Must pass an array or slice to 'whereExist'; received &[0xc2080a6240 0xc2080a6000 0xc2080a6a20 0xc2080a6d80 0xc2080a7320 0xc2080a77a0 0xc2080a7c20 0xc208000fc0 0xc208001b00]

I wanted to clarify, why there is a pointer here? https://github.com/jwilder/docker-gen/blob/master/template.go#L370
Tests run without it and I don't see and sense of making it a pointer. And the bug is actually because of it.

That appears to have changed in this commit: https://github.com/jwilder/docker-gen/commit/2fe6ff54f222b06079fd446a84f9976e28b303f1
You're right that there's not strictly any reason for that to be a pointer. Still, it might be better to make it so that generalizedWhere can accept a pointer to an array or slice. I think that wrapping a call to reflect.Indirect around this line could help: https://github.com/jwilder/docker-gen/blob/master/template.go#L71

Oops, just looked at your fix! I think both of our fixes would do the same thing, but calling reflect.Indirect would avoid the recursive call to generalizedWhere.

@ybogdanov: The current master should already work with your example. Are you sure you actually used the latest binary?
docker-gen :: (master) » git rev-parse HEAD
f622fc71c231cd94207a8dfcd65c99d122dbacf0
docker-gen :: (master) » go build
docker-gen :: (master) » echo '{{whereExist . "Labels.logs" | len}}' > template.tmpl && ./docker-gen template.tmpl
0

Yes, it works now. I used compiled binary from the latest master at the time I was testing. Sha was 08d45c8
Looks like the issue can be closed now.


UHF-9113, UHF-8284: Fix hook_modules_installed breaking database updates

UHF-9113

What was done

On kasko and päätökset, update hooks that install modules crash. In päätökset, I have managed to replicate this using a production db dump. In kasko, I can replicate this only using the latest.sql artifact from github.
The idea of this fix is to create BaseFieldOverride if it does not exist so the field settings can be edited.
This is a cherry picked commit from https://github.com/City-of-Helsinki/drupal-helfi-platform-config/pull/617 in a separate PR since I run into the same issue while reviewing https://github.com/City-of-Helsinki/helsinki-paatokset/pull/319.
How to reproduce the issue
Download the latest SQL dump from github artifacts: https://github.com/City-of-Helsinki/drupal-helfi-kasvatus-koulutus/actions/runs/6623105851.
Create an update hook that installs a module. For example:
/**
 * Test update hook issue.
 */
function helfi_kasko_content_update_90010() {
  \Drupal::service('module_installer')->install(['dblog']);
}

Import the database and run drush updb -v -y. The command should crash with the following message:
 [error]  Call to undefined method Drupal\Core\Field\BaseFieldDefinition::save()

When testing, if you want to re-run the update hook, you can use following command:
drush pmu dblog; drush ev "drupal_set_installed_schema_version('helfi_kasko_content', 9009)"

How to install

Make sure you have kasko instance up and running on latest dev branch. Download latest.sql from github actions.

git pull origin dev
make up shell
drush sql-query --file /app/latest.sql

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-9113-UHF-8284-fix-update-hook-crash

Run drush updb -v -y

How to test

[ ] Try running an update hook which installs a module.
[ ] Check that code follows our standards.

We're currently processing your upload.  This comment will be updated when the results are available.


Raise warning/error if user creates an entity from a Dask dataframe and does not define variable types

Variable type inference is not currently supported when creating an entity from a Dask dataframe. A warning/error should be raised if the user creates and entity without defining the variable type for all of the columns in the dataframe as this could result in unexpected results when generating features/feature matrices.

Duplicate of #890


Validation scripts

This PR focuses on a validation script that generates a csv comparing changes year-over year for several metrics by facility, county, and statewide. This will be run manually and locally as needed, usually in spring as reports for the previous year are submitted.
The output will allow WMRC staff to identify large discrepancies year to year that might indicate typos or other situations that could make it difficult accurately identify long-term trends.
Tucked in the middle of this is a change to a live field name that got it's name truncated in length by AGOL during a manual update to add a new facility type.

Ok, I've updated it to include a separate schedule for the validation logic (which entailed updating the triggering function as per gen2 Cloud Function instructions). The check year is set automatically, and the validation sheet is emailed using Supervisor.


Added Surface of Water / Taught Cloth Simulation

Simulation for the surface of water or taught cloth with ripples going through. Made in Processing.
https://github.com/AryamanKejriwal/SurfaceOfWater-TaughtClothSimulation

Community Contribution
Link to live project, video, or image:

Sharing

[x ] I would be happy to have my project shared on The Coding Train's social media!

Instagram: aryaman_kejriwal
Twitter:

wow, this is great!


Is this real-time for medium and large models?

Trying to get whisper running on M1 Mac so I can't test it right now. Is it still real-time on medium and large models?

That entirely depends on how fast your hardware can do the inference.
On an M1 (Max) the base model might run well. Everything above is still too computationally expensive.

Thanks! I got it running on M1 Max and looks like it's not fast enough. It's predicting but with a delay. Also I don't think it's using the GPU because % usage is 0. Pretty impressive though that with just CPU I can see it working


Adding grunt-cli as devDependency

See discussion in #69. Also updates CONTRIBUTE.md with more specific and latest verified install/develop instructions.

thanks!

:beers:


mcumgr: Probably incorrect error handling with udp backend

In case there is no free space for mcumgr buffer, received data are probably
inproperly dropped smp_udp.c:114-127.
For more information refer to:
https://github.com/zephyrproject-rtos/zephyr/issues/37105
https://github.com/zephyrproject-rtos/zephyr/pull/37081

@emob-nordic are you looking into this?

@carlescufi I'm not. I was told in the past to write this issue so someone competent could address it later.

@aunsbjerg could you please take a look at this issue?

@carlescufi I will try, but am a bit pressed for time, so it will be a few days before I can do anything

I'll take over. I have idea how to follow with this, although it requires change in mcumgr/lib.

@de-nordic the file has since moved and changed, what parts are wrong in the UDP handling?

It is assumed that this is a duplicate of https://github.com/zephyrproject-rtos/zephyr/issues/44536 whereby if there are insufficient buffers to receive the command, no error response is sent.


Add API to enable MQTT mocking support

Reason/Context
Today, the Microcks testcontainers module only supports WebSocket, Kafka and AWS SQS and SNS as asynchronous protocols. The Microcks regular distribution supports all the other protocols such as MQTT, Nats, Google PubSub and RabbitMQ.
Description
Simply put, we need a new withMQTTConnection(GenericConnection connection) method on the MicrocksAsyncMinionContainer and the MicrocksContainersEnsemble.
Implementation ideas
No response

This is linked to https://github.com/microcks/microcks/issues/1239


Alexa media player - Front end inaccessible after about 2 weeks (no reboot)

Describe the bug
Continued use without restarting HA (hass.io), (or the controller), alexa_media player seems to cause the frontend of HA to hang/not load. This has consecutively occurred 3 times.
To Reproduce
Leave operating continually.. about 2 weeks without a reboot or any changes to config.
Screenshots
Unable to access front end (on local network/port - <IP_ADDRESS>:8123). However HA is executing (automation running - e.g. lights)
System details

Home-assistant (HassOS 2.12 (HA 0.98.4) ):
Hassio (Yes/No): Yes
alexa_media  (version from const.py or HA startup): '2.0.0'
alexapy (version from pip show alexapy or HA startup): ? not sure, but the latest was copied 2 months ago from github repos

Logs
Unable to retrieve the detailed alexa_logs, as it was not enabled... but here's HA logs.
2019-09-10 14:54:54 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression 2019-09-10 14:54:54 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression 2019-09-10 14:54:55 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=Local Speaker, source_list=['Local Speaker', 'Galaxy S9', 'MI19900514', 'Samsung Galaxy S7 edge', 'Mi Phone', 'Mi Phone'], available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>, new_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=<coroutine object AlexaClient._get_source at 0x70eb3fa8>, source_list=<coroutine object AlexaClient._get_source_list at 0x713e1c00>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>> 2019-09-10 14:54:55 WARNING (Recorder) [homeassistant.components.recorder] State is not JSON serializable: <state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=<coroutine object AlexaClient._get_source at 0x70eb3fa8>, source_list=<coroutine object AlexaClient._get_source_list at 0x713e1c00>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00> 2019-09-10 14:54:55 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression 2019-09-10 14:54:55 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=<coroutine object AlexaClient._get_source at 0x70eb3fa8>, source_list=<coroutine object AlexaClient._get_source_list at 0x713e1c00>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>, new_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=Local Speaker, source_list=['Local Speaker', 'MI19900514', 'Galaxy S9', 'Samsung Galaxy S7 edge', 'Mi Phone', 'Mi Phone'], available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>> 2019-09-10 14:54:55 ERROR (Recorder) [homeassistant.components.recorder.util] Error executing query: Instance <Events at 0x7002dfb0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3) 2019-09-10 14:54:55 ERROR (Recorder) [homeassistant.components.recorder] Error saving event: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=<coroutine object AlexaClient._get_source at 0x70eb3fa8>, source_list=<coroutine object AlexaClient._get_source_list at 0x713e1c00>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>, new_state=<state media_player.joshuas_echo_dot=paused; volume_level=0.75, is_volume_muted=False, media_content_type=music, media_duration=278, media_position=47, media_position_updated_at=2019-09-10T14:54:38.459692+08:00, media_title=Be Yourself, media_artist=Audioslave, media_album_name=Guitar, source=Local Speaker, source_list=['Local Speaker', 'MI19900514', 'Galaxy S9', 'Samsung Galaxy S7 edge', 'Mi Phone', 'Mi Phone'], available=True, last_called=True, friendly_name=Joshua's Echo Dot, entity_picture=/api/media_player_proxy/media_player.joshuas_echo_dot?token=**<token retracted>**&cache=2ffe1c0bc2ab38e2, supported_features=56253 @ 2019-09-10T14:54:38.461796+08:00>> Traceback (most recent call last):   File "/usr/src/homeassistant/homeassistant/components/recorder/__init__.py", line 353, in run     dbstate.event_id = dbevent.event_id   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/attributes.py", line 282, in __get__     return self.impl.get(instance_state(instance), dict_)   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/attributes.py", line 705, in get     value = state._load_expired(state, passive)   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/state.py", line 660, in _load_expired     self.manager.deferred_scalar_loader(self, toload)   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/orm/loading.py", line 913, in load_scalar_attributes     "attribute refresh operation cannot proceed" % (state_str(state)) sqlalchemy.orm.exc.DetachedInstanceError: Instance <Events at 0x7002dfb0> is not bound to a Session; attribute refresh operation cannot proceed (Background on this error at: http://sqlalche.me/e/bhk3) 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=Local Speaker, source_list=['Local Speaker', 'MI19900514', 'Galaxy S9', 'Samsung Galaxy S7 edge', 'Mi Phone', 'Mi Phone'], available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>, new_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70190ae0>, source_list=<coroutine object AlexaClient._get_source_list at 0x70b81f18>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>> 2019-09-10 14:54:56 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] State is not JSON serializable: <state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70190ae0>, source_list=<coroutine object AlexaClient._get_source_list at 0x70b81f18>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00> 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70190ae0>, source_list=<coroutine object AlexaClient._get_source_list at 0x70b81f18>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>, new_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70b81e40>, source_list=<coroutine object AlexaClient._get_source_list at 0x70bec660>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>> 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] State is not JSON serializable: <state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70b81e40>, source_list=<coroutine object AlexaClient._get_source_list at 0x70bec660>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00> 2019-09-10 14:54:56 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] Event is not JSON serializable: <Event state_changed[L]: entity_id=media_player.joshuas_echo_dot, old_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70b81e40>, source_list=<coroutine object AlexaClient._get_source_list at 0x70bec660>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>, new_state=<state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70bec3d8>, source_list=<coroutine object AlexaClient._get_source_list at 0x70bec108>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00>> 2019-09-10 14:54:56 WARNING (Recorder) [homeassistant.components.recorder] State is not JSON serializable: <state media_player.joshuas_echo_dot=standby; is_volume_muted=False, media_content_type=standby, media_position_updated_at=2019-09-10T14:54:55.352207+08:00, source=<coroutine object AlexaClient._get_source at 0x70bec3d8>, source_list=<coroutine object AlexaClient._get_source_list at 0x70bec108>, available=True, last_called=True, friendly_name=Joshua's Echo Dot, supported_features=56253 @ 2019-09-10T14:54:55.353577+08:00> 2019-09-10 14:54:56 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved Traceback (most recent call last):   File "/config/custom_components/alexa_media/media_player.py", line 199, in _handle_event     await self.async_schedule_update_ha_state() TypeError: object NoneType can't be used in 'await' expression
Additional context
First and second time this occurred, I had to completely rebuild from a fresh HA Hass.io image. However the third, I when through the logs, identified it was alexa_media. Commenting out alexa_media from the configuration.yaml file and hard rebooted the Rpi. This then restored HA / frontend. Note. I have tried hard rebooting the controller on the first and second occurrences, but no luck, same errors. It seems it is related to recorder, and this --- "Event is not JSON serializable"
The only difference in config compared to a standard Hass.io install is that I'm using a maria DB on my synology NAS instead of the standard SQL lite DB on the RPi SD Card.

If you have a manual install of alexapy you should remove it. The bug you're referring to was fixed recently #302 but it looks like you may be loading an old version. On start-up it should report the alexapy version in the logs.

Legend. Thank you.


Memoize getAllPermutationsOfLeetSubstitutions

Textbook example of preventing exponential running time in recursive function.
Fixes: nbutton23/zxcvbn-go#15.

This breaks the test in matching_test.go

Fails test.
Error Trace:	matching_test.go:166
Error:      	"[pa$sw0rd passw0rd password pa$sword p4ssw0rd p4$sword]" should have 7 item(s), but has 6
Messages:   	There should be 6 permutations for p4$sw0rd
Error Trace:	matching_test.go:173
Error:      	"[pa$$w0rd pas$w0rd passw0rd password pas$word pa$sw0rd pa$$word p4s$w0rd p4$sw0rd p4$$word]" should have 15 item(s), but has 10
Messages:   	Check my math 2222 - 1 p4$$w0rd
Error Trace:	matching_test.go:179
Error:      	"[i337 ie37 iee7 ieel ieet ie3l ie3t i3e7 i33l i33t l337 1e37 13e7 133l 133t]" should have 35 item(s), but has 15
Messages:   	check my math 3223 -1


App Configuration (Repository, Themes, Title...)

Issue to find a good place for the app configuration.
First solution (which can be improved in the future) - you configure it with the first call of the index.html:

Then an user can call abap2UI5 for instance like this:
  CASE lv_system.
      WHEN 'PROD'.
        lv_ui5_path = 'resources/sap-ui-core.js'.
        lv_theme    = 'sap_horizon'.
      WHEN 'Q'.
        lv_ui5_path = 'resources/sap-ui-core.js'.
        lv_theme    = 'sap_horizon'.
      WHEN 'DEV'.
        lv_ui5_path = 'https://ui5.sap.com/resources/sap-ui-core.js'.
        lv_theme    = 'sap_horizon'.
    ENDCASE.

    DATA(lv_resp) = SWITCH #( request->get_method( )
       WHEN 'GET'
        THEN z2ui5_cl_http_handler=>main_index_html(
                    library_path = lv_ui5_path
                    theme        = lv_theme
                    )
       WHEN 'POST' THEN z2ui5_cl_http_handler=>main_roundtrip( ) ).

Idea:
(1) configuration can be set during runtime in the http handler by the user
(2) if needed, users can also create a customizing table to set the theme etc.
(3) optional, when different apps need different themes you can also create additional http handler and call from the outside the theme you want (think this is also the old its mobile idea where you decide which theming and html templates are used by changing the http handler)
(4) abap2ui5 stays small and simple -> configuration is outside and not a part of abap2ui5
The app itself (z2ui5_if_app) has no own configuration. Due to the fact that abap2ui5 apps can call each other and switching between them is a part of the concept, it makes no sense to change the theme or ui5_path between two apps. Example:
https://twitter.com/OblomovDev/status/1640743794206228480
In addition you have the chance to copy&paste apps between systems without changing the configuration.
This is just the actual solution, feel free to share your ideas or experiences, that we can find out if the place is good or there is a better one.

For everyone's reference, here's the config doc for on-prem:

SAPGUI - what a beauty 😍
Thank you a lot for the picture (have no on-premise so i can't check by myself)!
Then the on-premise user have the possibility to read this customizing table in their http handler and call abap2UI5 with the right bootstrap entry. So every abap2UI5 app will be called with the same configuration than any other UI5 app in the system - that sounds good to me! 👍
Steampunk users would maybe just use their ui5 cloud cdn and give it into abap2UI5.

Added the picture and a short guidance to the abap2UI5 wiki:
https://github.com/oblomov-dev/abap2ui5/wiki/Configuration
I will close the issue now. If any of you find out a better position, feel free to reopen the issue or create a new one. Difficult topic and this is just the current status, we can change it in the future.


Question: MongoEngine instead of Flask_MongoEngine

In the docs it says that Flask_MongoEngine is supported. Since Flask_MongoEngine was not maintained for more than 1 year, I asking myself if it is possible to use MongoEngine itself instead.
In the minimal example in your documentation, the MongoClient is used to connect to the database. Is there any reason to not just use MongoEngine instead of Flask_MongoEngine?

Of course all this predates my maintaining of this fork.
In general, the Flask- packages that wrap underlying functionality vary from very thin wrappers, to ones with extended functionality. At a minimum, the wrappers deal with Flask's multi-app/dependency injection model and making sure different requests get their own local proxy of the underlying resource.
That being said - if you don't have multiple 'apps' in the same namespace, (not sure who does) then it would probably be pretty easy to avoid Flask-MongoEngine. Recently - I hooked up flask with dynamodb - and decided NOT to use Flask-Dynamo.
I looked briefly at Flask-Mongoengine - and it does have a bunch of additional functionality, but nothing that seems all that important.
So - bottom line - I don't think it would be difficult at all to just use mongoengine -


[Little bug] Adding an automatic hyphenation ...

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[ ] Bug is specific for Android only - unknown, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Android version:  Android 11
App version:  2.15.1

Describe the bug
The following example shows the underlying desire for automatic hyphenation:

Steps to reproduce the issue

Create a 'New Event' with Event-Registration and a long Text.
Scan the 'New Event' and see.

Expected behaviour
This wish actually applies to all dialogues of this type in order to increase readability and, if necessary, to save vertical space.

Internal Tracking ID: EXPOSUREAPP-11122  Android Fix 2.16
Internal Tracking ID: EXPOSUREAPP-11123  iOS Fix ?

Internal Tracking ID: EXPOSUREAPP-11122  Android
Internal Tracking ID: EXPOSUREAPP-11123  iOS

Fixed with 2.16.1, thanks and closed.

@Jo-Achim
Please reopen this issue, it was not fixed under iOS:

Sorry, I was obviously too quick.

@Ein-Tim,
has the problem been fixed on iOS in the meantime?
Can it be closed?

@Jo-Achim
Negative, see:

@Ein-Tim it is better to create an issue for iOS, I suggest to close this issue for Android

iOS PR https://github.com/corona-warn-app/cwa-app-ios/pull/4845

The label Fix 2.28 may be added to this issue.

@Ein-Tim Thanks.

@dsarkar Fix 2.16 is also correct as this was the version in which this bug was fixed under Android.

https://github.com/corona-warn-app/cwa-app-ios/pull/4863

This issue has been fixed. Please close it.

@Ein-Tim Thanks, @Jo-Achim Thanks for reporting, closing this issue.

Best wishes, DS

Corona-Warn-App Open Source Team


track schema/cdn artifact sizes on dashboard

CF KV has a size limit of 25MB - it would be good to know when we get closer to that number and can find a solution for allowing bigger artifact sizes :)

Let’s use Prometheus and the current setup we have, since it’s all managed within the GraphQL API space anyway.

I don't think we need this anymore with https://github.com/kamilkisiela/graphql-hive/issues/622


Fix missing parameter in example code

 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.


Add breadcrumbs to the site as shown in mockups

Add breadcrumbs to all pages (except for landing page)

Unfortunately Quarto prepends the breadcrumbs to the title block. Which means that there needs to be a title block, not just an <h1> element defined in the markdown file and also that the breadcrumbs will always appear over top of the title.

Unfortunately Quarto prepends the breadcrumbs to the title block. Which means that there needs to be a title block, not just an <h1> element defined in the markdown file and also that the breadcrumbs will always appear over top of the title.
see: https://github.com/quarto-dev/quarto-cli/blob/main/src/project/types/website/website-navigation.ts#L509-L513

Looking at the mockups again the breadcrumbs are supposed to be above so that's okay. Will see if I can modify the title block partial to accept a banner and add that above.

Justin's researches on how the breadcrumbs are generated:
https://matrix.to/#/!mDigWuPWilYGiEcOCA:matrix.org/$WVocv-lk9Ryd3C3X-2Ir5ymmod5nWaLRFq3lpdme_B4?via=matrix.org
https://github.com/quarto-dev/quarto-cli/blob/main/src/project/types/website/website-navigation.ts#L509-L513


seems that addon not working with qunit 3 that by default at ember-cli 2.9

Thanks for opening the issue. I'll take a look at it later today.

@san650 looks like i was wrong. Addon works as expected


Fix for minor typo in cache.rs error meesage

Description:
Fixes a minor typo in cache.rs error message which I noticed today.
BREAKING CHANGE:
N/A
Related issue (if exists): No

 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.

 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.

We don't accept PRs like this


plotting.plot_spectogram not working on Jupyter-Notebook

This is also the case when the backend is chosen as 'pyqtgraph' for any plotting function call. The screen gets stuck on an empty window, and the kernel dies on closing it.

As you discovered, plotting.plot_spectogram is only available with the pyqtgraph backend. It should be possible to use it from the notebook by invoking the %gui qt5 magic.

Indeed.
It's working now.
Thanks.


unzip master.zip

When unzip I get an error in Ansible unarchive.yml from your Udemy course
TASK [extract archive] *************************************************************************************************************************************************************************************************************************************************************************
fatal: [centos7]: FAILED! => {"changed": false, "msg": "path /home/devops/ansible-pilot-master/install Rocky Linux 8/ does not exist", "path": "/home/devops/ansible-pilot-master/install Rocky Linux 8/"}

PLAY RECAP *************************************************************************************************************************************************************************************************************************************************************************************
centos7                    : ok=2    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0

I did on target host
wget https://github.com/lucab85/ansible-pilot/archive/refs/heads/master.zip
then unzip master.zip
cd ansible-pilot-master
ls -l
drwxrwxr-x. 2 devops devops   29 Apr 14  2022 install Rocky Linux#U00a08

So this directory seem wrong
Best regards
PaulEmPG

Hello,
Thank you for opening this issue.
It seems there is a problem with a directory not present in your file system. Have you tried to adjust the path accordingly? Specifically about the parameter: dest: "/home/devops/".
Would you mind sharing the full playbook? Thank you, Luca

The code seems to fail because the path does not exist. You can either create the directory or change the path accordingly. path /home/devops/ansible-pilot-master/install Rocky Linux 8/ does not exist"


accessing wire status

is it possible to access the current status of wires like RTS CTS?
In the example folder I see there is a set() method to set the states, but my project requires to read the status.

Looks like unix tty supports it but no, its not currently implemented. PR welcome :)
http://man7.org/linux/man-pages/man4/tty_ioctl.4.html


[Docs] Update main README.md withswift-frontend

Building the Swift Frontend with Ninja has been changed from ninja swift to ninja swift-frontend but the README.md didn't get updated, therefore I decided to open a PR for it. :)
cc @DougGregor, @xedin, @shahmishal

Looks like there’s already another PR to update this: https://github.com/apple/swift/pull/32701

@theblixguy Ohh, @Jumhyn was a few moments ahead of me. 😅
Thank you for pointing that out :)


Sub-menu navigation (all themes)

Hey, I wanted sub-menu navigation similar to what the default mkdocs theme offers in the Yeti theme, so I copied and adapted the code from here.
There is some css that could be used to pull the sub-menu's to the left, but this doesn't appear to have been implemented in the mkdocs theme so I'm not sure how that would work here either.

Alex

There is some css that could be used to pull the sub-menu's to the left, but this doesn't appear to have been implemented in the mkdocs theme so I'm not sure how that would work here either.

I'm not sure what you mean :smile: Can you explain?
Otherwise, this looks great. Would you be willing to add it to the other bootswatch themes? I'd really like to try and keep them consistent otherwise this repo will be a mixture of themes that are very similar but support slightly different things which would be confusing.

There are two sections in the mkdocs theme css for elements with class "pull-left". This appears to be for when the usual sub-menu style would result in a menu that is off screen and therefore needs to display to the left of the parent menu item.
Though the css is there, it doesn't look like the class "pull-left" is used in either of the nav html docs (nav.html or nav-sub.html)
I'll add the sub-menu change to the other templates today if I get a chance.
If you've got any suggestions on what to do about the pull-left stuff (remove it; leave it in; how to implement it) let me know, I'm not too familiar with any of these languages.

I think we can either just leave that extra CSS or remove it. I suspect that is left over from the original CSS that was adapted into a MkDocs theme.

Decided to take the "pull-left" css out just for tidiness.
Here are screenshots of all the themes with sub-menu navigation:
Amelia:

Cerulean:

Cosmo:

Cyborg:

Flatly:

Journal:

Readable:

Simplex:

Slate:

Spacelab:

United:

Yeti:

Fantastic! Thanks!


example_reddit bug fix

changed graph to graph_reddit

There are 2 more graph variables in example/pretrain_reddit.py, and they should be changed correspondingly too.


HDDS-8294. mvn clean should remove frontend build artifacts stored in Recon src

What changes were proposed in this pull request?
It is noticed that because the pnpm build during Recon compilation doesn't put the files under ./target, they are not removed by mvn clean by default. This PR aims to address that.
Note this will slightly increase build time for devs who regularly uses mvn clean install when building Ozone, since now Recon build and node_modules dirs would first be deleted in clean phase. If Recon is not the component you currently work on, consider appending -DskipRecon to your maven build command.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8294
How was this patch tested?

[x] Tested locally that mvn clean removes the two directories recursively, including the dirs themselves.

Thanks @szetszwo for the review and for reporting this issue.

Thanks @adoroszlai and @szetszwo for reviewing this!


pageserver - separate pagestream messages

This will be useful for the pageserver push protocol, as we'll want to tunnel different message types (that don't have the pagestream header byte) inside of pq's CopyData.

Makes sense. @arssher and @ericseppanen, you're also hacking around this network protocol code, right? Does this conflict/help with what what you're doing?

Makes sense. @arssher and @ericseppanen, you're also hacking around this network protocol code, right? Does this conflict/help with what what you're doing?

We discussed that, it's fine.


Reflection

In this section, you should (as a group) critique your dashboard and point out what it does well, what its limitations are, and what are good future improvements and additions. In this section, you should also clearly document how you addressed the feedback (GitHub issues) you received from your peers and the TAs. Point form is fine, but they need to be full sentences. This section should not be more than 500 words.

Let's reflect!!!!!!

I think the app would look better if we could centre the figures on the page
I also think it would look nicer if we were able to format the labels above the drop down menus to have some more space between them and be a bit bigger in font.
The title of the page might look better with a bit of space added so its not right at the top of the page, and I think the blue background can make it a bit hard to read

It would also be nice if we could change the font of labels in the future so they aren't so block like


Object selection behavior with the sphere pointer is ill-defined for overlapping objects

Describe the bug
Currently when 2 grabbable objects are overlapping, the object actually grabbed by the sphere pointer is determined by order of instantiation, it will always grab the object that was created later. This behavior is not quite intuitive to the user, and work needs to be done to improve the user experience when they are trying to grab overlapping 3d objects.
To reproduce
Steps to reproduce the behavior:

Create an example scene, and place two objects with Manipulation Handlers/NearInteractionTouchables in it.
Configure the scene's pointers to have a single SpherePointer
Set up the objects so that they overlap each other. Make the object that was instantiated first smaller so its completely covered by the other object.
Attempt to grab the smaller object and notice that it's never prioritized to be grabbable
Repeat these steps making the later instantiated object the smaller one and see that its grabbable

Expected behavior
We need to settle on a approach that is comfortable for users and make sure that they know what object they are selecting in these edge cases
Screenshots
Your setup (please complete the following information)

Unity Version 2018.4.20f1

This issue is still relevant as of this writing. Marking it for MRTK 2.6.0 as dealing with potentially overlapping objects is a common situation that we can expect users to encounter.

@RogPodge, do you expect this to make 2.6? If not, is it a candidate for a 2.6.1?

@RogPodge, do you expect this to make 2.6? If not, is it a candidate for a 2.6.1?

Push it out of 2.6 for now. I'll try to free up cycles to tackle this in 2.6.1 since it's been on the backlog for a bit.

Updating this issue to reflect with thoughts on future implementation. At the moment, this problem does not have a good solution, since both ClosestPoint and ClosestPointOnBounds will return the pointer's position when it is located inside of the collider. To implement this solution, we'd need to keep track of the "layers" of colliders we pass through and be sure to keep track of the latest one, something that is not readily achievable with our current implementation that relies on multiple OverlapSphere calls.
Continuing to keep this open to ensure that we solve this in MRTK 3.x, where we're looking to move to a more collider/trigger based implementation for our near pointers.


ID mess

Can somebody explain to me how task IDs are supposed to work? The numbers I see in the admin task list don't seem to correspond to the numbers that /api/v2/challenge/:id/tasks reports.

They match for me. Perhaps I'm misreading you. Can you provide an example?

I can't reproduce this now myself. Looks okay. I remember seing IDs and/or names with totally different numbers. Will close this now and reopen if I can reproduce this again.


Build date is zero'd out

Apparently newer gradle versions (possibly 2.2.0+ ?) set the timestamp of all files in the compiled APK to Fri, Nov 30 1979 00:00:00<PHONE_NUMBER>00) making the Build date information useless. This can be detected by comparing the build date to<PHONE_NUMBER>00 and it can be fixed by determining build date using packageInfo.lastUpdateTime (requires API 9+), similar to how the versionName is retreived. Alternatively gradle can be configured to use proper timestamps on files by setting android.keepTimestampsInApk = true in the gradle.properties.
see also:
https://code.google.com/p/android/issues/detail?id=220039
http://stackoverflow.com/questions/7607165

Hi @JTBrinkmann, and sorry for the long delay in my response.
Thanks for the PR. Unfortunately, packageInfo.lastUpdateTime does not report the build date but the install date. I have made build date an optional field (it is not shown if the build date is not present or older than<PHONE_NUMBER>00), but the only way to get the build date showing is using android.keepTimestampsInApk = true as you pointer out.
I will reject the PR because of this, but thanks for your time anyway. Feel free to provide any other improvement in the future.
This will be published in version 2.0.0 of the library, which I'll publish soon.

The latest version is now on Maven Central.


[MNT] Further isolation of datatypes

see #42
Shifts some testing functionality out of the soon to be deprecated datatypes module, remove references to scitype and mtype

broken by refactor


Tacotron GST cuDNN launch failure

Hi, I am trying to train tacotron-gst on a single GPU (11GB 2080 Ti). However, I get a CUDNN launch failure (see below). Can anyone help with this? Thanks
Versions:
Ubuntu 16.04
Tensorflow 1.10
CUDA 9.0.176
CUDNN 7.0.5
Train-options:
num_gpu=1
batch-size: 16
*** Epoch 0, global step 0: ***     Train loss: 24.9268
time per step = 0:00:0.420
WARNING: Train_mag audio was clipped at step 0
WARNING: Train audio was clipped at step 0
2019-01-14 13:39:53.899786: E tensorflow/stream_executor/cuda/cuda_dnn.cc:81] CUDNN_STATUS_EXECUTION_FAILED
in tensorflow/stream_executor/cuda/cuda_dnn.cc(2454): 'cudnnConvolutionForward( cudnn.handle(), alpha, input_nd.handle(), input_data.opaque(), filter.handle(), filter_data.opaque(), conv.handle(), ToConvForwardAlgo(algo_desc), scratch.opaque(), scratch.size(), beta, output_nd.handle(), output_data->opaque())'
Traceback (most recent call last):
File "/home/brauns/anaconda3/envs/oseq/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1278, in _do_call
return fn(*args)
File "/home/brauns/anaconda3/envs/oseq/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1263, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/home/brauns/anaconda3/envs/oseq/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InternalError: cuDNN launch failure : input shape([16,1,1,169]) filter shape([1,32,1,32])
[[Node: ForwardPass/tacotron_2_decoder/decoder/while/BasicDecoderStep/decoder/attention_wrapper/location_attention/location_conv/conv1d/Conv2D = Conv2D[T=DT_FLOAT<EMAIL_ADDRESS>data_format="NCHW", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:GPU:0"](ForwardPass/tacotron_2_decoder/decoder/while/BasicDecoderStep/decoder/attention_wrapper/location_attention/location_conv/conv1d/Conv2D-0-TransposeNHWCToNCHW-LayoutOptimizer, ForwardPass/tacotron_2_decoder/decoder/while/BasicDecoderStep/decoder/attention_wrapper/location_attention/location_conv/conv1d/ExpandDims_1)]]
[[Node: ForwardPass/Loss/tacotron_loss/mean_squared_error/num_present/broadcast_weights/assert_broadcastable/AssertGuard/Assert/Switch_1/_2881 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_2840_...t/Switch_1", tensor_type=DT_INT32, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

add this one line would filter non-existing file out.
    cleaned = files[files.apply(lambda x: os.path.exists(os.path.join(data_root, x['1'] + '.wav')), axis=1)]


#536: Add Sanitizer flags to CI tests

Additions and changes to the codebase should not be allowed to introduce new errors detected by runtime dynamic analysis by AddressSanitizer or UndefinedBehaviorSanitizer.
Fixes #536
Additions

Removals

Changes

Testing

Screenshots
Notes

Todos

Add UBSan in some fashion
Conditionalize inclusion of GeoPackage bits in test_unit/test_all on availability/enablement of SQLite, or make sure test_geopackage also gets built and run in CI.
Fix remaining failure in GeoPackage
Fix recurrent failure in GIUH

Checklist

[x] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[ ] Linux

Moving this to completion is blocked on revisiting #539, and possibly also on #567

Turns out that -fsanitize=address also triggers #567 just like optimization does, so I've disabled sanitizer instrumentation for the affected file wkb.cpp as well.
Thus, this PR is no longer blocked on that issue.

Seeing some ASan failures in GeoPackage tests, which I didn't cover when I started looking into this, since that code was added more recently.

Here's the remaining failure I see from GeoPackage code:
[ RUN      ] GeoPackage_Test.geopackage_read_test
Reading 2 features in layer test
=================================================================
==30446==ERROR: AddressSanitizer: container-overflow on address 0x6060000cc4a0 at pc 0x000106df7778 bp 0x00016b225290 sp 0x00016b224a40
READ of size 16 at 0x6060000cc4a0 thread T0
    #0 0x106df7774 in __asan_memcpy+0x37c (libclang_rt.asan_osx_dynamic.dylib:arm64+0x4f774) (BuildId: c7b956d5d2e13c75aade59781ac6571732000000200000000100000000000b00)
    #1 0x104cd8fe0 in void std::__1::vector<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > >::__construct_at_end<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >*, 0>(boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >*, boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >*, unsigned long) vector:1029
    #2 0x104cd8de4 in std::__1::vector<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > >::vector(std::__1::vector<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > > const&) vector:1194
    #3 0x10518fadc in std::__1::__shared_ptr_emplace<geojson::LineStringFeature, std::__1::allocator<geojson::LineStringFeature> >::__shared_ptr_emplace[abi:v160006]<boost::geometry::model::linestring<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::vector, std::__1::allocator>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, geojson::JSONProperty, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, geojson::JSONProperty> > >&, std::__1::vector<double, std::__1::allocator<double> >&>(std::__1::allocator<geojson::LineStringFeature>, boost::geometry::model::linestring<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::vector, std::__1::allocator>&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, geojson::JSONProperty, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, geojson::JSONProperty> > >&, std::__1::vector<double, std::__1::allocator<double> >&) shared_ptr.h:287
    #4 0x10518e3d0 in geopackage::build_feature(geopackage::sqlite_iter const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) feature.cpp:36
    #5 0x1051942a0 in geopackage::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) read.cpp:94
    #6 0x104dbe0cc in GeoPackage_Test_geopackage_read_test_Test::TestBody() GeoPackage_Test.cpp:41
    #7 0x104f5d5d0 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gtest.cc:2635
    #8 0x104f5d304 in testing::Test::Run() gtest.cc:2674
    #9 0x104f60568 in testing::TestInfo::Run() gtest.cc:2853
    #10 0x104f62648 in testing::TestSuite::Run() gtest.cc:3012
    #11 0x104f99a74 in testing::internal::UnitTestImpl::RunAllTests() gtest.cc:5870
    #12 0x104f98b00 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gtest.cc:2635
    #13 0x104f98890 in testing::UnitTest::Run() gtest.cc:5444
    #14 0x104fc1fc4 in main gtest_main.cc:51
    #15 0x10620d088 in start+0x204 (dyld:arm64+0x5088) (BuildId: a2ee361189123e1dbf8bfed54862d4c932000000200000000100000000060c00)
    #16 0x471f7ffffffffffc  (<unknown module>)

0x6060000cc4a0 is located 0 bytes inside of 64-byte region [0x6060000cc4a0,0x6060000cc4e0)
allocated by thread T0 here:
    #0 0x106e07f80 in wrap__Znwm+0x6c (libclang_rt.asan_osx_dynamic.dylib:arm64+0x5ff80) (BuildId: c7b956d5d2e13c75aade59781ac6571732000000200000000100000000000b00)
    #1 0x1053dea14 in void* std::__1::__libcpp_operator_new[abi:v160006]<unsigned long>(unsigned long) new:266
    #2 0x1053de9f0 in std::__1::__libcpp_allocate[abi:v160006](unsigned long, unsigned long) new:292
    #3 0x1053fafd0 in std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >::allocate[abi:v160006](unsigned long) allocator.h:115
    #4 0x1053faeac in std::__1::__allocation_result<std::__1::allocator_traits<std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > >::pointer> std::__1::__allocate_at_least[abi:v160006]<std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > >(std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >&, unsigned long) allocate_at_least.h:55
    #5 0x1053fadec in std::__1::__split_buffer<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >&) __split_buffer:323
    #6 0x1053faca8 in std::__1::__split_buffer<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >&>::__split_buffer(unsigned long, unsigned long, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > >&) __split_buffer:319
    #7 0x1053dafd0 in std::__1::vector<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> >, std::__1::allocator<boost::geometry::model::point<double, 2ul, boost::geometry::cs::geographic<boost::geometry::degree> > > >::reserve(unsigned long) vector:1503
    #8 0x1053dae0c in geopackage::wkb::wgs84::operator()(boost::geometry::model::linestring<boost::geometry::model::point<double, 2ul, boost::geometry::cs::cartesian>, std::__1::vector, std::__1::allocator>&) wkb.cpp:259
    #9 0x105098888 in geopackage::build_geometry(geopackage::sqlite_iter const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<double, std::__1::allocator<double> >&) geometry.cpp:80
    #10 0x10518e0f0 in geopackage::build_feature(geopackage::sqlite_iter const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) feature.cpp:21
    #11 0x1051942a0 in geopackage::read(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) read.cpp:94
    #12 0x104dbe0cc in GeoPackage_Test_geopackage_read_test_Test::TestBody() GeoPackage_Test.cpp:41
    #13 0x104f5d5d0 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) gtest.cc:2635
    #14 0x104f5d304 in testing::Test::Run() gtest.cc:2674
    #15 0x104f60568 in testing::TestInfo::Run() gtest.cc:2853
    #16 0x104f62648 in testing::TestSuite::Run() gtest.cc:3012
    #17 0x104f99a74 in testing::internal::UnitTestImpl::RunAllTests() gtest.cc:5870
    #18 0x104f98b00 in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) gtest.cc:2635
    #19 0x104f98890 in testing::UnitTest::Run() gtest.cc:5444
    #20 0x104fc1fc4 in main gtest_main.cc:51
    #21 0x10620d088 in start+0x204 (dyld:arm64+0x5088) (BuildId: a2ee361189123e1dbf8bfed54862d4c932000000200000000100000000060c00)
    #22 0x471f7ffffffffffc  (<unknown module>)

HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
 My preliminary testing didn't surface any UBSan reports, while it surfaced many ASan reports, some of which re-surfaced in getting it added to CI, so I think ASan is the more important goal for now.

Short-term fix for the GIUH error reports while we wait to remove it: I'll add a suppression


KAFKA-9800: Exponential backoff for Kafka clients - KIP-580

Implementation of KIP-580 to add exponential back-off to situations in which retry.backoff.ms
is used to delay backoff attempts. This KIP adds exponential backoff behavior with a maximum
controlled by a new config retry.backoff.max.ms, together with a +/- 20% of jitter to spread the
retry attempts of the client fleet.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@AndrewJSchofield : Looking at the code a bit more closely. I am not sure that the exponential backoff logic is added properly for the common failure cases in this PR.
On the producer side, this is the loop when there is a leader change.
Sender
call RecordAccumulator.partitionReady() to check if the batch need to backoff
call completeBatch()
  --> on retriable error, reenqueueBatch()
  --> on metadata error, trigger updateMetadata()

If the metadata propagation is delayed, the Sender will stay in the above loop for multiple iterations. This PR only uses retryBackoffMax when the metadata update fails. However, in the common case, the metadata request won't fail and the issue is that the metadata is stale. So, it seems that we need to change RecordAccumulator.partitionReady() to check retryBackoffMax and implement the exponential backoff logic when the batch is re-enqueued.
On the consumer side, there is a similar loop when there is a leader epoch bump.
KafkaConsumer.poll()
call sendFetches()
call pollForFetches()
  --> call AbstractFetch.handleInitializeCompletedFetchErrors --> requestMetadataUpdate()

Again, if the metadata propagation is delayed, the consumer poll() call will stay in the above loop for multiple iterations. This PR only uses retryBackoffMax when the metadata update fails. However, in the common case, the metadata request won't fail and the issue is that the metadata is stale. So, it seems that we need to add the exponential backoff logic to the above loop.

Build clean. A handful of unrelated test failures, primarily to do with EOS and Kafka Connect.

Builds cleanly with 12 unrelated test failures.

@junrao Rebased and rebuilt. Please take another look.

@junrao I don't know what's causing so many test failures. 78 of them were due to "unexpected threads" in the broker. I'll take another look when there's another build. I expect they're transient, but we'll see.

@junrao @AndrewJSchofield Are you planning to merge these changes to 3.6 branch?

@satishd : This PR is quite subtle. So, it's probably safer to leave this out of 3.6.

@junrao Thanks for the update. I will move the respective KIP out of 3.6.


Running FIFO commands and sleep from userbutton, FIFO

So, pretty sure this is something related to issue #477 - but quite honestly, I couldn't understand the resolution there, and I am also  wondering if it might be related to how the macro file was created (I just did sudo nano macroname.sh without doing anything like chmod after)
so, basically, I wanted a few userbuttons to start recording, wait a few minutes, stop recording (because I always forget). so I created this userbutton file:
Record_2_Minutes,2minvideo.sh,btn btn-primary,style="width:10%" autofocus
and this is the macro file, and yes, it's in the macros folder:
#!/bin/bash
echo 'ca 1' >/var/www/FIFO
sleep 1m 55s
echo 'ca 0' >/var/www/FIFO

I also tried leaving only the first 'ca 1' line for testing purposes in case sleep was the issue, also didn't work.
The result:
Clicking the button registers the following in the log, but nothing else happens:
'{2021/02/10 15:45:54} Executing macro /var/www/macros/2minvideo.sh &'
To confirm it was not an UI button issue, I watched the browser console while clicking and also tried running the macro from the terminal over ssh with the following:
echo 'sy 2minvideo.sh' >/var/www/FIFO
same result, shows in log, nothing happens
PS.: By log, I mean scheduleLog.txt - is there another one?
Thanks again @roberttidey for all the awesome work over the years. I wish I knew some PHP to offer help :)

It is important that the execution privileges and ownership of macro script files are set after they are created. They will not work until this done.
Macro scripts are executed by the web server which does this under the user www-data who has limited rights as this ensures safety against attacks that may try to get scripts to do malicious activities. If one needs the script to have particular privileges to perform specific extra actions then those can be enabled and can be made specific to that particular macro script.
In your case the echo actions are OK and don't need extra privileges, however the script file still needs to have the right ownership and overall execution privileges.
As described chown sets the ownership and chmod sets the execution privileges.
scheduleLog.txt is used as the main log

Ok, does that work - sorry for the basic question, did not want to break my whole setup. CLosing the issue, but a follow up question if I may: what's your preferred way of backing up configuration for an installation?


Add Kubernetes Deployment manifest files

Enjoyed Rustpad and thought it would benefit from a simple Kubernetes Manifest for running in K8s (or in my case K3s)

Hey thanks for sharing! Unfortunately I don't want to mess with Kubernetes in open-source work, it's too much to maintain and document


fix conditional logic issue

what

Fix an issue with the conditional logic

why

CloudTrail related controls should only be enabled in the Global Collection region in the central CloudTrail account

/test all


Set a default for parameter_group_name

There needs to be a default otherwise terraform errors.

Feels weird having a default of blank, but I'm not opposed if other people aren't bothered.

Yea it's not nice but it means that you don't have to provide a parameter group so shrug


As a user I can restore recently (accidentally) deleted task

...so that I can so undo my mistake.

Closed by #73, #90.


fix(go/driver/snowflake): handling of integer values sent for NUMBER columns

Fixes #1242.

BTW Curt: please use "fixes" or "closes" in the commit message so that GitHub picks up on it, "addresses" doesn't appear to be in its keyword list

@zeroshade  or @lidavidm  - is anything else needed to merge this?


Not found: FeedInputs: unable to find feed output

@GeorgeBohw
hello,i also meet this problem.could you tell me how do you solve this problem?
@tensorflowbutler
i have use the the summarize_graph tool to guesses about likely input and output nodes,this is the command:bazel-bin/tensorflow/tools/graph_transforms/summarize_graph --in_graph=/home/biao/test/occ_detect.pb
here is the message:
No inputs spotted.
No variables spotted.
Found 1 possible outputs: (name=softmax_linear/softmax_linear_1, op=Add)
Found 850090 (850.09k) const parameters, 0 (0) variable parameters, and 0 control_edges
Op types used: 18 Const, 13 Identity, 5 Add, 5 Relu, 3 BiasAdd, 3 MaxPool, 3 MatMul, 3 LRN, 3 Conv2D, 2 Mul, 1 Floor, 1 QueueDequeueManyV2, 1 RandomShuffleQueueV2, 1 RandomUniform, 1 RealDiv, 1 Reshape, 1 Sub
To use with tensorflow/tools/benchmark:benchmark_model try these arguments:
bazel run tensorflow/tools/benchmark:benchmark_model -- --graph=/home/biao/test/occ_detect.pb --show_flops --input_layer= --input_layer_type= --input_layer_shape= --output_layer=softmax_linear/softmax_linear_1
i guess the problem is my .pb file is fault?

@

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

@tensorflowbutler
I am sorry that I forgot to reply! I have solve this problem,the reason is my training codes has fault.
thank you remember me this issue.

@cvJie
my reason is that i forget put the input to the placeholder,you can check your training codes!
i think it also has other reasons if your training codes are ok!

@cvJie
my reason is that i forget put the input to the placeholder,you can check your training codes!
i think it also has other reasons if your training codes are ok!

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

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

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

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

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

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

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

Placeholder is depreciated in Tensorflow 2.x version and Tensorflow 1.x is not supported anymore. Please try the latest Tensorflow version and let us know if the problem still persists. Thanks!


fix: Defer closeSegmentIndex() for old streams during ABR switches when segment fetches are ongoing

Resolves https://github.com/shaka-project/shaka-player/issues/7156.

A regression was reported in video-dev.org Slack, and they narrowed it down to this PR.  Playing https://d24rwxnt7vw9qb.cloudfront.net/v1/dash/e6d234965645b411ad572802b6c9d5a10799c9c1/All_Reference_Streams/4577dca5f8a44756875ab5cc913cd1f1/index.mpd with this PR, reportedly:

playback stops rendering with a warning "cannot find segment endTime" just a few seconds prior to the rendering alt.

This was initially observed on Samsung TVs, but then later on LG and even in Chrome.
I'm reverting this PR and reopening the related issue.


runtime error: index out of range [3940] with length 355

Details
Running Andariel. Killing, pick some items, back to town, sell them and stopped action stands by Akara. No move, nada (counter runs reset, Debug/Settings/Start buttons only active. Game need to be closed and bot restarted. Happens after few runs, sometimes dozens. No pattern. Every time exact same error code. Not spotted when set and starts other runs except Andy. Log attached.
Version
v0.4.0
Logs
ERROR.txt

yes, I've also encountered this issue, whatever hope bot can restart when meet same error.


HV-481

Trying to wrap this up. After discussion via email I renamed the log method which return an exception to getXYZException().
For now I moved the log messages for ValueFormatterMessageInterpolator back into the main Log interface. Using the inner class approach you cannot make the class private and the generated class will be public either way. It is a really a tradeoff decision. I think for simplicity reasons we just go with what we have and maybe revisit it later.

It seems you haven't used the last version of my branch rebased on master (containing the changes for HV-550).

Looks good!!

It seems you haven't used the last version of my branch rebased on master (containing the changes for HV-550).

Bugger. I forgot to rebase.  I am having problems with the distribution module atm. It keeps running out of memory. Not sure whether that is just me right now

hmmm, back on master the full build including the dist works. Something in this change set seems to upset the assembly plugin

Hmm, works fine for me!

Hmm, works fine for me!

Turns out I had to set an explicit value for the max perm size in my MAVEN_OPTS

It is a really a tradeoff decision. I think for simplicity reasons we just go with what we have and maybe revisit it later.

I've created HV-560 for this.

I've created HV-560 for this.

Cool


Whether there someone could give some ideas to create a new fuzzer to get HP I/O's(iob18) database?

I have tried to change 030 to get iob18's database and found that seems a terrible test.

I asked you to open a PR on prjxray with your initial attempts?  Please do that?


Open repo (ie. make repo "public")

I checked and all tokens appear to be stripped. Unaware of other blockers to making this public. Await @quietcorey's review.

Complete and open.


Elixir test improvements

Overview

Fix broken formatting preventing tests from running
Wrap racy test assertion in retry_until loop
Don't automatically fail tests if quorum not met on db creation, db deletion or doc creation

Testing recommendations
make elixir

Related Issues or Pull Requests

Checklist

[x] Code is written and works correctly;
[x] Changes are covered by tests;
[ ] Documentation reflects the changes;

Thank you for the review @iilyak. Would you mind merging when you have a moment?