hoisting harmony exports can break order-dependent code in webpack 2.1.0-beta.12

I'm using Babel 6, Webpack 2.
This wasn't an issue with v2.1.0-beta.8, but since I upgraded to v2.1.0-beta.12, I assume the problem is this commit:
https://github.com/webpack/webpack/commit/0bd5d281e297a615ed688cabe55e82a592fc20db
to hoist harmony exports.
(I could be totally wrong here - I'm not sure exactly how it works, just guessing it is putting harmony exports up near the top of chunks)
It could be something else between those two releases though!
Here's an example from rxjs-es 5.0.0-beta.7 (though it could affect other rxjs versions):
File is rxjs-es/util/assign.js
import { root } from './root';
const Object = root.Object;
if (typeof Object.assign != 'function') {
    (function () {
        Object.assign = function assignPolyfill(target, ...sources) {
            if (target === undefined || target === null) {
                throw new TypeError('Cannot convert undefined or null to object');
            }
            const output = Object(target);
            const len = sources.length;
            for (let index = 0; index < len; index++) {
                let source = sources[index];
                if (source !== undefined && source !== null) {
                    for (let key in source) {
                        if (source.hasOwnProperty(key)) {
                            output[key] = source[key];
                        }
                    }
                }
            }
            return output;
        };
    })();
}
export const assign = Object.assign;
//# sourceMappingURL=assign.js.map

which is transformed into:
/* 346 */
/***/ function(module, exports, __webpack_require__) {

	"use strict";
	/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__root__ = __webpack_require__(9);

	/* harmony export */ Object.defineProperty(exports, "a", {configurable: false, enumerable: true, get: function() { return assign; }});
	var Object = __WEBPACK_IMPORTED_MODULE_0__root__["a" /* root */].Object;
	if (typeof Object.assign != 'function') {
	    (function () {
	        Object.assign = function assignPolyfill(target) {
	            if (target === undefined || target === null) {
	                throw new TypeError('Cannot convert undefined or null to object');
	            }
	            var output = Object(target);

	            for (var _len = arguments.length, sources = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
	                sources[_key - 1] = arguments[_key];
	            }

	            var len = sources.length;
	            for (var index = 0; index < len; index++) {
	                var source = sources[index];
	                if (source !== undefined && source !== null) {
	                    for (var key in source) {
	                        if (source.hasOwnProperty(key)) {
	                            output[key] = source[key];
	                        }
	                    }
	                }
	            }
	            return output;
	        };
	    })();
	}
	var assign = Object.assign;
	//# sourceMappingURL=assign.js.map

/***/ },

because the const is turned into var and vars hoist (this I believe would also be a problem with const, potentially causing some kind of temporal dead zone issue), and the harmony export is put above that,
	/* harmony export */ Object.defineProperty(exports, "a", {configurable: false, enumerable: true, get: function() { return assign; }});
	var Object = __WEBPACK_IMPORTED_MODULE_0__root__["a" /* root */].Object;

is interpreted as
       var Object = undefined;
	/* harmony export */ Object.defineProperty(exports, "a", {configurable: false, enumerable: true, get: function() { return assign; }});
       Object = __WEBPACK_IMPORTED_MODULE_0__root__["a" /* root */].Object;

which throws
Uncaught TypeError: Cannot read property 'defineProperty' of undefined
Oops! This was working with v2.1.0-beta.8, I don't know the rationale of hoisting harmony exports - maybe we can isolate the effect of hoisting them, or is the nature of JS going to make this always potentially unsafe?
My dev dependencies are:
    "babel-loader": "^6.2.4",
    "babel-plugin-syntax-trailing-function-commas": "^6.8.0",
    "babel-plugin-transform-decorators": "^6.8.0",
    "babel-plugin-transform-function-bind": "^6.8.0",
    "babel-plugin-transform-node-env-inline": "^6.8.0",
    "babel-plugin-transform-object-rest-spread": "^6.8.0",
    "babel-plugin-transform-react-constant-elements": "^6.8.0",
    "babel-plugin-transform-react-inline-elements": "^6.8.0",
    "babel-preset-es2015": "^6.6.0",
    "babel-preset-es2015-webpack": "^6.4.0",
    "babel-preset-react": "^6.5.0",
    "webpack": "^2.1.0-beta.8"

I'm using the Webpack DedupePlugin and UglifyJSPlugin.
I get exactly the same problem when I turn off the babel transforms (function-bind, object-rest-spread, decorators, node-env-inline, syntax-trailing-function-commas, transform-react-constant-elements and transform-react-inline-elements) and the Webpack plugins listed above.
Using Webpack v2.1.0-beta.11 also gave me the same problem.
Please let me know if I can provide any more information about my build set up.

Oh that's any tricky edge case. I try to solve it...

I apologize for commenting on a closed bug. I've been unable to get rxjs-es to work well, and this seemed like the same hoisting problem still. As stated in the bug above, ES6 code:
  // assign.js of RxJS
  import { root } from './root';
  const Object = root.Object;

converts to var Object = _root.root.Object;, which has the Object var that is hoisted and masks webpack code trying to build the exports. When I rewrite the function with const obj = root.Object;, the problem is avoided.
It does seem like it may be cleanly stated:

If within an imported es6 module you use the construct const Object = [anything]
to define a local const/variable, the code generated by Webpack creates a local var
named Object that interferes with the ability of webpack to bundle, breaking lines
such as Object.defineProperty(...).

So... using Object as your own variable seems like a risky prospect, but I don't see it's a reserved word (http://www.ecma-international.org/ecma-262/6.0/#sec-reserved-words), so I am assuming this is legit and should be supported.
I've tried a few combinations Webpack 2.1.0-beta-8, 11, 12, 20 with similar versions as listed above and rxjs-es v5.0.0-beta.10.
Here's one set of deps that fails:
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-es2015-webpack": "^6.4.0",
"copy-webpack-plugin": "^0.2.0",
"webpack": "^2.1.0-beta.12",
"rxjs-es": "^5.0.0-beta.10",
"webpack-dev-server": "latest"
Here is  a repo where I was able to isolate it, if that will help:
https://github.com/ndp/tests/tree/rxjs-es-babel-hmmm

This would still be a problem even without webpack converting the const Object to var Object. Object would just be in the temporal dead-zone when the import runs.
The only ways around it is to either internally rename the module-scope Object to, say, _Object, or use global.Object in places where webpack tries to call into Object...

I'll move the export statements into the runtime, as this is repeated often anyway.

Or that :D


WIP: Add raid data storer to raids plugin

Hopefully this isn't completely wrong, but I wouldn't be surprised if it is.
The goal is to have something like this except not terrible on the website behind oauth https://streamable.com/bwklw
Right now this stores:
username
kc
whether the raid was challenge mode or not (this can probably be removed as you know if it was cm or not based on if the raid had a middle floor or not)
the downtimes of each floor and the raid time
personal points
team points
team size
the rotation of the raid
and whether you preped in the raid or not (this can be removed if it isn't wanted, as a soloer its nice to have)
These are obviously subject to change and I want feedback for them, right now I am storing the rotation as the long string it is. This is obviously not optimal.
Someone will probably have to touch on the SQL, I am not very knowledgeable on it. I did get rid of the 30 day deletion on the entries as that seemed a lot less needed as very few people even have thousands of raids kc. This is the reason I store the drops even though they might be stored in the loot tracker also.
This was mostly copied from the loot tracker plugin.
I want #7981 merged first so the rotations never show unknown rooms and so raid never gets set to null before the raid is over (current it does if a player logs out or DCs)
Relies on #8122 so the times will use regex and be accurate

Superseded by the adv log PR


Deeplink not working

After updating to the latest version 2.1.0 the deeplink not working. If I change back to the 1.2.4 it works.
Also when I ran the demo from git it gave the below error.
#0   WalletConnectModalService._awaitConnectResponse (package:walletconnect_modal_flutter/services/walletconnect_modal/walletconnect_modal_service.dart:524:25)
I/flutter (14256): │ #1
I/flutter (14256): ├┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
I/flutter (14256): │ ⛔ Error connecting to wallet: JsonRpcError(code: null, message: null)

Which deeplink? Connection or sign request?
Which wallet?

Version 2.1.0, when you click on the modalconnect button it open the selected wallet like meta but it not returns to the app, while the 1.2.4 with the same code it is working.

for me, Metamask opens but does not show the connect prompt on iOS. On Android, it's working. I checked my setup in info.plist and I am not missing anything.

Do you experience the issue with my example dApp?
If you can provide a video I would appreciate it.
I know Rainbow wallet has issues receiving requests.
I know MetaMask will "fail" to receive the request if it isn't on the right chain (really misleading).
Maybe that's the issue you're facing?

@Luzzotica thanks for the reply. A weird thing happened to me. Apparently, Metamask just doesn't work on my iOS device. It does not show me the connect prompt for some reason. I tested it with the other two iOS devices and it works fine on those. I don't know what is causing the issue. I tried uninstalling Metamask, re-installing it again and creating a fresh new account but still the same. But we can say there are no issues with the SDK in terms of this particular issue. it's just my phone acting weird.


Feat toggle

working on #194

way to go dominika!  the team really appreciates this pull request!


#438

Resolving #438 .
Added a puzzle to implement chunked bodies.

@hdouss Thanks for your pull request, let me find someone who can review it

@dmzaytsev it's yours, please review

@HDouss  please see my comments

@dmzaytsev Thanks. Done !

@HDouss thank you

@rultor merge

@rultor merge

@dmzaytsev Thanks for your request. @yegor256 Please confirm this.

@yegor256 Please confirm the merge.

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 13min)

@elenavolokhova please, help us to evaluate quality here, as per par.24

@rultor deploy

@rultor deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor deploy

@davvd Done! FYI, the full log is here (took me 13min)

@davvd Looks good!

@davvd Looks good!

@elenavolokhova thanks, got it, great to see high-quality tickets here

@dmzaytsev paied 10 mins to @elenavolokhova for QA review (payment ID is 75590483)
Thanks so much! Your account was topped up for 24 mins (transaction ID is 75590777, the task took 87 hours and 32 mins)
extra minutes for review comments (c=9)
+24 added to your rating, current score is: +2634


Fix mypy==0.700 compatibility.

mypy.api.run method should take List[str] of args.
https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.parse_args
https://github.com/python/mypy/blob/d40990f5b91b1f06918222d1041441b7ff63f79a/mypy/api.py#L71

Thanks! Unsure how this stopped working in 0.700?

I didn't investigate this but running pyls with python 3.7.3 and mypy 0.700 produce list object expected error on initialization.
With mypy==0.670 initialization pass correctly.

Now released in 1.6.0


Checkpoint Required is not working

So, first of all it is giving me a wrong url. But I copied second https address but still...

It didn't work. I tried different browsers. If someone had this kind of issue, please help me to solve this. Thanks

Same error I got on this.
L = instaloader.Instaloader()
Using L.login(username, passwd) on my code (same as using --login) gives me an error
An error occurred: Login: Checkpoint required. Point your browser to https://www.instagram.com/challenge/action/AXFCafOiDQ_XRypUz57tb4J0shSaWvKiw_CNDaYaCWl7X4bO2hpKQqjRqVt4vtbY0qcfOmo/AfzMJ6PjvSZXM46Rc68381t_Ute8WryRwJ7hKCJIXcc7P3cJdAPcrCmBhVHZnQKHL2Kiy11cY4cpVQ/ffc_KWeTmh26zKnnfhBZWHMfv8cI5hNKFqWUhhU9hO1DfuagAbIqjnOUWmrqIn5xu7mZ/ - follow the instructions, then retry.
Following the url got me this

Same is happening for me. I ran the login command on another IP address (outside AWS) and it succeeded, so I just copied the session file over to my instance.


Allow for sorting Sample Details table by download size

Context

[!note]
Updated by @nozomione . Thank you for filing this @sjspielman!

Currently the download column of the samples table doesn't support sorting by file size and we want to add this functionality.

Additional Context
While looking for a small-ish sample on the portal to work with, I found that sorting on Download Size in the "Sample Details" project tabs does not behave as expected, in that it does not sort.
Here's an example screen shot of attempting to sort for SCPCP000009. It's a bit all over the place.

Some additional context, copied from @davidsmejia's reply when I brought this up in Slack:

Yeah thats a good callout for a future feature. We can add this with/after AnnData due to relevant changes allowing for this.
Sorting on download wasn't implemented until we had non-downloadable samples and we wanted them at the end of the table. Also because I didn’t think about that when I added and no one asked about it until now.
The new samples table should allow for this because we filter on modality / format and each sample row will be representative of a single computed file which has a definitive size

Problem or idea
We should make the Download column sortable by the file size in the samples table.
Solution or next step
Since the key we want to assign as an accessor,size_in_bytes, is in an array of objects (computed_files), we'll need to find a way to pass computed_files[n].size_in_bytes as the accessor of the Download column.
React-table may not support for this type of case natively. My suggestion is to manipulate the samples table's data (i.e., samples) to only include a single computed file for each column before passing it to the Table component's  data prop.
Steps (we can use existing methods and create a new one as needed):

Iterate samples and store computed_files  in a local state
Iterate computed_files and use the getFoundFile method of useDownloadOptionsContext to get the computed file for each column
Add a new property (e.g., computed_file) to samples and assign the computed file obtained above (2)
Define the accessor of the Download column to be computed_file.size_in_bytes  - I haven't tested it yet, but it should work (resource: TanStack Repo: Nested data)
Pass the newly updated samples to  the Table component
Handle table data updates on states change (e.g., modality, format) using the local state (1).

Perhaps if there is no built-in React-table support, this is the easiest way to solve this problem.
@davidsmejia Any suggestions, pleas share!

Closing with #680


[Bug] Can't parse Map affix

explicit.stat_3873704640
#% increased [Rarity|Magic] Monsters
Item Class: Tablet
Rarity: Magic
Teeming Precursor Tablet of the Essence
--------
Item Level: 69
--------
9 Maps in Range are Irradiated (implicit)
--------
Your Maps have +10% chance to contain an Essence
22% increased Magic Monsters in your Maps
--------
Can be used in a completed Tower on your Atlas to influence surrounding Maps. Tablets are consumed once placed into a Tower.

Wanted to fix this issue but noticed that the explicit does not exist on the poe trading site thats why the tool cant find it.
I tested three of the : Your Maps have % to contain X mod and they are not available yet.
I've made one of my tablets public to keep it as a permalink to track when the filter is available:
https://www.pathofexile.com/trade2/search/poe2/Standard/erDom7riL


Using fastpages github action on other blogs

The problem: When I use the fastpages github action on my own blog with the flag BOOL_SAVE_MARKDOWN set to true I end up stuck in a loop as the Bot is commiting to master.

What would be the best way to stop this from happening?
I tried using if: "!contains(github.event.commits.message, 'Bot')" and variations of the same idea but i can't seem to be able to skip triggering my build jekyll action. Is there anything specific about the bot updates i can use to filter out those commits? using the head_commit or commits.message doesn't seem to work.
Any help would be greatly appreciated, thanks!

Yes this is exactly why this option is turned off by default.  You have to pull the changes locally each time GitHub makes a change on your behalf.  It is not recommended, and is only used in a special case where you need to troubleshoot.
Otherwhise, I would suggest you only do this conversion locally (see the development guide in the README), without using GitHub Actions.


Add theming functionality

Description
Core-UI related changes:

copy themes' css-variables.css files from @sap-theming module to the public folder
create static css files for each supported theme to allow customization
create the useTheme hook to manage theming and communicate with Luigi
store the theme data in localStorage
add a theme chooser section to the preferences view

Core changes:

load the theme from localStorage on Luigi init
handle communication from microfrontend regarding theming

Related issue(s)

/test all

/test all

/retest

/retest

/retest


Quick Actions don't get displayed on Android 7.0

Expected behavior
Obviously, when this setting is enabled for "single" or "all", the delete button should appear for the appropriate number of messages being present.
Actual behavior
Notification appears, WITHOUT the delete button
Steps to reproduce

Enable notification delete button
Exit k9
receive an email

Environment
K-9 Mail version: 5.114
Android version:
7.0 (Nexus 6) or 7.1 (Pixel).
Account type (IMAP, POP3, WebDAV/Exchange):
IMAP / not applicable.

Yep notifications changed in 7.0. We fixed one issue but we need to address this too #1726
@cketti and I were discussing whether this should block a 5.200 release.

Did this work in 5.0? If it didn't, it's not a blocker.

I doubt it. I think we agreed it should be fixed afterwards. We could always do it as a 5.201 release if we wanted.

It will be broken functionality for anyone upgrading their phones currently. I don't use the feature myself, but the first thing my wife noticed when I handed her a new Pixel was that it wasn't working anymore. She's non-tech, so that's the kind of person who needs to be considered.

Sure, it's definitely a bug. But it's not worse than the current release on the app store is the point.

The current stable version probably works fine on Android 7.0/7.1 because it only uses a single (summary) notification, not individual notifications. I guess we should fix this before releasing a new stable.


Add Ability to Run zwave-js-ui-win as a Windows Service.

Tried to install zwave-js-ui-win binary as a service in Windows (in PowerShell: New-Service -Name "z-wave-js-ui" -BinaryPathName c:\z-wave-js-ui\zwave-js-ui-win.exe), but the service won't start.
Log Name:      System
Source:        Service Control Manager
Date:          12/4/2022 8:35:25 AM
Event ID:      7000
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      computernamehere
Description:
The z-wave-js-ui service failed to start due to the following error:
The service did not respond to the start or control request in a timely fashion.
Please add the ability for it run in the background when launched.

I sincerly have no clue how this could be done, I don't use windows OS and also the tool I use to create the binary don't allows to create customizations like that.
The solution could be to use https://github.com/nospaceships/node-os-service but I dunno how many users are actually using that

I also couldn't get it to work as a service, when referencing the .exe file directly. However, it does work using nssm. I use this with HA itself.

I would also like to see this feature. I would guess that there are users with Windows OS and docker option is simply overkill.
I'm not sure how you build binaries for Windows, maybe I could help, although I code in C++.

Sorry but I have other issues with higher priority now and time is so limited, If you wish to send a PR it would be more then welcome

I have successfully been able to get ZWaveJSUI to run as a service by using a free third party tool called Non-Sucking Service Manager (NSSM). Once you set it up your service it shows up in the services window and you can control it like any other service. My favorite feature of NSSM is that it also allows you to set an environment variable before the program runs. I have been using the variable PORT=1234 to have each one of my instances run with a different port number so that I can run multiple instances of ZWaveJSUI on my windows machine. I have tested and verified that it works on WIN10, WIN11, and SVR2022. Willing to make a video guide if anyone is interested.


allow sharing analysis output

It makes sense to share the (meta)analysis result to other users instead of re-creating the analysis every time various collaborators need. Gail believe qiita doesn't allow it yet.

This is allow on the backend - but the interface do not allow that


IN data bricks - SLError: HTTPSConnectionPool(host='jda.blackducksoftware.com', port=443): Max retries exceeded with url: /j_spring_security_check (Caused by SSLError(SSLError("bad handshake: SysCallError(110, 'ETIMEDOUT')")))

Hi ,
I am getting below error when running in azure datbricks envrironment , i provided all correct url,user and password
hub = HubInstance(urlbase, username, password, insecure=True)
SLError: HTTPSConnectionPool(host='jda.blackducksoftware.com', port=443): Max retries exceeded with url: /j_spring_security_check (Caused by SSLError(SSLError("bad handshake: SysCallError(110, 'ETIMEDOUT')")))

Hello, this looks like a lower level SSL error which I cannot reproduce on my end. I recommend trying the following script (which gets hub-rest-api-python out of the picture). If the script does not work please open a technical support ticket with Synopsys.
import requests
from pprint import pprint

credentials = {
    'j_username': "sysadmin",
    'j_password': "PASSWORD"  # TODO: update as necessary
}

session = requests.session()

response = session.post(
    url="https://jda.blackducksoftware.com/j_spring_security_check",
    data=credentials,
    # verify=False,  # SSL certificate validation
)

if response.status_code == 204:
    print("Successfully authenticated")
else:
    print(f"Authentication failed with status code {response.status_code}")
    pprint(response)
    pprint(response.content)

Closing as this appears to be a user/environment specific issue . Feel free to reopen if you can provide a repro.


Add Appsody Operator to community-operators

This PR contains the first version of the Appsody Operator (for community-operators).
Repo: https://github.com/appsody/appsody-operator
We installed the operator using OLM and tested well - for all supported install modes. We also manually installed operator and tested. We also have some unit tests and e2e tests that runs as part of our build.
Please let us know if anything else is needed. Thank you for your consideration!

Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
I am not sure where to select this
[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

Updates to existing Operators
Not applicable - initial release

[ ] Is your new CSV pointing to the previous version with the replaces property?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?

Your submission should not

[x] Modify more than one operator
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file a PR against this repo and explain your need
2 For more information see here

@dmesser We have a certified-operator here: https://connect.redhat.com/project/1355841/operator-metadata/details
Does that mean we don't need this PR for community-operator? The CVP/operator-packagename-uniqueness check is failing due to the name conflict.

@leochr The package name should be unique across certified, and community operators. Since you have already certified the operator, can you rename both upstream and community operator to a different name? maybe add a suffix to the name?

@leochr you could leave upstream and just rename community to appsody-community-operator


Color of all buttons and elements changed from blue to #7D54D1

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fixes #485
I changed the color of all buttons and elements from blue to purple (#7d54d1), including the loader and progress bar, etc.
As we know, external links are represented by blue color, so I changed all the blue colors except external links in DocsGPT from blue to purple (#7D54D1).
Why was this change needed? (You can also link to an open issue here)
This change was needed for Branding and consistency of design across all application.
Other information:
Please merge my pull request with the tag "hacktoberfest-accepted" and also add a label named "hacktoberfest" to the issue #485.

Thank you!


feat: Allow running container as non-root UID/GID for ownership issues (docker)

Put an x into the box if that apply:

[ ] This PR introduces breaking change.
[x] This PR fixes a bug.
[ ] This PR adds new functionality.
[ ] This PR enhances existing functionality.

Description of your changes
To fix permission issues for the container running as root, the terraform_wrapper_module_for_each module is changed to add read permissions to generated main.tf files.  Also, an entrypoint wrapper script is added to create a user/group in the container that matches the desired UID and GID.
There is a "naive" version that just patches terraform_wrapper_module_for_each and updates the README documentation with a changed docker run command at https://github.com/tofupup/pre-commit-terraform/tree/4f3d2386a2d10a1a99276bd6f69f9bbe3590a15e (first 2 commits in this branch in my fork)
The entrypoint wrapper script supports su-ing to a non-root user.  It should not break existing functionality/usage of the container.  If the container is run without specifying the USERID environment variable it will run as root.  Running as root and su-ing to another user gives flexibility for the UID and GID used to run the container, without having to pre-build an image with static values, and also allows creating a "real" user and group inside the container.
Example run command:
docker run -e "USERID=$(id -u):$(id -g)" -v $(pwd):/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a

Dockerfile

install su-exec, copy entrypoint script and configure ENTRYPOINT

tools/entrypoint.sh

USERID as 0:0, or not set, short circuits and runs pre-commit.
checks if provided UID and GID have read and write permissions to the workdir, and will error if not
/root is used as the skeleton for new user's directory.  This gets the .gitconfig that marks the workdir as safe, as well as avoids another terrascan init.
su-exec is used to su to the requested user, instead of gosu.

.github/.container-structure-test-config.yaml

Added container structure tests

.github/workflows/build-image-test.yaml

Add .dockerignore and tools/entrypoint.sh to change watch, as either could modify the container functionality

hooks/terraform_wrapper_module_for_each.sh

Add read permissions to temporary files in function create_tmp_file_tf, as these files are moved into the repo.  Other calls to mktemp in other hooks are truly temporary files.

README.md

Added documentation about USERID and permissions/ownership

Fixes #432
How can we test changes
All tests run using the terraform-aws-ec2-instance repo as base for testing.  We compare sha256sums of all files after a run -a (excluding .git/ and .terraform/ directories and the files within, as they can vary without the contents being different).  We also compare the stat output of all of the files (excluding .git/ as some filenames are variable) to verify permissions are the same, or what we're expecting.
build container with entrypoint script
❯ docker build --no-cache -t pre-commit-terraform:entrypoint --build-arg INSTALL_ALL=true .

current docker container
❯ TAG=latest && docker run -v $(pwd):/lint -w /lint ghcr.io/antonbabenko/pre-commit-terraform:$TAG run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Failed
- hook id: terraform_wrapper_module_for_each
- files were modified by this hook

Saving files into "/lint/wrappers/"

Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
❯ sudo sh -c 'find . -type d -name '.git' -prune -o -type d -name '.terraform' -prune -o -type f -print0  | xargs -0 sha256sum | sort > $(pwd).sha256sum'
❯ find . -type d -name '.git' -prune -o -exec stat --format='%n %A %U %G' {} \; | sort > $(pwd).stat

new container version
❯ docker run -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint --version
pre-commit 2.20.0
❯ docker run --entrypoint cat pre-commit-terraform:entrypoint /usr/bin/tools_versions_info
pre-commit 2.20.0
Terraform v1.2.8
checkov 2.1.182
Infracost v0.10.11
terraform-docs version v0.16.0 1f686b1 linux/amd64
terragrunt version v0.38.9
terrascan version: v1.15.2
TFLint version 0.39.3
tfsec v1.27.6
tfupdate 0.6.7
hcledit 0.2.6

new container with no user environment variable specified
❯ docker run -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Failed
- hook id: terraform_wrapper_module_for_each
- files were modified by this hook

Saving files into "/lint/wrappers/"

Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
❯ sudo sh -c 'find . -type d -name '.git' -prune -o -type d -name '.terraform' -prune -o -type f -print0  | xargs -0 sha256sum | sort > $(pwd).sha256sum'
❯ find . -type d -name '.git' -prune -o -exec stat --format='%n %A %U %G' {} \; | sort > $(pwd).stat

new container with USERID=0:0
❯ docker run -e "USERID=0:0" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Failed
- hook id: terraform_wrapper_module_for_each
- files were modified by this hook

Saving files into "/lint/wrappers/"

Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
❯ sudo sh -c 'find . -type d -name '.git' -prune -o -type d -name '.terraform' -prune -o -type f -print0  | xargs -0 sha256sum | sort > $(pwd).sha256sum'
[sudo] password for john:
❯ find . -type d -name '.git' -prune -o -exec stat --format='%n %A %U %G' {} \; | sort > $(pwd).stat

Verify the output of the original container, and the new containers run with root permissions output the same files and permissions
❯ sha256sum *.stat
340bc54ce35d476c90cb9274611dccc3e829b84b95bc515b6de0eb727e24a0be  terraform-aws-ec2-instance.newcont-0x0.stat
340bc54ce35d476c90cb9274611dccc3e829b84b95bc515b6de0eb727e24a0be  terraform-aws-ec2-instance.newcont-nouser.stat
340bc54ce35d476c90cb9274611dccc3e829b84b95bc515b6de0eb727e24a0be  terraform-aws-ec2-instance.orig.stat
❯ sha256sum *.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  terraform-aws-ec2-instance.newcont-0x0.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  terraform-aws-ec2-instance.newcont-nouser.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  terraform-aws-ec2-instance.orig.sha256sum

Files not owned by UID 1000 after run
generated .terraform/ directories and files, throughout repository
.git/index
wrappers/main.tf

Run setting USERID to 1000:1000 (matching repository files)
❯ docker run -e "USERID=1000:1000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Failed
- hook id: terraform_wrapper_module_for_each
- files were modified by this hook

Saving files into "/lint/wrappers/"

Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
❯ sudo sh -c 'find . -type d -name '.git' -prune -o -type d -name '.terraform' -prune -o -type f -print0  | xargs -0 sha256sum | sort > $(pwd).sha256sum'
❯ sha256sum ../terraform-aws-ec2-instance.newcont-1000x1000.sha256sum ../terraform-aws-ec2-instance.orig.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  ../terraform-aws-ec2-instance.newcont-1000x1000.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  ../terraform-aws-ec2-instance.orig.sha256sum
❯ find . ! -user 1000
❯ find . ! -group 1000

new container verify running single hook
❯ docker run -e "USERID=1000:1000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a terraform_validate
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
Terraform validate.......................................................Passed
❯ find . ! -user 1000
❯ find . ! -group 1000

Run setting USERID to 1000:2000 (UID matches, but GID does not)
As expected the UIDs of all files are correct, but the GID of the same files that were set to root in the original run is now 2000.
❯ docker run -e "USERID=1000:2000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
[INFO] Initializing environment for https://github.com/antonbabenko/pre-commit-terraform.
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Terraform fmt............................................................Passed
Terraform wrapper with for_each in module................................Failed
- hook id: terraform_wrapper_module_for_each
- files were modified by this hook

Saving files into "/lint/wrappers/"

Terraform validate.......................................................Passed
Terraform docs...........................................................Passed
Terraform validate with tflint...........................................Passed
check for merge conflicts................................................Passed
fix end of files.........................................................Passed
❯ sudo sh -c 'find . -type d -name '.git' -prune -o -type d -name '.terraform' -prune -o -type f -print0  | xargs -0 sha256sum | sort > $(pwd).sha256sum'
❯ sha256sum ../terraform-aws-ec2-instance.newcont-1000x2000.sha256sum ../terraform-aws-ec2-instance.orig.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  ../terraform-aws-ec2-instance.newcont-1000x2000.sha256sum
8878c7373eb5d89130efed62d74336eaaf3e773335b7a82d9f02b3495200bbb6  ../terraform-aws-ec2-instance.orig.sha256sum
❯ find . ! -user 1000
❯ find . -group 2000

Run with invalid USERID
❯ docker run -e "USERID=10t0:2000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
USERID environment variable invalid, format is userid:groupid.  Received: "10t0:2000"

Run with USERID 2000:3000, no permissions on repository
❯ docker run -e "USERID=2000:3000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
user:gid 2000:3000 lacks permissions to /lint/

Run with USERID 2000:1000, no write permissions on repository, but do have read
❯ docker run -e "USERID=2000:1000" -v $(pwd):/lint -w /lint pre-commit-terraform:entrypoint run -a
user:gid 2000:1000 lacks permissions to /lint/

@MaxymVlasov @yermulnik What do you think?

@MaxymVlasov @yermulnik What do you think?

It looks reasonable for the described use case of mismatched ownership.

@yermulnik Thank you so much for your time and detailed feedback on these changes, I really appreciate it.
I made one additional change that I think is appropriate for this PR, in 6b3f6a9, to make sure the container is running at root before going through the script, and provide a usage example if not.

@tofupup Thanks for your comments. They make sense. Let me give another round of review to the PR and let's wait for @MaxymVlasov to add his thoughts.

I'm waiting for the end of @yermulnik reviews iterations :)

I'm waiting for the end of @yermulnik reviews iterations :)

🤝 😂

Ah, that was GH rate limits, not unzip issue, I remove that changes. Sorry

This PR is included in version 1.75.0 :tada:

Wow! What impressive cooperation on the PR by @tofupup @yermulnik @MaxymVlasov !

Sincere thanks to @MaxymVlasov and @yermulnik for all of the time and detailed knowledge expended on this.  For @MaxymVlasov, I will definitely try to keep on top of issues related to the new code, but as you say hopefully the comments help if someone else has to touch it.


Have you considered using cookies to dynamically set and get the current language

Have you considered using cookies to dynamically set and get the current language, that is to say, it is not entirely based on the language of the browser itself to call the language pack

Similar to the figure above, the default language of the current browser shall prevail. After switching, the language of the entire project shall be subject to the switched language.

@xaviersolau

Well, you can find in the repository 2 sample projects:

One server side using cookies to store current language as explained in the Microsoft doc:
https://docs.microsoft.com/fr-fr/aspnet/core/blazor/globalization-localization?view=aspnetcore-5.0#provide-ui-to-choose-the-culture
One Client side (Wasm) using hard coded way to switch language.

Actually, you can store the language selection in cookies or in the local storage and load it at startup.

So how to switch at runtime and also after the switch when refreshing?

Basically, if you are using Blazor Wasm, one solution could be :

To set the CultureInfo static properties (like CultureInfo.DefaultThreadCurrentUICulture) at startup from local storage.
Add a menu to define new language and store it in the storage.
Refresh the page using NavigationManager.NavigateTo("my current url", true);

Or another solution could be to start from what I did in my sample:
https://github.com/xaviersolau/BlazorJsonLocalization/blob/main/src/examples/SoloX.BlazorJsonLocalization.Example.Wasm/Shared/MainLayout.razor
I updated the sample using local storage to save the selected language.
Hope this help.

Thank you so much, your Demo is very clear

Under what circumstances will there be other calls that also need to be called?

In addition, whether it can be configured globally, this way, the local storage is checked before obtaining the language pack. If the local storage is directly based on what is in the local storage, if not, it will be based on the browser default.

@xaviersolau

Well, I didn't catch it was a question.... Yes the sooner you can initialize the CultureInfo.DefaultThreadCurrentUICulture the better.
Actually in Blasor Wasm you can do it directly in the Program.cs since the local storage is already accessible.
var host = builder.Build();

var localStorage = host.Services.GetRequiredService<ISyncLocalStorageService>();

if (localStorage.ContainKey(LanguageKey))
{
    var ci = CultureInfo.GetCultureInfo(localStorage.GetItemAsString(LanguageKey));
    CultureInfo.DefaultThreadCurrentUICulture = ci;
}

In this case you will also need to add a property in your application project file (csproj) unless you will get an exception:
<PropertyGroup>
  <BlazorWebAssemblyLoadAllGlobalizationData>true</BlazorWebAssemblyLoadAllGlobalizationData>
</PropertyGroup>

Okay, another new problem is that it will call all language items through http. There should be a bug here, if it has already been called, then no other items should be called

Is your project on github ? or could you provide some sample code to help me reproduce ?
The lib is also using logs... could you provide those application logs?

Currently there is no newest project, but the problem is related to your last update. There is no problem with the previous version, but there will be problems after the upgrade.

What version are you talking about? Is it the version 1.0.2-alpha.2?
This version is actually using a new feature which is using parent culture hierarchy. Basically, it provides a fallback on the parent culture.
For example if a key is not present in the Local-fr-FR.json it will fall back to Local-fr.json and if it still don’t match the key it will fall back again to Local.json.
The fact is that in version 1.0.2-alpha.2 the LoadAsync was actually loading the whole parent hierarchy. (In my example: Local-fr-FR.json, Local-fr.json and Local.json)
I am planning (in version 1.0.2-alpha.4) to change the behavior to make it optional in the LoadAsync method. So, in your case, it should be back to what you had in the previous version 1.0.2-alpha.1.
Note that in the loading process if a file is not found (404 error) for a given culture it will always try to load the parent culture file.

Do I need to add any parameters to ensure that other language pack files will not be called? I currently use the latest code

No you don't need to specify any parameters.
Could you provide the browser console logs?
Are you injecting the IStringLocalizer outside a razor component?
I am suspecting that in some way a StringLocalizer is created before CultureInfo.CurrentUICulture is actually set to the right language.
I will update the lib to log what you get in the CultureInfo.CurrentUICulture. It may help to investigate.

version 1.0.2-alpha.5 is available with additional logs to see what language is setup:

What I currently suspect is that when a translation of the current language pack does not exist, other files will be called, whether it is possible to add a switch parameter that is not allowed to call other translation files

Please, could you provide your logs with v alpha 5 ?


Update CONTRIBUTING.md

:warning: This is a Pull Request Template :warning:

Checkout all the things you've done by placing an x within the square braces below.

Proposed Changes

[x] I've read the CODE OF CONDUCT and abide to it.
[x] I've read the CONTRIBUTING.md
[x] I've forked the repository.
[x] I've created a branch and made my changes in it.
[x] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

another request

Please re-submit with only a README change or a new code file in the /code directory ... thank you 👍


Build new notebook container images by snapshotting an interactively created prototype notebook

We're trying to explore multiple possibilities for user-friendly notebook container building. One approach proposed at 2024-08-15 meeting is to let users snapshot the filesystem of their running notebook pods, upload the result into container registry as a new image, and then many new notebook instances can be created from this image.
My preferred implementation idea follows what Kaniko does (https://github.com/GoogleContainerTools/kaniko/blob/main/docs/designdoc.md). The main difference is that we can (should) use multiple containers in the pod, as we don't need to run any additional commands in the container that's being snapshotted.
1 ) create an ephemeral debug container using our snapshotter's image next to the user's container, in the same pod
2) create another ephemeral debug container using the same base image as the user's container uses, override entrypoint so that nothing actually runs
3) in the snapshotter, access the filesystems of the other containers through /proc/$PID/root, compute diff between the base image and user's image filesystems using the naive approach described in kaniko design doc, build a tar layer from the changed files, and either upload that directly, or combine it with the original base image to form a new ready-to-be-deployed image.
Skip the same directory that kaniko skips (/proc, ..., also any volume mounts).
Kubernetes itself is capable of "checkpointing" of running containers. https://kubernetes.io/blog/2022/12/05/forensic-container-checkpointing-alpha/ this is also an avenue to explore, but it seems to require being a privileged user to perform this operation.

/label kind/enhancement project/notebooks-v2
/assign jiridanek

/label kind/enhancement project/notebooks-v2

/label kind/enhancement

There are a couple of problems with your proposed approach (but they might be acceptable):

It requires the credentials to push to the registry to be accessible to the user
Ephemeral containers are permanent, and will continue running for the lifetime of the notebook pod (I know, I know, it's ironic given the name)
Kaniko has some image compatibility problems, so I wonder if buildah mount is better.

Ephemeral containers are permanent, and will continue running for the lifetime of the notebook pod (I know, I know, it's ironic given the name)

They will stick around, but they need not continue running. They can be in Terminated state if a way is found to terminate them after the work is done, at which point they only takes up screenspace in kubectl describe but should not have any other impact, at least I hope so.

Also interestingly, Kubernetes 1.31 added a new volume type for OCI images, which might help us do this more efficiently:
https://kubernetes.io/docs/tasks/configure-pod-container/image-volumes/


chore: update contribution link

Proposed changes

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Refactoring (improve a current implementation without adding a new feature or fixing a bug)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Build (changes that affect the build system)
[ ] Docs (documentation only changes)
[ ] Test (adding missing tests or fixing existing tests)
[ ] Other... Please describe:

Checklist

[ ] I have read the CONTRIBUTING documentation
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.
If no reviewer appears after a week, a reminder will be sent out.

This PR was handled with the addition of https://github.com/ArkEcosystem/.github.

Your pull request has been closed, thank you for trying to solve an issue. If you think it was closed prematurely please provide additional information.


Add missing Jackson config

Solves #192

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


Vue.js version

I've used this component very successfully in a few react projects. Now i'm working on a Vue.js project I was wondering if there was an adapter so that it could be used in Vue.js?

I did bit more hunting around, although a native Vue component would be nicer I found that https://github.com/akxcv/vuera was a good alternative to polyfill React components into a Vue app and vice versa.


Fix wiki redirects

When creating or editing a wiki page, the redirect to the wiki page does not work because the file name is used instead of the page name.
This happens on our instance since upgrading to Gitea 1.4. If the PR is okay, I will also prepare a backport for 1.4.

Codecov Report

Merging #3919 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master    #3919   +/-   ##
=======================================
  Coverage   20.18%   20.18%
=======================================
  Files         145      145
  Lines       29171    29171
=======================================
  Hits         5887     5887
  Misses      22391    22391
  Partials      893      893

Impacted Files
Coverage Δ

routers/repo/wiki.go
42.95% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add isPasswordConfirmation

Closes #76
you want another one for is500 and  isPasswordConfirmation together?

I’d like that but I doubt we’ll be able to figure out an understandable name to include both of them.

So skip?

🚀 ?


android6.0以后的敏感权限怎么控制的？

PermissionUtils还没做呢，第三方库很多，可以选一个暂时

写的不错，6.0动态权限，我写了个库，在permissionutil,你们可以看下。

@nzsdyun 好的

Thank you, I have received your letter and have already visited GitHub!
发自银河系火星
在2018年01月11日<EMAIL_ADDRESS>写道：
Closed #309.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


jvm reload

fixes #25

@rultor merge

@rultor merge

@caarlos0 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@caarlos0 Done! FYI, the full log is here (took me 1min)

@jvm release, tag=0.1.4


Vespa Cluster down during feeding

Describe the bug
We a re using the vespa feeder client to feed documents to our vespa cluster. We have set a memory resource limit of 90% to block feed. But some of our nodes crashed upon reaching memory utilization close to around 85%(From cluster controller page).
We are getting the following message on the cluster controller page - Connection error: java.net.SocketException: Connection reset
System shows - Cluster down
Vespa Version : 8.80.20
Could you please help us in understanding issue or prevent it?
1673904303.822979       argorn-content-1.argorn-internal.namespace.svc.cluster.local      603/10160       distributor     vds.distributor.operation.idealstate.merge      warning Merging failed for BucketId(0x400000000000b449): MergeBucketReply(BucketId(0x400000000000b449), to time<PHONE_NUMBER>009029, cluster state version: 3853, nodes: [2, 9, 16], chain: []) with error 'ReturnCode(INTERNAL_FAILURE, Failed put for id:namespace:domainDocument::850532a4-dea0-477b-a568-6f1ec1923448 in Bucket(0x400000000000b449): Result(5, Put operation rejected for document 'id:namespace:domainDocument::850532a4-dea0-477b-a568-6f1ec1923448': 'memoryLimitReached: { action: "add more content nodes", reason: "memory used (0.91417) > memory limit (0.9)", stats: { mapped: { virt:<PHONE_NUMBER>, rss: 178622464}, anonymous: { virt:<PHONE_NUMBER>4, rss:<PHONE_NUMBER>6}, physicalMemory:<PHONE_NUMBER>0, memoryUsed: 0.91417, memoryLimit: 0.9}}'))'
1673904306.152936       argorn-content-1.argorn-internal.namespace.svc.cluster.local      2488/41235      searchnode      proton.translogserverapp        config  configure Transaction Log Server tls at port 19108\nDomainConfig {encoding={2, 3}, compression_level=3, part_limit=50000000, chunk_limit=256000}
1673904306.155595       argorn-content-1.argorn-internal.namespace.svc.cluster.local      2488/41235      searchnode      proton.translogserverapp        config  configure Transaction Log Server tls at port 19108\nDomainConfig {encoding={2, 3}, compression_level=3, part_limit=50000000, chunk_limit=256000}
1673904309.219304       argorn-content-1.argorn-internal.namespace.svc.cluster.local      603/10160       distributor     vds.distributor.operation.idealstate.remove     info    Remove operation on bucket BucketId(0x4000000000006123) failed. This distributor has already removed the bucket from the bucket database, so it is not possible to retry this operation. Failure code: ReturnCode(NO_ADDRESS_FOR_SERVICE, The address of service 'storage/cluster.clusterName/storage/10' could not be resolved. It is not currently registered with the Vespa name server. The service must be having problems, or the routing configuration is wrong. Address resolution attempted from host 'argorn-content-1.argorn-internal.namespace.svc.cluster.local')
1673904309.255578       argorn-content-1.argorn-internal.namespace.svc.cluster.local      603/42936       distributor     vds.distributor.operation.idealstate.remove     info    Remove operation on bucket BucketId(0x400000000000770a) failed. This distributor has already removed the bucket from the bucket database, so it is not possible to retry this operation. Failure code: ReturnCode(NO_ADDRESS_FOR_SERVICE, The address of service 'storage/cluster.clusterName/storage/10' could not be resolved. It is not currently registered with the Vespa name server. The service must be having problems, or the routing configuration is wrong. Address resolution attempted from host 'argorn-content-1.argorn-internal.namespace.svc.cluster.local')
1673904309.261463       argorn-content-1.argorn-internal.namespace.svc.cluster.local      603/10160       distributor     vds.distributor.operation.idealstate.remove     info    Remove operation on bucket BucketId(0x400000000000151d) failed. This distributor has already removed the bucket from the bucket database, so it is not possible to retry this operation. Failure code: ReturnCode(NO_ADDRESS_FOR_SERVICE, The address of service 'storage/cluster.clusterName/storage/10' could not be resolved. It is not currently registered with the Vespa name server. The service must be having problems, or the routing configuration is wrong. Address resolution attempted from host 'argorn-content-1.argorn-internal.namespace.svc.cluster.local')
1673904313.046048       argorn-content-1.argorn-internal.namespace.svc.cluster.local      603/10177       distributor     vds.distributor.bucketdb.updater        info    After cluster state change storage [9: u to d, 10: u, start timestamp<PHONE_NUMBER> to d, start timestamp 0, 11: u to d], 227 buckets no longer have available replicas. 2678 documents in these buckets will be unavailable until nodes come back up

Please note that your 90% configured limit can be reached by a temporal, short-lived memory increase that kicks in as part of maintenance operations. So what you observe is expected - a cluster that is 85% full should have more resources.
The log message says:
"add more content nodes", reason: "memory used (0.91417) > memory limit (0.9)"

So everything works as expected. Please use https://docs.vespa.ai/en/operations/admin-procedures.html#add-or-remove-a-content-node to add more capacity to your system.

I understand it reached 90% and it blocked feed which is fine. But the cluster should not go down even if 90% was reached.
Our expection is feeding would be stopped but the cluster would still be functional

Agreed - it should not crash. I believe we have made some improvements to temporary memory usage lately, @geirst - not sure if that was before or after 8.80

The required memory will fluctuate due to background maintenance processes and queries consuming variable amount of memory. The default memory limit is set with enough memory headroom to ensure that nodes will never need to go above 100% dues to temporary memory needs. When you increase the memory limit you will be at risk of this happening and that's what you see here.
Recommendation: Don't override the default memory limit.

Thanks a lot!

I should add: The limit is set by observing many different applications, data and workloads. For a given application, data set and workload it can be safe to tune it upwards. To determine that you need to observe the actual, memory usage over time.


Support custom environment name

We have made changes to support custom environment name as in the Target UI under Administration > Environments.
The default environment is set to production.
For CDN, we are always pointing to assets.adobetarget.com, aligning with our Java SDK implementation.
Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[X] I have signed the Adobe Open Source CLA.
[X] My code follows the code style of this project.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have read the CONTRIBUTING document.
[X] I have added tests to cover my changes.
[X] All new and existing tests passed.

coverage: 92.61% (-0.04%) from 92.653% when pulling dfaff12787a90e91269331f2041c7ea2ef1213bd on shandilya3:TNT-47592-environmentFix into c7aa8ef6cd6a4d8eb992e3ef746edd2406e54807 on adobe:main.


Gameplay Modifier: Mirror Mode

Flip chart notes horizontally as seen in many rythm games.
https://user-images.githubusercontent.com/88955176/168459633-f899972f-15b4-47ba-86bb-287e68c570ed.mp4

Nice, can I use this code in my build?

Yeah no problem.

Nice, can I use this code in my build?

Yeah no problem.

Thanks!

Very cool! Can I use this in my mod?

shadowmario should make a modifier substate at this point

Gameplay Changers is quite literally that


Processes is not being terminated properly

pyMODI version: 0.7.1 / develop
Python version: 3.7.5
Operating System: Windows 10

Description
When I executed pyMODI in Windows 10 OS, the script wasn't terminated properly.
I just thought this might occur because of problem related in multiprocessing module.
I confirmed that a process named 'self.__task' have already been stopped before the script over.
I attached the error messages.
(modi_ai) C:\Users\funkywoong\Desktop\MODI_AI\temp> python test.py
Start initializing connected MODI modules
MODI modules are initialized!
DONE
Exception ignored in: <function SerTask.__del__ at 0x0000019AD1DA0E58>
Traceback (most recent call last):
  File "C:\Users\funkywoong\AppData\Local\Continuum\anaconda3\envs\modi_ai\lib\modi\_ser_task.py", line 21, in __del__
  File "C:\Users\funkywoong\AppData\Local\Continuum\anaconda3\envs\modi_ai\lib\modi\_ser_task.py", line 51, in _close_conn
AttributeError: 'NoneType' object has no attribute 'close'

What I Did
Deleted '__del__()' magic method of 'ser_task.py' to prevent calling close() method.

Download a new version of pymodi 0.9.0. We terminate each process manually.


ble central Repeat read and write to three peripherals error USAGE FAULT

Currently I can connect one central to three peripherals
After the connection is established, the corresponding uuid and handle are also found
I use these two functions to read/write
bt_gatt_write(bt_conn_lookup_index(conn_index), &write_params);
bt_gatt_read(bt_conn_lookup_index(conn_index), &read_params);
conn_idex is the value I entered by myself, it seems I want to connect to the number (if I want to write/read to three peripherals in sequence, fill in 0,1,2 in sequence)
But when central sent read/write to peripheral and ran for one round, the following error occurred when it was about to run the second round
```
[00:00:06.042,266]  os: ***** USAGE FAULT *****
[00:00:06.042,297]  os: Illegal use of the EPSR
[00:00:06.042,297]  os: r0/a1: 0x20000218 r1/a2: 0x00000001 r2/a3: 0x200016fc
[00:00:06.042,297]  os: r3/a4: 0x00000000 r12/ip: 0x0000cfe9 r14/lr: 0x0000de87
[00:00:06.042,297]  os: xpsr: 0x20000000
[00:00:06.042,297]  os: Faulting instruction address (r15/pc): 0x00000000
[00:00:06.042,327]  os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
[00:00:06.042,327]  os: Current thread: 0x200013f0 (unknown)
[00:00:06.780,883]  os: Halting system
```
How can I remove this error?
Is there a problem with the bt_conn_lookup_index I quoted in bt_gatt_write/read?
What to do to make one central communicate with multiple peripherals?
Environment:

Zephyr 2.4.0

zephyr-sdk-0.11.3

nrf52840

Should check the return value of bt_conn_lookup_index.
I would recommend to enable CONFIG_ASSERT, there is probably an assert before the usage fault.

@mfinmuch any updates?

Closing because of inactivity, please reopen if this is still an issue.


How to get the number of trainable parameters

In transformers, I directly have a method on the model to get the number of parameters, I was using the lambda rank training strategy, and I could not find a get parameters method, how do I get to know the total number of trainable parameters in the neural network.

Thanks for using LightGBM.
A LightGBM model is not a neural network. It's an ordered ensemble of decision trees, where the trees' scores are added to produce a prediction of the target.
So there is not exactly a concept in projects like this, XGBoost, CatBoost, etc. analogous to "number of trainable parameters" in a neural net.
In LightGBM, the complexity of the model is measured by the total number of leaf nodes over all the trees. The upper limit of that is determined by the following constraints:

num_iterations = number of trees
max_depth = deepest one tree is allowed to be (e.g. longest allowed path from root to leaf)
num_leaves = maximum number of leaf bodes one tree can have

These cnbstraints can tell you the MAXIMUM model size, but in practice a trained model may be smaller based on the size and distribution of the training data.

then what would be the parameters / weights in this case.
In a neural network I have the loss function, and I compute the derivative of the loss function with respect to each of the weights, and subtract the weights with learning rate times this derivative / gradient wrt each weight respectively.
If there is no parameter in lightgbm, then what is the substitute of derivative of loss with respect to weight here.
Furthermore, transformer use 300 million+ parameter, and I use a pre trained transformer (like BERT), and substitute the final layers to fine tune this neural network.
If there is no parameter in lightgbm, then how do I fine tune a pre trained lightgbm model?

what would be the parameters / weights in this case?
what is the substitute of derivative of loss with respect to weight here?

LightGBM creates an ensemble of trees. Those trees are composed of "splits", combinations of features and thresholds that partition the data (e.g. feature_5 > 7.18).
Each split added to a tree is the one that maximizes the "gain" of the model, which conceptually is like "improvement in the loss function". This is how the choice of loss function impacts the eventual model.

how do I fine tune a pre trained lightgbm model?

Please see this answer: https://stackoverflow.com/questions/73664093/lightgbm-train-vs-update-vs-refit/73669068#73669068.

I think you might find LightGBM easier to understand if you learned about it from first principles, instead of trying to compare it to things like BERT that are very different.
Please see these resources to get started:

excellent docs from XGBoost on how gradient boosting with trees works: https://xgboost.readthedocs.io/en/stable/tutorials/model.html
the original LightGBM paper: https://proceedings.neurips.cc/paper/2017/file/6449f44a102fde848669bdd9eb6b76fa-Paper.pdf


[Bug]: Error on windows 11 when trying to copy assets

What happened?
I ran the command as per the documentation and I got the error be;pw
PS C:\Users\Gav\Desktop\SomersetYouth> php artisan vendor:publish --tag="filament-form-builder-views"
INFO  Publishing [filament-form-builder-views] assets.
ERROR  Can't locate path: <C:\Users\Gav\Desktop\SomersetYouth\vendor\tomatophp\filament-form-builder\src/../resources/views>.
How to reproduce the bug
php artisan vendor:publish --tag="filament-form-builder-views"
Package Version
dev-master
PHP Version
8.2.0
Laravel Version
11.31
Which operating systems does with happen with?
Windows
Notes
No response

project still under development we don't release it yet


Search summary support

https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3117719.html

@hayden-t I'm impressed this repo is still getting any activity at all.  This project has been dead for nearly a decade and the company around it has been shut down for many years.  I'm not even sure who owns the github organization account anymore.  I can't speak for the company, I was just a developer there, but I'd say you should probably go ahead and run with your own fork.  It's highly unlikely you'll get commits into this repo.
Hey @fastjames or @JamesChristie are you conscious and do you know anything about the state of the Acumen repos?  💟

HA ! Its alive. Yeah I kinda already knew it was dead, I did get onto someone from acumen several years back, ill try and find the old email. Im more just doing pull requests so if anybody comes across the base repo they see there are extra features already coded if they dont look into the forks/network activity

https://github.com/acumenbrands/rest_suite/issues/39#issuecomment-415448852

Yeah I'd definitely advocate for updating the README to point to your fork with a little bit of information.
Happy Hacking!

I just emailed james on his profile listed address if he doesnt get a ping from your post. :) Time flies, but this is still running live on our ecommerce all these years.

I can reach both of the James if you need to reach out badly enough.  Let's see what the ping does.

james replied and confirmed he can make updates, not sure if to let him merge my pull requests into your repo or just have him link to my fork

My vote would be to update the README and/or repo with a link to your fork but we'll see what shakes out.

yeah my preference too, also if i am going to get a merge, i actually rather my main branch merged even though they are the same

The README on this repo has been updated to point viewers to the active fork, so I hope that moves all the good activity to the proper place. I am glad to see that people are using what we wrote!


Need to add an asynchronous client

py-opendota version: 0.2.9
Python version: doesn't matter
Operating System: doesn't matter

The asynchronous client is not very good in conjunction with asynchronous libraries and frameworks like aiogram.

https://github.com/FilinSep/aiota2


Add Shadertoy Links

I really like the fractals! I've used shadertoy a lot recently and figured I'd add them on there - especially as you had a blank spot for it!
https://www.shadertoy.com/view/dtGBWt
https://www.shadertoy.com/view/dlGBWt
https://www.shadertoy.com/view/mtyBWt
https://www.shadertoy.com/view/dtyBWt
cheers!

Oh wow, I really did forget to do that, huh? I think I ended up uploading some of them to my personal Shader Toy account, but I never got around to adding the links to the files, and they are older versions anyway. Thanks a lot! I'll merge it!
Also, glad you like them :)


Error "Extra argument 'equalTo' in call" occurs when using more than one ".by" operation

I'm receiving the following error when trying to filter my result set by multiple criteria:
"Extra argument 'equalTo' in call"
Here's my example:
var scope = ContactCard.by("contactId", equalTo: self.id).by("ownerId", equalTo: self.id)
scope.first().find().firstObject() as ContactCard

In the documentation, it briefly mentions that concatenation can be used:

Filtering and sortering methods can be concatenated and finally fetched using find()

There are no examples though so I might be reading into this statement a bit.  Is it possible to filter of multiple attributes?

The fault was in a commit made some time ago that has now been reverted. It should work as expected now.


[bug] Packaging Chinese Error Messages on Windows

Describe the bug
ProductName cannot be packaged when in Chinese
tauri.conf.json
  "package": {
    "productName": "智慧浩翔",
    "version": "0.2.0"
  },

use yarn tauri build
PS D:\Code\Test\tauri-template> yarn tauri build
yarn run v1.22.19
warning package.json: No license field
$ D:\Code\Test\tauri-template\node_modules\.bin\tauri build
   Compiling app v0.1.5 (D:\Code\Test\tauri-template\src-tauri)
    Finished release [optimized] target(s) in 33.65s
        Info Target: x64
 Downloading https://go.microsoft.com/fwlink/p/?LinkId=2124703
     Running candle for "main.wxs"
     Running light to produce D:\Code\Test\tauri-template\src-tauri\target\release\bundle\msi\智慧浩翔_0.2.0_x64_zh-CN.msi
        Info Target: x64
 Downloading https://go.microsoft.com/fwlink/p/?LinkId=2124703
     Running makensis.exe to produce D:\Code\Test\tauri-template\src-tauri\target\release\bundle\nsis\智慧浩翔_0.2.0_x64-setup.exe
File: "D:\Code\Test\tauri-template\src-tauri\target\release\鏅烘収娴╃繑.exe" -> no files found.
Usage: File [/nonfatal] [/a] ([/r] [/x filespec [...]] filespec [...] |
   /oname=outfile one_file_only)
Error in script "D:\Code\Test\tauri-template\src-tauri\target\release\nsis\x64\installer.nsi" on line 425 -- aborting creation process
       Error failed to bundle project: `系统找不到指定的文件。 (os error 2)`
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Reproduction
No response
Expected behavior
No response
Platform and versions
[✔] Environment
    - OS: Windows 10.0.25375 X64
    ✔ WebView2: 113.0.1774.57
    ✔ MSVC: Visual Studio Community 2022
    ✔ rustc: 1.69.0 (84c898d65 2023-04-16)
    ✔ Cargo: 1.69.0 (6e9a83356 2023-04-12)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
    - node: 16.16.0
    - yarn: 1.22.19
    - npm: 8.11.0

[-] Packages
    - tauri [RUST]: 1.3.0
    - tauri-build [RUST]: 1.3.0
    - wry [RUST]: 0.24.3
    - tao [RUST]: 0.16.2
    - @tauri-apps/api [NPM]: not installed!
    - @tauri-apps/cli [NPM]: 1.3.1

[-] App
    - build-type: bundle
    - CSP: default-src 'self'; img-src 'self' asset: https://asset.localhost
    - distDir: https://oa.haoxianggroup.cn/
    - devPath: https://oa.haoxianggroup.cn/

Stack trace
No response
Additional context
No response

Duplicate of #7036. This should be fixed in the next release, thanks for the report :)


Build error from 2022.1

I'm getting the following error on Linux when trying to build the latest release with CMake
$ cmake --build build
make[2]: *** No rule to make target '/usr/include/spirv/unified1/extinst.nonsemantic.shader.debuginfo.100.grammar.json', needed by 'NonSemanticShaderDebugInfo100.h'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:902: source/CMakeFiles/spirv-tools-header-NonSemanticShaderDebugInfo100.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target '../source/extinst.nonsemantic.shader.debuginfo.100.grammar.json', needed by 'nonsemantic.shader.debuginfo.100.insts.inc'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:798: source/CMakeFiles/spv-tools-shdi100.dir/all] Error 2

this is probably caused by having an out of date version of spirv-headers, probably below sdk-<IP_ADDRESS>

Hitting the following errors with the latest spirv-headers
/home/simon/src/aports/main/spirv-tools/src/SPIRV-Tools-2022.1/source/val/validate_image.cpp:75:10: error: 'SpvImageOperandsNontemporalMask' was not declared in this scope; did you mean 'SpvImageOperandsSampleMask'?
   75 |     case SpvImageOperandsNontemporalMask:
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |          SpvImageOperandsSampleMask
/home/simon/src/aports/main/spirv-tools/src/SPIRV-Tools-2022.1/source/val/validate_image.cpp: In function 'spv_result_t spvtools::val::{anonymous}::ValidateImageOperands(spvtools::val::ValidationState_t&, const spvtools::val::Instruction*, const spvtools::val::{anonymous}::ImageTypeInfo&, uint32_t)':
/home/simon/src/aports/main/spirv-tools/src/SPIRV-Tools-2022.1/source/val/validate_image.cpp:635:14: error: 'SpvImageOperandsNontemporalMask' was not declared in this scope; did you mean 'SpvImageOperandsSampleMask'?
  635 |   if (mask & SpvImageOperandsNontemporalMask) {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |              SpvImageOperandsSampleMask

It seems like you still don't have the latest headers. spirv.h should have the following:
#define SPV_VERSION 0x10600
#define SPV_REVISION 1

It looks like the version I need is in the sdk-1.3.204 but it has not been officially tagged. I made a request for a release two days ago.

If you clone top-of-tree from https://github.com/KhronosGroup/SPIRV-Headers you will get a version that will work for you.

I believe I have addressed this issue sufficiently, so will close. If you have further problems, I will re-open.


[v2.x] Subtitles Representation

Hello!
I have a manifest with an adptation set like this:
...
<AdaptationSet group="4" mimeType="application/ttml+xml" lang="eng">
  <Role schemeIdUri="urn:mpeg:dash:role:2011" value="subtitle"/>
  <Representation id="sub-0k" bandwidth="138">
    <BaseURL>f03734acf69029d8377c01802b3bc649_8b90ec9cz-sub-0k.ttml</BaseURL>
  </Representation>
</AdaptationSet>
...

Shaka v2 throws an error at https://github.com/google/shaka-player/blob/acfb7c6d41f524eb7bd57951729039f95b460262/lib/dash/dash_parser.js#L1001
Shaka v1 works perfectly with this manifest.

I suspect the issue is caused by https://github.com/google/shaka-player/blob/acfb7c6d41f524eb7bd57951729039f95b460262/lib/dash/dash_parser.js#L723
We'll see what we can do.  Thanks!

With fe9189e, the player will still require text Representations to specify their content type, but it will not fail playback if they do not.


Use errorUtils for exec goroutine aggregation

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
This functionality is already used within the project instead of the custom map function.
Which issue(s) this PR fixes:

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

None

Interesting!

/approve
/lgtm


Fix BigImageView does not render in Android Studio layout editor

BigImageView would cause "Rendering Problems" in Android Studio
if one used the visual ("Design") editor.
This is an alternative to PR #55

Thanks! I'll cut a new release.

You're right, I noticed it just a second ago. Fixed

Perfect, thanks :)

v1.3.2 is released, check it out :)

Excellent, thank you :)
On 17 Jul 2017 4:32 pm, "Piasy"<EMAIL_ADDRESS>wrote:

