datastore does not support 1 to 1 connection with both sides of connection when 1 to 1 connection with same id on both models is defined

Describe the bug
if you have two models connected via connection directive and the dependent model is designed to use the same id as the first model and no other attribute is defined to store the dependent model's id , when codegen model is called the following error is thrown
datastore does not support 1 to 1 connection with both sides of connection as optional field
Amplify CLI Version
4.29.0
To Reproduce
defined two models as follows:

type Post
	@model{
	id: ID!
	postStat: PostStat @connection(fields: ["id"]) #post stat has the same id as the post

}

type PostStat
	@model(subscriptions: null){
	id: ID!
	owner: String!
	numberOfReactions: Int
}

Expected behavior
To be able to generate models via
amplify codegen models

Hi @pedramp20
I have tried with your schema and not able to reproduce the error on same version.
Steps I did:
amplify add api
amplify codegen models

This successfully generated models inside src folder.
Is there any other setting that you did which leads to this error?

Hi @akshbhu :
I had a similar error:
DataStore does not support 1 to 1 connection with both sides of connection as optional field
Error: DataStore does not support 1 to 1 connection with both sides of connection as optional field
    at Object.processConnections (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/utils/process-connections.ts:201:17)
    at model.fields.forEach.field (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/visitors/appsync-visitor.ts:448:32)
    at Array.forEach (<anonymous>)
    at Object.values.forEach.model (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/visitors/appsync-visitor.ts:447:20)
    at Array.forEach (<anonymous>)
    at AppSyncModelJavascriptVisitor.processConnectionDirective (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/visitors/appsync-visitor.ts:446:34)
    at AppSyncModelJavascriptVisitor.processDirectives (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/visitors/appsync-visitor.ts:241:10)
    at AppSyncModelJavascriptVisitor.generate (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/visitors/appsync-javascript-visitor.ts:48:10)
    at Object.exports.plugin (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/amplify-codegen-appsync-model-plugin/src/plugin.ts:49:20)
    at Object.executePlugin (/home/paco/.nvm/versions/node/v10.20.1/lib/node_modules/@aws-amplify/cli/node_modules/@graphql-codegen/core/src/execute-plugin.ts:54:12)

I do not know if it is presented because the relationship is optional and is something similar to what @pedramp20 addresses.
Also if it helps, I created my schema with versions prior to 4.29.0, i was a little corious about what this command does, because the documentation not mentions it.
https://docs.amplify.aws/cli/graphql-transformer/codegen

Hi @fkoner
I tried with an older version v4.28.0 to add api and ran above command with v4.29.0 and still it is working fine for me. I will try to debug more based on the error.

I removed auth directive from the models to simplify the case. Try to add auth directive and check if the issue can be reproduced.

type Post
	@auth(
		rules: [
			{ allow: owner, operations: [create, update, delete, read] }
			{ allow: groups, groups: ["Group1"], operations: [read] }
		]
	) {
	id: ID!
	postStat: PostStat @connection(fields: ["id"]) #post stat has the same id as the post

}

type PostStat
	@model(subscriptions: null)
	@auth(
		rules: [
			{ allow: owner, operations: [create, update, delete, read] }
			{ allow: private, provider: iam, operations: [update, read] }
			{ allow: groups, groups: ["Group1"], operations: [read] }
		]
	) {
	id: ID!
	owner: String!
	numberOfReactions: Int
}

Hi @pedramp20
The above schema is also working fine.
This error occurs when you have connection fields either both optional or mandatory. I was able to reproduce this  when I used the schema below which has both id and postStat  fields are mandatory.
type Post
	@auth(
		rules: [
			{ allow: owner, operations: [create, update, delete, read] }
			{ allow: groups, groups: ["Group1"], operations: [read] }
		]
	) {
	id: ID!
	owner: String!
	postStat: PostStat! @connection(fields: ["id"]) #post stat has the same id as the post

}

type PostStat
	@model(subscriptions: null)
	@auth(
		rules: [
			{ allow: owner, operations: [create, update, delete, read] }
			{ allow: private, provider: iam, operations: [update, read] }
			{ allow: groups, groups: ["Group1"], operations: [read] }
		]
	) {
	id: ID!
	owner: String!
	numberOfReactions: Int
}

Can you check if thats the case in your schema?

No, in my case one is mandatory and one is optional as I posted above.

Hi @pedramp20
Is the above schema you mentioned is complete or are there any other types in the schema having @connection directive?
The schema you posted above works fine for me and generating models.This is generated index.js file from above schema
import { initSchema } from '@aws-amplify/datastore';
import { schema } from './schema';

const { Post, PostStat } = initSchema(schema);

export {
  Post,
  PostStat
};

and schema.js file
export const schema = {
    "models": {
        "Post": {
            "name": "Post",
            "fields": {
                "id": {
                    "name": "id",
                    "isArray": false,
                    "type": "ID",
                    "isRequired": true,
                    "attributes": []
                },
                "owner": {
                    "name": "owner",
                    "isArray": false,
                    "type": "String",
                    "isRequired": true,
                    "attributes": []
                },
                "postStat": {
                    "name": "postStat",
                    "isArray": false,
                    "type": {
                        "model": "PostStat"
                    },
                    "isRequired": false,
                    "attributes": [],
                    "association": {
                        "connectionType": "HAS_ONE",
                        "associatedWith": "id"
                    }
                }
            },
            "syncable": true,
            "pluralName": "Posts",
            "attributes": [
                {
                    "type": "model",
                    "properties": {}
                },
                {
                    "type": "auth",
                    "properties": {
                        "rules": [
                            {
                                "provider": "userPools",
                                "ownerField": "owner",
                                "allow": "owner",
                                "operations": [
                                    "create",
                                    "update",
                                    "delete",
                                    "read"
                                ],
                                "identityClaim": "cognito:username"
                            },
                            {
                                "groupClaim": "cognito:groups",
                                "provider": "userPools",
                                "allow": "groups",
                                "groups": [
                                    "Group1"
                                ],
                                "operations": [
                                    "read"
                                ]
                            }
                        ]
                    }
                }
            ]
        },
        "PostStat": {
            "name": "PostStat",
            "fields": {
                "id": {
                    "name": "id",
                    "isArray": false,
                    "type": "ID",
                    "isRequired": true,
                    "attributes": []
                },
                "owner": {
                    "name": "owner",
                    "isArray": false,
                    "type": "String",
                    "isRequired": true,
                    "attributes": []
                },
                "numberOfReactions": {
                    "name": "numberOfReactions",
                    "isArray": false,
                    "type": "Int",
                    "isRequired": false,
                    "attributes": []
                }
            },
            "syncable": true,
            "pluralName": "PostStats",
            "attributes": [
                {
                    "type": "model",
                    "properties": {
                        "subscriptions": null
                    }
                },
                {
                    "type": "auth",
                    "properties": {
                        "rules": [
                            {
                                "provider": "userPools",
                                "ownerField": "owner",
                                "allow": "owner",
                                "operations": [
                                    "create",
                                    "update",
                                    "delete",
                                    "read"
                                ],
                                "identityClaim": "cognito:username"
                            },
                            {
                                "allow": "private",
                                "provider": "iam",
                                "operations": [
                                    "update",
                                    "read"
                                ]
                            },
                            {
                                "groupClaim": "cognito:groups",
                                "provider": "userPools",
                                "allow": "groups",
                                "groups": [
                                    "Group1"
                                ],
                                "operations": [
                                    "read"
                                ]
                            }
                        ]
                    }
                }
            ]
        }
    },
    "enums": {},
    "nonModels": {},
    "version": "0a3649623829c7d99af321aa9db0c26c"
};

Can you try with amplify version v4.30.0 and check if this error still there?

This still isn't working on v4.32.0.
}

I'm not entirely sure which part of the schema is causing the issue though I assume it's the optional connections: the peek inside of Activity, the currentBook inside of Club and the parent inside of Peek. Ideally these should remain optional.


Custom storageClass to broker

Is your feature request related to a problem? Please describe.
Our cluster lacks a default storage class so pods are stuck in pending state becasue PVC doesn't specify a storage class
Describe the solution you'd like
I want to set my own storageClass in deploymentPlan to broker via yaml or operator configuration.
Additional context
for example:
spec:
  deploymentPlan:
    persistenceEnabled: true
    storage:
      size: 5G
      storageClassName: managed-premium

It works, note that the PVC will not be deleted after deleting the broker CR


Automated cherry pick of #2662: Add in-cluster svc fqdn e2e test

Cherry pick of #2662 on release-1.3.
#2662: Add in-cluster svc fqdn e2e test
For details on the cherry pick process, see the cherry pick requests page.

Codecov Report

Merging #2691 (27a0458) into release-1.3 (8c2abcd) will increase coverage by 0.01%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release-1.3    #2691      +/-   ##
===============================================
+ Coverage        41.05%   41.06%   +0.01%
===============================================
  Files              158      158
  Lines            19243    19243
===============================================
+ Hits              7900     7903       +3
+ Misses           10596    10594       -2
+ Partials           747      746       -1

Flag
Coverage Δ

unit-tests
41.06% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/openflow/pipeline.go
24.14% <0.00%> (+0.07%)
:arrow_up:

pkg/apiserver/storage/ram/store.go
78.94% <0.00%> (+1.50%)
:arrow_up:

/test-e2e


Each class score?

Hello I produced the scores.npy folder using test_models.py. However, I would like to get more detailed result. How can I use the file to get each class score?
Thank you

Closing it as at the end i get a matrix showing each class accuracy.


[SPARK-12833][HOT-FIX] Reset the locale after we set it.

Can you use a try-finally block?

Thank. That's a good point. Just updated.

LGTM

Merging.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49498/
Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/49500/
Test FAILed.

Merged build finished. Test FAILed.


Update _skip.txt (international-biodeterioration-and-biodegradation)

as per: https://github.com/citation-style-language/styles/pull/3654

