Country names are only translated into German and English

Used Shopware Version: <IP_ADDRESS>
Description:
We noticed that country names are only translated into German and English.
This became clear after we installed a third-party plugin (country of delivery selection).
If you select a language other than English or German, nothing can be seen in the country of delivery selection.
Previous analyses / points checked:
Looked under Settings --> Countries and noticed that the respective countries have no translation.
Environment:
<IP_ADDRESS> until <IP_ADDRESS>
Expected result:
Afghanistan, for example, is also translated into French
Actual result:
Countrys only getting translated in German and English

[public] Shopware automated response: This issue is linked to the internal issue: LAN-152
[created from LAN-152, comment 514132]


Add link to PSA specification

Link will be updated after PSA 1.1 release.

@jafingerhut I will update the link to point to the "frozen" PSA 1.1 spec when it is released

Sounds good.  We have not received any comments on the "release candidate" of PSA v1.1 yet, so are still on track to release it 2018-Nov-21.


File encoding issues causing corruption to unicode characters

Description
This issue has been a thorn in my side for far too long. Let's dive into a little story:
Picture this: You're knee-deep in code, making a ton of changes that you haven't staged yet. You're on a roll, but then, out of nowhere, your text editor decides to save the file with a different encoding. Just as you're about to showcase your brilliant work to the world, you review the git diff and see a mess of random changes that have nothing to do with your actual edits. That's when you realize your text editor has messed up the encoding, and you end up yelling at your screen: "Nooooooooooooo... fml."
Here's the deal: Text editors like Visual Studio or Visual Studio Code try to guess the file encoding when opening files. But guessing isn't foolproof. Some libraries do a better job than others, but not all editors use the same libraries. For instance, Visual Studio Code relies on the jschardet library.
When your text editor fails to guess the encoding correctly, saving the file can corrupt the bytes of the text. This is especially problematic for languages with unique characters, like Korean or Chinese comments, because they get interpreted incorrectly.
In our project, we use the autoGuessEncoding feature: https://github.com/ko4life-net/ko/blob/2.4.0/.vscode/settings.json#L2. But not everyone uses the same editor or system locale, so their editors might behave differently on different machines.
This has become a significant hassle. Many pull requests end up broken due to incorrect encoding because the author didn't double-check their changes before pushing. Plus, it would be great to see the special characters text, even if they're in a different language, since we can always translate them.
Let's put an end to this encoding nightmare and ensure our code shines as it should!
Screenshots

Files
Example of broken commit: https://github.com/ko4life-net/ko/pull/161/commits/cafb59bd0c18805d9fbc427c24c633836b011ded
To Reproduce
Open a file containing Korean characters with different encoding, such as ASCII and try saving it. You'll see the characters are now corrupted.
Tasks
To fix this, we can transcode text based files with a more portable and universal encoding such as UTF-8 and UTF-16, depending on the way the files are expected to be.

[x] Transcode Microsoft resource files to UTF-16-LE
[x] Transcode all text based files to UTF-8
[x] Convert all Windows CRLF line feeds to Unix LF
[x] Implement a script that does all of this in automated fashion to make it less prone to human error

Giving my RSCtable pull request as an example made me proud of myself. Thank you :)

Merged.


Update batch's client for the QueryBatch during failover

The IteratorTask iterates through the URIs and creates QueryBatches and add it to the threadpool queue. When we have a connection exception, the failed batch needs to be retried with the help of RetryListener. For the remaining batches that are queued, we need to update the the current client in the QueryBatch with an appropriate client. Else, it would connect, fail and retry. We want to avoid the failure part.
In cleanupExistingTasks() of QueryBatcherImpl, we drain the list of tasks in the queue and iterate through it and add them back. We need to make 'processBatch' of IteratorTask class in QueryBatcherImpl, a thread class instead of an anonymous Runnable and we should see if the task is an instance of 'ProcessBatch' and update the client accordingly if the batch has a client for the host which is not reachable.
Something similar to what we do in retryListener of QueryBatcherImpl.

Alternatively, we could refactor with late binding between query batches and clients


First version with the logo for the extension

First version with the logo for the extension.

Added the new logo at the bottom of the README.md

Added the new logo file as a JPG and PNG

Added and deleted previous versions of the logo

Thanks. I'll merge it right away.


Consider forking all github dependencies in requirements.txt

This may be unnecessary, but it may be "the right way to do it"

Is there a particular reason you're inclined to fork them rather than just specify a version?

i dunno. I guess people could pull their stuff down suddenly. I'm sure it's not a serious thing to worry about.


Add support for OCI Image signing (spec v1.0)

Summary

This PR helps to implement OCI Image Signing due to https://github.com/sigstore/sigstore-rs/issues/125.
But please notice that this PR only uses the OCI Spec v1.0 (instead of v1.1, which brings referrer mechinism)
Release Note

Added push related functions for ClientCapabilities and related impls
Fixed a bug when converting sigstore::ClientConfig into oci_distribution::ClientConfig
Fixed a bug when parsing a private key file RSA was not considered.
Added some Debug, ToString, Eq, PartialEq macros and functions to enums and structs of crypto mod.
Refactored SimpleSigning as a sub module for payloads
Added OCI Image signing support together with some unit tests and examples.
Changed signature field of SignatureLayer into an Option, which helps when we meet a SignatureLayer that is to be signed.
Added a switch of http/https when access a registry for examples/cosign/verify

Documentation

Please see the examples/cosign/sign/README.md for the guide of OCI Image Signing.

The Clippy CI error is not caused by this PR. It can be fixed in another PR.

awesome, will take a look early next week @Xynnn007 !

What's the reasoning behind 1.0 support over 1.1?

The reason may be three I think:

It is still in rc stage.
I did not find related spec in sigstore/cosign to apply cosign signing to v1.1 registry
upstream oci-distribution is not ready for referrers api of v1.1 spec

For first: https://github.com/sigstore/sigstore-rs/issues/125#issuecomment-1263439298.
I've read some of the specs in opencontainers/images and opencontainers/distribution-spec. I think that v1.1 spec is still in rc stage, as https://github.com/opencontainers/image-spec/releases shows.
For second, I checked code and spec in sigstore/cosign roughly, and did not find the guide that defines how we store signatures in an oci registry v1.1. If any please tell me the link please. If not, I think we should make a new spec to apply the in-coming registry if v1.1 spec with referrer API. And I'd like to join the discussion of the spec :-)
For third, https://github.com/krustlet/oci-distribution still needs to be developed.

makes sense.
@imjasonh is a good source for OCI specs

makes sense.
@imjasonh is a good source for OCI specs

Thanks for introducing!

For second, I checked code and spec in sigstore/cosign roughly, and did not find the guide that defines how we store signatures in an oci registry v1.1. If any please tell me the link please. If not, I think we should make a new spec to apply the in-coming registry if v1.1 spec with referrer API. And I'd like to join the discussion of the spec :-)

Got it here https://github.com/sigstore/cosign/issues/1397. But as @imjasonh mentioned, the work for golang version is going on upsteam https://github.com/google/go-containerregistry/pull/1455. Maybe the work on the rust side should also start. Let me propose an issue first ;-).
FYI https://github.com/krustlet/oci-distribution/issues/51

BTW, this pr includes a new feature "test-registry", which is not triggered by CI now. Do we need to need to add a switch for this feature, or directly enable it in GitHub CI?

BTW, this pr includes a new feature "test-registry", which is not triggered by CI now. Do we need to need to add a switch for this feature, or directly enable it in GitHub CI?

I would be fine making the test-trigger a default feature, like we're doing with oci-distribution
This would ensure these tests are run also inside of GitHub's CI

Agreed, and have fixed it

Another significant problem I meet:
Given that upstream oci_distribution has not support OCI Image Configuration, I use an empty json here to fill the Configuration. https://github.com/sigstore/sigstore-rs/pull/158/files#diff-3974fb3df6df5c9e9da01fb27e58de8f8681f4c14898cf0d4dfe2e08e638f9d0R34
I have tried with test registry, but no error had occurred. I wonder whether it is ok now?
And we surely need to fix it then, though.
cc @imjasonh

This looks good to me, but I am not able to test this as registries typically need auth
Do we need to code in auth mechanisms in this or a follow up patch?
docker login
Authenticating with existing credentials...
Login Succeeded

Image signing failed: Cannot fetch manifest of docker.io/lukehinds/cosign-test:latest: Not authorized: url http://registry-1.docker.io/v2/lukehinds/cosign-test/manifests/latest

Do we need to code in auth mechanisms in this or a follow up patch?

I think I can add a BasicAuth parameter for the example, the cmd will be like
docker login
Authenticating with existing credentials...
 Does this look good?
For upstream oci_distribution does not support identity token now, we cannot automatically use identity token in ~/.docker/config.json. We can promote it in the future, when the upstream supports identity token.

Hi @lukehinds I've added some code to retrieve credential to access a registry, which will help the command that you'd tried. Still, is it proper to include in this PR? If not, I can split it into another.


Filtering stop words irrelevant to raw count

If you were to give a density ratio filtering stopwords would be relevant.  However, for a raw count this devotes about half the work to something that has no effect on the calculation.
E.g. drop these lines:
stop_words = frozenset(requests.get('https://raw.githubusercontent.com/stanfordnlp/CoreNLP/master/data/edu/stanford/nlp/patterns/surface/stopwords.txt').content.split())
...
    finalWords = [w for w in words if w not in stop_words] #remove stop words

good point - I was working on something where I was originally processing the count dictionary, but then decided screw it I didn't need to be so fancy. So I didn't remove this part.


JavaScript heap out of memory