v1.3.2 is released, check it out :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Piasy/BigImageViewer/pull/58#issuecomment-315769780,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATzmn62DlRb00ngkv_Ti5cgSeq_WQ9dks5sO22agaJpZM4OaBkx
.


Basic ping test for test_with_ceph.

When both prelaunch_test_instance and ping_test are true, starts a
ping during development_environment and stop it in
_stop_ping_test.yaml.  Depending on the threashold defined, it will
ensure that we were able to ping the instance' FIP during the entire
adoption process.
Currently only activated for jobs that leverage test_with_ceph.yaml.
When we got some ping failure but still are under the threshold we add
a warning to the output, without failing. That might be useful to
debug the problem later.
We also convert the ping log with human readable date and time for
easier debugging when the ping test fails or is in warning.

Note that before disabling the ping test both jobs were success:
https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/8957e051cd6847ba82ea1ef2f90a0b51
The job did a warning and created the human readable ping result:
https://logserver.rdoproject.org/99/699/6326b5690996b2b4167540c95e3dcafc1ef4b52e/github-check/adoption-standalone-to-crc-ceph/7b9f258/controller/data-plane-adoption-tests-repo/data-plane-adoption/tests/logs/ping_results-hr.log
In https://logserver.rdoproject.org/99/699/6326b5690996b2b4167540c95e3dcafc1ef4b52e/github-check/adoption-standalone-to-crc-ceph/7b9f258/controller/data-plane-adoption-tests-repo/data-plane-adoption/tests/logs/test_with_ceph_out_2024-11-07T08:53:28EST.log we can see the 'Stop ping' playbook:
LAY [Stop ping test] **********************************************************

