Possibility to turn off X Ray

In Python XRay sdk it is possible to turn off XRay via environment variable AWS_XRAY_SDK_ENABLED (https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python-configuration.html)
Would it be possible to add this feature also to node SDK?
Thanks

Hi ivanmartos,
We're been slowly filling in the gaps of feature parity between our SDKs. This is absolutely a great little feature we should implement on the Node SDK. We'll be happy to add this on our TODO list and prioritize it accordingly, but feel free to open a PR.

I'm using serverless-offline to test my app locally and having xray blow it up is very inconvenient.
.../backend/node_modules/serverloffline: Failure: Missing AWS Lambda trace data for X-Ray. Expected _X_AMZN_TRACE_ID to be set.
[start:backend] ess-offline/dist/lambda/handler-runner/in-process-runner/InProcessRunner.js:199:24)
[start:backend]     at LambdaFunction.runHandler (/Users/cyber/dev/jb/jkv2-demo/ts-sls/packages/backend/node_modules/serverless-offline/dist/lambda/LambdaFunction.js:325:20)
[start:backend]     at hapiHandler (/Users/cyber/dev/jb/jkv2-demo/ts-sls/packages/backend/node_modules/serverless-offline/dist/events/http/HttpServer.js:521:18)

@revmischa yes we've had several issues for various serverless packages in this regard.
You should be able to use the "AWS_XRAY_CONTEXT_MISSING" environment variable set to "LOG_ERROR" to merely log these missing context issues.
https://github.com/aws/aws-xray-sdk-node/tree/master/packages/core#environment-variables

Considering that serverless seems like a core use case for XRay and that this request has been open for over a year, is there an expected ETA to support disabling the XRay SDK entirely for NodeJS?  Logging errors is rather a nuisance when it's not actually an error for our application that it cannot send traces, which we don't care about when a dev is doing local testing unrelated to XRay.

Still unresolved in 2021?

Hi @mannharleen
Apologies for the delay. We still have it on our backlog and would like to prioritize it as soon as possible. We will update this issue with any progress. Stay tuned. Thanks!

Any updates on this ticket?
It will be cool to turn off xray during unit testing. Right now it is not possible and i need to make wrapper for xray library to handle this .

Hi @bordeux,
We still have not been able to prioritize this feature unfortunately, but are always open to PRs.
Alternatively, we have released the AWS Distro for OpenTelemetry JavaScript as a generally available tracing instrumentation SDK with first class support for X-Ray. That SDK is highly configurable and can be put into a no-op mode where it does not emit trace data and consumes minimal system resources.

Still an issue in 2022? In Python, we're able to do this with env var AWS_XRAY_SDK_ENABLED=false

Still an issue in 2022? In Python, we're able to do this with env var AWS_XRAY_SDK_ENABLED=false

I use this which takes care of it automatically https://awslabs.github.io/aws-lambda-powertools-typescript/latest/core/tracer/

2023! @willarmiros ?

2024?

This is a bit silly, the code tested is meant to be the same as the actual code used. And we cannot test it if it won't run.

We're moving to OpenTelemetry. I suggest everyone move to that future. No more X-Ray.


refactor the populate_view_model method in grades_controller.rb

Sub-Issue of #2 for easier division of work, please see that issue for description.
This issue is focused on the populate_view_model method in the grades_cointroller.

Deemed obsolete and removed from the class.


Make maxScaleFromMinScale open for overrides

It should be possible to override the default 3.0 value to allow zooming further in on images

It is a good idea. I am going to merget it.


Add index to make unique key props on territory options

Just a code cleanup PR. I was getting a react key prop warning on the /post route and I think the issue was that there was some duplicate items being used as keys so I added an index and subIndex for the optgroup and option to prevent any duplicate keys for siblings.

Summary by CodeRabbit

Refactor

Improved the key assignment for list items in forms to ensure unique and accurate tracking.
Updated the Select function within components/form.js to enhance the rendering logic for better performance.