thanks!


Document.addIn incorrectly produces question marks ("?") at start of key

Describe the bug
I am implementing a function that transforms a json to a docker-compose file, dynamically.
My code is producing question mark in the YAML output, which is not supported by docker
To Reproduce
public fromJsonTemplateToYml(template: API.Template) {
    const dockerCompose = new Document({});
    dockerCompose.add({ key: 'version', value: '3' });
    dockerCompose.add({ key: 'services' });
    dockerCompose.addIn(['services', `${template.title}`], {
      container_name: `${template.name}`,
      image: `${template.image}`,
    });
    // Restart policy
    if (template.restart_policy) {
      dockerCompose.addIn(['services', `${template.title}`], {
        restart: `${template.restart_policy}`,
      });
    }
   if (template.network === 'host') {
      dockerCompose.addIn(['services', `${template.title}`], { network_mode: 'host' });
    }
   console.log(dockerCompose.toString());
}

Output:
services:
  Caddy:
    image: caddy:latest
    ? network_mode: host
    ? restart: unless-stopped

given the input:
    {
      image: 'caddy:latest',
      name: 'caddy',
      network: 'host',
      restart_policy: 'unless-stopped',
      title: 'Caddy',
    }

Versions (please complete the following information):

Environment: Node 22
yaml:latest

Please review the documented requirements for addIn(): https://eemeli.org/yaml/#collections

Using setIn insteal of addIn


add regular expression support

add regular expression support when finding contact by name or alias.
bot.find()

I believe we have already support that.
See: https://wechaty.js.org/docs/api/contact#contactfindquery--promise-contact--null


allow to build on non english OS

this fixes builds on non English OS
when the driver options are compared between different languages

if I build 7h in local it fails because error comparing
debbuger shows the is comparing "Graphics" with "Graficos"
maybe could be fixed other way comparing


Thank you for the work

Thanks for making this design so easy to modify and understand. I've been looking into cycloidal drives for a few days now trying to make my own design and this design helped a lot. This isn't an issue just wanted to show some appreciation.

Ditto. The parametric designer couldn't handle my constraints (I need very high tooth count, 18 & 17), but the design is very elegant and compact. It was a great starting point for my own design. Thank you for sharing!


geometry2: 0.5.16-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository geometry2 to 0.5.16-0:

upstream repository: https://github.com/ros/geometry_experimental.git
release repository: https://github.com/ros-gbp/geometry2-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.26
previous version for package: 0.5.15-0

geometry2

No changes

geometry_experimental

No changes

tf2
* remove explicit templating to standardize on overloading. But provide backwards compatibility with deprecation.
* Merge pull request #144 <https://github.com/ros/geometry2/issues/144> from clearpathrobotics/dead_lock_fix
  Solve a bug that causes a deadlock in MessageFilter
* Resolve 2 places where the error_msg would not be propogated.
  Fixes #198 <https://github.com/ros/geometry2/issues/198>