TASK [Stop the ping and register the result.] **********************************
fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
...ignoring

TASK [Outside thresholds ping result.] *****************************************
skipping: [localhost] => {"changed": false, "false_condition": "ping_result.rc not in [0, 64]", "skip_reason": "Conditional result was False"}

TASK [Inside thresholds ping result, but still some ping loss.] ****************
ok: [localhost] => {
    "msg": "WARNING: Ping test succeed, but some ping loss occured: 4707 packets transmitted, 4361 received, +285 errors, 7.35075% packet loss, time 4736141ms\nrtt min/avg/max/mdev = 0.580/1.437/101.357/3.147 ms, pipe 4"
}

In the last patchset I've changed the ignore error handling and the output, but tested that it behaved like in this test.
The default are now not to run the ping test and threshold are 0.

/cherrypick 18.0-fr1


[Request] Export/import option to backup and transfer settings/layouts

The settings and layouts are saved to cache, so you don't have to create an account and save them each time you change them.
And I love that!
However, I would love to be able to export my settings (ie. to xml/csv/json/txt/etc.) and import them on a different device/browser.
But that's not the only use case...
I have a few layouts I switch between for practice, qualifying and races, but also mid-race to have a better view or view different teams/drivers. I noticed that when I save a layout and create a new layout from the exact same feeds (without closing and re-adding them), you can switch between these layouts without losing audio setup (language, volume, etc.). But after closing a feed and re-adding it, this won't work anymore. My guess is they get a unique id each time they're added. If I could export my layouts  to a human readable format (ie. to xml/csv/json/txt/etc.) I could edit and copy over these id's and import these to do the fast layout shuffle mid-race without having to change audio settings and losing information. 😉
Does this make any sense?