This problem is caused by sub being undefined when calling useSub (I solved this in a local branch I haven't merged):
--- a/components/sub-select.js
+++ b/components/sub-select.js
@@ -25,7 +25,7 @@ export function useSubs ({ prependSubs = [], sub, filterSubs = () => true, appen

   const [subs, setSubs] = useState([
     ...prependSubs.filter(s => s !== sub),
-    sub,
+    ...(sub ? [sub] : []),
     ...appendSubs.filter(s => s !== sub)])
   useEffect(() => {
     if (!data) return
@@ -42,7 +42,7 @@ export function useSubs ({ prependSubs = [], sub, filterSubs = () => true, appen
   return subs
 }

I'd merge the above patch if you want to update your pr to use it instead.

20k sats!!! this was your code!!!! Now I've really got to earn it!


Experimental Cloudflare Pages Preset Error: configured target environment ("es5") is not supported

Environment
node v16.17.0 (npm v8.15.0)
Deployed to Cloudflare Pages via Github
Set Nitro Preset to cloudflare_pages
Nuxt3-RC.10 (Had the same issue with RC.9)
Reproduction
https://github.com/daver987/quote-pricing-form.git
Describe the bug
Cloudflare will download the project, just before deployment it gets this error and loops it over and over literally thousands of times until after about 5mb of logs it times out.
✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
11:47:47.164 |
11:47:47.164 | ../../../buildhome/repo/functions/[[path]].js:1:4361:
11:47:47.164 | 1 │ ...mock");proxy.exports=_default;const https=getDefaultExportFromCj...
11:47:47.165 | ╵                                  ~~~~~
11:47:47.165 |
11:47:47.165 | The target environment was set to "es5" here:
11:47:47.166 |
11:47:47.166 | ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.166 | 4 │     "target": "es5",
11:47:47.166 | ╵               ~~~~~
Additional context
No response
Logs
Cloning repository...
11:46:19.421	From https://github.com/daver987/quote-pricing-form
11:46:19.422	 * branch            5ae899e64ed1a70088af42486e854aca9cfa58dc -> FETCH_HEAD
11:46:19.422
11:46:19.479	HEAD is now at 5ae899e Add: Configuration for cloudflare pages
11:46:19.480
11:46:19.636
11:46:19.665	Success: Finished cloning repository files
11:46:20.345	Installing dependencies
11:46:20.358	Python version set to 2.7
11:46:24.014	Downloading and installing node v16.17.0...
11:46:24.451	Downloading https://nodejs.org/dist/v16.17.0/node-v16.17.0-linux-x64.tar.xz...
11:46:25.024	Computing checksum with sha256sum
11:46:25.163	Checksums matched!
11:46:29.764	Now using node v16.17.0 (npm v8.15.0)
11:46:30.213	Started restoring cached build plugins
11:46:30.228	Finished restoring cached build plugins
11:46:30.767	Attempting ruby version 2.7.1, read from environment
11:46:34.680	Using ruby version 2.7.1
11:46:35.057	Using PHP version 5.6
11:46:35.230	5.2 is already installed.
11:46:35.259	Using Swift version 5.2
11:46:35.260	Started restoring cached node modules
11:46:35.277	Finished restoring cached node modules
11:46:35.286	Started restoring cached yarn cache
11:46:35.301	Finished restoring cached yarn cache
11:46:35.323	Installing yarn at version 1.22.4
11:46:35.342	Installing Yarn!
11:46:35.342	> Downloading tarball...
11:46:35.388
11:46:35.388	[1/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz --> /tmp/yarn.tar.gz.re8zcsSV4s
11:46:35.389	  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
11:46:35.390	                                 Dload  Upload   Total   Spent    Left  Speed
11:46:35.632
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    79  100    79    0     0    324      0 --:--:-- --:--:-- --:--:--   325
11:46:35.874
100    92  100    92    0     0    189      0 --:--:-- --:--:-- --:--:--   189
11:46:36.053
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
11:46:36.365
100 1215k  100 1215k    0     0  1244k      0 --:--:-- --:--:-- --:--:-- 1244k
11:46:36.366
11:46:36.366	[2/2]: https://yarnpkg.com/downloads/1.22.4/yarn-v1.22.4.tar.gz.asc --> /tmp/yarn.tar.gz.re8zcsSV4s.asc
11:46:36.415
100    83  100    83    0     0   1707      0 --:--:-- --:--:-- --:--:--  1707
11:46:36.439
100    96  100    96    0     0   1331      0 --:--:-- --:--:-- --:--:--  1331
11:46:36.629
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
11:46:36.708
100  1028  100  1028    0     0   3014      0 --:--:-- --:--:-- --:--:--  3014
11:46:36.758	> Verifying integrity...
11:46:36.804	gpg: Signature made Mon 09 Mar 2020 03:52:13 PM UTC using RSA key ID 69475BAA
11:46:36.810	gpg: Good signature from "Yarn Packaging<EMAIL_ADDRESS>11:46:36.813	gpg: Note: This key has expired!
11:46:36.813	Primary key fingerprint: 72EC F46A 56B4 AD39 C907  BBB7 1646 B01B 86E5 0310
11:46:36.813	     Subkey fingerprint: 6D98 490C 6F1A CDDD 448E  4595 4F77 6793 6947 5BAA
11:46:36.814	> GPG signature looks good
11:46:36.814	> Extracting to ~/.yarn...
11:46:36.942	> Adding to $PATH...
11:46:36.969	> We've added the following to your /opt/buildhome/.bashrc
11:46:36.969	> If this isn't the profile of your current shell then please add the following to your correct profile:
11:46:36.970
11:46:36.970	export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
11:46:36.971
11:46:37.381	> Successfully installed Yarn 1.22.4! Please open another terminal where the `yarn` command will now be available.
11:46:37.795	Installing NPM modules using Yarn version 1.22.4
11:46:38.317	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:46:38.317	npm WARN config location in the cache, and they are managed by
11:46:38.320	npm WARN config     [`cacache`](http://npm.im/cacache).
11:46:38.581	yarn install v1.22.4
11:46:38.657	[1/4] Resolving packages...
11:46:38.958	[2/4] Fetching packages...
11:46:55.866	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.866	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.870	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.871	info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.871	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.871	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.871	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.871	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.871	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.871	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.872	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.872	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.872	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.872	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.872	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.872	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.872	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.872	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.873	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.873	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.873	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.873	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.873	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.873	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.873	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.873	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.873	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.874	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.874	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.875	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.875	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.875	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.875	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.875	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.875	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.876	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.876	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.876	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.876	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.876	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.878	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.878	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.878	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.879	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.879	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.880	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.880	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.881	warning<EMAIL_ADDRESS>The engine "vscode" appears to be invalid.
11:46:55.881	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.881	info "<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.882	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.882	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.882	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.882	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.882	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.882	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.882	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.882	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.883	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.883	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.883	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.883	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.884	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.884	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.884	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.884	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.884	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.884	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.884	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.884	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.884	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.885	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.885	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.885	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.885	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.885	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.885	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.885	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.885	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.885	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.886	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.886	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.886	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.886	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.886	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.886	info<EMAIL_ADDRESS>The platform "linux" is incompatible with this module.
11:46:55.886	info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
11:46:55.886	info<EMAIL_ADDRESS>The CPU architecture "x64" is incompatible with this module.
11:46:55.889	[3/4] Linking dependencies...
11:46:55.890	warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>11:46:55.890	warning "@gtm-support/vue-gtm ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>11:46:55.892	warning "@nuxtjs/tailwindcss > @nuxt/postcss8 ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
11:46:55.892	warning "@nuxtjs/tailwindcss > @nuxt/postcss8 ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
11:46:55.894	warning "@pinia/nuxt ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^3.2.0".
11:46:55.895	warning "@vueuse/math ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^2.6.0".
11:46:55.895	warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| >= 3.0.0-alpha.1".
11:46:55.898	warning " ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>11:46:55.899	warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>11:47:05.026	[4/4] Building fresh packages...
11:47:05.482	success Saved lockfile.
11:47:05.488	Done in 26.91s.
11:47:05.522	NPM modules installed using Yarn
11:47:05.827	Installing Hugo 0.54.0
11:47:06.524	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
11:47:06.529	Started restoring cached go cache
11:47:06.552	Finished restoring cached go cache
11:47:06.730	go version go1.14.4 linux/amd64
11:47:06.753	go version go1.14.4 linux/amd64
11:47:06.758	Installing missing commands
11:47:06.758	Verify run directory
11:47:06.758	Executing user command: yarn build
11:47:07.016	yarn run v1.22.4
11:47:07.051	$ NITRO_PRESET=cloudflare_pages npx nuxi build
11:47:07.614	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:47:07.615	npm WARN config location in the cache, and they are managed by
11:47:07.615	npm WARN config     [`cacache`](http://npm.im/cacache).
11:47:07.615	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
11:47:07.615	npm WARN config location in the cache, and they are managed by
11:47:07.615	npm WARN config     [`cacache`](http://npm.im/cacache).
11:47:07.859	Nuxi 3.0.0-rc.10-27704658.ac56ce7
11:47:07.876	Nuxt 3.0.0-rc.10-27704658.ac56ce7 with Nitro 0.5.1-27703614.1f4201e
11:47:15.847
11:47:15.847	 WARN  autoImports:extend hook is deprecated. Use addImports() from @nuxt/kit or imports:extend with nuxt>=3.0.0-rc.9.
11:47:15.847
11:47:15.884	ℹ Using default Tailwind CSS file from runtime/tailwind.css
11:47:15.890
11:47:15.890	 WARN  Module nuxt-quasar-vite is disabled due to incompatibility issues:
11:47:15.890	 - [nuxt] Nuxt version `^3.0.0` is required but currently using `3.0.0-rc.10-27704658.ac56ce7`
11:47:15.890
11:47:15.899
11:47:15.899	 WARN  autoImports:sources hook is deprecated. Use imports:sources with nuxt>=3.0.0-rc.9.
11:47:15.899
11:47:21.525
11:47:21.525	 WARN  Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
11:47:21.526
11:47:21.527
11:47:21.528	 WARN  Use of eval is strongly discouraged, as it poses security risks and may cause issues with minification
11:47:21.528
11:47:24.028
11:47:24.028	 WARN
11:47:24.028	(!) Some chunks are larger than 500 KiB after minification. Consider:
11:47:24.028	- Using dynamic import() to code-split the application
11:47:24.028	- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/guide/en/#outputmanualchunks
11:47:24.028	- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
11:47:24.028
11:47:24.029	ℹ Client built in 5984ms
11:47:24.037	ℹ Building server...
11:47:25.956	✔ Server built in 1918ms
11:47:25.981	✔ Generated public .output/public
11:47:26.002	start Building server...
11:47:35.776	start Writing server bundle...
11:47:46.022	✔ Server built
11:47:46.140	  └─ functions/path.js (1.74 MB) (487 kB gzip)
11:47:46.140	Σ Total size: 1.74 MB (487 kB gzip)
11:47:46.143	✔ You can preview this build using npx wrangler pages dev .output/public
11:47:46.143	✔ You can deploy this build using npx wrangler pages publish .output/public
11:47:46.236	Done in 39.23s.
11:47:46.249	Finished
11:47:46.858	🚧 'wrangler pages <command>' is a beta command. Please report any issues to https://github.com/cloudflare/wrangler2/issues/new/choose
11:47:47.127	✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
11:47:47.127
11:47:47.129	    ../../../buildhome/repo/functions/[[path]].js:1:65:
11:47:47.129	      1 │ ...r(var Qe=0;Qe<ze.length;Qe++){const Ge=ze[Qe];if("string"!=typeo...
11:47:47.129	        ╵                                  ~~~~~
11:47:47.129
11:47:47.130	  The target environment was set to "es5" here:
11:47:47.131
11:47:47.131	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.131	      4 │     "target": "es5",
11:47:47.132	        ╵               ~~~~~
11:47:47.132
11:47:47.132	✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
11:47:47.132
11:47:47.132	    ../../../buildhome/repo/functions/[[path]].js:1:128:
11:47:47.133	      1 │ ...of Ge&&!Array.isArray(Ge))for(const ze in Ge)if("default"!==ze&&...
11:47:47.133	        ╵                                  ~~~~~
11:47:47.133
11:47:47.133	  The target environment was set to "es5" here:
11:47:47.133
11:47:47.133	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.134	      4 │     "target": "es5",
11:47:47.140	        ╵               ~~~~~
11:47:47.140
11:47:47.140	✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
11:47:47.140
11:47:47.140	    ../../../buildhome/repo/functions/[[path]].js:1:175:
11:47:47.140	      1 │ ...("default"!==ze&&!(ze in He)){const Qe=Object.getOwnPropertyDesc...
11:47:47.141	        ╵                                  ~~~~~
11:47:47.141
11:47:47.141	  The target environment was set to "es5" here:
11:47:47.141
11:47:47.142	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.142	      4 │     "target": "es5",
11:47:47.142	        ╵               ~~~~~
11:47:47.142
11:47:47.142	✘ [ERROR] Transforming const to the configured target environment ("es5") is not supported yet
11:47:47.142
11:47:47.142	    ../../../buildhome/repo/functions/[[path]].js:1:454:
11:47:47.143	      1 │ ...l:"file:///_entry.js",env:{}};const process$1={};let cachedSetTi...
11:47:47.143	        ╵                                  ~~~~~
11:47:47.143
11:47:47.144	  The target environment was set to "es5" here:
11:47:47.146
11:47:47.146	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.146	      4 │     "target": "es5",
11:47:47.146	        ╵               ~~~~~
11:47:47.147
11:47:47.147	✘ [ERROR] Transforming let to the configured target environment ("es5") is not supported yet
11:47:47.147
11:47:47.147	    ../../../buildhome/repo/functions/[[path]].js:1:473:
11:47:47.147	      1 │ ...js",env:{}};const process$1={};let cachedSetTimeout,cachedClearT...
11:47:47.147	        ╵                                   ~~~
11:47:47.147
11:47:47.147	  The target environment was set to "es5" here:
11:47:47.147
11:47:47.148	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.148	      4 │     "target": "es5",
11:47:47.148	        ╵               ~~~~~
11:47:47.148
11:47:47.148	✘ [ERROR] Transforming let to the configured target environment ("es5") is not supported yet
11:47:47.148
11:47:47.148	    ../../../buildhome/repo/functions/[[path]].js:1:1668:
11:47:47.148	      1 │ ...imeout=defaultClearTimeout}}();let queue$2=[],draining=!1,curren...
11:47:47.148	        ╵                                   ~~~
11:47:47.149
11:47:47.149	  The target environment was set to "es5" here:
11:47:47.149
11:47:47.149	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.149	      4 │     "target": "es5",
11:47:47.149	        ╵               ~~~~~
11:47:47.149
11:47:47.149	✘ [ERROR] Transforming let to the configured target environment ("es5") is not supported yet
11:47:47.149
11:47:47.150	    ../../../buildhome/repo/functions/[[path]].js:1:3052:
11:47:47.150	      1 │ ...ss.binding is not supported")};let cwd="/";process$1.cwd=functio...
11:47:47.150	        ╵                                   ~~~
11:47:47.150
11:47:47.150	  The target environment was set to "es5" here:
11:47:47.150
11:47:47.150	    ../../../buildhome/repo/tsconfig.json:4:14:
11:47:47.150	      4 │     "target": "es5",
11:47:47.150	        ╵               ~~~~~
11:47:47.151

Closing since this issue had been stalled for a while. Please feel free to open a new issue with fresh reproduction if having similar issues 🙏🏼


[RHCLOUD-20398] App auth tenancy tests2

tests update for application authentication handlers PART II.
(Part I. #423)
this PR covers:

ApplicationAuthenticationGet()

main goal is to check the tenancy and add missing tests
tests update for other handlers will be covered in next PRs
JIRA: RHCLOUD-20398

this PR will be rebased after merge #423

rebased and ready for review


prefix field doesn't work as expected

If flag is selected, the prefix field should be pre-populated and not editable. Clubhouse is a good reference for how this field should work.

Yes, doesn't work for me either

same here.

Any update or known fix?

the option .autofillPrefix(true) might fix your problems.


Allocate MessageQueue to client first by same Machine IP.

add a new allocate MessageQueue strategy: Allocated by ip, if messageQueue localed in broker has same ip with client, Allocate messageQueue to this client firstly.
https://github.com/apache/rocketmq/pull/3365#issue-1003853185

see #3365


feat: check for breaking changes

miq can check the commits between the last hash and current hash when updating and search if the message includes breaking change or breaking_change, or check if there is a ! in the title for conventional commits to alert the user that there may be a breaking change

we can also specifically show the commits with breaking changes, but i guess i'd need to properly parse commit messages and separate them?


Post pr suggestions

@Mr-Auto if you can check that I didn't break anything

So is this fix ready then

Yes, I forgot to merge after the last commit


Can't get owml and nomaivr to work anymore

Here are screenshots of the issues and versions. Been trying from within the mod manager and with the owml launcher exe by itself. Haven't tried reinstalling the game yet. This wasn't an issue until hours into echoes of the eye. Tried launch game exe directly. This is the steam version. Tried moving the game to the C drive but no change.

.

Have you tried restoring your game files (verify integrity) after the update?

Yes, multiple times. Also tried uninstalling and reinstalling mod manager
and nomaivr.
On Wed, Dec 22, 2021, 12:50 AM Aleksandr @.***> wrote:

Have you tried restoring your game files (verify integrity) after the
update?
—
Reply to this email directly, view it on GitHub
https://github.com/amazingalek/owml/issues/415#issuecomment-999305226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUG4O2TV5WGEI2FI3MDAW3USFRLBANCNFSM5KROLSTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

This fixed it:
Can you please download the latest version of OWML from here
https://github.com/amazingalek/owml/releases/download/2.2.0/OWML.zip and
override all the files in your OWML dir?
I think the OWML.Common.dll for some reason is from a previous version of
OWML
On Wed, Dec 22, 2021, 7:03 AM Justin Davis @.***> wrote:

Yes, multiple times. Also tried uninstalling and reinstalling mod manager
and nomaivr.
On Wed, Dec 22, 2021, 12:50 AM Aleksandr @.***> wrote:

Have you tried restoring your game files (verify integrity) after the
update?
—
Reply to this email directly, view it on GitHub
https://github.com/amazingalek/owml/issues/415#issuecomment-999305226,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFUG4O2TV5WGEI2FI3MDAW3USFRLBANCNFSM5KROLSTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


feat: Add about us page

[!WARNING]
Please update the "About Us" page and make any necessary changes.


command typo

In section 3.2 on page 16, it lists this to start the first project:
$ django-admin.py startproject tango_with_django_project
I had to do this (remove the .py extension):
$ django-admin startproject tango_with_django_project
I am using python 3.4.3 and django 1.9.6.  I under stand this is not 2.7.10, but in the previous section, it says python 3.4+ should work fine.

Hi, what operating system are you using?

Ubuntu MATE 15.10

Hmm.. I'll have to look into why this is case...

Following up (four months later, whoops) - on my setup, django-admin and django-admin.py both work. Maybe I will just add a small note saying if one doesn't work, try the other. I've had a look online and can't see a decent explanation for why this happens - maybe it's a paths issue or something.

I'll leave this open - if anyone wants to add their comments to this.


Part names

When I specify the part names ['left_upper_arm_front', 'right_upper_arm_front'], the mask highlights the back of the sitting lady's arms. When I switch to ['left_upper_arm_back', 'right_upper_arm_back'], the mask highlights the front of the arms instead. Same issue for lower arms.

Thank you for raising the issue.

What image are you using?
The part names seem to match tfjs-models.
Would you say it is any better with tfjs-models?

I’m using the same image: serious-black-businesswoman-sitting-at-desk-in-office. I get the feeling that “front” means where the arms face outwards away from the shoulders and “back” means where the arms face inwards towards the armpit and chest. I had expected “front” to be part of the arms facing forward and “back” to be the parts facing backwards. So perhaps this is not a bug, just differences in interpretation. Thanks for the response, anyway.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Daniel Ecer @.>
Sent: Thursday, December 16, 2021 8:09:28 AM
To: de-code/python-tf-bodypix @.>
Cc: Michael Cheng @.>; Author @.>
Subject: Re: [de-code/python-tf-bodypix] Part names (Issue #156)
Thank you for raising the issue.
Just adding CLI commands to reproduce it potentially:
python -m tf_bodypix
draw-mask
--model-path=https://storage.googleapis.com/tfjs-models/savedmodel/bodypix/resnet50/float/model-stride16.json
--show-output
--threshold=0.75
--mask-alpha=0.5
--colored
--parts left_upper_arm_front right_upper_arm_front
--source
https://www.dropbox.com/s/7tsaqgdp149d8aj/serious-black-businesswoman-sitting-at-desk-in-office-5669603.jpg?dl=1
python -m tf_bodypix
draw-mask
--model-path=https://storage.googleapis.com/tfjs-models/savedmodel/bodypix/resnet50/float/model-stride16.json
--show-output
--threshold=0.75
--mask-alpha=0.5
--colored
--parts left_upper_arm_back right_upper_arm_back
--source
https://www.dropbox.com/s/7tsaqgdp149d8aj/serious-black-businesswoman-sitting-at-desk-in-office-5669603.jpg?dl=1
To be honest I am having difficulty telling front and back apart.
What image are you using?
The part names seem to match tfjs-modelshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftensorflow%2Ftfjs-models&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101703820461|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=SOFkjEIpbfg%2Fsfw3U%2FfGFOwh7ZgXRqsu7tx3MeqNcOo%3D&reserved=0.
Would you say it is any better with tfjs-modelshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftensorflow%2Ftfjs-models&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101703900166|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=AnjwOzSGC7pQF%2B6DdYORFjK1pAqyanRD%2BfQ5cwodTW4%3D&reserved=0?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fde-code%2Fpython-tf-bodypix%2Fissues%2F156%23issuecomment-995314837&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101703979753|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=vq40VEZlO97%2BnFYzhvRfTW%2FuFW%2Bl2SveHHMIf4L4OvA%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAQSSUBSIA26WHUS5ADIBFTUREU3RANCNFSM5JYEW5XA&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101704059405|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Rt88IzBef2cMebIm4W4UKN5FQL3eXIrC8TLMuAoVNCA%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101704129092|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cztH4kRsENt1Cqfrj8qlK6GHP89a8ETTDsPKB8XbiyU%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01||07621dd1578c4232a8a508d9c02853c2|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637752101704208779|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Q0FKml92PE%2BbI7jQSKEUaVMxqqNAJ9ETvm0rLJktaDQ%3D&reserved=0.

Do you think the issue can be closed?
(If there are inconsistencies with the bodypix model in tfjs-models then I could look into it.)


aksv2 - azure network policy can be used only with Azure CNI network plugin

During creating cluster following error is produced
azure network policy can be used only with Azure CNI network plugin for [] cluster

FIX https://github.com/rancher/aks-operator/pull/32

This was done


readonly, disabled and dense props are not properly passed to country select control

@FragsterAt A little bit of description could be useful for future reference.

props readonly, dense and disable doen not passed to country selection q-select. Before pr #20, they must be specified in dropdown-options, that is a little confusing, especially for readonly, with this pr they inherited from component props/


[Error]Sorry, looks like your network settings are preventing access to this feature.

This error message suddenly appeared today.
"Sorry, looks like your network settings are preventing access to this feature."
I'm in an area that newbing doesn't yet provide, but I still get this error when I turn on a global agent or system agent to another area.

I have just encountered this problem.  i think it seems to software problem

I have just encountered this problem. i think it seems to software problem
I seem to have found a solution where changing the DNS settings to <IP_ADDRESS>
But it's not stable.

nice, I have also just found this way to solve this problem, just set clash VPN proxy mode to global mode.

nice, I have also just found this way to solve this problem, just set clash VPN proxy mode to global mode.

Perhaps it is some kind of commercial competition? <IP_ADDRESS> The provider of this dns is CloudFlare, which has a good relationship with Microsoft. If bing's competitors pollute the dns with this method... Well, this may just be a conspiracy theory idea.
I hope dice2o can solve this problem, after all, global mode is a bit of trouble to use....

I have a same problem

Is there a solution now

nice, I have also just found this way to solve this problem, just set clash VPN proxy mode to global mode.

Perhaps it is some kind of commercial competition? <IP_ADDRESS> The provider of this dns is CloudFlare, which has a good relationship with Microsoft. If bing's competitors pollute the dns with this method... Well, this may just be a conspiracy theory idea. I hope dice2o can solve this problem, after all, global mode is a bit of trouble to use....

yes, It’s very likely to be the case,It might be a problem that only occurs in China

I put it on global mode, still didn't work...

Fixed in v0.3.1.
It seems that Bing has added more rules to IP detection, and IPs from servers (like AWS, GCP) will be restricted. So even if the VPN is connected, Bing still shows this error.
I modify the headers of every request to bypass the server IP detection and temporarily solve the problem. Or you can connect to a node that has a local IP.

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page.
If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

It works! Thank you very much!

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

It works for me! tks

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

Hey mate, any thoughts on Shadowrocket? how do you use it on iOS? Appreciate for your efforts, btw thanks for app!

I have this same problem :/

In mainland China, you can have a conversation with him as long as you get the page with vpn first. But recently, I found that I also need to open vpn when I have a conversation with him for the first time. I don’t like to open the global proxy, but I still hope that the software can set the proxy separately. [Machine translation]
在中国大陆，之前只要先用vpn获取到页面就可以和他对话。但是最近，我发现我第一次和他对话的时候也需要打开vpn,我比较不喜欢打开全局代理，但我还是希望软件能单独设置代理。

Yes, because Bing also started IP detection for chat requests. Can you customize rules in VPN software? Just let bing.com and its subdomains be correctly proxied, and don't let your local DNS resolve these domains.

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

Hey mate, any thoughts on Shadowrocket? how do you use it on iOS? Appreciate for your efforts, btw thanks for app!

Check if your VPN app supports scripts that modify headers. If not, it is better to connect to a node with a local IP that is not marked as a server by Bing

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

Solution is works, but not for the sidebar chat in Edge. Is seems the modheader plugin does not change the header for sidebar window. Is it possible to make it work?

Appreciate it but quite confusing
Would you mind to drop me an invite in weixin, would be great to get a hand of help if you are open: andrew_tiosa

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

worked for me, thanks

nice, I have also just found this way to solve this problem, just set clash VPN proxy mode to global mode.

Perhaps it is some kind of commercial competition? <IP_ADDRESS> The provider of this dns is CloudFlare, which has a good relationship with Microsoft. If bing's competitors pollute the dns with this method... Well, this may just be a conspiracy theory idea. I hope dice2o can solve this problem, after all, global mode is a bit of trouble to use....

yes, It’s very likely to be the case,It might be a problem that only occurs in China

It have happened in Iran too

is  my dear microsoft becomming a red dragon?

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

It works for me! I am from Iran and I have to use VPN. Thanks

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

It works for me! I am from Iran and I have to use VPN. Thanks

mishe bgin chikar bayad bokonam ta dorost she chon in moshkelo man ham chand rooze daram...

یه افزونه هستش به اسم modheader نصب کردیم.
x-forwarded-for  <IP_ADDRESS>یه هدر هم تنظیم کردیم که
به نظرم تو فید بک هاش هی بنویسم که مشکل خوردیم و نمیتونیم اینا تا این رو درست کنه
Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows
From: @.>
Sent: Sunday, March 26, 2023 4:39 PM
To: @.>
Cc: behrooz bozorg @.>; @.>
Subject: Re: [dice2o/BingGPT] [Error]Sorry, looks like your network settings are preventing access to this feature. (Issue #25)
modify the headers of every request to bypass the server IP
Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?
This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .
It works for me! I am from Iran and I have to use VPN. Thanks
mishe bgin chikar bayad bokonam ta dorost she chon in moshkelo man ham chand rooze daram...
—
Reply to this email directly, view it on GitHubhttps://github.com/dice2o/BingGPT/issues/25#issuecomment-1484077523, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE3P7MBR5F23B7NO7DVTYJLW6AWXZANCNFSM6AAAAAAWF7TZTI.
You are receiving this because you commented.Message ID: @.***>

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

Hey mate, any thoughts on Shadowrocket? how do you use it on iOS? Appreciate for your efforts, btw thanks for app!

Check if your VPN app supports scripts that modify headers. If not, it is better to connect to a node with a local IP that is not marked as a server by Bing

Appreciate it but quite confusing
Would you mind to drop me an invite in weixin, would be great to get a hand of help if you are open: andrew_tiosa

Sorry, I didn't find a good way on iOS either. Connect to a node that is not blocked by Bing.

This issue started the week before last...

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

It works for me! I am from Iran and I have to use VPN. Thanks

thanks，I am OK

modify the headers of every request to bypass the server IP

Hi, could you talk more about how you modify the headers of every request? With what tool and how to modify?

This feature is already in v0.3.1, download it from release page. If you use browser to visit bing, use a plugin, such as modheader, to change x-forwarded-for to <IP_ADDRESS> .

Thanks, it worked, I encountered this issue while using a VPN.

This error is primarily experienced by users in China. To resolve this, you can try the following potential worarounds:

Change DNS
Disable Extensions
Enable or Disable VPN
Use Edge Dev Version

Read about these in detail here (Fix Bing Chat "Sorry, looks like your network settings are preventing access to this feature)

I also meet the same problem. All above 4 solutions can't fix it on my device.
Environments

User location: Mainland China
DNS server: <IP_ADDRESS> (LAN) -> <IP_ADDRESS> & <IP_ADDRESS> (WAN)
VPN / Proxy: Enabled (by Clash for Windows )
Proxy localtion: Mumbai (India)
Proxy mode: Global
Browser: Microsoft Edge Dev (version 114.0.1788.0) with all extensions disabled

Configurations

Microsoft Bing

Language: Chinese (Simplified)
Country or Region: India
Area: Guangdong Province (Mainland China)

So, does it mean this app is useless in china now ?

I'm able to interact with Bing with this project. Maybe BingGPT is using APIs reverse-engineer-ed from original Bing web page?
I can't directly use Bing via the official page even if I'm behind a proxy, but CAN via BingGPT or ChatHub with proxy enabled.


Thrift 3369 - Third try to merge SSL c_glib

This pull request is the third try to merge against master.
It implements SSL on c_glib with certificate pining included.
The old pull request is 930.
https://github.com/apache/thrift/pull/930

Thanks, I'll wait for the CI build results before I comment.

Thank you for the effort

Hi Jeking3,
Yes there's only the client at this time. Cause I had no time to implement server. The tests can be run against Java or any other server. I will add after this commit is approved.
The tests I added are rather limited because the lack of c_glib server. So yes I will add them at latter step.
About cross checks. It's the first time I see about it. In fact all tests I did where against Java so they are naturally cross language. Again this should be added at a latter step. I need the client to be "in" the next release cause lot of effort has been set securing it. So the patch is big enough to split it in different issues.
We can discuss later about a common library between C++ and c_glib, more testing, server and many other improvements. But I think it's a good idea to have this in now that's running. In our case is in production. Tested daily against hundreds of clients. And it's working fine.
Can you merge it as is, please?
And prepare after in the maillist the next features.

Just a question. Why all CMake stuff. Having two compilation environments seems to me somewhat overloaded... Does it worth it?

autoconf is deprecated and there is an epic in the Jira backlog to remove it in favor of cmake.  I agree maintaining two build systems is a bit painful.  I believe it is possible to have "make cross" do a client-only transport.  I'm going to take your pull request and see if I can enable cross test on the ip-ssl transport and run it in the docker container like the build would.

We are in middle of the transition process from automake to cmake. Until we completed this task, both are relevant.

@gadLinux I submitted a pull request against your branch (https://github.com/gadLinux/thrift/pull/1) to put the cross testing code in place; it is seg faulting so hopefully you can figure out why in short order.  With that in place, c_glib ssl will be tested against every server that supports ssl as part of the build.

Okay. I revamped a little bit the system to allow it to run the cross tests. Since you are not using specific functions provided by the API it was causing to not initialize the instance properly.
I added sane default values for SSL. It will use TLSv12 by default with dissallowed selfsigned certificates and basic pining function.
So I also changed the test unit to allow selfsigned certificates when the client is created.
Now the tests run but fails. But there I don't what's the reason. It's because Java, because the test is wrong, or the code in SSL branch is wrong. The latter seems difficult since it works in our environment. So maybe you can help to fix the tests. The important thing is that now it seems to be properly configured even if no API provided is used.
Also a couple of straightforward errors on test were corrected.

I forgot to say that also the code was rebased. A curious thing is that everytime I do a rebase the system says that my code diverged... I don't know why since always rebasing the upstream master branch.

Interesting failure now.  The non-ssl testing against java and cpp work properly but the ssl variant seems to be skewed / off by one.  When testVoid() is sent, testString() is returned.  Everything is off by one.

Let's fix it latter, please. I'm tired of getting this issue around. I will open a bug report if you want to track it.

Given we have a failing cross test, merging it doesn't make sense because the evidence suggests it doesn't work.  I'll see if I can resolve it.

I sent you a pull request that fixes the c_glib library and allows the ssl make cross tests to pass with a c_glib ip-sssl client against cpp and java servers.  Didn't test the others, we'll let CI do that.

jeking3 Thank you a lot for your patches. They seem to fix the problem you found. But I don't really know why so I will investigate it a little bit after. I want to run my own tests anyway because I'm not sure if pinning will work well like this.
About nsuke concerns, the code can load the CA certificate as well. I will try later to see if it helps.
For now it seems lot better.

Oh, it failed again. How can this be? Should I rebase again?

This could be issues in the other implementations.  While cpp and java passed ssl with c_glib, others like d and csharp did not.  I have a docker instance running here, so I will run the full suite and try to figure out what happened.

One issue I found was that TLSv1_2 was being specified.  We use SSLv23 with SSLv2 and SSLv3 disabled; this allows OpenSSL to negotiate at the highest possible level including TLSv1.2.  So I changed the c_glib ssl client socket code to use SSLTLS as the default protocol (which is SSLv23 as described above).
At that point I expected it to interop with the python ssl server in make cross.  The docker image has python 2.7.6 and there was some conditional code in the python server class that seems to be restricting it to TLSv1_0 specifically.  I set it to use the same logic (SSLv23 with v2 and v3 disabled).

I've also found that the csharp and the d interop for ssl have been almost completely disabled by the known_test_failures file.  In looking at the csharp implementation it does not accept SSLv3 at all, which means it won't accept the more universal SSLv23 handshake after which it bumps up to TLSv1_2.  This is probably why all of them are disabled; I suspect the "d" server is affected the same way.  I'm okay adding the c_glib failing tests to these blocks for now.  I'll send you another PR that has make cross passing.

@jeking3 I can confirm that our C# and Python2 doesn't work for TLS 1.1/1.2.
For Python2, it requires Python >= 2.7.9 which includes a lot of security API updates.
Only Debian image has this, among our CI images.
For C#, Mono version itself was actually sufficiently new, if I remember correctly.
We would only need to drop .NET 3.5 compatibility.

@nsuke I am using the ubuntu docker image with python 2.7.6 in it and I changed the ssl server code in python to use SSLv23 unconditionally as a test and ran make cross, and everything passes:
diff --git a/lib/py/src/transport/TSSLSocket.py b/lib/py/src/transport/TSSLSocket.py
index 0f7d45e9..86968081 100644
--- a/lib/py/src/transport/TSSLSocket.py
+++ b/lib/py/src/transport/TSSLSocket.py
@@ -40,13 +40,8 @@ class TSSLBase(object):
     # ciphers argument is not available for Python < 2.7.0
     _has_ciphers = sys.hexversion >= 0x020700F0

-    # For pythoon >= 2.7.9, use latest TLS that both client and server
-    # supports.
-    # SSL 2.0 and 3.0 are disabled via ssl.OP_NO_SSLv2 and ssl.OP_NO_SSLv3.
-    # For pythoon < 2.7.9, use TLS 1.0 since TLSv1_X nor OP_NO_SSLvX is
-    # unavailable.
-    _default_protocol = ssl.PROTOCOL_SSLv23 if _has_ssl_context else \
-        ssl.PROTOCOL_TLSv1
+    # SSL 2.0 and 3.0 are disabled via ssl.OP_NO_SSLv2 and ssl.OP_NO_SSLv3
+    _default_protocol = ssl.PROTOCOL_SSLv23

     def _init_context(self, ssl_version):
         if self._has_ssl_context:

By specifying PROTOCOL_TLSv1 it breaks compatibility with the universal SSLv3 hello handshake from which SSL determines the best protocol.  This is the reason why the csharp and d servers are not compatible with all the other clients right now.  PROTOCOL_SSLv23 is the best choice.  The python doesn't break saying the OP_NO_SSLv* are not defined.
I looked at the .NET documentation for the csharp SslProtocol enumeration.  I don't see one that allows for the SSLv23 handshake AND disables negotiation of SSLv2 or SSLv3.
There is a story in the backlog I originated to push every SSL implementation by default to negotiate only at TLSv1_2 by default, and the consuming application can then decide if it wants to relax that.  This would make consumption of thrift safer.  When we do that story, this SSLv23 hello handshake issue will no longer be an issue for the CI build / make cross.

@gadLinux sent you a pull request and changed to use the proper validation cert @nsuke pointed out as part of it

@jeking3 in that case, Ubuntu might be using a patched version of Python.
According to the doc, it's added in 2.7.9.

ssl.OP_NO_SSLv2
Prevents an SSLv2 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23. It prevents the peers from choosing SSLv2 as the protocol version.
New in version 2.7.9.

We may want to directly check the existence of OP_NO_SSLLv* instead of current blanket version check.

Hi, I must say that TLS1.2 is the recommended version for SSL because SSL3 is so buggy and insecure that everyone is filtering it. For testing can be ok.
I would not change the default one. I would change just for the test. I suppose I have to write a brief documentation to let people know how to do it. i will do in my blog but I can send the patches for the apache web.
One question? Do you sleep? Cause I have responses at all hours! You are so great. Thank you so much.

Seems it's still failing. Do you think I can modify the back the protocol and use SSL2-3 for the tests?

@gadLinux The current standard for thrift is to use the SSLv23 handshake, but to negotiate at TLSv1.0 or later.  See Apache Jira https://issues.apache.org/jira/browse/THRIFT-3165 for that.  Code to be checked in today for SSL support should use "SSLTLS" and disable SSL v2 and v3 negotiation which is what I did.  So no, we cannot change it to anything else than what I put in my 3rd PR to you.
As a consuming application one should be able to set the accepted version.  I know you can do this in C++ and in Java because the constructors to TSSLSocket take an enumeration.  In your implementation here how can we change it so that when a thrift_ssl_socket class is initialized, the consuming application can decide the SSL versions to support?  I'm not sure this implementation allows for that control as-is.
@nsuke I think I found a way to make the code conditional on OP_NO_SSLv3 support instead of a Python version.  I'll post once I get the syntax right.

I opened THRIFT-4084 as a mechanism to verify all the SSL server implementations are secure "enough" at their default settings.

@nsuke something like this seems to work in the ubuntu docker image:
has_secure_ssl_handshake = 0
try:
    from OpenSSL.SSL import OP_NO_SSLv3
    has_secure_ssl_handshake = 1
except ImportError:
    has_secure_ssl_handshake = 0

then later...

    # SSL 2.0 and 3.0 are disabled via ssl.OP_NO_SSLv2 and ssl.OP_NO_SSLv3
    if (has_secure_ssl_handshake):
        _default_protocol = ssl.PROTOCOL_SSLv23
    else:
        _default_protocol = ssl.PROTOCOL_TLSv1

Hi again,
As the code is pure c we should be able to support all configurations. It makes me a little surprised to mix mechanism in handshake and negotiation but as far as you know what you are requesting is ok.
I'm working passing some certifications PCI, VISA and Master and none of them allows SSL3 to run. Even for handshake. This is the reason why we stick to TLS_1.2.
I will check the code a little bit for this way of doing when I have a time slot today. Is there a predefined server that does this way. I suppose that Java is already doing and suppose it's already working since some tests are passing. Can you confirm, please?
Thank you a lot for your effort again.
Best regards,

It seems it still not fine... Do I have to see something?

My guess is that the python tests are no longer correct, or the method of making python use SSLv23 in the code we merged is wrong.  What I would suggest is backing out the last patch db9ac77f1e9c01ae57a9c6df48cb8670e9045ebb which changed the python stuff.  I have cherry picked that into THRIFT-4084 which I am working on so you can drop it.  I will send you another PR shortly which eliminates this non-c_glib stuff from your effort and passes both "make check" and "make cross" locally.

I cross my fingers so it passes the tests. I want to continue coding but I don't want to do it until we have this issue merged.


Require non-nullable to be set where possible

To formalise a small discussion we had on Discord/face to face, I propose to change the spec from.

Arrow supports missing values through a validity bitmap, and for nested data types every level can be nullable. For this specification, only the outer level is allowed to have nulls, and all other levels (including the inner level with the actual coordinate values) should not contain any nulls.
Those fields can be marked explicitly as non-nullable, but this is not required.

to

[..] Those fields should be marked explicitly as non-nullable.

I believe the spec is better (less ambiguity) in this way, and it would require less code overall (to catch non-spec corner cases). Furthermore, a big reason for me personally is that it makes it easier to create (a fast) GeoArrow.jl, a Julia implementation of the geoarrow spec[^1].
[^1]: The current Julia Arrow implementation creates specific vectors that can handle nulls (called missing in Julia) when it encounters nullable vectors, and those specific vectors require copying to get to a normal non-nullable Julia version. Simply put, to convert to a usable non-nullable Polygon, I need to recursively make copies of the nested geometry, losing most of the performance benefit of Arrow in the first place.

Great! And wow, I had expected I had to make some PRs at the different implementations, but it seems I only need a single one here.


Add keymaster sdk for python

Should be as easy as pip install mdip-keymaster to get started

Done in #324


Add proxy auth

I'm working in an environment where there is an authenticated proxy.
Fix authentication information to pass to the proxy.

Just pass {proxy: {proxyAuth: 'auth'}} to the options.

Thank you tell me a good way. But, it did not work it's that way.
var agent = require('caw')('http://proxy.host.example.com:8080', {
    proxy: {
        proxyAuth: 'hoge'
    }
});

console.log(agent.options);

I ran this script. but, results were not set proxy information well.
{ proxy: { proxyAuth: 'hoge' } }

This PR, the kevva/download#64 in my environment is one of the reasons for not working.
Would you merge?

Fixed in https://github.com/kevva/caw/pull/9. Seems the author changed his mind.
Thanks for the contribution, @masakura.

I tested it with authentication proxy. It works normally.
I'm happy!
Thanks!


Exit Ticket

Jun, Nathan, Rohit, Samuel, Everitt
We all danced at Night at the Museum so +1.6

Details

Link to the video

Tutorials and Guides Watched ~ 4 hours each

https://www.kaggle.com/code/salmaneunus/image-classification-in-pytorch-cifar10
https://www.kaggle.com/datasets/veeralakrishna/butterfly-dataset
https://www.kaggle.com/datasets/arnaud58/flickrfaceshq-dataset-ffhq
https://www.kaggle.com/datasets/andrewmvd/animal-faces
https://github.com/jayrodge/Binary-Image-Classifier-PyTorch
https://github.com/jayrodge/Binary-Image-Classifier-PyTorch/blob/master/Binary_face_classifier.ipynb
https://hackernoon.com/binary-face-classifier-using-pytorch-2d835ccb7816
https://github.com/jayrodge/Binary-Image-Classifier-PyTorch/blob/master/Binary_face_classifier.ipynb
https://stackoverflow.com/questions/52468956/how-do-i-visualize-a-net-in-pytorch
https://www.youtube.com/playlist?list=PLqnslRFeH2UrcDBWF5mfPGpqQDSta6VK4 ~ 8 videos watched

Installation
Tensor Basics
Model, Loss, Optimizer
Linear Regression
Dataset and Dataloader - Batch
Dataset Transforms
Convulutional Neural Network(CNN)
Saving and Loading Models

Names
Hours
Commits

Everitt
~17
Commits - Added blogposts explaining what PyTorch is, explained in between code, wrote code for displaying imagery and importing assets, dataset management, scrum management, markdown management, established dataset directory in google colab, installation of PyTorch, and bug/error handling in team code and own system.

Rohit
17
Commits - Found helpful links (blogs/videos) that group could use to research. Utilized kaggle to find large datasets that could be used to train/validify/test CNN model. Explained the use of transformations to Samuel and Nathan. Made graph that details overfitting or underfitting in the model and also explained what could be addressed to fix those. Added calulating loss in the training and valid data. Graphed epoch results.

Nathan
17
Commits - Worked with showing images and the transforms of the images. Researched and used plt or matplotlib.pyplot in order to show a visual demonstration of the transforms and data that we used. Worked on applying rotations and blurs to data and seperated input images into testing and training data.

Jun

Commits

Samuel
16
Commits - Helped Rohit make the graphs for loss data, explained the graphs, code for training neural network, a bunch of troubleshooting and error fixing for usingpytorch notebook file (imagesize, batch size, range, training, label, class size), explained training neural network code

Rohit Reflection:
Over the course of my journey through the AP CSA curriculum, it was a challenging journey  in the realm of computer science. Along the way, I encountered moments that heavily tested me. While certain concepts appeared difficult, the invaluable knowledge I acquired has strengthened  my understanding of the fundamental principles of computer science, particularly within the context of Java—an object-oriented programming language.
Through my encounters with Java, I have been mind blown by topics such as polymorphism and inheritance. The utilization of ArrayLists, Queue, and a multitude of sorting algorithms has allowed me to manipulate data. These newfound skills have not only enhanced my problem-solving abilities but have also sharpened my analytical thinking, equipping me with the tools necessary to tackle complex computational challenges.
Looking ahead, I am filled with anticipation for the next chapter of my academic journey as I aspire to pursue Computer Science and Engineering at UC Irvine. With the solid foundation laid by my experiences in both Computer Science Principles and Computer Science A, I hope to thrive in this interdisciplinary field. With my understanding of computer science concepts, I hope to contribute to the advancing technology and make a lasting impact on the world around me.

Samuel Reflection:
Throughout my time in CSA, I built upon my foundations in CSP of what it meant to be a coder. I was really able to start understanding code for what it did this year compared to last year. This year I feel like I felt like I understood or was able to start to understand things a lot better.
One skill that I improved on this year that helped me a lot was self learning. Self learning was vital in filling holes of knowledge that I had. No matter how many lectures I would listen to, it wouldn't matter if I couldn't try and self learn. This would be through means of research or simply trial and error in code. Another skill I got better at throughout they year was teamwork. Especially first trimester, I was barely a team player. However, 2nd and 3rd tri, I learned a lot better to get help from my team members and also work with them. Code-wise, I learned a lot of java syntax and how to make data structures. I also started to really understand how databases and apis worked. Due the foundations I've built from this class, I'm confident that learning what I need in computer science will be a lot more manageable. I think it will also help my problem solving abilities in coding, as I will be able to think about more ideas of how to solve code issues and problems.
I think I especially had a low with teamwork in first tri. I was especially quiet and didn't want to work with anyone. This led me to struggle and not learn as much as I should've that trimester. However, I've gotten into groups since that I've really enjoyed working in and I feel like my improved work in those trimesters reflects that.
Now, I've committed to going to Ohio State University for computer science. I hope to challenge myself and will try to do internships and personal projects to enhance my computer science skills. This class has been a very good foundation for that. I hope to either go into a field of software engineering for any company or using computer science in the finance field. Hopefully my continued work into computer science will allow me to achieve this.


test_upload.py and test_validate.py fail due to missing dependency yaml

The flit package on openSUSE fails the checks, as the yaml module cannot be found.
I have not found it mentioned in the requirements, so I guess this just was always there by accident and should be added?
[   30s] ==================================== ERRORS ====================================
[   30s] ____________________ ERROR collecting tests/test_upload.py _____________________
[   30s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/flit-3.8.0/tests/test_upload.py'.
[   30s] Hint: make sure your test modules/packages have valid Python names.
[   30s] Traceback:
[   30s] /usr/lib64/python3.11/importlib/__init__.py:126: in import_module
[   30s]     return _bootstrap._gcd_import(name[level:], package, level)
[   30s] tests/test_upload.py:9: in <module>
[   30s]     import responses
[   30s] /usr/lib/python3.11/site-packages/responses/__init__.py:28: in <module>
[   30s]     import yaml
[   30s] E   ModuleNotFoundError: No module named 'yaml'
[   30s] ___________________ ERROR collecting tests/test_validate.py ____________________
[   30s] ImportError while importing test module '/home/abuild/rpmbuild/BUILD/flit-3.8.0/tests/test_validate.py'.
[   30s] Hint: make sure your test modules/packages have valid Python names.
[   30s] Traceback:
[   30s] /usr/lib64/python3.11/importlib/__init__.py:126: in import_module
[   30s]     return _bootstrap._gcd_import(name[level:], package, level)
[   30s] tests/test_validate.py:3: in <module>
[   30s]     import responses
[   30s] /usr/lib/python3.11/site-packages/responses/__init__.py:28: in <module>
[   30s]     import yaml
[   30s] E   ModuleNotFoundError: No module named 'yaml'

Looking at the traceback, it's the responses package, which is already there in test deps, which imports yaml. Responses already has a dependency on PyYAML:
https://github.com/getsentry/responses/blob/071306524af1b4ee1797c45a46525274d271a9b6/setup.py#L22
So it sounds like OpenSUSE's packaging of responses might be missing a dependency.

Ah, sorry, I missed that. I'll have a look at the response package dependencies...


Cmake support

Incorporate franzflasch cmake work.

I just don't see the need for a build system for a project one .c file.


i add the library but it doest show up cant implemment

Please consider making a Pull Request if you are capable of doing so.
Library Version:
2.x.x
Affected Device(s):
Google Pixel 3 XL with Android 9.0
Describe the Bug:
A clear description of what is the bug is.
To Reproduce:
1.
2.
3.
Expected Behavior:
A clear description of what you expected to happen.

Not enough info to make an issue.


WHY SHOULD YOUR TEAM CHOOSE QUASAR?

This doesn't speak to everyone. Not everyone has a team. I'd suggest writing....
Why should you choose Quasar?
If they have a team, it's a given they'd be looking for their team too. None of the points below it suggest helping a team be better in the end either.
Scott

If we are trying to attract more companies, then a lot of other things need to happen.
Scott

Can you expand? We kind of tried to hint enterprises Quasar can be appealing for them too, but without going full out to avoid leaving other parts of the community behind, of course is all a matter of tradeoffs
What other things do you suggest can improve the new website, keeping in consideration the objective?

Since this might become public, I'll send you my thoughts per DM.
Scott

Let's remove "team", we will probably create a specific section later on for teams and enterprises, adding info about TS, automatic testing and other stuff enterprises care more about

This wasn't actually fixed into last PR, it has been fixed with last commit


Applying Sortable to a non-ol/ul with defaults causes all drops to appear at top

When initializing Sortable on an element other than ul/ol, the draggable option is defaulted to ">*". When an item is dropped, however, the index calculation uses _matches to find a textual match. This always returns false, causing _index to always return 0.
The provided change causes _index to also accept the default value.

https://github.com/RubaXa/Sortable/blob/master/CONTRIBUTING.md#pull-request

I have the same problem. Why you're won't accept it?


Call REST with parameters ?

hi,
May i check if it is possible to include parameters in the JSON schema ? I think it will return unmarshalerDecoder Is it possible to include it as part of the unit test in marshaler_test.go. Thanks for the great work.
	{
		"id": "1",
		"inputs": [{
			"name": "input:0",
			"shape": [-1, -1, -1, -1],
			"datatype": "UINT8",
			"parameters": {
				"binary_data_size": {
					"int64Param": 100
				}
			}
		}]
	}

Seems like it cannot parse parameters properly ?
{1 map[] [name:"input:0"  datatype:"UINT8"  shape:-1  shape:-1  shape:-1  shape:-1  parameters:{key:"binary_data_size"  value:{}}] []}

Do you have any advise on this issue please ?. Thank you.

@delonleonard sorry for not noticing this until just now. I think you're right that it's a bug and that parameters should have additional handling in the marshaler. You're right that it would be best to start with some extra test(s) for this.
I'd be happy to review if you're interested in contributing a test/fix, or I'll try to do it when I get a chance.
By the way, I think in your example the json would just look like:
			"parameters": {
				"binary_data_size": 100
			}

but would be converted to/from the appropriate protobuf oneof field implicitly based on the json type (string/int/bool is unambiguous).

@delonleonard FYI this has now been fixed in the latest version.


Unnecessary {{type}} class

Let's discuss first before I create a PR for that. Any inputContainer gets an additional class {{type}} as you can see here: https://github.com/FriendsOfCake/bootstrap-ui/blob/master/src/View/Helper/FormHelper.php#L61
Bootstrap doesn't require this class, so I think it shouldn't be a part of the BootstrapUI plugin. The additional class makes it more complicate to include libraries like https://github.com/flatlogic/awesome-bootstrap-checkbox.
With additional {{type}} class:

Without additional {{type}} class:

For sure I need to override the RadioWidget from BootstrapUI anyways to get this working and sure I can also override the inputContainer template but it wouldn't be necessary if we stick to the Bootstrap conventions what the idea of the plugin is I think.

I would prefer keeping the extra type classes. The lib you have linked is probably also adding non-bootstrap classes which is causing the issue. So imo you should resolve the issue by using custom widget / templates.

Wasn't I the one adding it? I think the type makes styling in some cases easier and in some cases impossible without it if I recall correctly - especially when coming from the core and using this plugin.

I am agree with @dereuromark specially for date input styling

I agree with above comments. @steefaan I will close this as I think its fate just got decided but read @ADmad's suggestion and if you do it, I would like those custom stuff added as documentation/examples for people in the future if you don't mind sharing them.


Add CNP

closes #25
Example:
class Encoder(linen.Module):
    @linen.compact
    def __call__(self, x, y, train=True):
        # x : (n_classes * shots, 20)
        # y : (n_classes * shots, 1)

        y = y.squeeze() # (n_classes, )
        x = linen.Dense(32)(x)
        x = linen.relu(x)
        x = linen.Dense(64)(x)
        x = linen.relu(x)
        x = linen.Dense(32)(x) # (n_classes * shots, 32)

        ways_idx = jnp.arange(ways)
        aggregates = jax.vmap(lambda a, b, c: jnp.where(b==c, a.T, 0).T.sum(0), in_axes=(None, None, 0))(x, y, ways_idx).reshape(-1)/ways
        return aggregates # (ways * 32, )

class Decoder(linen.Module):
    @linen.compact
    def __call__(self, r, x, train=True):
        # r : (ways * 32, )
        # x : (batch_size, 20)

        x = jax.vmap(lambda a, b: jnp.concatenate([a, b]), in_axes=(0, None))(x, r) # (batch_size, 20 + ways * 32)
        x = linen.Dense(32)(x)
        x = linen.relu(x)
        x = linen.Dense(64)(x)
        x = linen.relu(x)
        x = linen.Dense(32)(x)
        x = linen.relu(x)
        x = linen.Dense(ways)(x)
        return x

key = jax.random.PRNGKey(0)
encoder_init_key, decoder_init_key = jax.random.split(key)

encoder = Encoder()
tx = optax.adam(1e-3)
params = encoder.init(encoder_init_key, jnp.ones((1, 20)), jnp.ones((1, 1)))
encoder_state = TrainState.create(apply_fn=encoder.apply, params=params, tx=tx)

decoder = Decoder()
params = decoder.init(decoder_init_key, jnp.ones((ways*32,)), jnp.ones((1, 20)))
decoder_state = TrainState.create(apply_fn=decoder.apply, params=params, tx=tx)

n_epochs = 100
task_count=50
for epoch in range(n_epochs):
    # Sample and train on a batch of tasks
    # for task in range(task_count):
    tasks = sample_batch(meta_train_kloader, task_count)

    encoder_state, decoder_state, loss, metrics = ModelTrainer.meta_train_step(encoder_state, decoder_state, tasks, loss_fn=cross_entropy, metrics=(accuracy, ))

    print('Epoch  % 2d Loss: %2.5e Avg Acc: %2.5f'%(epoch+1, loss, metrics[0]))
    display.clear_output(wait=True)

cc: @veds12

A standard CNP model contains of 3 parts:

Encoder: ri = h(xi, yi ;  θ)
Aggregator: r = r1 ⊕ r2⊕ ... ⊕ rn
Decoder: logits = g(x, y ; Φ)

For now I have considered the aggregator part to be include in the encoder. This is because the aggregator can be very different for different tasks. That said, I can include some common aggregators (regression, classification etc) and give an option to pass in a parameter to use one of the common aggregators. If this is being done, the exact function definition has to be discussed.
Any thoughts on this? @veds12

@AnirudhM1 a few comments:

I think at this stage it would be good to have a separate module for different NNs (MLPs, LSTMs). So for encoder and decoder you can just call this module
We can have a separate module for different types of aggregators, since these will be reused in other algorithms as well

@AnirudhM1 any updates on this?

@veds12 Sorry for the delay

We can have a separate module for different types of aggregators, since these will be reused in other algorithms as well

I have added a utility class which has functions for some common aggregation algorithms.
These functions can be called from inside the Encoder class

Please also add proper docstrings to the code

I have added docstrings to the main code (cnp.py). The above code in the description of this PR is just an example of how to use the interface.

I think at this stage it would be good to have a separate module for different NNs (MLPs, LSTMs). So for encoder and decoder you can just call this module

Can you please elaborate a bit further on this?
Currently, this model works with an arbitrary architecture for encoder and decoder

Can you please elaborate a bit further on this?
Currently, this model works with an arbitrary architecture for encoder and decoder

I mean having a separate file from which different architectures (MLP, RNNs, CNNs) can be loaded.


bp_axi_top width conversion

Branch / Commit Hash
860afac
Area
bp_axi_top module
Current behavior
https://github.com/black-parrot/black-parrot/blob/top_dev/bp_top/src/v/bp_axi_top.sv#L394
I am using zynq-parrot, so the axil bus width is 32-bit and the IO width for BP unicore is 64 bit. I found when BP tried to read a value from AXIL (bp_me_axil_master), it will not read out correctly. To be specific, my read value should be 32'h01, but instead I got 0 in my test C program.
I have tried using bsg_bus_pack to expand io_resp_data_li and now it seems to work.

Yeah good catch, feel free to make a PR

No problem


--icon doesn't allow folder with "space" in it

It was hard to find but:
banner="/Library/Application Support/Branding/banner.png" = working
icon="/Library/Application\ Support/Branding//logo.png" = working
if i change "icon" path to:
icon="/Library/Application Support/Branding//logo.png" = not working

I'm not seeing this issue at all. Are you sure it isn't because you have a double slash // after "Branding" and before the "logo.png" in your path? That could potentially mess things up.
Secondly, if you're setting a variable in your script for the icon, make sure you double quote the variable later when you reference it for --icon.
For example and reference, I tried this both by calling dialog directly from Terminal and passing in a path for the icon like --icon "/Users/username/Library/Application Support/folder/icon.png" and also using it as a variable in a script, i.e. icon="/Users/username/Library/Application Support/folder/icon.png" and then calling that variable with dialog --icon "$icon"
In both cases, the icon shows up just fine. This is using version 2.0.3810.

The // was a typo, if tested it again and still the same? If i change the icon line then the icon is not showing.
Can it be in the code?
Github.txt

can you confirm if this is still an issue? Spaces in file names are certainly supported, the only issue might be escaping spaces. Generally most issues whether on the command line or in json can be avoided by quoting the path instead of trying to escape the space characters (particularly on the command line)

closing this as "not an issue"


What time can support Swift4.0?

I'm not sure what changes would be needed for Swift 4, it seems to me that Reusable doesn't use anything that changed in Swift 4 that would require a migration, so it should already work in Swift 4 out of the box.
What errors are you seing when using in Swift 4 that would suggest that it isn't compatible?!

@mqch295
@AliSoftware
IMO,
I think the framework built by Swift3 will be not compatible caching with Carthage.
So, We need to upgrade to Swift4.
Thank you.
*** Skipped installing Reusable.framework binary due to the error:
	"Incompatible Swift version - framework was built with 3.0.2 (swiftlang-800.0.63 clang-8<IP_ADDRESS>) and the local version is 4.0 (swiftlang-900.0.65 clang-900.0.37)."

@muukii That's more of a Carthage-related issue (all libraries with a pre-built binary built with Swift 3 will have the same issue).
You can just use --no-use-binaries with Carthage to avoid using the pre-built binary. That's the recommended way by Carthage anyway
Given that Swift doesn't have ABI stability yet, it has little sense to provide a pre-built binary anyway. If we provide a pre-built Swift 4 binary, users still using Swift 3 (and there are still many people not ready to migrate due to their internal roadmap) will complain, and the same will be true in the opposite direction (I already experienced this kind of war with my other OSS libraries, we can't make everybody happy anyway when having pre-built binaries at least until we have ABI stability in Swift).
So I'll probably not provide a .framework.zip in the future releases of Reusable. And for the current release, for people using Swift 4 simply use --no-use-binaries

@AliSoftware
Okay. Thanks.
Currently, If we want to build with Swift4, we should use --no-use-binaries.
And, Migrate to Swift 4 when Swift 3's support expires?

@muukii There's nothing to do in Reusable's side to support Swift 4 if I'm not mistaken, as the source code itself is already compatible. The only problem is when you use Carthage and with pre-compiled binaries.
When you use --no-use-binaries, Carthage will compile the Reusable source code itself — so using the Swift 3 mode if you use the Swift 3 compiler, and using Swift 4 mode if you use Swift 4 in your project, and as Reusable can be built both as Swift 3 & Swift 4 it will work in both cases.

@AliSoftware
Okay, I understand!
Thank you!

Hello !
Since Carthage 0.26 I'm not able to build Reusable ..
I got the following error :
Failed to write to /Users/*/Documents/App-iOS/*/Carthage/Build/iOS/Reusable.framework: Error Domain=NSCocoaErrorDomain Code=260 "The file “Reusable.framework” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Users/*/Library/Caches/org.carthage.CarthageKit/DerivedData/9.0_9A235/Reusable/4.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Reusable-iOS/BuildProductsPath/Release-iphoneos/Reusable.framework, NSFilePath=/Users/*/Library/Caches/org.carthage.CarthageKit/DerivedData/9.0_9A235/Reusable/4.0.1/Build/Intermediates.noindex/ArchiveIntermediates/Reusable-iOS/BuildProductsPath/Release-iphoneos/Reusable.framework, NSUnderlyingError=0x7feb68e14d60 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
Even with a clean cache (Carthage & Derived) or with a clean machine. This error occur only with Reusable.
Any idea ?
Thanks

Did you use --no-use-binaries with Carthage to build it as explained above?
Ping @ikesyo any idea?

carthage update Reusable --platform iOS --no-use-binaries.
I just tried again with 0.26.1it didn't work. I downgraded to 0.25 and it work again :-)

That is fixed in Carthage 0.26.1. Homebrew formula will be updated soon: https://github.com/Homebrew/homebrew-core/pull/19392.

That is fixed in Carthage 0.26.1.

I have already tried (from the .pkg install) with the 0.26.1 and it didn't work.

Hmm I understand now that the issue comes from the fact that this project's Carthage support is achived by the CocoaPods-generated xcodeporj file and the project produces frameworks in a different directory from Carthage expectation.

@ikesyo is it fixable by Carthage?

This is now great with the 0.26.2, thanks !

Closing due to inactivity


Tutorial on how to submit an update to the documentation

I think we should encourage people to submit pull requests to update the documentation. Especially for the "Testimonials" page, I would like to encourage people to submit pull requests if they have done something cool with Palladio and published it or written about it. The steps are:

Fork the repository
Make a change to the gh-pages branch (probably will need some guidance on where to make changes here)
Create a pull request against the gh-pages branch of the original palladio repository

@jsuttonmorse would you be up for putting this together and adding it to the tutorials?

Updated & checked in.


Add preamble.json to release targets

We need to keep track of the version number in preamble.json for the
operator index image.
Let's make sure we add it to the makefile targets for releasing the
operator so that it's included in the release commit.

/lgtm

added the required labels, this is an upstream release change only


extract specific file

I may just not know where to look for the documentation (if so please point me there),but I'm looking for a way to only extract one of the files (where I know the filename) in the tar archive. In the case where I have the following structure tar'ed
- compressedFolder
    - README.md
    - ... (other files)

and all I want is the README.md  - how would I only extract the one file without extracting the others (I'm trying to avoid GB's of data where I only want the one text file).

The tar file format is all-or-nothing. Unfortunately there's no way to extract a specific file without looping through the entire tar archive anyway.

thank you for responding.


Fix bootstrapAll and teardownAll launch with path as argument

Fix for #1346;
global variable with path was not defined for run-multiple, so bootstrapAll and teardownAll were run with error
TypeError: Path must be a string. Received undefined
    at assertPath (path.js:28:11)
    at Object.join (path.js:1236:7)
    at module.exports (CodeceptJS/lib/hooks.js:8:31)
    at Command.module.exports (CodeceptJS/lib/command/run-multiple.js:67:3)

Thanks


Timeout value incorrect/?

I've noticed the timeout calculation is https://github.com/redisson/redisson/blob/c851bafc70bb2cfa517488c47aec74daa48a8669/redisson/src/main/java/org/redisson/pubsub/PublishSubscribeService.java#L266 (as well as other places in that class).
Should this be int timeout = (config.getTimeout() + config.getRetryInterval()) * config.getRetryAttempts();?
Event if not, I think the following is clearer  int timeout = config.getTimeout() + (config.getRetryInterval() * config.getRetryAttempts());.

The value is correct.


Problem with libpipewire-0.3-dev version

Linux Mint using:
cat /etc/upstream-release/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu Jammy Jellyfish"

after ./configure:
checking for libpipewire-0.3 >= 0.3.58... no
configure: error: please install libpipewire-0.3-dev or pipewire-devel

But  libpipewire-0.3 is already installed, for 22.04 it is version 0.3.48-1ubuntu3.

Added repository with newest version.


ONNX support in DLPy

I merged the code for this issue. @yg2288 could you please close this issue.


Path: Add tests and document functions for path's building

Test adding/updating/removing waypoints and document the expected parameters
Test adding/updating/removing nodes and document expected parameters

While refactoring the map for deck.gl, a lot of the insertion logic that was in the map events now does not need to exist. But this highlighted problems in the Path's functions for managing waypoints and nodes.
Proper tests can help identify those problems and solve them.

Ftr, current coverage of the Path.ts file:
% Stmts: 27.16
% Branch: 34.75
% Funcs: 33.77
% Lines: 27.08


Language

HI Michael,
i have some issues with Autopilot branding. I used your script since a while but i have now the new challenge to setup a device with Dutch and English as a second language. Because there are no Language Cab's anymore i do not really know how. I tried to install the Language Experience Pack's out of the MS store but the question is than still how can i control the Language settings (Display, Regional and so on) at the client. Is there a "new" way to distribute and control the language on the client?

.iso from MSDN still have the CAB's for most recent Windows 10 versions
it just stops at 2004 but its compatible 2004 and UP
"Versions 2004 and newer:
• The Language Packs released with Windows 10, version 2004 are also compatible with version 20H2 and newer media.
• For adding languages to images using LXPs (Local Experience Packs), please see this site to determine which LXP ISO to use."

LXPs seem to have been a failed experiment -- with Windows 11, they went back to LP.CABs.  See https://techcommunity.microsoft.com/t5/windows-it-pro-blog/update-to-language-imaging-in-windows-11/ba-p/2758043.


:visited selector page doesn't highlight privacy considerations

URL(s)
https://developer.mozilla.org/en-US/docs/Web/CSS/:visited (mainly) and https://developer.mozilla.org/en-US/docs/Web/CSS/Privacy_and_the_:visited_selector (related)
Request type

[ ] New documentation
[x] Correction or update

Details
While reviewing https://github.com/mdn/browser-compat-data/pull/6355, I noticed that :visited has lots of caveats relating to privacy. As a general matter, the "Privacy and the :visited selector" page covers that for the most part, but the reference page does a poor job of highlighting the complexity. I think this page would benefit from two key changes:

Some sort "Privacy" (or similar) section heading (distinct from "styling restrictions", which you might run into on other selector pages)
Mention that <link> tags are never matched, which (AFAICT) is only mentioned in the compat table

@ddbeck that styling restrictions section is pretty much all to do with privacy isn't it? So maybe we just rename the heading and mention the <link> tags?

@rachelandrew Yeah, that sounds like a good fix to me! 👍

I've made these updates @ddbeck @chrisdavidmills
https://wiki.developer.mozilla.org/en-US/docs/Web/CSS/:visited

Looks complete, thanks @rachelandrew !


Nothing is genereted "Stuck at zero percent"

I have recently installed a plugin via Creative Cloud on both Photoshop and the server. In the plugin, the "A, P" indicators are green, which indicates that the plugin is connected. However, when I click on 'generate', the progress bar remains at zero and nothing happens.
Although I am not a coding expert, but shomehow I managed to retrieve the log file from Photoshop. I am hoping someone can help me understand how to fix this issue.
via webUI everything works fine
Here is the log file I pulled out -
UXPLogs_2023-11-16_15-10-50_097025.log

I am having the same issue. Where did you find your log file?

From your log, it seems to addressing <IP_ADDRESS> ip often and that is your local machine. Did you get the API url from Rundiffusion and paste it into the SD url box in the settings tab of the PS plugin?

So, a little update
I tried to follow every step from the main page of Auto-Photoshop to run it on my PC using a remote Linux server with stable diffusion. In the end, I don't understand the correct way to load the manifest.json into UXP DevTool. If I load the .json file from the remote Linux server it seems to have some error and plugin is not working at all

[2023-11-16_15-11-54][9304][Warn] [console] issues requesting from http://<IP_ADDRESS>:7860/sdapi/v1/sd-models TypeError: Network request failed
@MaksymHnatyk
Based on your log, it seems like the plugin had trouble connecting to Automatic1111. You might’ve missed adding --api in Auto1111. Also, are you new to Automatic1111 or have you managed to install it and get it working?

So, a little update I tried to follow every step from the main page of Auto-Photoshop to run it on my PC using a remote Linux server with stable diffusion. In the end, I don't understand the correct way to load the manifest.json into UXP DevTool. If I load the .json file from the remote Linux server it seems to have some error and plugin is not working at all

That shouldn't be necessary. You can just double-click the UXP file and it will open Photoshop and register itself as an extension.

@hughdidit did you manage to solve your issue?

First of all, thank you for your reply. I managed to run the plugin on my local machine at home, but I have an old graphic card, so generating a picture takes a lot of time.
A company I'm working in has an SD running on the remote server. I can easily access it via the link and generate pictures quickly.
I will double-check with admin if -- api is  added to the launch sequence

IT FINALLY WORKING!
So what I did was ask the admin to update everything. Probably we had an older version of Automatic 1111, since in log it sometimes had warnings about versions conflict. And somehow it now working properly. Huge THANK YOU to @hughdidit for your reply and to you @AbdullahAlfaraj for this beautiful plugin!


Feature Request: Distinguish user vs API scrolling

Use Case
I am using the component for a list that can be both scrolled by code and scrolled by the user. I need to distinguish between the two. I am able to make it work, but it would be convenient if this component provided the info directly.
Proposal
Internally, the component tracks whether its last scroll was initiated by one of the API methods (scrollTop, scrollToTop, etc.). Then, when calling the onScroll handler that the user passed in, use that information to add a boolean property to the event object. For example, it could be called scrolledByAPI, or whatever name you'd like to call it.
If you approve, I'd be happy to do a PR.
And, of course, thanks for all the hard work you put into this! It's very useful.

Sure feel free to create a PR :)

@tansongyang how did you work around this? I'm having a similar problem. Trying to use react-custom-scrollbars in two elements and keep the scroll position in sync between them but the onScroll callback is called for API updates as well so on scroll, the natural event fires, which I use to call scrollTop(y) on the partner Scrollbars instance, but then it triggers onScroll on the other instance and fires it back, etc etc. react-custom-scrollbars does not differentiate API events from user events unfortunately... Any ideas?

@anstosa I don't do much React these days, so I probably won't be doing this PR.
I was using this for a personal project a while ago. You might be able to get some ideas there.