Hi, I have a monorepo, or more accurately my employer has a monorepo.  I'm trying to get things under control with linting.  I have 3 main projects and couple of smaller ones.  I have the .eslintrc in the root of the repo.  In the output terminal of vscode I keep having the eslint server crash with this error
FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
I have set the node max_old_space_size to 16 gig ( on a 32 gig machine ).
I get an error from vscode eslint server has crashed 5 times in the last 3 minutes. This happens 3 or 4 times over about 10 minutes then the eslint server doesn't start back up.  Any help would be greatly appreciated.
this is what my eslintrc looks like.
{
  "env": {
    "browser": true,
    "es2021": true
  },
  "settings": {
    "import/resolver": {
      "node": {
        "extensions": [".js", ".jsx", ".ts", ".tsx"]
      }
    }
  },
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "prettier",
    "airbnb",
    "airbnb-typescript",
    "airbnb/hooks"
  ],
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module",
    "project": "./tsconfig.base.json"
  },
  "plugins": ["@typescript-eslint", "prettier"],
  "rules": {
    "react/function-component-definition": "off",
    "no-use-before-define": "off",
    "import/prefer-default-export": "off",
    "import/order": "off",
    "import/extensions": "off",
    "arrow-parens": "off",
    "operator-linebreak": "off",
    "no-nested-ternary": "warn",
    "no-confusing-arrow": "off",
    "no-unused-vars": "off",
    "@typescript-eslint/no-unused-vars": "error",
    "implicit-arrow-linebreak": "off",
    "@typescript-eslint/no-use-before-define": "off"
  }
}

I

The server crashed due to out of memory. How do you set the max_old_space_size?

I have set the node max_old_space_size to 16 gig ( on a 32 gig machine ).
But that's in my terminal, not part of vscode.  I don't know if there is a way to set it for vscode-eslint specifically.

Yes, there is. See eslint.runtime.execArgv in the readme.
I will close the issue. Please ping if things still don't work for you.

@dbaeumer Hi, so I added eslint.runtime.execArgv to the settings.json "eslint.runtime.execArgv": "16000" and the server still crashed after 2 or 3 minutes this is the error
<--- Last few GCs --->

[111398:0x1cc002dc000]    37465 ms: Scavenge (reduce) 3922.3 (4046.7) -> 3922.0 (4046.7) MB, 3.1 / 0.0 ms  (average mu = 0.711, current mu = 0.486) allocation failure;
[111398:0x1cc002dc000]    37471 ms: Scavenge (reduce) 3922.6 (4046.7) -> 3922.3 (4046.7) MB, 2.6 / 0.0 ms  (average mu = 0.711, current mu = 0.486) allocation failure;
[111398:0x1cc002dc000]    37479 ms: Scavenge (reduce) 3922.9 (4046.7) -> 3922.6 (4046.7) MB, 4.0 / 0.0 ms  (average mu = 0.711, current mu = 0.486) allocation failure;

<--- JS stacktrace --->

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory

The setting values is not correct. These are execArgvs for the started Node process not a specific value for increasing the heap. A correct setting to increase the heap is "eslint.runtime.execArgv": ["--max_old_space_size=4096"]

You should have received an error message in the settings editor that the value you specified is not correct.

@dbaeumer
Hi, still struggling here.  Let me give you all the info I have.

vscode version 1.73.1
vscode eslint plugin version v2.2.6
os ubuntu 22.04.1
I receive this error popup from vscode whenever the eslint engine starts The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
the output shows

<--- Last few GCs --->