Interesting! I'll add that as a feature, although I'll see if I can get it working without having to do that

You could try adding a nosql database to save layouts on the server by username instead of putting in the browser cache.
It would be really helpful too if it detected someone had multiple layouts saved on login and let you pick instead of just loading the last used one.

That would probably be a huge change, since it requires to setup a user registry and password management system too.
I don't mind the settings being stored locally, but since I put some time in tweaking my layouts (more time than setting up the docker 😉) it would be great if I can secure it by exporting/importing it. And the manual tweaks would be a bonus.

Definitely a really helpful feature, although it would have to be only available on the self hosted version. The idea with is to make the public website as static as possible so server hosting doesn't become an issue. If I end up going the server route for a more permanent fix for the CORS issue than it will definitely come to the public website


Diagnostic web page broken in 0.50.0-ea7.

Describe the bug
Diagnostic web page is broken in 0.50.0-ea7
To Reproduce
Steps to reproduce the behavior:

kubectl port-forward <ambassador-pod> 8877
Navigate to http://localhost:8877/ambassador/v0/diag/
Browser displays 'server error'

Expected behavior
Browser should show the diagnostic page
Versions (please complete the following information):

Ambassador: 0.50.0-ea7
Kubernetes environment: Docker Desktop Community <IP_ADDRESS>-mac81 (29211)
Version: 1.10.3