* Remove generate_rand_vectors() from a number of tests. (#227 <https://github.com/ros/geometry2/issues/227>)
* fixing include directory order to support overlays (#231 <https://github.com/ros/geometry2/issues/231>)
* replaced dependencies on tf2_msgs_gencpp by exported dependencies
* Document the lifetime of the returned reference for getFrameId getTimestamp
* relax normalization tolerance. #196 <https://github.com/ros/geometry2/issues/196> was too strict for some use cases. (#220 <https://github.com/ros/geometry2/issues/220>)
* Solve a bug that causes a deadlock in MessageFilter
* Contributors: Adel Fakih, Chris Lalancette, Christopher Wecht, Tully Foote, dhood

tf2_bullet
* store gtest return value as int (#229 <https://github.com/ros/geometry2/issues/229>)
* Contributors: dhood

tf2_eigen
* fix return value to prevent warnings on windows (#237 <https://github.com/ros/geometry2/issues/237>)
* fixing include directory order to support overlays (#231 <https://github.com/ros/geometry2/issues/231>)
* tf2_eigen: added support for Quaternion and QuaternionStamped (#230 <https://github.com/ros/geometry2/issues/230>)
* Remove an unused variable from the tf2_eigen test. (#215 <https://github.com/ros/geometry2/issues/215>)
* Find eigen in a much nicer way.
* Switch tf2_eigen to use package.xml format 2. (#216 <https://github.com/ros/geometry2/issues/216>)
* Contributors: Chris Lalancette, Mikael Arguedas, Tully Foote, cwecht

tf2_geometry_msgs
* remove explicit templating to standardize on overloading. But provide backwards compatibility with deprecation.
* adding unit tests for conversions
* Copy transform before altering it in do_transform_vector3 [issue 233] (#235 <https://github.com/ros/geometry2/issues/235>)
* store gtest return value as int (#229 <https://github.com/ros/geometry2/issues/229>)
* Document the lifetime of the returned reference for getFrameId and getTimestamp
* tf2_geometry_msgs: using tf2::Transform in doTransform-functions, marked gmTransformToKDL as deprecated
* Switch tf2_geometry_msgs to use package.xml format 2 (#217 <https://github.com/ros/geometry2/issues/217>)
* tf2_geometry_msgs: added missing conversion functions
* Contributors: Christopher Wecht, Sebastian Wagner, Tully Foote, dhood, pAIgn10

tf2_kdl
* store gtest return value as int (#229 <https://github.com/ros/geometry2/issues/229>)
* Find eigen in a much nicer way.
* Switch tf2_kdl over to package.xml format 2.
* Contributors: Chris Lalancette, dhood

tf2_msgs

No changes

tf2_py
* fix memory leak calling Py_DECREF for all created PyObject
* replaced dependencies on tf2_msgs_gencpp by exported dependencies
* Relax strict type checks at setTransform to only check for members (#221 <https://github.com/ros/geometry2/issues/221>)
* expose deprecated methods in tf2_py API to support better backwards compatibility. Fixes #206 <https://github.com/ros/geometry2/issues/206>
* Contributors: Christopher Wecht, Sergio Ramos, Tully Foote, alex

tf2_ros
* Merge pull request #144 <https://github.com/ros/geometry2/issues/144> from clearpathrobotics/dead_lock_fix
  Solve a bug that causes a deadlock in MessageFilter
* Clear error string if it exists from the external entry points.
  Fixes #117 <https://github.com/ros/geometry2/issues/117>
* Make buff_size and tcp_nodelay and subscriber queue size mutable.
* Remove generate_rand_vectors() from a number of tests. (#227 <https://github.com/ros/geometry2/issues/227>)
  * Remove generate_rand_vectors() from a number of tests.
* Log jump duration on backwards time jump detection. (#234 <https://github.com/ros/geometry2/issues/234>)
* replaced dependencies on tf2_msgs_gencpp by exported dependencies
* Use new-style objects in python 2
* Solve a bug that causes a deadlock in MessageFilter
* Contributors: Adel Fakih, Chris Lalancette, Christopher Wecht, Eric Wieser, Koji Terada, Stephan, Tully Foote, koji_terada

tf2_sensor_msgs
* Fix do_transform_cloud for multi-channelled pointcloud2. (#241 <https://github.com/ros/geometry2/issues/241>)
* store gtest return value as int (#229 <https://github.com/ros/geometry2/issues/229>)
* Document the lifetime of the returned reference for getFrameId and getTimestamp
* Find eigen in a much nicer way.
* Switch tf2_sensor_msgs over to package format 2.
* Contributors: Atsushi Watanabe, Chris Lalancette, dhood

tf2_tools

No changes

hold for coordinated release


Add a user startup file which can be modified

Up to now, init.bat would be overwritten when a user updated
Cmder. The new mechanism will create a new (mostly empty) file
for the user to enter commands which will then be executed on
each following startup.
Closes: https://github.com/bliker/cmder/issues/608

Did the PR against the wrong branch :-(


(MissingSubscription) The request did not have a subscription or a valid tenant level resource provider

Hi,
I am following this instruction to build an end-to-end digital twin system: https://learn.microsoft.com/en-us/azure/digital-twins/tutorial-end-to-end.
However, I am stuck at the step: Connect the IoT hub to the Azure function.
I copy the command

"az eventgrid event-subscription create --name  --event-delivery-schema eventgridschema --source-resource-id /subscriptions//resourceGroups//providers/Microsoft.Devices/IotHubs/ --included-event-types Microsoft.Devices.DeviceTelemetry --endpoint-type azurefunction --endpoint /subscriptions//resourceGroups//providers/Microsoft.Web/sites//functions/ProcessHubToDTEvents"

and enter all the placeholders, but I got the error:
(MissingSubscription) The request did not have a subscription or a valid tenant level resource provider.
I also check a similar issue as following but it doesn't help much:

https://github.com/MicrosoftDocs/azure-docs/issues/33497

Thank you.

Edited: Added doc metadata

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 2f9cef38-32b1-de42-382d-87877e5a4d25
Version Independent ID: 92b09f9b-690e-e3a4-5454-70bfaa65a449
Content: Tutorial: Connect an end-to-end solution - Azure Digital Twins
Content Source: articles/digital-twins/tutorial-end-to-end.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

I solved my issue. You guys can follow here: https://stackoverflow.com/questions/69453392/az-tag-update-error-missingsubscription-the-request-did-not-have-a-subscripti

Glad to hear your issue is resolved.


adding a new feature : a button to mute sounds at the end of the game

Fix #58

Hi @yelynn1! Would it be possible for my pull request to get reviewed ? :D

Hi @tsitsivakonstantinamaria ! Could you please review my pull request ?


Use cached block for number -> hash mapping if that is unambiguous

One thing I am unsure about with this is whether it will interfere with reverts, since during a revert, we'll have multiple blocks with the same number in the database. If doing the revert requires that the orphaned block remains in the database, this code could cause problems.

Good thing you mentioned it, because now I remember there is an interaction between this and reverts. Here https://github.com/graphprotocol/graph-node/blob/master/chain/ethereum/src/block_stream.rs#L575 we need the reverted block to be in the DB, so we can't de-duplicate blocks within the reorg threshold.

Good thing you mentioned it, because now I remember there is an interaction between this and reverts. Here https://github.com/graphprotocol/graph-node/blob/master/chain/ethereum/src/block_stream.rs#L575 we need the reverted block to be in the DB, so we can't de-duplicate blocks within the reorg threshold.

Thanks for finding that. I'll try to change things so that we send all the information we need with the ReconciliationStep::RevertBlock

I decided to not try to be too clever here, and simply clean up duplicate blocks only when they have become final. Being more aggressive with cleanups would probably help drive down the number of RPC calls we make further, but since that will interfere with the revert logic, it's better to play it safe and see how much of a drop in RPC calls we get with this approach first.


Micro acquisition update blog

Thanks for making those changes @gabrielcossette! :) Something that jumps out at me now that we've made that change is that the font difference between H2 and H3 is minimal.  Would be better if H3 was smaller I think.  Did we decide on any Heading size changes as part of the blog width PR?

Thanks for making those changes @gabrielcossette! :) Something that jumps out at me now that we've made that change is that the font difference between H2 and H3 is minimal. Would be better if H3 was smaller I think. Did we decide on any Heading size changes as part of the blog width PR?

As a matter of fact, we have looked at this 🙂
Here's what we are testing in PR #1392 (values not exact because using scalable "rem" CSS unit):
   H1 = 44,96px
   H2 = 37,92px
   H3 = 24,96px
   H4 = 20px
   Body = 17,92px
   Date, Version… = 16px
I merged your blog post to the branch of that PR (blog_content_width)
Here's the new difference between one H2 and two H3s:

However, with the new width, the title is too long...

I'm wondering if we should make the width a bit larger...

However, with the new width, the title is too long...

I mean, the title is not too long, it just takes 2 lines with that change. I'm wondering if we should expand the width or not.

Those font sizes are so much better! :)

For the title I can always rename it. It probably should be 'Micro-Acquisition Pilot: Status update 1' anyway. That would save one space.

For the title I can always rename it. It probably should be 'Micro-Acquisition Pilot: Status update 1' anyway. That would save one space.

Awesome, it fits now. Thanks!
I previously forgot to push the changes with your blog post in the blog_content_width branch (in case you wanted to test), sorry. It's all up-to-date now.

Good point @ElminaIusifova! I've added a link to the Micro-Acquisition Pilot page from the first paragraph. Going further, I could also reword the first paragraph to say something like "As mentioned in the previous blog post (link) we have begun working on a Micro-Acquisition Pilot (link). This is our first status update. We will continue to provide updates as the project progresses".

Yes, perfect @RachelMuston ! I like the reword and the link idea


Make skbdump work on 4.19

Even make it work on 5.4 is an impossible task - -
I need to look up skb address from a map:
__u64 skb_addr = (__u64)(void *)skb;
bpf_map_lookup_elem(&map, &skb_addr)

5.4 verifier will bounce back:  invalid indirect read from stack off -104+0 size 8
Then I tried to read address using bpf helper:
__u64 skb_addr;
bpf_probe_read_kernel(&skb_addr, sizeof(skb_addr), &skb);

However, kernel doesn't have bpf_probe_read_kernel until 5.5.
Not to mention the mess in 4.19, feel like hell.


Missing key information for proper use

Other functions of this type, call it first with no buffer, it returns the count of items that would be returned. Call it a second time after allocating space it the results. Yet there is no mention in this documentation, or if this is how this function works.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 7e5deebc-f61f-7f58-7fee-53e744a250d5
Version Independent ID: 27442469-f3d1-6202-0613-25eebb091b17
Content: D3DKMTGetDisplayModeList function (d3dkmthk.h) - Windows drivers
Content Source: wdk-ddi-src/content/d3dkmthk/nf-d3dkmthk-d3dkmtgetdisplaymodelist.md
Product: windows-hardware
Technology: wdk-api-reference
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Thanks for the issue, @nottoc! I've added the missing details to the page.


Windows Server 2003: Service crash

Hello,
We have the message below at least 20 times per day.
Pigina version installed is <IP_ADDRESS>, with all the prerequisites on a Windows 2003 Server x86 Sp2 Ent.
7031,ERROR,Service Control Manager,Mon Feb 11 14:25:12 2013,No User,The pGina Service service terminated unexpectedly.  It has done this 1 time(s)

Barring additional repro/info, closing.


[Web] The script has an unsupported MIME type ('text/plain')

I followed the official flutter guide on how to release a web app.
Indeed, I get the build\web folder with the following content
icons
favicon
index
manifest

If I click on index.html an empty browser window opens, while the index.html file itself is not empty.
Following the advice to use python -m http.server 8000 yields

but navigating to localhost:8000 yields a white empty page (in edge and chrome) with the following error in the console of the browser (edge):

Flutter Doctor:
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19044.1826], locale de-DE)
• Flutter version 3.0.5 at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision f1875d570e (8 days ago), 2022-07-13 11:24:16 -0700
• Engine revision e85ea0e79c
• Dart version 2.17.6
• DevTools version 2.12.2
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\Users\Admin\AppData\Local\Android\sdk
X cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
X Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.3)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.11.31702.278
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] VS Code (version 1.69.2)
• VS Code at C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.29.0
[√] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19044.1826]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.114
• Edge (web)        • edge    • web-javascript • Microsoft Edge 103.0.1264.62
[√] HTTP Host Availability
• All required HTTP hosts are available

Hi @sambaPython24, Thanks for filing the issue. I am unable to reproduce the issue. I am able to serve the pages locally. What version of flutter are you using? Please share the output of flutter doctor -v.

logs
mahesh@Maheshs-MacBook-Air-M1 sample % flutter pub get
flutter build web
Running "flutter pub get" in sample...                           2,400ms
mahesh@Maheshs-MacBook-Air-M1 sample % flutter build web

💪 Building with sound null safety 💪

Compiling lib/main.dart for the Web...                             15.0s
mahesh@Maheshs-MacBook-Air-M1 sample % cd build/web
mahesh@Maheshs-MacBook-Air-M1 web % python -m http.server 8080
zsh: command not found: python
mahesh@Maheshs-MacBook-Air-M1 web % python3 -m http.server 8080
Serving HTTP on :: port 8080 (http://[::]:8080/) ...
::1 - - [21/Jul/2022 17:04:28] "GET / HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /flutter.js HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /manifest.json HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /favicon.png HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /icons/Icon-192.png HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /flutter_service_worker.js?v=2553632921 HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /index.html HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /main.dart.js HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /assets/NOTICES HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /assets/AssetManifest.json HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:28] "GET /assets/FontManifest.json HTTP/1.1" 200 -
::1 - - [21/Jul/2022 17:04:32] "GET /assets/fonts/MaterialIcons-Regular.otf HTTP/1.1" 200 -
^C
Keyboard interrupt received, exiting.

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.4 21F79 darwin-arm, locale en-IN)
    • Flutter version 3.0.5 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (5 days ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-32, build-tools 33.0.0-rc4
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.67.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11 (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Hi @sambaPython24
I can not reproduce the issue with the latest stable: 3.0.5 same as your Flutter version on Windows machine.
The web runs normally without error in console.

Demo

flutter doctor -v
[√] Flutter (Channel stable, 3.0.5, on Microsoft Windows [Version 10.0.19043.1766], locale en-US)
    • Flutter version 3.0.5 at C:\WIP\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 hours ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32616.157
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.69.1)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1766]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.114
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

[√] Flutter (Channel master, 3.1.0-0.0.pre.1776, on Microsoft Windows [Version 10.0.19043.1826], locale en-US)
    • Flutter version 3.1.0-0.0.pre.1776 on channel master at C:\WIP\flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f11d0319c8 (2 hours ago), 2022-07-20 23:09:06 -0400
    • Engine revision f998b2a7ce
    • Dart version 2.19.0 (build 2.19.0-16.0.dev)
    • DevTools version 2.15.0

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at C:\AndroidSDK
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = C:\AndroidSDK
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.2.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.2.32616.157
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[!] Android Studio (version 2022.1)
    • Android Studio at C:\Program Files\Android\Android Studio Electric Eel 2022.1.1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[√] VS Code (version 1.69.2)
    • VS Code at C:\Users\ADMIN\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.44.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.1826]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 103.0.5060.114
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 101.0.1210.53

[√] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I see there's an issue (closed) addressing the case you described #106741 and look at https://github.com/flutter/flutter/issues/106741#issuecomment-1169771262 that OP confirmed there is an issue with server settings. So, please consider that hint and update it here. Thanks!

I am having this same issue

@Sami-ul Does the issue occur with a project created on a stable version of flutter by running
flutter create test
cd test
flutter build web
cd build/web
python -m http.server 8080

launch localhost:8080 in browser

@maheshmnj Yes it occurs then. I found a fix. I made the server in nodejs instead. How can I make a pr(edit docs) to show my code on the docs for how people can use a nodejs server instead of a python one to run locally? I'd like to make a contribution. Python has an issue for some reason its default http server mistypes some files.

I have the same issue when I try to render flutter web app using golang server.
I use somethings like this
dir := http.Dir(web) // workDir contains flutter web build output folder
fs := http.FileServer(dir)
router.Handle("/*", http.StripPrefix("/", fs))

I have manage to reproduce this issue here


Upgrade to d.js v12.

The v11 wont work after 7 days. Please update to v12.

Yeah.. not only are we aware, you probably got reminded of this because of the announcement I made. And also, guidebot is update to v12 already. If there's anything missing, please feel free to make a PR with the code changes.

Yeah.. not only are we aware, you probably got reminded of this because of the announcement I made. And also, guidebot is update to v12 already. If there's anything missing, please feel free to make a PR with the code changes.

The dashboard one is updated or not?


fix: fix watching schema while also watching documents

Currently if you are watching both and the schema changes it exits early since the schema isn't considered a document.
Now if both are enabled and the file is not a document it will not return early if it should also check if it is a schema which resolved the issue of it not regenerating on schema changes for me.

Good call! I wouldn't have considered this case but it makes sense and the fix looks good. With this context eventually I want to refactor this part a bit to run both checks at the same time instead of my original "early return" solution. 💯

Hey @danielwaltz, I continued testing locally and then realized that the other case still fails now where it won't update when a document changes. I am going to put up an additional PR soon that resolves this as well.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-configuration-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3681

Questions ?
Please refer to the Backport tool documentation


Words were mixed up hyphens instead of underscores

Just made it understood more by changing dashes (-) to dashes/hyphens (-) and then hyphens () to underscores ().

@dbaduck : Thanks for your contribution! The author, @MashaMSFT, has been notified to review your proposed change.

Hi @dbaduck, thank you so much for your contribution! You're right, this is better. Thanks again :) #sign-off


Toolbar items grow larger on right click

Testing #161802
Right click on an item in the editor toolbar. When you do this, the items grow slightly larger. This may be by-design but feels odd to me as I don't think other areas of VS Code have similar animation feedback

This may be by-design but feels odd to me as I don't think other areas of VS Code have similar animation feedback

Yeah, feature. Tho, I do agree this is a little weird. I wanted to add some kind of animation to indicate that we are now in "configure mode". Esp right-clicking on the ... can be confusing - both show a context menu but they are fundamentally different.
Looping in @daviddossett for some idea. 👇 that is what's current happened.
https://user-images.githubusercontent.com/1794099/192573626-51f112a1-bcff-4b0a-a5e8-810595a8df67.mov

Prior art from Safari which I used for inspiration - I failed to recreate a similar nice side-wiggle animation
https://user-images.githubusercontent.com/1794099/192574052-6946d25c-8363-4c2d-9b17-2bd26295edc6.mov

I do like the idea of a looping left/right animation that keeps going as long as the context menu is open. Should be relatively simple with something like  animation: icon-wiggle 0.2s infinite;
I'll take a look and try some options.

I'll take a look and try some options.

Thanks. Code pointer is here: https://github.com/microsoft/vscode/blob/42a198b98b279460e1c11310759c4fb34d6be2ab/src/vs/platform/actions/browser/menuEntryActionViewItem.css#L29. I can also with this

Tried a few different approaches. In both cases the animation is intended to repeat as long as the hide menu is open. As is, the animation continues after closing. So we'll need to remove the class somehow.
Rotate and scale
This attempts to draw a connection to the language status animation which would be a nice pattern to reuse here and elsewhere:

@keyframes wiggle {
	0% {
		transform: rotate(0) scale(1);
	}

	15%,
	45% {
		transform: rotate(.01turn) scale(1.05);
	}

	30%,
	60% {
		transform: rotate(-.01turn) scale(1.1);
	}

	100% {
		transform: rotate(0) scale(1);
	}
}

.monaco-toolbar.config .monaco-action-bar .action-item {
	animation-duration: 1.2s;
	animation-iteration-count: infinite;
	animation-name: wiggle;
}

Side-to-side wiggle

@keyframes shift {
	0% {
		transform: translateX(0px);
	}

	15%,
	45% {
		transform: translateX(0.5px);
	}

	30%,
	60% {
		transform: translateX(-0.5px);
	}

	100% {
		transform: translateX(0px);
	}
}

.monaco-toolbar.config .monaco-action-bar .action-item {
	animation-duration: 1.2s;
	animation-iteration-count: infinite;
	animation-name: shift;
}

As is, the animation continues after closing. So we'll need to remove the class somehow.

The removing is possible.
I actually started this with reusing the wiggle but felt it being too nervous... I will try the side-ways move and see how folks feel about it

I went with a more linear sideways shift but I use different delays for odd children. This makes it appear that they move towards each other and away from each other
👇
https://user-images.githubusercontent.com/1794099/192802943-9966df6f-11ec-4a2b-ac33-88e8e8664624.mov
@keyframes shift {
	0% {
		transform: translateX(0px);
	}

	33%{
		transform: translateX(0.5px);
	}

	66% {
		transform: translateX(-0.5px);
	}
}

.monaco-toolbar.config .monaco-action-bar .action-item {
	animation-duration: 1.2s;
	animation-iteration-count: infinite;
	animation-name: shift;
}

.monaco-toolbar.config .monaco-action-bar .action-item:nth-child(odd) {
	animation-delay: 0.6s;
}


Ensures memory safety in s2n_dhe functions

Signed-off-by: Felipe R. Monteiro<EMAIL_ADDRESS>Resolved issues:
N/A.
Description of changes:
Adds pre- and postconditions to s2n_dhe functions to ensure memory safety.
It also upgrades the OpenSSL verification model version.
Call-outs:
N/A.
Testing:
N/A.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2432 (e5235ec) into main (28d64f6) will increase coverage by 0.01%.
The diff coverage is 76.08%.

@@            Coverage Diff             @@
##             main    #2432      +/-   ##
==========================================
+ Coverage   81.92%   81.94%   +0.01%
==========================================
  Files         271      271
  Lines       18663    18675      +12
==========================================
+ Hits        15290    15303      +13
+ Misses       3373     3372       -1


Add a basic glossary to the docs

Description of the Change:
Added a basic glossary page to the docs.
I wasn't able to provide a great definition for some of the terms, which IMO highlights the need for a glossary :)
Benefits:
Makes it easier to keep the terminology clear.

Man, I feel bad when each time I commit a small documentation change Travis runs all the tests again :|

@smite, you can add [ci skip] to the commit message, and Travis will be skipped 🙂


Support SQS as a Function event source

Please support the new AWS Lambda event source SQS.

Done! You can check out the example here https://github.com/awslabs/serverless-application-model/tree/develop/examples/2016-10-31/sqs. I'll merge this to master today for documentation to upset, but it should work for you right more.

Merged in #489


Homebridge crash if currentTemperature > maxTemperature

[2017-7-2 20:37:52] [Broadlink RM] Air Conditioner getTargetHeatingCoolingState: 0
[2017-7-2 20:37:52] [Broadlink RM] Air Conditioner getTargetTemperature: 16
[2017-7-2 20:37:52] [Broadlink RM] Air Conditioner getCurrentHeatingCoolingState: 0
/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/aircon.js:376
if (state.currentTemperature > maxTemperature) throw new Error(The current temperature (${state.currentTemperature}) must be less than the maxTemperature (${maxTemperature}));
^
Error: The current temperature (30.1) must be less than the maxTemperature (30)
at AirConAccessory.processQueuedCallbacks (/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/aircon.js:376:58)
at device.onTemperature (/usr/local/lib/node_modules/homebridge-broadlink-rm/accessories/aircon.js:353:12)
at emitOne (events.js:115:13)
at device.emit (events.js:210:7)
at device.on (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs-rm/index.js:384:22)
at emitTwo (events.js:125:13)
at device.emit (events.js:213:7)
at Socket.cs.on (/usr/local/lib/node_modules/homebridge-broadlink-rm/node_modules/broadlinkjs-rm/index.js:207:18)
at emitTwo (events.js:125:13)
at Socket.emit (events.js:213:7)
homebridge: v.4.22
homebridge-broadlink-rm: v.2.5.12

I got that problem to... I tried to set "maxTemperature":"35", but after run homebridge, My home app not working hahaha

Setting "maxTemperature":"35" should fix this...

...reopen if not


run ci tests on debian 10

Codecov Report
Patch and project coverage have no change.

Comparison is base (2366e01) 41.60% compared to head (bad51b6) 41.60%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #61   +/-   ##
=======================================
  Coverage   41.60%   41.60%
=======================================
  Files           6        6
  Lines         274      274
=======================================
  Hits          114      114
  Misses        160      160

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@geofft let's test https://github.com/twosigma/nsncd/suites/12574764217/artifacts/672307561 first

ughhhhhhhhhhhhhhhhhh https://github.com/twosigma/nsncd/actions/runs/4841525033/jobs/8627850960

Ok @geofft I figured out why this is happening but not what to do about it.
 $ dpkg-shlibdeps -O target/debug/nsncd -v -v
dpkg-shlibdeps: debug: >> Scanning target/debug/nsncd (for Depends field)
dpkg-shlibdeps: debug: Library libgcc_s.so.1 found in /lib/x86_64-linux-gnu/libgcc_s.so.1
dpkg-shlibdeps: debug: Library librt.so.1 found in /lib/x86_64-linux-gnu/librt.so.1
dpkg-shlibdeps: debug: Library libpthread.so.0 found in /lib/x86_64-linux-gnu/libpthread.so.0
dpkg-shlibdeps: debug: Library libdl.so.2 found in /lib/x86_64-linux-gnu/libdl.so.2
dpkg-shlibdeps: debug: Library libc.so.6 found in /lib/x86_64-linux-gnu/libc.so.6
dpkg-shlibdeps: debug: Library ld-linux-x86-64.so.2 found in /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
dpkg-shlibdeps: debug: Library ld-linux-x86-64.so.2 found in /lib64/ld-linux-x86-64.so.2
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libgcc-s1:amd64.symbols for libgcc_s.so.1
dpkg-shlibdeps: debug:  Minimal version of (libgcc-s1 #MINVER#) initialized with (3.0)
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for librt.so.1
dpkg-shlibdeps: debug:  Minimal version of (libc6 #MINVER#) initialized with (2.2.5)
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libpthread.so.0
dpkg-shlibdeps: debug:  Minimal version of (libc6 #MINVER#) initialized with (2.2.5)
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libdl.so.2
dpkg-shlibdeps: debug:  Minimal version of (libc6 #MINVER#) initialized with (2.2.5)
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for libc.so.6
dpkg-shlibdeps: debug:  Minimal version of (libc6 #MINVER#) initialized with (2.2.5)
dpkg-shlibdeps: debug: Using symbols file /var/lib/dpkg/info/libc6:amd64.symbols for ld-linux-x86-64.so.2
dpkg-shlibdeps: debug:  Minimal version of (libc6 #MINVER#) initialized with (2.2.5)
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory
dpkg-shlibdeps: debug: Analyzing all undefined symbols
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 2.2.5, dep: libc6 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 2.2.5, dep: libc6 #MINVER#)
...
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libgcc_s.so.1 (minver: 3.0, dep: libgcc-s1 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 2.2.5, dep: libc6 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol __gmon_start__@Base
dpkg-shlibdeps: debug:  Not found
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 2.2.5, dep: libc6 #MINVER#)
...
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 2.2.5, dep: libc6 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libpthread.so.0 (minver: 2.2.5, dep: libc6 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol<EMAIL_ADDRESS>dpkg-shlibdeps: debug:  Found in symbols file of libpthread.so.0 (minver: 2.2.5, dep: libc6 #MINVER#)
dpkg-shlibdeps: debug:  Looking up symbol __nss_disable_nscd@GLIBC_PRIVATE
dpkg-shlibdeps: debug:  Found in symbols file of libc.so.6 (minver: 0, dep: libc6 (>> 2.31), libc6 (<< 2.32))
...
shlibs:Depends=libc6 (>= 2.28), libc6 (>> 2.31), libc6 (<< 2.32), libgcc-s1 (>= 4.2)

All the symbols that it sees except for __nss_disable_nscd are either found with some minimum version (in /var/lib/dpkg/info/libc6:amd64.symbols) or not found at all. But __nss_disable_nscd is GLIBC_PRIVATE, so it doesn't have any minimum version information. Because of that, it picks the "alternative dependency template" (after the |) from here:
 $ head -n2 /var/lib/dpkg/info/libc6:amd64.symbols
ld-linux-x86-64.so.2 libc6 #MINVER#
| libc6 (>> 2.31), libc6 (<< 2.32)

It's basically saying, we won't admit to there being some version range where __nss_disable_nscd is valid, so all we can say is the current one has it.
Is there some way you know of to tell dpkg-shlibdeps "no really just don't worry about that symbol"?

Ok this works but it's gross https://github.com/twosigma/nsncd/pull/61/commits/d5dffe69150e8423e5bb41afa9e85d0dc8e5c3eb


Request Access popup displays the option for the environment that is not associated with any service

Step 1: Create a active environment for the product ( say 'Test Product'
Step 2: Do not associate any service with the environment
Step 3: Sign in with the Harley to raise the access request for the product (Test Product)
Step 4: In the access request popup select the environment that is not associated with any service

Actual result : Request Access popup displays the option for the environment that is not associated with any service
Expected Result :  Request Access popup should not display the option for the environment that is not associated with any service

This is by design.  Lets discuss as we keep these two things loosely coupled in case there are scenarios where an API Provider would want to issue credentials for an API that is not configured on our Gateway.


Dependency updates and Modifications

I ran npm update to hopefully fix the vulnerability warnings (if I shouldn't have done that let me know, and I can create a new PR without doing that)
I also modified the wrapper for the POSvc BO. I overrode the get method so I could get more than just POHeader in my application code with one call.

Ignoring dependencies for now


Automate schema regeneration

Devise a system to watch the schema file for changes, regenerate the introspection, and make the new introspection product available to express-graphql.

Thinking of using gulp?

I haven't started work in earnest, but I was thinking of doing something in build/babelRelayPlugin that watches data/schema.js for changes, generates a new introspection product, and stores it in the module scope. Since getbabelRelayPlugin accepts a function, it should be easy to pass it a getter that returns that memoized product.
The schema passed to express-graphql is another thing altogether. I'll likely have to mess with require.cache to enable hot reloading of the executable schema.
Suggestions welcome!

Just published flipside/gulp-graphql on npm as gulp-graphql.
Feel free to try it out!


Dumps core on x86-64 bit Monterey after last update

May I ask you to take a look?
Anything else I can provide?
Regards
Florian
$ chrome-cli open https://google.com -i
2022-04-13 07:09:53.465 chrome-cli[78438:10079020] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[SBProxyByCode tabs]: object has not been added to a container yet; selector not recognized [self = 0x600002ff9020]'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff8185071e3 __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff818267c13 objc_exception_throw + 48
        2   CoreFoundation                      0x00007ff81850704a +[NSException exceptionWithName:reason:userInfo:] + 0
        3   CoreFoundation                      0x00007ff81846ddf5 ___forwarding___ + 1356
        4   CoreFoundation                      0x00007ff81846d818 _CF_forwarding_prep_0 + 120
        5   chrome-cli                          0x000000010ff75591 -[App openUrlInNewIncognitoWindow:] + 335
        6   chrome-cli                          0x000000010ff77ca0 -[Handler call:] + 364
        7   chrome-cli                          0x000000010ff77364 -[Argonaut run] + 85
        8   chrome-cli                          0x000000010ff783ee main + 1577
        9   dyld                                0x000000011d20a51e start + 462
)
libc++abi: terminating with uncaught exception of type NSException
Abort trap: 6

I'm not able to reproduce this on Monterey 12.3.1
Chrome Version 100.0.4896.88 (Official Build) (x86_64)

Version 100.0.4896.75 (Official Build) (x86_64)
maybe I need an update...

Thanks for the quick response. Will get back to you...

still coredumps.
same Monterey build.
maybe it is because Chrome is managed

I am running Chrome 100.0.4896.75 (managed by org) on Monterey on Intel x86_64 with chrome-cli 1.8.0 and I'm also not seeing the coredump. I already have Chrome running before issuing any commands, though - are you trying to start Chrome via chrome-cli? Are you able to run any other chrome-cli commands without it crashing, or does it always fail?

Thanks for your effort.
A second restart did the trick :(, :).
Closing.


TensorFlow version

Hello,
I am trying to run the test_mosi.py code, having installed the right version of each library. However, I keep having errors related to TensorFlow. Can you tell me which version of TensorFlow you use?
Thank you for your help!

I run this code sucessfully. I use tensorflow 2.0 and keras 2.3.1

I use tensorflow 2.0  keras 2.3.1 ,  protobuf==3.19.0


Incorrect checking if primary key columns are all NULL in equals()

When model is set to use multiple columns as its primary key it still has if (null === $this->getPrimaryKey() || null === $obj->getPrimaryKey()) condition in generated equals() method instead of using isPrimaryKeyNull method for this test. This leads to confirming, that two models are equal despite the fact they are not.

Care to send us a pull-request?


plugin's jump prompt missing after clicking on API

Basic informations

OS: [Windows]
VSCode version: Latest
Extension version: Latest

Problem
When I click on the API with Ctrl+Mouse, the jump prompt for my plugin disappears and auto-completion doesn't work. This also happens after I build the plugin, and I have to reopen VSCode.
Here is my JSON setting:
{
	"workbench.colorTheme": "Default Dark+",
	"files.autoSave": "onFocusChange",
	"svn.defaultCheckoutDirectory": "",
	"settingsSync.ignoredSettings": [
		"sourcepawn.SourcemodHome",
		"sourcepawn.trace.server",
		"svn.defaultCheckoutDirectory",
		"sourcepawn.SpcompPath"
	],
	"editor.defaultFormatter": "Sarrus.sourcepawn-vscode",
	"sourcepawn.formatterSettings": [
		"BasedOnStyle: Microsoft",
		"AccessModifierOffset: 0",
		"AlignAfterOpenBracket: Align",
		"AlignConsecutiveMacros: true",
		"AlignConsecutiveAssignments: false",
		"AlignConsecutiveDeclarations: false",
		"AlignTrailingComments: true",
		"AllowAllArgumentsOnNextLine: false",
		"AllowAllConstructorInitializersOnNextLine: false",
		"AllowAllParametersOfDeclarationOnNextLine: false",
		"AllowShortBlocksOnASingleLine: false",
		"AllowShortCaseLabelsOnASingleLine: true",
		"AllowShortIfStatementsOnASingleLine: Never",
		"AlwaysBreakAfterDefinitionReturnType: None",
		"AlwaysBreakBeforeMultilineStrings: false",
		"AlwaysBreakAfterReturnType: None",
		"BinPackParameters: false",
		"BinPackArguments: false",
		"BreakBeforeBraces: Attach",
		"IndentCaseLabels: true",
		"BreakBeforeTernaryOperators: false",
		"SortIncludes: false",
		"BreakStringLiterals: false",
		"IndentPPDirectives: AfterHash",
		"KeepEmptyLinesAtTheStartOfBlocks: false",
		"MaxEmptyLinesToKeep: 3",
		"ColumnLimit: 0",
		"SpaceAfterLogicalNot: false",
		"SpaceBeforeAssignmentOperators: true",
		"SpaceBeforeRangeBasedForLoopColon: false",
		"SpaceBeforeInheritanceColon: false",
		"SpaceBeforeParens: Never",
		"SpaceInEmptyParentheses: false",
	],
	"git.ignoreWindowsGit27Warning": true,
	"editor.fontSize": 16,
	"window.openFilesInNewWindow": "on",
	"window.openFoldersInNewWindow": "on",
	"diffEditor.ignoreTrimWhitespace": false,
	"sourcepawn.UploadOptions": {

		"user": "",
		"password": "",
		"host": "",
		"port": 21,
		"localRoot": "",
		"remoteRoot": "/public_html/remote-folder/",
		"include": [
			"**"
		],
		"exclude": [
			"scripting/**/",
			".vscode/**/",
			".github/**/",
			".gitignore",
			"*.md",
			".git"
		],
		"deleteRemote": false,
		"forcePasv": true,
		"sftp": false,
		"isRootRelative": true
	},
	"explorer.confirmDelete": false,
	"editor.accessibilitySupport": "off",
	"SourcePawnLanguageServer.includesDirectories": [
		"E:\\l4d2_plugins\\sourcemod_sdk\\addons\\sourcemod\\scripting\\include"
	],
	"SourcePawnLanguageServer.spcompPath": "E:\\l4d2_plugins\\sourcemod_sdk\\addons\\sourcemod\\scripting\\spcomp.exe",
	"sourcepawn.SourceServerOptions": {
		"host": "",
		"port": 27015,
		"encoding": "ascii",
		"timeout": 1000,
		"password": ""
	},
	"sourcepawn.outputDirectoryPath": "E:/l4d2_plugins/plugins/"

}

Hi, thanks for reporting this.
When this happens, does "sourcepawn-lsp" becomes red in the bottom left corner of the screen?
Can you also open a new terminal in vscode, click on "Output" then "SourcePawnLanguageServer" and please copy paste the output here.

Can you try to do "ctrl+shift+p" then "install language server" to make sure you are running the latest version of the server?

I tried to download the latest version from your another repository (https://github.com/Sarrus1/sourcepawn-lsp/releases) and replaced the local lsp exe. It seems to be working now.


Is it possible to work with only specific environment?

Is it possible to work with only specific environment? For instance: A certain abbreviation only works with macOS, but doesn’t work with Linux.
If not, I was wondering if you could implement this feature because I have abbreviations I would like to work with only on macOS. 🙏

@noraworld
Added if: clause to abbrevs #3:
abbrevs:
  - name: chrome
    abbr: chrome
    snippet: open -a 'Google Chrome'
    if: '[[ "$OSTYPE" =~ darwin ]]' # only available in macOS

Thank you for your reply.
Oh that's nice 👍 I will give it a try later.

I have confirmed it works successfully.
Thank you for letting me know. 🙏


Fix font fallback with CoreText renderer

CTFontCreateForString() only consults the cascade list embedded in the
font, with fallback to the global default cascade list if the font has
none. We don't have cascade lists in our fonts, so this means that it
will never return a font that's not in the global cascade list. This is
unfortunate because it causes .LastResort glyphs to be shown for
characters for which the user does have a font installed.
The simplest workaround for this seems to be to create a CTLineRef for
the string and then check its runs for the fonts chosen. CoreText uses
more advanced fallback behavior in this scenario, still giving
preference to the global cascade list but it will find other installed
fonts instead of ending up with .LastResort.
Also, fix a memory leak where we weren't releasing the newFontRef if
the call to CTFontGetGlyphsForCharacters() returned false.
Fixes #243.

This PR has been sitting here for over a year, does anybody know what's going on with it? Does it actually fix something? Is there any reason not to merge it?

Experimentally, the CoreText renderer does seem to be doing font fallback now on macOS 10.12.4. Since this code didn't change, I'm guessing it was fixed at the OS level.
That said, there's a memory leak fix in this PR, so that at least should be salvaged even if we don't use the rest of it. But if this is still an issue on macOS 10.11 then we should consider merging the whole PR.


Update Storage.cs

Removed the lines 29-84 because the background agent in Windows Phone 8 apps does not allows the use of PhoneApplicationService.Current.State

Unfortunately, simply removing the lines will break existing functionality.

Ok, i will wait then for the rebuild of this and update on nuget?!


Change Spring Cloud Kubernetes Watcher default logging level

          you can set `logging.level.org.springframework.cloud.kubernetes=DEBUG`

Originally posted by @ryanjbaxter in https://github.com/spring-cloud/spring-cloud-kubernetes/issues/744#issuecomment-785406587
Hello!
I didn't find any example in your documentation how to configure a different logging level for Spring Cloud Kubernetes Watcher except an old issue I found (the link is above).
By default we see in Argo CD it runs with INFO level enabled.
Please explain how to change the default logging level via Kubernetes configuration YAML files or another way.

@wind57 Tnx for the quick response! We'll try it now.


[CI=true] toMatchFileSnapshot always mismatched if empty file

Describe the bug
Following https://github.com/vitest-dev/vitest/discussions/5890:
toMatchFileSnapshot(EMPTY_FILE) will consistently fail when CI=true.
As pointed out by @hi-ogawa:

Vitest probably got confused by empty snapshot file and tries to create a new snapshot, but that's not allowed on CI environment (i.e. it's treated as error by default).

Reproduction
https://github.com/gterras/repro-vitest-snapshot

npm run test => OK
npm run test:ci => KO

System Info
System:
    OS: Linux 6.4 Debian GNU/Linux trixie/sid
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400F
    Memory: 5.26 GB / 15.47 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
  Browsers:
    Chrome: 125.0.6422.60
  npmPackages:
    vitest: ^1.6.0 => 1.6.0

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Thanks for the repro. Normal run always showing "Snapshots  1 written" is also wrong probably for the same reason.
$ npm run test

 RUN  v1.6.0 /home/projects/kkviakplg.github

 ✓ test/repro.spec.ts (2)
   ✓ Repro (2)
     ✓ should pass with non-empty snapshot
     ✓ should pass with empty snapshot

  Snapshots  1 written  //// <<--- this also shows up always
 Test Files  1 passed (1)
      Tests  2 passed (2)


Cannot discover the ESP32 via BT

Hello to all!
I’m trying to use this really nice project as base for a social project, but I have a problem: on my Android 10 device, flutter_blue is not able to discover the ESP32.
The smartphone is able to discover the ESP32 via BT settings, but not with flutter_blue (the library discovers well other BT devices)
Someone has any suggestions ?
Thanks !!

@lunard That's weird. It seems like the BT function of ESP32 doesn't seem to work properly. Can your ESP32 be seen in other BLE scanner apps? And could you please ask questions in the comments of the video of the project? That way, I can reply faster than here.


Flavor wasn't being recovered into the ADS.

Although flavor data was being recorded in the deploy by Sous, when
rectifaction collected the actual deployment set, the flavor wasn't collected
out of the metadata, meaning that the ADS appeared to only include unflavored
deploys. Rectification therefore got stuck in a permanent create/delete pair,
rather than a single matching unchanged deployment.
One consequence is that sous deploy would never return successful -
because the Sous server was in fact reporting that deploy was ongoing.

  Generated by :no_entry_sign: Danger

Codecov Report

Merging #464 into master will increase coverage by 0.02%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #464      +/-   ##
==========================================
+ Coverage   68.56%   68.58%   +0.02%
==========================================
  Files         164      164
  Lines        9555     9562       +7
==========================================
+ Hits         6551     6558       +7
  Misses       2498     2498
  Partials      506      506

Impacted Files
Coverage Δ

ext/singularity/deployment_builder.go
75.1% <81.81%> (+0.73%)
:arrow_up:

Continue to review full report at Codecov.

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


Fixes to the readthedocs configuration and the documentation

A follow-up to #4 that fixes the readthedocs configuration paths.

This needs to be merged before I can see the effect on readthedocs, so I am going ahead with merging it for now.


Augment Testnet Fabric Networks with Asset Exchange Capabilities

Asset exchange using HTLC is available from Fabric-Fabric now, hence closing.


active_model_serializers format issue?

Perhaps I am misunderstanding the active_model_serializers format, but I have an issue when pulling down belongs to associations.
ex) I have a Post, which has Comments, and each comment belongs to a User.
I don't have any nested objects returned from my api.  When I do
class Post
 include Her::Model
 has_many :comments
 parse_root_in_json true , format: :active_model_serializers
end

class Comment
include Her::Model
belongs_to :user
parse_root_in_json true , format: :active_model_serializers
end

class User
include Her::Model
parse_root_in_json true , format: :active_model_serializers
end

Post.all.each do |p|
  p.comments.each do |c|
    c.user.name
  end
end

it throws undefined method map' for nil:NilClass, on /lib/her/model/attributes.rb:35:in initialize_collection'
From the code it appears it is looking for a collection rather than an object, but in this case we are returning the user object which looks like
{ "user": { "id": 1, "name": "Lindsay Fünke"} }

which is not an array.  The offending line is in http.rb line 71
if parsed_data[:data].is_a?(Array) || active_model_serializers_format?

which tries to pull a collection from the belongs to association, which is obviously not an array.
Am I setting up the api incorrectly?  Thanks

I just bumped into this bug.


do valid codes get saved to a txt document?

do valid codes get saved to a txt document?

I would assume so let me look at the code

Yes it does

It does not

So how do I know when it generated a working code ?
I obviously can't watch the cmd window the whole time or did u implement it now that working codes are getting saved into txt ?
[Would Discord Hook tell me ?]


Separate favorite (pin object) from history window to Favorites window

Now pinning objects feels strange in this window which should be just a history of selections in order. My idea here is to create another window for just favorites, in an easy way than favoriting stuff in Unity project view, and to delegate that from one window to the other.
For example, to have a star in selection history, only for assets, to toggle those assets as favorites or not, and then have the other window with this list of favorites.
Favorites should be persisted between sessions (open/close unity) and depend on each project (two different projects don't share favorites). One idea here is to use an asset auto updated in project, and delegate the user if he wants to ignore in gitignore or not (maybe want to keep favorites between two different computers and or share between people).
In the future, this window could have like profiles or views, and also a way to use tags or something.

First version done, now I have to keep working on improving favorites window.


Add support for Promise's .finally() method.

Using the promise method .finally() will break flow's typing. Here's a silly example:
 31:     let test = new Promise(() => {}).finally(() => console.log('test'))
                                          ^^^^^^^ property `finally`. Property not found in
 31:     let test = new Promise(() => {}).finally(() => console.log('test'))
                    ^^^^^^^^^^^^^^^^^^^^^ Promise

Is there a clean way to use the promise method .finally() (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/finally) and not break Flow's typing?
In core.js I see it's not supported on the Promise object: https://github.com/facebook/flow/blob/master/lib/core.js#L591-L610. Is there a particular reason why?

Does Flow support proposal APIs? You could derive a new class from Promise until it lands in core.js:
declare class PromiseWithFinally<+R> extends Promise<R> {
  finally<U>(onFinally: () => U): Promise<U>;
}

It seems like Promise.prototype.finally is stage 4. I think this means it is a "finished" proposal and should probably be included now.

Not only is it stage 4, it already is available in the standard release of both Firefox and Chrome, and Microsoft's ChakraCore has it in the code already (just merged into master 3 days ago).

Ran into this as well, finally is part of the promise API now, Flow should see it as such

This is now supported in Flow: https://github.com/facebook/flow/blob/master/lib/core.js#L636


nixos/firejail: add wrappedPackages option

Motivation for this change
Using this, not only the wrapped binaries but also all other directories from the derivations are put into /run/current-system/sw. This is useful if you need desktop entries, icons, etc.
My buildCommand is certainly far from perfect because I'm not good at programming bash. I'm open for suggestions.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

cc @peterhoeg @adisbladis

This is a reminder for myself: I should try to do this using symlinkJoin. See e.g. https://www.the-tls.co.uk/articles/public/ridiculously-complicated-algorithms/.

Any updates on this pull request, please?

still important to me

@xfix Feel free to finish this based on my work.
I think we should mention in the docs that desktop files stating an absolute path will start non-wrapped binaries. Maybe we could implement some check & warning for that.

Or how about a wrapper for use by .desktop files which could then be used for firejail, bubblewrap, systemd-run, etc?

Replaced by #108204

Replaced by #108204


Spherical Hankel function

In "mode strength" function :
def spherical_h2(n, z):
with np.errstate(divide='ignore'):
return scyspecial.spherical_jn(n, z) +  1j * scyspecial.spherical_yn(n, z)
Shouldn't it be minus sign ?
return scyspecial.spherical_jn(n, z) -  1j * scyspecial.spherical_yn(n, z)
https://spaudiopy.readthedocs.io/en/latest/_modules/spaudiopy/sph.html#mode_strength

Oh thank you! Yes that is correct! I accidentally implemented the spherical hankel function of the first kind , rather then of the second kind.
In this particular case it shouldn't cause problems, but I will correct and extend this.

Fixed in d53f8e66a3b9121937d8ee92b8156c1d521db877

Oh I see, thanks :)
Chris Hold<EMAIL_ADDRESS>19 Ara 2019 Per, 12:37 tarihinde
şunu yazdı:

Oh thank you! Yes that is correct! I accidentally implemented the spherical
hankel function of the first kind
http://mathworld.wolfram.com/SphericalHankelFunctionoftheFirstKind.html,
rather then of the second kind
http://mathworld.wolfram.com/SphericalHankelFunctionoftheSecondKind.html
.
In this particular case it shouldn't cause problems, but I will correct
and extend this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/chris-hld/spaudiopy/issues/6?email_source=notifications&email_token=AIJO62RUTYGYJCBI6EANH33QZM6E3A5CNFSM4JYGLJP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJANZA#issuecomment-567412452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIJO62T4K2DL6WTJCKJ5VWDQZM6E3ANCNFSM4JYGLJPQ
.


Cannot install 0.18.2 on MacOS 10.15.2

Install fine when using the official python:3.9 docker image, but when installing locally on my mac, I get this error:
$ python -V
Python 3.9.0
$ pip install future==0.18.2
Collecting future==0.18.2
  Downloading future-0.18.2.tar.gz (829 kB)
     |████████████████████████████████| 829 kB 6.5 MB/s
    ERROR: Command errored out with exit status 1:
     command: /tmp/xxx/.venv/bin/python3.9 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/v9/kpfp8zmx1cq6pyqd9j3z_k9h0000gn/T/pip-install-dxpop5re/future/setup.py'"'"'; __file__='"'"'/private/var/folders/v9/kpfp8zmx1cq6pyqd9j3z_k9h0000gn/T/pip-install-dxpop5re/future/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/v9/kpfp8zmx1cq6pyqd9j3z_k9h0000gn/T/pip-pip-egg-info-ogmm5i9r
         cwd: /private/var/folders/v9/kpfp8zmx1cq6pyqd9j3z_k9h0000gn/T/pip-install-dxpop5re/future/
    Complete output (15 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/xxx/.venv/lib/python3.9/site-packages/setuptools/__init__.py", line 3, in <module>
        from fnmatch import fnmatchcase
      File "/tmp/xxx/.venv/lib/python3.9/fnmatch.py", line 14, in <module>
        import re
      File "/tmp/xxx/.venv/lib/python3.9/re.py", line 127, in <module>
        import functools
      File "/tmp/xxx/.venv/lib/python3.9/functools.py", line 18, in <module>
        from collections import namedtuple
      File "/tmp/xxx/.venv/lib/python3.9/collections/__init__.py", line 39, in <module>
        from reprlib import recursive_repr as _recursive_repr
      File "/private/var/folders/v9/kpfp8zmx1cq6pyqd9j3z_k9h0000gn/T/pip-install-dxpop5re/future/src/reprlib/__init__.py", line 7, in <module>
        raise ImportError('This package should not be accessible on Python 3. '
    ImportError: This package should not be accessible on Python 3.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

I realised that the issue was my PYTHONPATH being invalid. Closing this.


🌱 Use buildx to build KCP images

Summary
This changeset includes a few changes to optimize our github action builds to run under 10 minutes. In more details it:

Switches from buildah to buildx, buildah has a really old version that doesn't support caching in Github actions (ubuntu repositories).
Introduces a build matrix, which lets different platforms to run in parallel
Introduces caching for docker build layers
Switches from output variables (deprecated) to environment vars

Signed-off-by: Vince Prignano<EMAIL_ADDRESS>Related issue(s)
Kind of related to #902

/retest


Update lite-regen-meter

Added custom Status Bars to the Plugin to work with the LITE theme pack

Added: Dynamic Orb, Updated ReadME, Updated ICON

This was the Last update, feel free to review, not gonna change anything too soon. =)
Cheers!


Fix namespace folder for Vanilla

🤖 AutoRest automatic publish job 🤖
> will publish once PR gets merged

Deprecated


WIP [18.09 backport] Bump swarmkit to a84c01f

18.09 backports of:

https://github.com/moby/moby/pull/37906 - slightly ahead of https://github.com/docker/engine/pull/60. Full diff: https://github.com/docker/swarmkit/compare/3044c576a8a970d3079492b585054f29e96e27f1...9f271c2963d18a7c60d2c4001fb418ca4037df19

https://github.com/docker/swarmkit/pull/2747 Adding support for swap settings (adds this feature to swarmkit, but is not exposed through the Docker API, so not functional changes)
https://github.com/docker/swarmkit/pull/2752 Switch to go 1.11 (no code changes, other than formatting changes to match go 1.11)

https://github.com/moby/moby/pull/38024 full diff: https://github.com/docker/swarmkit/compare/9f271c2963d18a7c60d2c4001fb418ca4037df19...7d5d33b97794440462a04acdd3f31914da8f66f3

https://github.com/docker/swarmkit/pull/2681 Handle an edge case in CA rotation where we reclaim CA service from an external CA
https://github.com/docker/swarmkit/pull/2750 Use gometalinter; switch from x/net/context -> context

https://github.com/moby/moby/pull/38056 full diff: https://github.com/docker/swarmkit/compare/9f271c2963d18a7c60d2c4001fb418ca4037df19...7d5d33b97794440462a04acdd3f31914da8f66f3

https://github.com/docker/swarmkit/pull/2764 Fix nil pointer dereference in node allocation
https://github.com/docker/swarmkit/pull/2758 Added support for maximum replicas per node
https://github.com/docker/swarmkit/pull/2762 Increased wait time on test utils WaitForCluster and WatchTaskCreate

git checkout -b 18.09_backport_vndr ce-engine/18.09
git cherry-pick -s -S -x 82388d048a7f55fbcca05140bdfd747099b351c1
git cherry-pick -s -S -x 8dedcb8c516b914157d8274d5e94f0b8660cb866
git cherry-pick -s -S -x 93e1c5a5b73b80bee1ffc6b73b45fd304903dcc6
git push -u origin

conflict in vendor.conf in first commit, due to https://github.com/docker/engine/pull/60, which is not upstream

ping @anshulpundir @dperny PTAL

@thaJeztah why are we pulling in all the changes in 18.09 bump ? Shouldnt we target the patches based on severity given 18.09 is in Beta phase ?

@mavenugo let me defer that to @anshulpundir @dperny there's no 18.09 branch yet for swarmkit, looking at the changes;

https://github.com/docker/swarmkit/pull/2681 would have to be triaged, but may actually be desirable for enterprise customers
https://github.com/docker/swarmkit/pull/2750 is not critical, but will minimise risk on conflicts on future backports (no risk involved: effectively removing an alias/wrapper for an obsolete package)
https://github.com/docker/swarmkit/pull/2752 is only whitespace changes, no risk involved, but will minimise risk on conflicts on future backports
https://github.com/docker/swarmkit/pull/2762 doesn't affect vendored code
https://github.com/docker/swarmkit/pull/2758 may need double-checking, but isn't exposed through the docker API, therefore won't affect swarmkit functionality

https://github.com/docker/engine/pull/89#issuecomment-431042390 looks good. I agree with @thaJeztah

was told by @anshulpundir that https://github.com/docker/swarmkit/pull/2768 is in works that could reduce the changeset to pull into the engine 18.09 codeline

Closing in favor of https://github.com/docker/engine/pull/94


CI always return 0 score from lighthouse bot

Description
TravisCI always returning 0 score on every category from lighthouse bot when auditing.
Resources

PR: https://github.com/rayriffy/rayriffy-blog/pull/638
TravisCI log: Link

Whoops I just figured out that the domain is unresolvable. Sorry for interrupt (*_ _)人


How to build it ?

Hello, I liked the app. I've downloaded and I'm able to run it locally with the commands on README. I would like to know how to build this in two ways: 1. Integrate with https://monaca.io/ 2. Build by cordova.
Thanks in advance if you can help me.

Hi!
Thanks for checking it out :+1:
If you have NodeJS installed you can do:
npm install
npm start

to run it.
I will change the project to be compatible with the Monaca CLI later.

Thanks, @argelius ! I have created another cordova project and I've copied the content of dist and everything was fine. I could generate a build. :)


Carthage ？

Expect.

I will Support Carthage later. I hope you could help me to support it by post a merge request. ^_^ @pangpingfei


How to tell whether the tooltip is open in the code.

Hi @bsidelinger912. I sent pr for the code. Can you help me see if it's turned on without interfering with the ToolTip's operation. I don't want to use "isOpen". I think we can do this in a simpler way.
https://github.com/bsidelinger912/react-tooltip-lite/pull/55

I would vote for having the content prop accept a function, ie:
<Tooltip content={({ close, isOpen }) => (...)}>
  ...
</Tooltip>

Hey guys, I've been away for a couple weeks on my honeymoon and am just getting back to this stuff.  I'll be thinking more about this this weekend, thanks for your patience.

Pr is merged and released.


Using MockDate with TypeORM breaks typeORM

I use MockDate for testing of my routes. However, when I set a MockDate, the TypeORM library breaks and is not automatically parsing dates to date Objects anymore:
My test code without mockdate:
    const obj = new DBObject("name", new Date("2020-06-23T10:00Z"));
    await obj.save();
    await obj.reload();
    console.log(obj); // DBObject { name: 'name', publishDate: 2020-06-23T10:00:00.000Z, id: 1 }

If I set the MockDate, TypeORM is not able to parse the datefields from the database properly:
    mockDate.set(new Date());
    const obj = new DBObject("name", new Date("2020-06-23T10:00Z"));
    await obj.save();
    await obj.reload();
    console.log(obj); // DBObject { name: 'name', publishDate:<PHONE_NUMBER>000, id: 1 }

So the MockDate implementation is not behaving like the Javascript Date object is ans I expect there is a bug in the MockDate implementation. Any idea what the reason could be?
For reference, this is my Object class using TypeORM.
import { Entity, PrimaryGeneratedColumn, Column, BaseEntity } from "typeorm";

@Entity()
export default class DBObject extends BaseEntity {
  @PrimaryGeneratedColumn()
  id!: number;

  @Column()
  name: string;

  @Column()
  publishDate: Date;

  constructor(name: string, publishDate: Date) {
    super();
    this.name = name;
    this.publishDate = publishDate;
  }
}

@yorickdevries Sorry I didn't see this sooner. Did you ever figure this out?

No

If you can provide a simple repo that reproduces this error, I'd be happy to look into it. I know nothing about typeorm, so off my head it's not clear to me what could be going wrong here. Closing for now.


Widgets don't invalidate VizJSON cache

Context
When a Widget is created/updated/destroyed, the VizJSON is not invalidated. This results in widgets added (or removed) to disappear (or reappear) after refresh.
Steps to Reproduce

Create a widget on a map
Publish map
Refresh

Current Result
The widget disappears.
Expected result
The widget is preserved.
cc/ @CartoDB/builder-backend
@juanignaciosl Please review this on Monday to decide if it should go in the board.

Same as https://github.com/CartoDB/cartodb/issues/11082 but for widgets

P.S: would be nice to write tests + smokes about this

This is critical

Changing the style working correctly as well

Fixed with #11092.


Wildcard support in FIO?

Expected behavior and actual behavior.
I tried executing the following one-liner using to merge vector files as shown on the Fiona-Rasterio-Shapely Cheat Sheet. I expected this to merge all my shapfiles in the working directory into a single shapefile.
fio cat *.shp | fio load --format Shapefile merged.shp
Instead, I got:
(geo) >fio cat *.shp
ERROR:fio:Exception caught during processing
Traceback (most recent call last):
  File "...\AppData\Local\Continuum\anaconda3\envs\geo\lib\site-packages\fiona\fio\cat.py", line 71, in cat
    with fiona.open(path, layer=lyr) as src:
  File "...\AppData\Local\Continuum\anaconda3\envs\geo\lib\site-packages\fiona\__init__.py", line 162, in open
    raise IOError("no such file or directory: %r" % path)
OSError: no such file or directory: '*.shp'
Aborted!

I tried with variations on *.shp including ./*.shp and .\*.shp and received the same error.
Steps to reproduce the problem.
Try executing the cheat sheet command with one or more shapefiles in the working directory.
Operating system
Microsoft Windows 10 Pro v.10.0.16299
Fiona and GDAL version and provenance
Fiona 1.7.9 Build py36_1 installed using conda from conda-forge channel
gdal 2.1.3 Build py36_vc14_7 installed using conda from conda-forge channel

@d-diaz fio cat *.shp will only work with a posix-compliant shell. fio-cat requires the shell to do the expansion into an array of filenames. My understanding is that the standard Windows shell doesn't support globbing. I should make it this more clear in my cheat sheet.


render behaviour varies with window focus

Brief Description
lit-html appears to behave differently with and without the Chrome devconsole open and in the foreground/background.
See https://ibb.co/4M75sPQ for an animated gif of the problem.
Long Description
My app has a hide/reveal icon bar triggered by a scrollEvent. With the devconsole loaded in the foreground window, the icon bar is correctly hidden/revealed. By bringing the app window to the foreground, the hide/reveal no longer works, even though in the JS console, I can see the same events firing, the same Redux state update and the same render() method being called. What I do see differently, is that when the effect is working, I see an exception being thrown in lit-html. When the effect is not working, I see no exception.
lit-element is at v2.1.0, lit-element 1.0.0

I've updated to l-e 2.2.1, l-h 1.1.1 and the problem seems to have been resolved.

On further testing, it seems that it isn't devconsole that is the influencing factor, it is the fact that my app is in a background window.
So, to restate the issue, if my app is running in a foreground window, the effect does not display. If I overlay any other window, thus removing focus from my app window, the effect works. Nothing in my app attempts to detect foreground/background windows, and to repeat, the scrollEvent through to the lit-element render, is identical for both the good and bad test case.

We would need more information to follow up on this. Please open a new issue if this is still a problem.


Primary indexes specific error messages

Would it be possible to enhance the error messages to provide more detailed information about the failing fields during operations? Presently, the error response is limited to:
{
  "error": {
    "ok": false
  }
}

While this is ok for operations with only a few potential failure points, it becomes challenging to pinpoint errors within larger DTOs.

I'm not sure if this is a limitation specific to Deno KV, but it would be great if it could be improved if possible.

This is a good point, thanks for raising it. As for right now, I don't see any easy way of implementing more nuanced error messages without making significant sacrifices to performance. The reason is that checking for collisions on unique indices relies on the kv.atomic().check() operation. For multiple indices, there will be multiple check() operations combined together with the set() operation. The result when committing the operation is simply the commit error object { "ok": false } or a commit result with the signature { ok: true, versionstamp: string }. Because KV gives no feedback on which check operation that fails, it doesn't seem possible to me as of now to forward this error response with any more nuance sadly.

Closing this for now as there is no indication that this will change.


Update programmatically-create-subscription-enterprise-agreement.md

new-azsubscriptionalias docs link is pointing outdated article. Link modification request --> (/powershell/module/az.subscription/get-azsubscriptionalias)

@balagev : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@balagev Thanks very much for this.
#sign-off


Rename env var WEBHOOK_SIGNATURE_KEY to IOKI_WEBHOOK_SIGNATURE_KEY

Not an issue anymore, as the users provide the signature key themselves now.


pls release the version with essential client compatibility

Yup working on it

https://github.com/Super-Santa/EssentialAddons/releases/tag/1.1.0


Add demo based on 3rd party supercluster library

We added the library in the resources as we didn't found it on a CDN or the official github repository.
We named the sample 'supercluster.html' and used the associated 'supercluster.js'.
The particularity of this example is the use of web workers with 'supercluster-worker.js'.
We added the GeoJSON version of the KML earthquakes data as 'supercluster' needs GeoJSON for input.
We may need to correct eslint comment '// eslint-disable-next-line' as it was
the fastest way to make eslint happy with importScripts and supercluster
declarations in the worker file.
Related to #5742 discussion.

Do you need a rebase before reviewing?

No, not necessarilly. Makes things easier most of the time, though. Also the commit history is then more cleaned up.
I will have look tomorrow, whether this is rebased or not.

I have had a look at the example. Thanks for it.
Right now I don't want to merge it, because I want an external resource (URL) of supercluster, and not included in the resource/ directory.
If at one point an online URL exists, I would also want a bigger dataset that gets clustered, if possible.
Thanks any how. This PR can be left open, so you can update it when things change.

Ongoing PR on supercluster repo to publish library to a CDN. Will update PR when done

If at one point an online URL exists, I would also want a bigger dataset that gets clustered, if possible.

Didn't find one at the moment. Except this, all requirements for PR review & merge OK IMO.

If at one point an online URL exists, I would also want a bigger dataset that gets clustered, if possible.

Except this, ready for review & merge IMO

Please reopen if this can be completed before the 4.6 release.


[doc] 'stop_sequence' must increase strictly

Following some precision from the GTFS reference.

The values must increase along the trip but do not need to be consecutive.

Version v0.11.6 released with this new documentation detail.


Allow comparing via overloaded equality operator

Hello,
I have some struct-wrapping-integer acting as ID. I have overloaded equality operators between my object and integer, and implicit casts between my struct as integer.
I've seen in code that for struct, implicit casts are ignored, and there is no overloaded equality operator usage support, even if Expression.Equal works with it (https://docs.microsoft.com/en-us/dotnet/api/system.linq.expressions.expression.equal?view=netframework-4.8).
Would it be possible to implement such a support?

I also propose PR with solution.