[7161:0x23d8002dc000]  4215574 ms: Mark-sweep (reduce) 3921.8 (4042.2) -> 3920.7 (4041.5) MB, 661.8 / 0.0 ms  (average mu = 0.975, current mu = 0.637) last resort; GC in old space requested
[7161:0x23d8002dc000]  4217769 ms: Mark-sweep (reduce) 3920.7 (4041.5) -> 3920.4 (4041.0) MB, 2194.8 / 0.0 ms  (average mu = 0.876, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[Info  - 9:10:09 AM] Connection to server got closed. Server will restart.
[Info  - 9:10:09 AM] ESLint server stopped.
[Info  - 9:10:09 AM] ESLint server is starting
[Info  - 9:10:09 AM] ESLint server running in node v16.14.2
[Info  - 9:10:09 AM] ESLint server is running.
[Info  - 9:10:10 AM] ESLint library loaded from<EMAIL_ADDRESS>
<--- Last few GCs --->

[32707:0x3f78002dc000]    27209 ms: Mark-sweep (reduce) 3921.4 (4042.1) -> 3920.0 (4041.6) MB, 656.6 / 0.0 ms  (+ 0.0 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 664 ms) (average mu = 0.846, current mu = 0.69[32707:0x3f78002dc000]    28793 ms: Mark-sweep (reduce) 3920.0 (4041.6) -> 3919.7 (4040.3) MB, 1584.5 / 0.0 ms  (average mu = 0.564, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[Info  - 9:10:38 AM] Connection to server got closed. Server will restart.
[Info  - 9:10:38 AM] ESLint server stopped.
[Info  - 9:10:38 AM] ESLint server is starting
[Info  - 9:10:38 AM] ESLint server running in node v16.14.2
[Info  - 9:10:38 AM] ESLint server is running.
[Info  - 9:10:38 AM] ESLint library loaded from<EMAIL_ADDRESS>
<--- Last few GCs --->

[32768:0x30f8002dc000]    27235 ms: Mark-sweep (reduce) 3921.4 (4041.8) -> 3920.2 (4041.6) MB, 658.8 / 0.0 ms  (average mu = 0.822, current mu = 0.631) last resort; GC in old space requested
[32768:0x30f8002dc000]    28213 ms: Mark-sweep (reduce) 3920.2 (4041.6) -> 3919.9 (4040.6) MB, 977.7 / 0.0 ms  (average mu = 0.615, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[Info  - 9:11:07 AM] Connection to server got closed. Server will restart.
[Info  - 9:11:07 AM] ESLint server stopped.
[Info  - 9:11:07 AM] ESLint server is starting
[Info  - 9:11:07 AM] ESLint server running in node v16.14.2
[Info  - 9:11:07 AM] ESLint server is running.
[Info  - 9:11:07 AM] ESLint library loaded from<EMAIL_ADDRESS>
<--- Last few GCs --->

[32820:0x470002dc000]    29156 ms: Mark-sweep (reduce) 3921.3 (4041.6) -> 3920.1 (4040.6) MB, 655.5 / 0.0 ms  (average mu = 0.838, current mu = 0.648) last resort; GC in old space requested
[32820:0x470002dc000]    30129 ms: Mark-sweep (reduce) 3920.1 (4040.6) -> 3919.8 (4040.3) MB, 973.0 / 0.0 ms  (average mu = 0.642, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[Info  - 9:11:37 AM] Connection to server got closed. Server will restart.
[Info  - 9:11:37 AM] ESLint server stopped.
[Info  - 9:11:37 AM] ESLint server is starting
[Info  - 9:11:37 AM] ESLint server running in node v16.14.2
[Info  - 9:11:37 AM] ESLint server is running.
[Info  - 9:11:37 AM] ESLint library loaded from<EMAIL_ADDRESS>
<--- Last few GCs --->

[32907:0x7cc002dc000]    27163 ms: Mark-sweep (reduce) 3921.7 (4042.6) -> 3920.4 (4042.1) MB, 659.1 / 0.0 ms  (average mu = 0.844, current mu = 0.639) last resort; GC in old space requested
[32907:0x7cc002dc000]    28748 ms: Mark-sweep (reduce) 3920.4 (4042.1) -> 3920.1 (4040.8) MB, 1585.1 / 0.0 ms  (average mu = 0.553, current mu = 0.000) last resort; GC in old space requested

<--- JS stacktrace --->

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
[Error - 9:12:06 AM] The ESLint server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Info  - 9:12:06 AM] ESLint server stopped.

vscode settings

{
	"editor.formatOnSave": true,
	"editor.defaultFormatter": "esbenp.prettier-vscode",
	"[markdown]": {
		"editor.formatOnSave": false,
		"editor.wordWrap": "wordWrapColumn"
	},
	"prettier.proseWrap": "never",
	"eslint.validate": [
		"javascript",
		"javascriptreact",
		"typescript",
		"typescriptreact"
	],
	"editor.codeActionsOnSave": {
		"source.fixAll.eslint": true
	},
	"eslint.alwaysShowStatus": true,
	"files.associations": {
		"*.ejs": "templatefile"
	},
        ************** for emphasis since bold doesn't seem to work inside triple tics *************
	"eslint.execArgv": ["--max_old_space_size=16384"],
        ************** for emphasis since bold doesn't seem to work inside triple tics *************
	"files.exclude": {
		"**/.DS_Store": true,
		"**/.git": true,
		"**/.hg": true,
		"**/.history/**": true,
		"**/.svn": true,
		"**/CVS": true,
		"**/tmp": true
	},
	"files.watcherExclude": {
		"**/.git/objects/**": true,
		"**/.git/subtree-cache/**": true,
		"**/.history/**": true,
		"**/bower_components/**": true,
		"**/build/**": true,
		"**/dist/**": true,
		"**/lang/**": true,
		"**/node_modules/**": true,
		"**/tmp/**": true
	},
	"psi-header.config": {},
	"psi-header.changes-tracking": {
		"isActive": true,
		"modAuthor": "Modified By: ",
		"modDate": "Last Modified: ",
		"modDateFormat": "date",
		"include": ["javascript"],
		"exclude": ["markdown", "json"],
		"autoHeader": "manualSave"
	},
	"psi-header.templates": [
		{
			"language": "*",
			"template": [
				"File: <<filerelativepath>>",
				"Project: <<projectname>>",
				"Created Date: <<filecreated('YYYY-MM-DD')>>",
				"Author: <<author>>",
				""
			]
		}
	],
	"tsimporter.doubleQuotes": true,
	"tsimporter.preferRelative": true,
	"cSpell.allowCompoundWords": true,

	"cSpell.ignorePaths": [
		"**/node_modules/**",
		"**/vscode-extension/**",
		"**/.git/**",
		".vscode",
		"project.pbxproj",
		"typings",
		".gitignore"
	],
	"cSpell.includeRegExpList": ["string", "CStyleComment"],
	"markdownlint.config": {
		"header-style": {
			"style": "atx"
		},
		"no-emphasis-as-header": false,
		"no-hard-tabs": false,
		"no-inline-html": false,
		"ul-indent": {
			"indent": 1
		},
		"MD013": false,
		"MD024": false
	},
	"java.configuration.updateBuildConfiguration": "automatic",
	"javascript.preferences.importModuleSpecifier": "relative",
	"javascript.preferences.quoteStyle": "single",
	"typescript.preferences.importModuleSpecifier": "relative",
	"typescript.preferences.quoteStyle": "single",
	"typescript.tsk": "node_modules\\typescript\\lib",
	"tslint.jsEnable": false,
	"prettier.useTabs": true,
	"workbench.editor.highlightModifiedTabs": true,
	"workbench.editor.enablePreview": false,
	"vscode_custom_css.imports": ["file:///home/raif/.vscode/custom.css"],
	"vscode_custom_css.policy": true,
	"workbench.tree.indent": 20,
	"clipboard.size": 50,
	"files.autoSave": "onWindowChange",
	"workbench.editor.enablePreviewFromQuickOpen": false,
	"workbench.colorCustomizations": {
		"editor.selectionHighlightBackground": "#72294b",
		"editor.selectionBackground": "#6d0a38",
		"editor.findMatchHighlightBackground": "#72294b",
		"editor.findMatchBackground": "#6d0a38",
		"editorWhitespace.foreground": "#e2dede3d"
	},
	"editor.suggestSelection": "first",
	"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
	"workbench.settings.openDefaultKeybindings": true,
	"editor.tokenColorCustomizations": {
		"numbers": "#0044ff"
	},
	"search.exclude": {
		"**.chunk.**": true,
		"**/.history/**": true,
		"**/build/**": true,
		"**/dist/**": true,
		"**/node_modules": true,
		"**/public/**": true,
		"**/test-report.xml": true
	},
	"workbench.list.horizontalScrolling": true,
	"jest.autoRun": "onSave",
	"workbench.colorTheme": "Juicy Contrast (rainglow)",
	"javascript.updateImportsOnFileMove.enabled": "always",
	"editor.renderWhitespace": "all",
	"typescript.disableAutomaticTypeAcquisition": false,
	"vssolution.showMode": "explorer",
	"grunt.autoDetect": "on",
	"vssolution.altSolutionFolders": ["src/Solutions/MethodFitness"],
	"typescript.updateImportsOnFileMove.enabled": "always",
	"prettier.configPath": ".prettierrc",
	"editor.insertSpaces": false,
	"editor.detectIndentation": false,
	"sync.autoUpload": true,
	"settingsSync.ignoredExtensions": [],
	"sync.gist": "4aca960693be35e3232d55e78395ad71",
	"sync.autoDownload": true,
	"sync.forceUpload": true,
	"search.useIgnoreFiles": false,
	"terminal.integrated.defaultProfile.linux": "zsh",
	"editor.tabSize": 2,
	"importSorter.importStringConfiguration.tabSize": 2,
	"jest.rootPath": "eng-backend-platform/app/source",
	"projectTemplates.templatesDirectory": "/home/rharik/Development/linus/template",
	"explorer.confirmDelete": false,
	"tsimporter.filesToExclude": [],
	"eslint.packageManager": "yarn",
	"tsimporter.tsconfigName": "eng-frontend-research-app/.tsconfig",
	"cSpell.enableFiletypes": ["Makefile"],
	"importSorter.importStringConfiguration.trailingComma": "multiLine",
	"folderTemplates.structures": [
		{
			"name": "Business Logic Tempate",
			"structure": [
				{
					"fileName": "<FTName>.ts",
					"template": "BLFileTemplate"
				},
				{
					"fileName": "<FTName>.test.ts",
					"template": "BLTestFileTemplate"
				},
				{
					"fileName": "<FTName>.fixtures.ts",
					"template": "BLFixturesTemplate"
				},
				{
					"fileName": "index.ts",
					"template": "BLIndexTemplate"
				}
			]
		}
	],
	"folderTemplates.fileTemplates": {
		"BLFileTemplate": [
			"export type <FTName | capitalize> = {}",
			"",
			"export const <FTName> = ():<FTName | capitalize>  => {}"
		],
		"BLTestFileTemplate": [
			"import { expect, jest, test } from '@jest/globals';",
			"import { <FTName> as mut } from './<FTName>';",
			"",
			"describe('<FTName|constantcase>', () => {",
			"  beforeEach(() => {",
			"    jest.clearAllMocks();",
			"  });",
			"  describe('when calling mut', () => {",
			"    it('should do something', async () => {",
			"      expect(await mut()).toBeNull();",
			"    });",
			"  });",
			"});"
		],
		"BLFixturesTemplate": [
			"export type <FTName | capitalize>Fixtures = {",
			"  <FTName>1: <FTName | capitalize>;",
			"};",
			"",
			"export const <FTName>Fixtures = (): <FTName | capitalize>Fixtures => {",
			"  return {",
			"    <FTName>1: {}",
			"  };",
			"};"
		],
		"BLIndexTemplate": [
			"export { <FTName>, <FTName | capitalize> } from './<FTName>';"
		]
	},
        ************** for emphasis since bold doesn't seem to work inside triple tics *************
	"eslint.runtime.execArgv": ["--max_old_space_size=16384"]
        ************** for emphasis since bold doesn't seem to work inside triple tics *************
}

eslintrc

{
  "env": {
    "browser": true,
    "es2021": true
  },
  "settings": {
    "import/resolver": {
      "node": {
        "extensions": [".js", ".jsx", ".ts", ".tsx"]
      }
    }
  },
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "prettier",
    "airbnb",
    "airbnb-typescript",
    "airbnb/hooks"
  ],
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": "latest",
    "sourceType": "module",
    "project": "./tsconfig.json"
  },
  "plugins": ["@typescript-eslint", "prettier"],
  "rules": {
    "react/function-component-definition": "off",
    "no-use-before-define": "off",
    "import/prefer-default-export": "off",
    "import/order": "off",
    "react/jsx-filename-extension": [1, { "extensions": [".tsx", ".ts"] }],
    "import/extensions": "off",
    "arrow-parens": "off",
    "operator-linebreak": "off",
    "no-nested-ternary": "warn",
    "no-confusing-arrow": "off",
    "no-unused-vars": "off",
    "@typescript-eslint/no-unused-vars": "error",
    "implicit-arrow-linebreak": "off",
    "@typescript-eslint/no-use-before-define": "off"
  }
}

eslintignore

node_modules
dist
setupTests.ts
.parcel-cache
build

this is a mono repo and the .eslintrc and .eslintignore are in the root of the repo.  eslint is installed in the root of the repo.  There are 3 projects in the repo and none of them are really that big.
lastly we are using pnpm which has caused me grief in a number of places so it would not surprise me if it played a part in this too.  But I don't have authority to change that right now.

Please let me know what you think, or if there is anything else I can include.
Thanks,
Raif

Ok, I think I have some relevant info.

the project has a ton of errors in it.  That's why I want eslint to run in the editor so everyone is bothered by them.
as I mentioned above when I set export NODE_OPTIONS="--max-old-space-size=4096" the cli still crashed. I then set export NODE_OPTIONS="--max-old-space-size=16384" and it did not crash, but it ran for > 8 minutes so I just canceled it.
I then ran lint in an individual project from the cli and it return no problem.
so it seems that perhaps the sheer number of errors is crashing eslint. But if the plug in would focus on a folder within the repo that has an eslint in it then it would be able to handle the number of errors.
Is there any way to do this?

eslint.runtime.execArgv has been renamed to eslint.execArgv


Bug: random strong password does not authenticate

I created a camera account in the Tapo android app, with a strong randomly generated password
?=ml=slOnqg?w?u*
The account, username and password work, as i can connect to the stream using vlc with that username and password.
However i cannot register the camera using the integration, when i give in the credentials and the ip, i get an authentication error.
When i changed the password of the camera account in the app back to something simple, like 'password123', i could add the camera using the integration.
My guess would be an issue with escaping that password string containing difficult characters.

Hey, thank you for the report! This is most likely an encoding issue as you mentioned. I will take a look at it in upcoming days.
For now you can use a strong password including uppercase, lowercase and numbers. That should work fine.

Fixed in 2.3.1.


Avoid mutating mount IDs array when rendering single mount ID

I'm running into some odd behavior when run in combination with webpack-dev-server.  In my configuration I specify a single appMountId for a React app.  When I run the dev server, the initial render is fine, but the div fixture appears an additional time whenever my scripts are recompiled and the template is rewritten, leading to something like:
...

...

This is because of an unshift call to the appMountIds array in the template.  This PR fixes the problem by rendering appMountId separately and not mutating the array.

@rafeememon Great catch.  Thank you!

Released in v5.5.1

Thanks @jaketrent!


More control over included jsdoc

Generally speaking, my goal is to render the docs differently from the types. The main reason for this is: while the types tend to be the right width for the container and look reasonably good, the docs frequently wrap weirdly. They also probably want to be rendered using markdown.
Here are some ideas that might help. I don't know the complete set of constraints, so I'd be happy with any progress along these lines.

The simplest improvement would be to put the jsdoc in a separate attribute (lsp-docs?), possibly with an opt-in. That would be enough to get the basic job done using CSS.
Slightly better from my perspective (but perhaps more problematic from yours): move the docs (and perhaps the types) into a child of the data-lsp node. This could also be opt-in.
You could also expose an option for formatting the docs (perhaps in conjunction with moving the rendered docs into a content node), which would make it possible to use a markdown formatter to format the docs.

If you did (3), it would probably be straight-forward to add an option to automatically format the docs using markdown in the markdown-it and remark plugins.
I can't tell precisely what the requirements are for this sort of thing just by reading the code, so please fire away if there's anything I missed or if there's any more information I can provide about my goals.

Oops, absolutely missed this issue - sorry.
So there is some control atm, in that you can either have everything or nothing which is available via the option includeJSDocInHover
Here's an example of it in use on   https://mael.dev/clipanion/

The JSDoc is jammed inside the data-lsp node:
.<data-lsp lsp="Used to annotate positional options. Such options will be strings
unless they are provided a schema, which will then be used for coercion.

Be careful: this function is order-dependent! Make sure to define your
positional options in the same order you expect to find them on the
command line.

function String(): string (+8 overloads)">String</data-lsp>

Which I believe is appropriately escaped in order to safely be there, but I'm not 100% it covers all cases as we didn't use it on the TypeScript website (it would be too much info, which is often a bit more distracting from describing TS).
I am indeed thinking about twoslash hover formatting https://github.com/shikijs/twoslash/pull/159 but mainly in the form of doing some TS type highlights in very few bytes - in Clipanion's case they use prismjs to colorize the types and maybe the jsdocs,  but I think shipping a markdown processor is a bit much for us by default. That said, I think if you already have a runtime JS lib for highlighting, replacing the default JS which shows highlighting is a very reasonable way to get this right now

Whoops! I totally missed this. I think I can live with this for now, although it would be much nicer to be able to control what goes into the lsp node directly using the API. 😄


C.5. Object refferances

All responses must support the idea of having a self-descriptive interface by providing
self-references, i.e. the URI to the objects themselves. This also means that when
returning a list of objects each object contains a reference to get that specific object.

Kinda part of the current preliminary implementation, that the Id attribute in the Domain objects in the JSON objects is replaced with a URL that references them. Is being done in the Web modeling.


Ensure usage of global curl_* functions

Using the Slack Webhook handler broke on our PHP 7.3 install (Ubuntu 18.04) with a Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedFunctionError: "Attempted to call function "curl_init" from namespace "Monolog\Handler".". Prefixing the curl_* calls with a backslash to ensure the global methods are used fixed it, and as far as I know there's no downsides to being more precise with these things.
Fixes #1444

I'd like to understand exactly what causes this failure.. Because it sounds to me like the failure you see is only possible if curl extension is missing entirely, which would not be fixed by adding backslashes.


Visio Files

hi, The article is one of the best-written article in the Azure documentation. Very comprehensive. It will be very helpful if you could provide us with the Visio files. It takes humongous time to replicate this in the Visio :-)

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

ID: 82d8a578-f9f1-53af-64d0-808f1fde6c9c
Version Independent ID: 8a647cb7-2d10-53ed-5459-4356ef607e77
Content: Azure virtual datacenter: A network perspective
Content Source: docs/vdc/networking-virtual-datacenter.md
Service: cloud-adoption-framework
Sub-service: reference
GitHub Login: @tracsman
Microsoft Alias: jonor

@knssub Thanks for the kudos and sharing your feedback and thoughts on this matter. Surely, we will take this as a opportunity and see if that is feasible. For few of the architecture it is available. See this document.
You can download the Azure Cloud and AI Symbol / Icon Set - SVG from here.
We will now proceed to close this thread for now since this channel is more for fixing issues in the scope of the documentation and driving improvements towards it. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Update dependencies[without eslint]

Dependencies will be updated during migration to iobroker community adapzer. (currently in progress) when a new release us built.
And dependanot creates PRs for dependency updates anyeay.
Dont see a benefit for a manual PR.

This makes it easier to check the compatibility of the individual tools with one another and ensures that they are all up to date.


pip install rpa:  Defaulting to user installation because normal site-packages is not writeable

When using
pip install rpa:
is this a problem?  "Defaulting to user installation because normal site-packages is not writeable"

It seems that this issue pops up for many people for affecting various Python packages. But there isn't a clear solution other than asking users to install just for that user instead of global.
I'll think this warning can be ignored, especially if the package is planned to be used from just the current user account. But to explore, a few things I'll try will be doing sudo pip install rpa, or doing pip install rpa from a user account instead of root (if root is being used), and lastly double-check that current user has sufficient write permissions in site-packages folder. The folder can be found by doing import rpa as r; print(r.__file__).


Remove the ads

This reverts commit 40b1b763998f478b3774d93763ad33eacc77def8, reversing
changes made to 26dda3d66987a707ec01f6fc2485bd0d379f7fee.

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "remove_ads" git@github.com:seemethere/docker-install.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


添加阻塞输入和非阻塞输入接口

change test/keyboard name to registerkeynotify
Signed-off-by: tiansongyu<EMAIL_ADDRESS>

format issue


:student:  Update CASE statement > Add AS keyword

:grey_question: About
The current documentation for CASE statement does not emebed the AS alias, which makes queries easier to use by putting alias (to create VIEWs or TABLEs on top of the case statement)
:moneybag: Benefits
Merging this PR would make code sample even easier to use.

Thanks for the edits! That will make the output cleaner if folks run those examples for sure. We appreciate it!

Thanks @Alex-Monahan for the kind words :pray:


Japanese kanas are not rendering

Describe the bug
The Japanese kana are not rendering in the gif but they do in the .cast file.
To Reproduce
Steps to reproduce the behavior:

Record an asciinema: asciinema rec demo.cast
write down some Japanese.
Transform it into gif: agg demo.cast demo.gif
Play the gif and see the Japanese letter are not rendering.

Expected behavior
The Japanese letter should render.
Versions:

Hardware: Apple M2
OS: macOS 13.2 (22D49)
agg: 1.4.2

Additional context
Please find attach a zip with a .cast, .gif and the associated txt recorded.
agg_report_silver_bzh.zip

Can you try with --renderer=resvg?

I just released agg 1.5.0 with improved support for double-width characters. Let me know if it solved the issue for you, thanks!


tensor.numpy() from GPU model prediction very slow

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux (Colab)
TensorFlow installed from (source or binary): Binary
TensorFlow version (use command below): 2.3.0
Python version: 3.6.9
CUDA/cuDNN version: Colab
GPU model and memory: Colab has k80 I think

Describe the current behavior
I'm running inference with batch_size=1, calling a tf.keras.Model model, and when trying to convert the predictions to numpy array (moving the tensor from GPU to CPU), the inference time drops significantly. In the example given, I am just running a CNN with 10 conv2d layers. When running .numpy(), the inference time increases more than 2x. In the case mentioned the prediction has the same shape as the input, a tensor of shape (1,512,512,3).
Describe the expected behavior
One would expect that copying just an image from the GPU won't take that much. Running the same network with pytorch confirms that moving the tensor to the CPU can be done way faster.
Standalone code to reproduce the issue
import tensorflow as tf
import time
def get_model(depth):
  model = tf.keras.Sequential(
      [
       tf.keras.layers.Conv2D(64,3,padding="same",input_shape=(512,512,3), name="input")]+[
       tf.keras.layers.Conv2D(64,3,padding="same") if i < depth -1 else tf.keras.layers.Conv2D(64,3,padding="same", name="output")
       for i in range(depth)
       ],
  )
  return model

model = get_model(10)
model_fn = tf.function(model)
image = tf.random.normal((1, 512,512,3))
# warm up
for i in range(50):
    model_fn(image)
iters = 100
images = [tf.random.normal((1, 512,512,3)) for i in range(iters)]

init = time.time()
for image in images:
    x = model_fn(image)
end = time.time() - init
print(f"FPS {1/(end/iters)}") # FPS 28.559242310262988
print(f"Time {end/iters}") # Time 0.03501493453979492

init = time.time()
for image in images:
    x = model_fn(image).numpy()
end = time.time() - init
print(f"FPS {1/(end/iters)}") # FPS 13.259242909743344
print(f"Time {end/iters}") # Time 0.07541908740997315

The colab is also here https://colab.research.google.com/gist/charlielito/c8a301da67b5bf1cf68a4da4afc24d8e/tf-numpy-issue.ipynb

@charlielito,
I was able to reproduce the issue with TF v2.3. However, with the latest TF-nightly, the Time is almost identical but the FPS is very low, please check the linked gist for reference.
Could you please check if you are facing the same issue with TF-nightly too? Thanks!

I think your version with tf-nightly is running on CPU... I tested tf2.3 running on CPU and got similar times for your example with tf-nightly. Moreover if you run tf.test.gpu_device_name() for the nightly version, you got '', no detection of any GPU

Same question!

@charlielito Is this still an issue for you?
I tried with TF2.7 and I don't see that much difference as it had with TF2.3. Here is a gist for reference. Thanks!

Could you please let us know the Numpy version?

1.19.5

@charlielito Is this still an issue for you?
I tried with TF2.7 and I don't see that much difference as it had with TF2.3. Here is a gist for reference. Thanks!

From you gist, with tensorflow==2.3 and numpy==1.18.5 and Tesla K80:
FPS 10.215680644434615
Time 0.09788872957229615
FPS  with .nump() 6.69969223263249
Time with .numpy() 0.14926058769226075

Average overhead .nump() per call is ~50ms
From you gist, with tensorflow==2.7 and numpy==1.19.5 and Tesla K80:
FPS 5.980206239141523
Time 0.16721831321716307
FPS with .numpy() 4.133535122740489
Time with .numpy() 0.2419236731529236

Average overhead .nump() per call is ~75ms
So I think this still and issue. Moreover the 2.7 tf version seems to be very slow in comparison with 2.3

what is  the status of this issue?

becuase it has been a long time since this has been open, and is anyone still working on it, because i can

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.

The issue still persists. With the latest version (2.17.0) in colab with a T4 I got:
FPS 23.37383873487707
Time 0.04278287410736084
FPS with .numpy() 7.826575069906925
Time with .numpy() 0.12776980876922608


Fix: "TypeError: Cannot redefine property: logLevel"

Refactored UpsHost.js to store logLevel for each UpsAccessory instance in a separate object, resolving TypeError when multiple UPS devices are connected to a single host.
This closes issue #19

ok that was stupid, here i tried again, removed the Object.defineProperty function inside the if statement, and added  const logLevel = this.upsAccessories[id].logLevel; in the for loop instead so it resets the log level for existing ups devices as well as new ones....


Langchain Chroma doesn't handle duplicate entry properly

Checked other resources

[X] I added a very descriptive title to this issue.
[X] I searched the LangChain documentation with the integrated search.
[X] I used the GitHub search to find a similar question and didn't find it.
[X] I am sure that this is a bug in LangChain rather than my code.
[X] The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).