Additional context
The following is shown in logs:
2018-12-07 16:31:23 diagd 0.50.0 [P50TThreadPoolExecutor-0_3] INFO: E32627D4-8486-4091-A419-A103CCF431B4: <IP_ADDRESS> "GET /ambassador/v0/diag/" START
2018-12-07 16:31:23 diagd 0.50.0 [P50TThreadPoolExecutor-0_3] ERROR: 'kind'
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 98, in wrapper
    result = f(*args, reqid=reqid, **kwds)
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 299, in show_overview
    aconf = get_aconf(app, "overview")
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador_diag/diagd.py", line 173, in get_aconf
    resources = fetch_resources(latest, app.logger, k8s=app.k8s)
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador/config/acresource.py", line 258, in fetch_resources
    fetcher = ResourceFetcher(config_dir_path, logger, k8s=k8s)
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador/config/acresource.py", line 155, in __init__
    self.load_yaml(serialization, k8s=k8s)
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador/config/acresource.py", line 171, in load_yaml
    self.ocount = self.process_object(obj, rkey)
  File "/usr/lib/python3.6/site-packages/ambassador-0.0.0.dev0-py3.6.egg/ambassador/config/acresource.py", line 220, in process_object
    if obj['kind'] == 'Pragma':
KeyError: 'kind'
2018-12-07 16:31:23 diagd 0.50.0 [P50TThreadPoolExecutor-0_3] ERROR: E32627D4-8486-4091-A419-A103CCF431B4: <IP_ADDRESS> "GET /ambassador/v0/diag/" 30ms 500 server error