Example Code
import chromadb
from langchain_chroma.vectorstores import Chroma
from langchain_huggingface import HuggingFaceEmbeddings
from langchain_core.documents import Document
client = chromadb.Client()
collection = client.create_collection(name="my_collection", metadata={"hnsw:space": "cosine"})
embedding_function = HuggingFaceEmbeddings(model_name="all-MiniLM-L6-v2", model_kwargs = {'device': 'cuda'})
vector_store = Chroma(
client=client,
collection_name="my_collection",
embedding_function=embedding_function,
)
documents = [
Document(
id = '1', page_content = 'This is a document about fruit', metadata = {'title': 'First Doc'}
),
Document(
id = '2', page_content = 'This is a document about oranges', metadata = {'title': 'Second Doc'}
),
Document(
id = '3', page_content = 'I saw a lady wearing red dress', metadata = {'title': 'Third Doc'}
),
Document(
id = '4', page_content = 'Apples are red', metadata = {'title': 'Fourth Doc'}
),
]
vector_store.add_documents(documents)
print(vector_store._collection.get(include = ["documents"]))
print("db size ", vector_store._collection.count())
duplicate_document = [Document(
id = '1', page_content = 'This is a document about fruit', metadata = {'title': 'First Doc'}
)]
vector_store.add_documents(duplicate_document)
print(vector_store._collection.get(include = ["documents"]))
print("db size ", vector_store._collection.count())
Error Message and Stack Trace (if applicable)
No response
Description
Langchain-chroma adds duplicate entry to the db, whereas Chromadb doesn't add duplicate entry. So, the behavior isn't same for Langchain-chroma and Chromadb.
import chromadb
from chromadb.utils import embedding_functions
client = chromadb.Client()
embedder = embedding_functions.SentenceTransformerEmbeddingFunction(model_name="all-MiniLM-L6-v2",device='cuda')
collection = client.create_collection(name="my_collection", embedding_function = embedder, metadata={"hnsw:space": "cosine"})
collection.add(
documents=[
"This is a document about fruit",
"This is a document about oranges",
"I saw a lady wearing red dress",
"Apples are red",
],
ids=["1", "2", "3", "4"],
metadatas=[
{'title': 'First Doc'},
{'title': 'Second Doc'},
{'title': 'Third Doc'},
{'title': 'Fourth Doc'},
]
)
print(collection.get(include=['documents']))
print("db size ",collection.count())
collection.add(
documents=[
"This is a document about fruit",
],
ids=["1"],
metadatas=[
{'title': 'First Doc'}]
)
print(collection.get(include=['documents']))
print("db size ",collection.count())
System Info
Python version: 3.10.10

Unable to replicate issue; seems fixed now. Please take a look if you still have this issue!


Change ingress_port and egress_port with uni_a and uni_z respectively

Fixes #102
Head-up: this PR sits on top of PR #107
Description of the change

To be conform with SDX-Controller breakdown connections request, this PR changes the attributes ingress_port and egress_port with uni_a and uni_z (https://github.com/atlanticwave-sdx/pce/blob/main/src/sdx_pce/models.py#L122-L123)

I'm so sorry, somehow I closed this PR and deleted the branch by mistake when I merged #107. I'm not quite sure how that happened. :-(
I can't seem to reopen this PR or restore this branch. @italovalcy, could you maybe try pushing the branch again, after merging main?  Or maybe start a new PR if that isn't possible? Sorry about the mess!

@congwang09 @YufengXin Could you help with reviewing this PR?  I'm a bit behind things, and I probably missed some discussions from February that is possibly relevant here.


[Enhancement] Confirm Closing the Recorder if there is exportable content

Feature summary
If you record something, then close the recorder app, the app will just close, and not show a prompt to confirm that you want to close the app, even though there is content that can be exported.
Why is this feature important?
If I'm working on recording something, and for whatever reason, I accidently close the recorder, I'd expect the recorder to prompt for confirmation before closing so that I don't lose the recording I have so far immediately.
Linked resources
No response
Additional information
No response

Hi @BenB196 - thanks for the feedback. I agree that this (along with a number of your other suggestions) would be very useful. These capabilities are at the top of our backlog. Right now our 1.0 feature set is locked so these will be added in post 1.0.


{Monitor} az monitor autoscale profile show: bug fix

Description

Fix #10317
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

add to S170


Why not publish on Wordpress.com?

Title says it all. 😄

Thanks for mentioning that.
The initial version was too "hacky" & for the now proper coded version, I unfortunately didn't have the time yet to look into publishing it officially.
But it's on my to-do list 😊


Bug 3451381

Dev certs now supports window7!

What happed if policy doesn't allow scripts to be run?

I'm worried that this won't be enabled by default.

I'm worried that this won't be enabled by default.

What happed if policy doesn't allow scripts to be run?

with  -ExecutionPolicy Bypass it doesn't matter what policy is


Fix C functions that take any arguments

From C11 onwards:

The use of function declarators with empty parentheses (not prototype-format parameter type declarators) is an obsolescent feature.

void foo(); // can be called with any arguments
void bar( void ); // can only be called with no arguments

This was such an annoying and ugly change to the standard.
But I am not in a place to protest :-/


Support special syntax to indicate console output?

Lets say you have a code sample like:
```ts
const a = "hello"
console.log(a)
```

It would be common to write something like:
```ts
const a = "hello"
console.log(a)
// prints "hello"
```

Or something similar. Can we take that idea and embed it more tightly? I'm not sure that I'm game for actually eval ing  the code  sample here (though I think there's a good argument for having that) but we could have a better design for the output to raise trust (perhaps incorrectly) on the output.
For example, this JS stack error could be
```js
const message: string = "Hello, types"
console.log(message)
// @> error SyntaxError: Unexpected token ':'. const declared variable 'message' must have an initializer.
```

Potential syntax:

Re-using the console names:

// @logs: "Hello, world"
// @warns: "Oh no"
// @errors: error XYZ

A sigil then the type

// @> log "Hello world"
// @> warning "Oh No"
// @> error error XYZ

This is in, I opted for error - trade-offs be damned.


Review 'withPin' implementation

Specifically, consider this post: http://ro-che.info/articles/2014-07-30-bracket.html

Also: https://www.reddit.com/r/haskell/comments/2ety9f/new_blog_post_dealing_with_asynchronous/

Indeed, it appears not to be working: try running the gpio-example program with the readTrigger command. In my testing, the input pin remains exported after a Ctrl-C.

Note: this may be a race condition where multiple threads try to write the "unexport" file simultaneously. I'm seeing a problem trying to export two pins in rapid succession that might be related.

Indeed, see #16.

Revisit this issue after #16 is fixed to see if the un-unexported pin problem still exists.

Now waiting for #19.

OK, even after fixing #19 and #20, I'm still seeing this behavior with pins exported from forkIO'ed threads lying around.

withPin and friends are fine, bracket is the right mechanism to use for this.
The problem with the leftover exported pin the example programs is just due to a race condition, where the main (output) thread exits before the input thread can finish cleaning up. Use the async package to fix this.


Location of older Python API Wheels?

Hi,
We have some scripts that use an older version of the Metashape API; some users are using newer versions of the API which causes the scripts to fail. We plan to update the scripts, but for ease we'd also just like to point users to the wheels of the versions we used.
I cannot find the URL containing the wheel for Windows and Linux version 1.8.4, nor can I find a page that easily provides links to all previous releases.
thanks

Hi, you can get URL via web.archive.org, f.e. on this page (JUN 15 2022) you can get 1.8.3 wheel URL, and after replacing 1.8.3 with 1.8.4 you can get URLs for 1.8.4:

https://s3-eu-west-1.amazonaws.com/download.agisoft.com/Metashape-1.8.4-cp35.cp36.cp37.cp38-abi3-linux_x86_64.whl
https://s3-eu-west-1.amazonaws.com/download.agisoft.com/Metashape-1.8.4-cp35.cp36.cp37.cp38-none-win_amd64.whl

That works, thanks!


[APIM-4.0.0][APICTL]-Wrong APICTL version is being downloaded for APIM-4.0.0

Description:
In the https://wso2.com/api-management/previous-releases/ if we select the APIM version as 4.0.0 and download the APICTL tool, it is getting downloaded as apictl-3.2.6-[OS]. The APIM 4.0.0 doesn't support the previous versions of APICTL. Therefore, this has to be updated with the correct APICTL version packs.
The correct apictl packs for APIM-4.0.0 are available at,
[1] https://apim.docs.wso2.com/en/4.0.0/install-and-setup/setup/api-controller/getting-started-with-wso2-api-controller/#download-and-initialize-the-apictl
[2] https://github.com/wso2/product-apim-tooling/releases/tag/v4.0.0
Affected Product Version:
wso2am-4.0.0
Steps to reproduce:

Go to
Select "Previous Releases" and select 4.0.0 for the APIM version
Click on tooling and click the relevant OS.
The downloaded pack will be apictl-3.2.6-[OS].

The marketing team has been made aware of this issue via an email [1]. We will update this ticket as soon as the Marketing team reverts to us after making the fix in this regard.
Email: "Request to correctly update the APICTL 4.0.2 release artifacts in the website"

The artifacts are correctly updated by the Marketing team now. Hence, closing the issue.


Missing Controllers on build

Describe the bug
When I build my application/game or whatever I cant see the controllers. I can when im on editor mode, but not when built. But if I have something happening when i press a button it works, so the problem its that i cant see or track the controllers. (Last time I tested it they spawned on the ground and wont move).
To reproduce
Steps to reproduce the behavior:

Make a project
Build it
Convert into an executable with Visual Studio
Open it

Expected behavior
You should be able to see your hands, but it wont work. They wont be or will be on the ground
Screenshots
I cant sorry
Your Setup (please complete the following information)

Unity Version [latest 2019]
MRTK Version [v2.0]

Target Platform (please complete the following information)

WMR

Additional context
If I start the application, on the right eye in one corner there is a console with red text and the options close and clear. I cant read what it says because its on the edge. I cant interact with it neither.
On capabilities I have Bluetooth on, i dont know if im missing something else
Im building on release and debug, I tested this both

Thanks for filing this issue! I'm guessing you might be hitting this issue:
https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4287
If you believe this is different please share out some more specific details (i.e. are you building debug vs retail, if you have screenshots or videos, etc) we can reroute this.

I don't think that this should be treated as a duplicate. I'm convinced that these are separate issues. I am experiencing issues rendering windows mixed reality controllers in the compiled uwp executable. It seems like there are multiple problems:

We need to change how we kick off controller rendering. Some basecontroller function calls appear to have changed orders. TryRenderController model is now called prior to the monobehaviour update pass. An example of how to fix this can be found in this feature branch: https://github.com/chrisfromwork/MixedRealityToolkit-Unity/commit/c9024c873403072affa2dcd38d9225d73e442a86

GLTF deserialization of the model jsons seems to work in the editor but does not appear to work in the uwp application. It may be something to do with synchronous/asynchronous behavior. What I have seen locally is that a lot of arrays get created for texture/gltfnode schemas that are empty. It seems like somehow deserialization is failing or incomplete when trying to create the models.

I have updated my problem. If you could read it I would appreciate it.

I don't think that this should be treated as a duplicate. I'm convinced that these are separate issues. I am experiencing issues rendering windows mixed reality controllers in the compiled uwp executable. It seems like there are multiple problems:

We need to change how we kick off controller rendering. Some basecontroller function calls appear to have changed orders. TryRenderController model is now called prior to the monobehaviour update pass. An example of how to fix this can be found in this feature branch: chrisfromwork@c9024c8
GLTF deserialization of the model jsons seems to work in the editor but does not appear to work in the uwp application. It may be something to do with synchronous/asynchronous behavior. What I have seen locally is that a lot of arrays get created for texture/gltfnode schemas that are empty. It seems like somehow deserialization is failing or incomplete when trying to create the models.

Im not sure there is a rendering issue since last time i saw the controllers on the ground. They just wont move where they should (But if I press windows button they are where they should, maybe there is a building guide? I dont know what can i be missing)

Fixed via #4707. Please re-open if you're still seeing this issue with that change!


Updated howto/webdriver file

Updated link in howto/webdriver.md.  Updated metadata per customer feedback in #959.

Docs Build status updates of commit 2c8a62f:
:clock10: Pending: waiting for processors (23 builds ahead of you)
:warning: Docs Build is busy, currently there are 23 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 2c8a62f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/howto/webdriver.md
:bulb:Suggestion
View
Details

microsoft-edge/webview2/howto/webdriver.md

Line 25, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 42, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 46, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 50, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 56, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 62, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.
Line 125, Column 1: [Suggestion-duplicate-alt-text] Alt text 'alt text' is duplicated. Within an article, alt text must be unique. NOTE: This Suggestion will become a Warning on 1/29/21.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 2534713:
:clock10: Pending: waiting for processors (27 builds ahead of you)
:warning: Docs Build is busy, currently there are 27 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 2534713:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/howto/webdriver.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 70e7998:
:clock10: Pending: waiting for processors (27 builds ahead of you)
:warning: Docs Build is busy, currently there are 27 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit 62cd86c:
:clock10: Pending: waiting for processors (27 builds ahead of you)
:warning: Docs Build is busy, currently there are 27 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit e1b41ae:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/howto/webdriver.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 8719569:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/howto/webdriver.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit f742410:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/webview2/howto/webdriver.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

#sign-off offline and merged.


Sketching out inferred types

Just starting to see if these can work, but wanted to get a branch somewhere public.

The distinction between GraphQL's nominal typing and TypeScript's structural typing means this approach is not likely to work well. Abandoning. More context on the distinction here: https://grats.capt.dev/docs/faq/structural-vs-nominal-typing


In the absence of a network, some resources cannot be found in the browser, and desktop applications are good

Description
ft.app ( target=main , view=ft.AppView.WEB_BROWSER )
The computer is not connected to the Internet. Run the above program in the local development environment, and only display a load icon in the browser,
The browser has the following resources that cannot be found:
https://www.gstatic.com/flutter-canvaskit/e76c956498841e1ab458577d3892003e553e4f3c/chromium/canvaskit.js net::ERR_NAME_NOT_RESOLVED
main.dart.js:10136
GET https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf net::ERR_NAME_NOT_RESOLVED
main.dart.js:10136 Failed to load font Roboto at https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf
main.dart.js:10136 Flutter Web engine failed to complete HTTP request to fetch "https://fonts.gstatic.com/s/roboto/v20/KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf": TypeError: Failed to fetch
GET https://www.gstatic.com/flutter-canvaskit/e76c956498841e1ab458577d3892003e553e4f3c/canvaskit.js net::ERR_NAME_NOT_RESOLVED
main.dart.js:10136 Rejecting promise with error: Exception: Failed to download any of the following CanvasKit URLs: (https://www.gstatic.com/flutter-canvaskit/e76c956498841e1ab458577d3892003e553e4f3c/chromium/canvaskit.js, https://www.gstatic.com/flutter-canvaskit/e76c956498841e1ab458577d3892003e553e4f3c/canvaskit.js)
The computer can work normally when connected to the Internet,
Code example to reproduce the issue:
ft.app ( target=main , view=ft.AppView.WEB_BROWSER )

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
Name: flet
Version: 0.22.0

Give your requirements.txt file (don't pip freeze, instead give direct packages):
just  the flet

Operating system:
Windows 10
Additional environment details:

Similar/related issue https://github.com/flet-dev/flet/issues/2022.
In your case, the canvaskit web renderer (the default on web) is being used. Can you tell me what happens when you instead use the html renderer?

I haven't change  anything in client\web\index.html
the  resource KFOmCnqEu92Fr1Me5WZLCzYlKw.ttf  and  canvaskit.js file  Reference occurs at build to web with canvas
detail in there
https://github.com/flutter/flutter/issues/104399

Add the following selection during compilation:
--dart-define=FLUTTER_WEB_CANVASKIT_URL=/canvaskit/

Similar/related issue #2022. In your case, the canvaskit web renderer (the default on web) is being used. Can you tell me what happens when you instead use the html renderer?

use the html renderer are ok


Refactorize geometry module

Follow #281

I guess there is an issue with the filenames:

unittest/#com.cpp#
unittest/#tspatial.cpp#
unittest/urdg.cpp
unittest/test_matrix_prod.cpp (this may not be an error, I'm just surprised to see it appearing now.)

I think it is ready to be merged.


Manually confirm existing account

I'm still running my app locally and I have my test account I created before.  I just added the :confirmable feature to my database and now I can't login using my test account.  Is there a way to manually confirm that account?
The fields for that entry say: confirmation_token: nil, confirmed_at: nil, confirmation_sent_at: nil, unconfirmed_email: nil

Call .confirm!in the model. And please use the mailing list for questions, the issues tracker is for issues.

Sorry, where do I access the mailing list?

https://groups.google.com/group/plataformatec-devise

In my tests .confirm! returns undefined method confirm!', but .confirm` does the trick.

Try the Letter Opener gem for testing mailers locally.


Test the format of the new prescribing files

As from 17th /18th  January 2019 the data we download will be from the new data source (I believe the same URLs, though)
They have highlighted three differences:

English prescribing data will now include items dispensed in England, Scotland, Wales and
the Isle of Man (only English prescribing dispensed in England, Scotland and the Isle of
Man is currently included)
The data included in the column called ‘Area_Team_Name’ has had the word ‘Team’
removed from the data (the column name continues to include ‘Name’)
Data from CCG’s that have closed are now included

The file is at /mnt/database/tmp/20190110_1547116564417_Detailed_Prescribing_Information.zip   There is also a BNF code file at /mnt/database/tmp/20190108_1546960711417_BNF_Code_Information.zip about which our correspondent said:

I have attached the differences document and the BNF file as the source of that file has changed but the data and extract has not.

We need a plan about how to deal with this. I'm thinking diffing the fields we care about might be a good way of doing it - possibly in SQL in BigQuery?

Keeping this open while we finish correspondence with BSA about differences.
GP movements explain a number of the differences identified, but not those where the total quantity dispensed across all of England has changed.
Reductions in total quantity could be explained by the introduction of "national unidentified" (I believe these are not recorded in the dataset supplied); increases could be explained by the inclusion of data from closed CCGs.  However, I'm checking this with BSA too.

CSV of differing presentations
SQL used to generate differences
detailed sample of some of the presentations

Note the data provided was for October 2018; we were comparing the "new" and "old" data for that month.

Any update @sebbacon ?

Have just chased


Fix AL0223 error on Flowfield using Txt2AL conversion

Is your feature request related to a problem? Please describe.
Converting our solution to AL via txt2al results in lots of AL0223 errors on Flowfields having the 'DataClassification' property set to 'ToBeClassified'

The property 'DataClassification' can only be set if the property 'FieldClass' is set to 'Normal'

Describe the solution you'd like
It would be nice if the txt2al tool would strip / comment / not convert the 'DataClassification = ToBeClassified;' if it originates from a flowfield.

Hi @fvet! Thanks for reporting this. Can you provide an example where you modify the base solution and generate a delta file which then, when using TXT2AL, results in this error? Or provide a TXT file which results in this error when using TXT2AL? I'm having issues reproducing this.

Just done some more investigation. I was confused since in the DevEnv, no DataClassification property was visible and in AL it was suddenly. However, seems like in C/AL, the DataClassification IS available on the object - it becomes visible when exporting to txt - but it's not shown in the properties window (since hidden in case of FlowFields).

So for some reason, lots of my field definitions are a bit scrambled ... Would be nice though not to let the AL code error, but fix the error during the txt2al conversion instead.

The fix for this issue has been checked in to the master branch. It will be available in the bcinsider.azurecr.io/bcsandbox-master Docker image starting from platform build number 36429 and VS Code Extension Version 4.0.178269.
If you don’t have access to these images you need to become part of the Ready2Go program: aka.ms/readytogo
For more details on code branches and docker images please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/


Allow timeout in select statements

timeout keyword for use in select
select
when x = ch.receive
  puts "got #{x}"
when timeout(1.seconds)
  puts "timeout"
end

Implemented by a timeout_event on the fiber, much like the resume_event but that sets a new Fiber property called timed_out, before resuming the fiber.
In contrast to:
def sleep_select_action(timeout)
  chan = Channel(Nil).new
  spawn do
    sleep(timeout)
    chan.send(nil)
  end
  Channel::ReceiveAction.new(chan)
end

this is much more resource efficient, as no allocations are made (new fiber and new channel in the case above) and the timer is deleted as soon as any other event has occurred.

That Fiber#timed_out property must be reset, right now it's done in the TimeoutSelectAction, but maybe it should be a "read-once" property in the Fiber instead?
# Indicated that the fiber has been woken up by a timeout timer.
# Can only be read once, is automatically restored to false.
def timed_out
  @timed_out
ensure
  @timed_out = false
end

# Should only be set from the event callback
def timed_out=(value)
  @timed_out = value
end

Thanks! This looks good overall. Let's wait until the next changes regarding parallelism land before merging.

@bcardiff any idea when those land? +-

@bararchy as soon as we can. We are trying to finish the release first and then keep iterating with some open stories still.

This can be merged for 0.30.0 @bcardiff. This is orthogonal to any parallelism changes.

@RX14 I believe if we merge this it means more merge conflicts on the paralleism branch, with the only result of delaying its landing.
If someone really wants this now they can always monkey-patch things.
(what I'm saying is, I don't think this is super urgent)

This isn't difficult to fix any merge conflicts... it's largely a copy and paste of the existing sleep code.

@ysbaddaden is the MT branch publicly available some where?
Is MT expected to be included in the next crystal release? If not, maybe this can still be merged for the next release so that we have the API for it? The implementation can later change of course.

I don't know which branch @bcardiff is working on. There is my experimental branch #7547 where... select is disabled because of the issue detailed above + only one branch must ever be executed (otherwise we could dequeue N channels in parallel and lose N-1 messages), which is complex. The argument still stands anyway: using select for timeouts to avoid spawning fibers will probably be reverted when MT lands, or select is refactored for MT.
That being said, I like this pull request. It's simple an implements timeouts for channels as it was designed to be: as a select condition. I'm just not fond of select myself, and wanted to emphasize that maybe it wasn't the best solution in the mid/long term, or the expected one (use less memory by avoiding to spawn fibers), thought there may be solutions to that (spawn fibers to use a stack from the HEAP instead of necessarily be a mmap).
So, all in all, maybe this pull request is perfectly fine. We must just wait for @bcardiff to tell whether it really is (if select & channel are being refactored, as it would seem).

I see. The problem we want to avoid is to allocate memory that isn't released as soon as select returns, as that will inevitably lead to a memory leak (and OOM if the timeout is long and the select called often enough).

@ysbaddaden In the future select will probably be implemented entirely differently, definitely without fibers being spawned, and probably using a custom event loop implementation which will handle the select logic (discard the fiber resume if the select has already been fired)

Actually, this could be implemented with a per-fiber "select resume counter", the count at the start of the select is passed to channels or libevent timers which may want to resume the timer. On resume time, you cas the counter in the Fiber with count + 1, if you succeed you resume, else you discard your resume (and in the case of channels, resume the next possible fiber on the waitlist).
Then you have to deal with overflows, but 64 bits is probably enough?

@carlhoerberg Would you be willing to rebase this on top of #8322? The SelectAction API changes are stable in that PR but there are still some implementation details before merging it.
If you are not available to do so, let us know and we can pick it from here.
Thanks!


[WIP] marshal mongodb bson into relaxed json

Signed-off-by: Mukundan Sundararajan<EMAIL_ADDRESS>Description
Change to marshal to Ext JSON with Relaxed format instead of Canonical Format.
Without the change to canonical representation as false, the added conformance test scenario fails
state.go:257: Checking value presence for b92a399b3889432782b78babd1169ab8-struct-with-int
    state.go:675:
        	Error Trace:	state.go:675
        	            				state.go:266
        	Error:      	unmarshal error
        	Test:       	TestStateConformance/mongodb/get
        	Messages:   	error: %!w(*json.UnmarshalTypeError=&{object 0x10721fe20 12 IntValueType message}), json: {"message":{"$numberInt":"42"}}

Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1582
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

Will this change in encoding get to any user's code? Will they have to handle it differently? Or will this all go unnoticed by them?

In general, when an ID field with decimal type is stored, the user expects the ID field to be returned as a decimal not as an object with type information.
So storing {"ID": 1003.4} and getting {"ID":{"$numberDouble": "1003.4"}} is not expected. Any JSON parser when it tries to unmarshal the second object will fail.
For a user who manually decodes the returned value into an object this will break ie. return string value of the response instead of object, then manually following MongoDB canonical form, convert returned string into object representation.

I agree with this change.
Currently what we have is:
Save State with Dapr API Data Format but Receive State with Mongo DB API Data format. That is super inconsistent and confusing.
Support for the pure Mongo syntax format belongs into a potential Binding, but definitely not into the State Store.
I support making this "breaking" change. I highly doubt someone would expect to receive the current response output when using the Dapr API.

This PR should fix querying non-string values: https://github.com/dapr/components-contrib/pull/1584

@dapr/maintainers-components-contrib Any call on whether this breaking change can go into existing version of component or not?

@dapr/maintainers-components-contrib The conformance test  in PR #1585 as well validates the necessity of  this PR for fixing MongoDB. The call to take is: is it ok if it is a breaking change for few if it is a bug fix .... ?

OK. Let's merge this PR as a fix and mention that in the breaking changes section.


Fix naive datetimes in Google Calendar bot.

Fixes: #3769

Automated message from Dropbox CLA bot
@robot-dreams, it looks like you've already signed the Dropbox CLA. Thanks!

Thanks @robot-dreams, this looks great! Adding @timabbott for final review/merge.

Looks good, merged, thanks @robot-dreams!  I'm excited about purging naive timezones from the codebase :)


PostController for article

From the Post controller, the article end with a real time issue.
Removing the {title:post.title} fixed it.

Really..it's weard..
So.. it's not a good approach to use renderTo service..
i prefer use a response approach, see :
https://github.com/wi2/calendar-example/blob/master/api/responses/react.js
and how tu use : https://github.com/wi2/calendar-example/blob/master/api/controllers/HomeController.js
Thanks
Mike

Hi Mike,
Look like a better approach, I've tried to implement it but it looke like I missed something...
TypeError: type.toUpperCase is not a function

cool.. It's a pleasure..
i think so too..

Rendering the home via response.react work,
unfortunately I also got a TypeError: type.toUpperCase is not a function

I hope..
you have component not starting with uppercase :
   =>

No,
When I remove /componnent/app.js it's render without the TypeError.
But if I remove the app.js the rendered componnent didn't change on state updates

I've tried to implement the calendar browserify, and package.json script but now I've got a
Error: _registerComponent(...): Target container is not a DOM element.

No was a bit tricker
check : https://github.com/wi2/calendar-example/issues/1

ok.. thanks.. I check that


Cocktail Recipe Variations

Hi, I am currently testing this out on my own local instance running in k8s and have been enjoying it so far.
One of the features that I think would be great if it could be added would be to allow for cocktail recipe variations (eg. IBA variant + my own personal variant on the cocktail) that way instead of having to have 2 cocktails representing the same cocktail, I can instead have 1 cocktail with 2 variants

I think the best way this could work is by having a new model called "CocktailVariant" in a one-to-many relationship with "Cocktail" (1 cocktail to many variants) and then moving the "ingredient" relationship from "Cocktail" into the new "CocktailVariant" class. The only major issue could be in the migration to a default CocktailVariant

I think you might be after alternative specs for a specific cocktail instead of variations. Like slight alternative measurements to a drink.
Cocktail variations usually have their own unique name, origin, and stray further from their inspiration cocktail. For example, Black Manhattan, Ce Soir, Fall Back, Greenpointe, Little Italy, The Slope, and Revolver are ALL Variations or Riffs on the classic Manhattan cocktail. I group all of these cocktails together using the Tags feature and tag them all "Manhattan".

I had some planes to include that (it was in planned features in readme until few weeks ago), but I came to the same conclusion as @zhdenny
Your idea "CocktailVariant" model is great and would probably work, but that would be a big feature to implement, and I have other priorities for now.
I'm gonna leave this open since this idea is interesting, and maybe will be worked on in future.
Thanks!

Out of scope atm


add cache

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

45 of 55 (81.82%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 95.098%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

join/core/src/cache.cpp
44
54
81.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
5315

Relevant Lines:
5589

💛  - Coveralls


chore: Clarify max PR size

Signed-off-by: George Aristy<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master     #295   +/-   ##
=======================================
  Coverage   88.63%   88.63%
=======================================
  Files          37       37
  Lines        1953     1953
=======================================
  Hits         1731     1731
  Misses        122      122
  Partials      100      100

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 bcb1bca...46ee66a. Read the comment docs.


Battery logo

What this PR changes/adds
It adds a new Battery logo that was designed based on Catena-X logo. The new logo is added as a favicon but also to the header component as an option. After the "user review" we can change it easily.
It closes this: https://jira.catena-x.net/browse/CMP-450

Can we add just the battery pass logo without the digital product pass text?

IMHO it looks better with the logotype. The logo by itself looks kinda odd to me, but I've added both to the media and whenever we are ready we can just change it either to Logo or logo-with-type.

This PR is approved since some time, so I will merge it 👍🏻


nodejs: 16.17.0 -> 18.7.0

Description of changes

Node.js 18 is the current release, and Node.js 16 is going to be promoted to Maintenance in a couple of months.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build hedgedoc yarn


expose automaticReconnect retry delay options

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch<EMAIL_ADDRESS>for the project I'm working on.
I want to be able to specify the retryDelays as a prop and customise this behaviour too. In the current state of the package I am only able to pass automaticReconnect as a boolean value. Please let me know if this is a feature you would like to introduce into your package too. I would be more than happy to open a PR for this!
Here is the diff that solved my problem:
diff --git a/node_modules/react-signalr/lib/signalr/provider/types.d.ts b/node_modules/react-signalr/lib/signalr/provider/types.d.ts
index 54cb318..44d9365 100644
--- a/node_modules/react-signalr/lib/signalr/provider/types.d.ts
+++ b/node_modules/react-signalr/lib/signalr/provider/types.d.ts
@@ -11,6 +11,6 @@ export interface ProviderProps extends IHttpConnectionOptions {
     onClosed?: (error?: Error) => void;
     onOpen?: (connection: HubConnection) => void;
     onReconnect?: (connection: HubConnection) => void;
-    automaticReconnect?: boolean;
+    automaticReconnect?: boolean | number[]
 }
 //# sourceMappingURL=types.d.ts.map
\ No newline at end of file
diff --git a/node_modules/react-signalr/src/signalr/provider/types.ts b/node_modules/react-signalr/src/signalr/provider/types.ts
index 7afbbf5..3c975d6 100644
--- a/node_modules/react-signalr/src/signalr/provider/types.ts
+++ b/node_modules/react-signalr/src/signalr/provider/types.ts
@@ -12,5 +12,5 @@ export interface ProviderProps extends IHttpConnectionOptions {
   onClosed?: (error?: Error) => void;
   onOpen?: (connection: HubConnection) => void;
   onReconnect?: (connection: HubConnection) => void;
-  automaticReconnect?: boolean;
+  automaticReconnect?: boolean | number[];
 }
diff --git a/node_modules/react-signalr/src/signalr/utils.ts b/node_modules/react-signalr/src/signalr/utils.ts
index 3b87bdb..87245bf 100644
--- a/node_modules/react-signalr/src/signalr/utils.ts
+++ b/node_modules/react-signalr/src/signalr/utils.ts
@@ -16,7 +16,7 @@ function isConnectionConnecting(connection: HubConnection) {
 function createConnection(
   url: string,
   transportType: IHttpConnectionOptions,
-  automaticReconnect = true,
+  automaticReconnect:boolean | number[] = true,
 ) {
   let connectionBuilder = new HubConnectionBuilder().withUrl(
     url,
@@ -24,7 +24,11 @@ function createConnection(
   );

   if (automaticReconnect) {
-    connectionBuilder = connectionBuilder.withAutomaticReconnect();
+    if (Array.isArray(automaticReconnect)) {
+      connectionBuilder = connectionBuilder.withAutomaticReconnect(automaticReconnect);
+    } else {
+      connectionBuilder = connectionBuilder.withAutomaticReconnect();
+    }
   }

   if (transportType.logger) {

This issue body was partially generated by patch-package.

Hi there,
Good look to me.

For consistency, we should do it for socket too, I don't know is it possible for webSocket or not

Oh sorry missed your comment. Thanks for the response. I’ll try to check it out next week!

Fixed: v0.2.22


Ship v4.1

Updates the docs directory from docs/4.0/ to docs/4.1/
Runs the build/ship.sh script to updated version from 4.0.0 to 4.1.0

We need to check some of this out though—I'm seeing some -webkit prefixes being dropped and I can't recall if those are intentional.

@mdo: after you review let me know so that I rebase and clean up the branch before the final merge.

Obviously hence why I reverted it.
On Sat, Mar 31, 2018, 00:08 Vasilii Artemchuk<EMAIL_ADDRESS>wrote:

@vsn4ik approved this pull request.
In js/src/index.js
https://github.com/twbs/bootstrap/pull/25972#discussion_r178191461:

@@ -31,7 +31,7 @@ import Util from './util'
const maxMajor = 4

if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {

throw new Error('Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')

throw new Error('Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.1.0')

This is jQuery version, not Bootstrap.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/twbs/bootstrap/pull/25972#pullrequestreview-108216344,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVVtX3kWguQtN0Bszs9Ng_7duqDK_JTks5tjp7egaJpZM4TAk-p
.

@XhmikosR Fwiw, I'm guessing @vsn4ik's comment was from looking at a different commit or not the full range of the diff. It's admittedly all too easy on GitHub to click into a notification and see a subset of the overall diff :).

New PR coming in #26218.


rdkit.Chem.BRICS.BRICSBuild misses docstring

Is your feature request related to a problem? Please describe.
https://github.com/rdkit/rdkit/blob/e7084bb4004ed53b50b8651f4cae2e3a95e83c3f/rdkit/Chem/BRICS.py#L532-L534
https://www.rdkit.org/docs/source/rdkit.Chem.BRICS.html#rdkit.Chem.BRICS.BRICSBuild
Describe the solution you'd like
Docstring is added—description of the parameters and examples.

ping


Fix mixup of GLOBALMV and NEAR0MV

Fixes #2297

Please rebase.

Coverage decreased (-0.01%) to 82.406% when pulling 74ac6a0e2e8f48c243dc7af56761359592ab5836 on shreevari:mixup into d9ee06aae99b2a6c6dcb9c88da78b931610981da on xiph:master.

This is what I get when running these commits. Unfortunately, it seems to give a loss. That doesn't necessarily mean that this shouldn't be commited.
https://beta.arewecompressedyet.com/?job=ref_near_mv_global_mv_s6%402020-06-01T17%3A17%3A56.780Z&job=fix_near_mv_global_mv_s6_correct%402020-06-01T17%3A43%3A10.635Z
https://beta.arewecompressedyet.com/?job=ref_near_mv_global_mv_s3%402020-06-01T16%3A52%3A53.098Z&job=fix_near_mv_global_mv_s3%402020-06-01T16%3A43%3A45.501Z

Average difference between the reference and the fixes in comparison on AWCY are as follows:

Commit
PSNR
PSNR HVS
SSIM
CIEDE 2000
APSNR
MS SSIM
VMAF

Simple swap vs ref
0.06
0.06
0.07
0.13
0.06
0.04
0.14

Push GLOBALMV unconditionally vs ref
0.07
0.11
0.09
0.10
0.07
0.12
0.22

Pushing GLOBALMV unconditionally seems to perform worse than otherwise


Asphalt Xtreme

URL to APK: https://www.apkmirror.com/apk/gameloft/asphalt-xtreme/asphalt-xtreme-1-0-8a-release/asphalt-xtreme-1-0-8a-android-apk-download/
Banner(If Submitted):

Banner Added, ready to be added to the repo


Added "package-lock.json" to .gitignore

This pull request adds package-lock.json to the .gitignore file.

Thanks @nsuchy !


Use object_store:BufWriter to replace put_multipart

Which issue does this PR close?

Closes #9614 .
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

It seems that AbortableWrite needs MultiPart information. 🤔
https://github.com/apache/arrow-datafusion/blob/37253e57beb25f0f1a4412b75421a489c2cb3c6a/datafusion/core/src/datasource/file_format/write/mod.rs#L155-L167
I'm reading the code to see whether put_multipart here can be replaced.

Close and reopen to rerun CI

It seems that AbortableWrite needs MultiPart information. 🤔
https://github.com/apache/arrow-datafusion/blob/37253e57beb25f0f1a4412b75421a489c2cb3c6a/datafusion/core/src/datasource/file_format/write/mod.rs#L155-L167
I'm reading the code to see whether put_multipart here can be replaced.

We could drop the AbortableWrite construct entirely and no longer make a manually effort to abort on failure. The manual cleanup will not work in all cases anyway, and users can configure automatic cleanup with their cloud provider, e.g.: https://aws.amazon.com/blogs/aws-cloud-financial-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/.
I believe this is in line with what @tustvold is thinking with ongoing improvements of ObjectStore https://github.com/apache/arrow-rs/pull/5500#discussion_r1522801072.

Close and reopen to rerun CI

Another option is to push an empty commit.
git commit --allow-empty -m 'retry ci'

Thanks for your review! @devinjdangelo
I will look into the code to see how to drop AbortableWrite. :)

I will look into the code to see how to drop AbortableWrite. :)

FWIW the multipart ID is exposed but it might take some more type plumbing. IMO removing AbortableWrite is probably a simpler path forward

I can check this PR as well tomorrow.


Scroll to top

Hey,
Lately I found an issue that cause the scrollable div that contains the categories and emojis to be opened (at the second time and so on) when the scrollbar is in the bottom, i tried to scrollTop with js to the class EmojiArea_emojis__L4mMq but it's doesn't work, so i wondering what's the best approach to fix it?
thanks!

I'm not sure what you mean, do you have an example I can look at?

When I open the emoji picker for the first time (since the load of the page) it's works perfectly,
but then when I close the picker and open again, it's opening the picker but at the bottom of the scrollable container,
that means people can't see the top of the picker like search bar and frequently used emojis but the bottom (some letters emoji)

Can you create a codepen or a simple git repo showing the problem? Sounds like it might be a tricky to reproduce edge case.

Following up, can you provide some sample code?

Hey, I can share with you the whole project if you up to, I think there's more than 1 file to this issue that needs to be investigated, and I don't want to take your time so let me know (:

Can you create a simplified test case that exhibits the same behavior, or at least a video showing the behavior?
If I'm understanding correctly, you're using a popup picker, when you open it the first time it's ok but after that it opens with the content scrolled down to the bottom?
Using the standard popup picker demo here (https://picmojs.com/storybook/?path=/story/popup-emoji-picker--native) I can't reproduce this. If I open the picker, scroll down to the bottom, then close it and re-open it, the scroll position is correctly reset to the top.
I don't need to see your whole project but can you at least show me the code you're using to create the picker? What would be most helpful is if you can get a CodePen or something exhibiting the issue.


Fix TestLoadUsingPaths on linux

we need to explicitly link the test program with -ldl for the dlopen
function to be available.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@335956 91177308-0d34-0410-b5e6-96231b3b80d8

@swift-ci please test and merge


In Mac，The button does not trigger normally

When I press command + option + n, it doesn't trigger the action, I get 192 through getPressedKeyCodes, but it should be 78

hotkeys('ctrl+a,alt+a+s', {keyup: true}, function(event, handler)


BHPA Footer Design (Under Construction site frame #229)

For the new website construction (BHPA), the UX Design team plans to design footer navigation. Once the design initiates, I will add the Figma file here for review. @thiagobardini

Design File on Figma: https://www.figma.com/file/KbNIbEz1n8R5EVXEQLRSEX/Heat-Pump?node-id=1314-12661&t=JCnKDdFlkgCSEz0n-0 (For Review)

Login button color Hex code update:
Based on Webaim Contrast Checker, Foreground Color (the existing color that we use): #00497A (Footer dark blue color)
Login button Hex code: #B0E8FC
Both passed the Webaim accessibility contrast check and are good to code. @thiagobardini


Paging more the 10 page doesn't work

yes, good point. The fix is here: https://github.com/itemsapi/itemsapi/pull/63. When you update backend branch then it should be ok.

:+1:


Missing tags for recent releases

Hi! While scraping crates.io I've found tags for releases v1.7.1 and v1.7.0 to be missing on the git repository. Could those be added? Thank you

You're right, I've forgotten to add them, they are added now. Fortunately, I had a commit bumping the version in history for each, so it was possible to find them.