This is known and will be fixed in GA.

Fixed in -rc1.


win11 文件管理器explorer 搜索功能太弱，能否加强下

Description of the new feature / enhancement
win11 文件管理器explorer 搜索功能太弱
Scenario when this would be used?
explorer find files
Supporting information
No response

Hi, thanks for reaching out! To clarify, this is about searching files/folders directly from File Explorer:

/needinfo


[doc-bug][ Update add-resource]

Update add resource with correct commands

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/add-resource.md
97
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 7549df1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/add-resource.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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/toolkit/add-resource.md
97
4
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 14c558c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/toolkit/add-resource.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 the docs.microsoft.com contributor guidesPost your question in the Docs support channel


The 3d detection test submit is all 0's

The validation submit is right, and I have drawn the test result by myself,  the results are right too.
The submit process is same as validation.
But my submission is all 0's, can you help me figure the problem.
My submission is<EMAIL_ADDRESS>

Our eval server for test and validation are setup with the same code. Do you think you can manually check your result locally?
You can decode the file you submitted directly and compare. I suspect that there is something wrong with context_name and timestamp.


Crash when Enlighten starts

After some time of training the environments are crashing for me. I took a look at the Player.log file and always found this as the last lines:
Setting up 12 worker threads for Enlighten.
  Thread -> id: 7f139670c700 -> priority: 1
  Thread -> id: 7f1395f0b700 -> priority: 1
  Setting up 12 worker threads for Enlighten.
  Thread -> id: 7fa48f1fd700 -> priority: 1
  Thread -> id: 7fa48e9fc700 -> priority: 1
  Thread -> id: 7fa48e1fb700 -> priority: 1
  Thread -> id: 7fa48d9fa700 -> priority: 1
  Thread -> id: 7fa48d1f9700 -> priority: 1
  Thread -> id: 7fa48c9f8700 -> priority: 1
  Thread -> id: 7fa473fff700 -> priority: 1
  Thread -> id: 7fa4737fe700 -> priority: 1
  Thread -> id: 7fa472ffd700 -> priority: 1
  Thread -> id: 7fa4727fc700 -> priority: 1
  Thread -> id: 7fa471ffb700 -> priority: 1
  Thread -> id: 7fa4717fa700 -> priority: 1
7fff700 -> priority: 1
  Thread -> id: 7f64d77fe700 -> priority: 1
  Thread -> id: 7f64d6ffd700 -> priority: 1
  Thread -> id: 7f64d67fc700 -> priority: 1
  Thread -> id: 7f64d5ffb700 -> priority: 1
7fa700 -> priority: 1
  Thread -> id: 7f89e8ff9700 -Setting up 12 worker threads for Enlighten.
  Thread -> id: 7f1eceec7700 -> priority: 1
  Thread -> id: 7f1ece6c6700 -> priority: 1
  Thread -> id: 7f1ecdec5700 -> priority: 1
  Thread -> id: 7f1ecd6c4700 -> priority: 1
  Thread -> id: 7f1eccec3700 -> priority: 1
  Thread -> id: 7f1ebffff700 -> priority: 1
  Thread -> id: 7f1ebf7fe700 -> priority: 1
  Thread -> id: 7f1ebeffd700 -> priority: 1
  Thread -> id: 7f1ebe7fc700 -> priority: 1
  Thread -> id: 7f1ebdffb700 -> priority: 1
  Thread -> id: 7f1ebd7fa700 -> priority: 1
  Thread -> id: 7f1ebcff9700 -> priority: 1
700 -> priority: 1
  Thread -> id: 7f0be2ffd700 -> priority: 1
  Thread -> id: 7f0be27fc700 -> priority: 1
  Thread -> id: 7Setting up 12 worker threads for Enlighten.
  Thread -> id: 7fae77fff700 -> priority: 1
  Thread -> id: 7fae777fe700 -> priority: 1
  Thread -> id: 7fae76ffd700 -> priority: 1
  Thread -> id: 7fae767fc700 -> priority: 1
  Thread -> id: 7fae75ffb700 -> priority: 1
  Thread -> id: 7fae757fa700 -> priority: 1
  Thread -> id: 7fae74ff9700 -> priority: 1
  Thread -> id: 7fae5ffff700 -> priority: 1
  Thread -> id: 7fae5f7fe700 -> priority: 1
  Thread -> id: 7fae5effd700 -> priority: 1
  Thread -> id: 7fae5e7fc700 -> priority: 1
  Thread -> id: 7fae5dffb700 -> priority: 1
0 -> priority: 1
  Thread -> id: 7f5adb7fe700 -> priority: 1
  Thread -> id: 7f5adaffd700 -> priority: 1
  Thread -> id: 7f5ada7fc700 -> priority: 1
  Thread -> id: 7f5ad9ffb700 -> priority: 1
riority: 1
  Thread -> id: 7ff47d1f9700 -> priority: 1
  Thread -> id: 7ff47c9f8700 -> priority: 1
  Thread -> id: 7ff467fff700 -> priority: 1
  Thread -> id: 7ff4677fe700 -> priority: 1
  Thread -> id: 7ff466ffd700 -> priority: 1
  Thread -> id: 7ff4667fc700 -> priority: 1
  Thread -> id: 7ff465ffb700 -> priority: 1
5ffb700 -> priority: 1
  Thread -> id: 7f4ef57fa700 -> priority: 1
  Thread -> id: 7f4ef4ff9700 -> priority: 1
  Thread -> id: 7f4ed3fff700 -> priority: 1

Is it possible that the crashes are somehow related to enlighten? Maybe due to high CPU usage?

Happens for me too on some 6th gen intel PC's but the weird thing is my project doesn't even use enlighten!


Adding SDKs to Cosmos Mongo vCore documentation

Hi @patty-chow - you'll need to do this change in the private repo azure-databases-docs-pr. thanks


Checks: IPv4: NFS: draft

Figured out I'll send it for review right now, before diving deep into it, and doing many mistakes.
Things I'm not sure:
1/ I guess it might be unnecessary for available.rb to return OK || NOK, however, the command won't output anything. So if we require cmd, when run on a host, to return a string -- this is probably needed.
2/ If so, then I might have to add it to download.rb too
3/ NFS service requires 'share' and 'filename'. I still need to implement that.

Yeah, based on the current architecture, it would be best to output OK or NOK, and then match that regex to determine if the check passed or failed. We do however have the flexibility to overwrite any methods in any of the NFS checks, so we can look at the exit code or something like that.

Thanks! I'm also concerned with the download check. It consists of many steps: create local dir, mount nfs, copy remote file to local dir, umount nfs. If any of those fails, we would report the test failed. It's not very precise / accurate. But I'm not sure there's a better way of doing it. Thoughts?


Allow for low memory configurations < 2GB RAM so can be used on EC2 Free Tier

Problem
nginx is requesting to allocate more than the maximum shared memory configured for the system.
This image uses a default shared memory allocation that is too high for my machine (an Amazon EC2 t2.micro instance).
Here is the error:
nginx: [alert] mmap(MAP_ANON|MAP_SHARED,<PHONE_NUMBER>) failed (12: Out of memory)

From what I can tell this mean that the NGINX needs<PHONE_NUMBER> bytes or 2 GB of shared memory available.

This won't work on an EC2 t2.micro (1GB RAM) or t2.small (2 GB RAM)

I see, easy fix.
vod_response_cache                 response_cache 2048m;

Should be chaged to a number within your system's memory constraints.
Thanks guys.

@tecfu no worries, thanks for reporting it! I'll add a comment to the file documenting it.


Add a curated list of highlight groups and what they do

Is your feature request related to a problem? Please describe.
As a color scheme author I found it extremely hard to navigate what highlight groups are present and which ones do what. Using :Inspect most of the time doesn't show anything.
Describe the solution you'd like
A clear and concise description of plugin's highlight groups and what they do.
Describe alternatives you've considered
Browsing source code in an attempt to understand which highlight groups is responsible for the region I'd like to change highlighting.
Additional context

Super reasonable - I'll write something up

Ooops, yup, thanks.


Add Philips Hue Nyro outdoor wall (1745630P7)

Philips Hue Nyro outdoor wall (1745630P7)

@Imperial-Guard I see multiple rows have a 0 watt value in the csv files. See the job output which has the error.
Could you manually correct these, or remove these rows?
Thanks.

@Imperial-Guard I see multiple rows have a 0 watt value in the csv files. See the job output which has the error. Could you manually correct these, or remove these rows? Thanks.

Thanks for the heads-up, values are correct and should be good to go :)

Thanks.


fix(subscription): set this.closed

global closed property was being set

Coverage remained the same at 87.5% when pulling 940ef37c625476001f9bc7a9bd9d24b2b146c0bc on subscription-closed-fix into b8c2d0e9121756ebb94d63227dec1f066466b711 on master.


[boost-context] fix build result on apple arm

Describe the pull request

What does your PR fix? Fixes #16052

Same as #16378, but now with a fix for mac with apple arm. For details see last comments on #16052.

This LGTM, thanks for the continued fixes here! :)


fix checks when deleting entities

I will go ahead and merge this trivial bug fix. I can take care of any feedback afterwards.


Revamped Ignite Documentation

This long-running PR will hold our new documentation efforts until we merge them in.
A few notes:

We should add at least one screenshot of each component into each example doc, so people know what they look like
It's important to show a fairly comprehensive example for each property, and I've tried to do this here. We shouldn't skimp out on information
@yulolimum's PR #1965 or future PRs might change some of these components, so let's be careful not to go too far until we've coordinated with him

cc @curlyCoder15 @lindboe

I am going to merge this, and future docs updates will happen over on the Maverick branch/milestone. We won't promote the docs until we have the full set, released with Maverick (v8).

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket: