fix: cwd template variable not working as expected

Codecov Report

Merging #275 (50d9b9f) into main (6a2fdef) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #275      +/-   ##
==========================================
- Coverage   95.23%   95.23%   -0.01%
==========================================
  Files          16       16
  Lines         924      923       -1
==========================================
- Hits          880      879       -1
  Misses         44       44

Impacted Files
Coverage Δ

src/ops2deb/generator.py
94.21% <100.00%> (-0.05%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


unable to retrieve factors of 2**(2**20)-1

While the factors of 2**(2**20)-1 are present in http://factordb.com/index.php?query=2^(2^20)-1 factordb-python is unable to retrieve them. .connect() returns <Response [414]>.

Oh?
http://factordb.com/api/?query=2^(2^20)-1

So, it looks fine at the server side and must be an issue with factordb-python.

I see. I will investigate source code.

Any update?


Yakuza Kiwami 2

Having an issue when writing the five digit code on the command prompt. Might be an issue for other Yakuza games as well.

This is usually indicative that it is blocking the attempt to remotely inject memory or spawn a remote thread. Likely a form of tamper-protection of some kind. Are you running the injector with Administrator privileges(Right click UWPInjector.exe > Run as Administrator)?


dockerfile

Please keep in mind that I use Python 3.10 and type hints might have changed from e.g. Union[str, str] to str | str. I have reviewed the code and there's currently no hints like that present. But this is something which is not backwards compatible to versions before 3.10.


Sitemap.xml prerendering error on all preview deployments to Vercel

When pushing any branch except main, I get the following error on preview deployments to Vercel:
Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
This occurs on branches with identical code to the main branch, ones that I created from main and push immediately with no code modifications.  The following is a screenshot of my deployments:

I have the same issue but on the first deployment. I'm not able to run it correctly in local too.

Hey @joshuatuscan can you share more info such as the error showing up in the build?

I got this error, it works locally but it does not deploy on Vercel.

@aej11a
I am also getting this error, I did three fresh deployments through Vercel using their Commerce starters and each time I get the same issue as @WilhelmRosental

The fonts have the following file sizes.
Inter-Bold.ttf : 316 kb
Inter-Regular.ttf: 310 kb
Together with the code they exceed 1MB
Remove the bold font, reduce or change the font file sizes.
https://rovity.io/reduce-web-font-size/

same error here.  runs fine locally, but fails vercel deployment.
[18:08:05.609] Running build in Cleveland, USA (East) – cle1
[18:08:05.656] Cloning github.com/twilio-jyoung/nextjs-commerce (Branch: main, Commit: 4dadbfc)
[18:08:05.661] Skipping build cache, deployment was triggered without cache.
[18:08:06.231] Cloning completed: 574.503ms
[18:08:06.382] Running "vercel build"
[18:08:06.861] Vercel CLI 30.2.1
[18:08:07.096] Warning: Detected "engines": { "node": ">=16" } in your `package.json` that will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version
[18:08:07.122] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8...
[18:08:07.142] Installing dependencies...
[18:08:07.651] Lockfile is up to date, resolution step is skipped
[18:08:07.675] Progress: resolved 1, reused 0, downloaded 0, added 0
[18:08:07.750] Packages: +472
[18:08:07.750] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[18:08:08.025] Packages are hard linked from the content-addressable store to the virtual store.
[18:08:08.025]   Content-addressable store is at: /vercel/.local/share/pnpm/store/v3
[18:08:08.025]   Virtual store is at:             node_modules/.pnpm
[18:08:08.679] Progress: resolved 472, reused 0, downloaded 39, added 39
[18:08:09.680] Progress: resolved 472, reused 0, downloaded 129, added 127
[18:08:10.691] Progress: resolved 472, reused 0, downloaded 265, added 259
[18:08:11.692] Progress: resolved 472, reused 0, downloaded 401, added 394
[18:08:12.692] Progress: resolved 472, reused 0, downloaded 467, added 467
[18:08:13.692] Progress: resolved 472, reused 0, downloaded 469, added 469
[18:08:14.909] Progress: resolved 472, reused 0, downloaded 470, added 470
[18:08:15.912] Progress: resolved 472, reused 0, downloaded 472, added 472, done
[18:08:15.996] .../node_modules/@vercel/git-hooks install$ node ./install.js
[18:08:16.047] .../node_modules/@vercel/git-hooks install: △  @vercel/git-hooks: installing base hook to /vercel/path0/.git/hooks
[18:08:16.048] .../node_modules/@vercel/git-hooks install: △  @vercel/git-hooks: hooks installed successfully
[18:08:16.051] .../node_modules/@vercel/git-hooks install: Done
[18:08:16.166]
[18:08:16.166] dependencies:
[18:08:16.166] + @headlessui/react 1.7.14
[18:08:16.166] + @vercel/og 0.5.4
[18:08:16.166] + clsx 1.2.1
[18:08:16.166] + framer-motion 10.12.8
[18:08:16.167] + is-empty-iterable 3.0.0
[18:08:16.167] + next 13.4.2
[18:08:16.167] + react 18.2.0
[18:08:16.167] + react-cookie 4.1.1
[18:08:16.167] + react-dom 18.2.0
[18:08:16.167]
[18:08:16.167] devDependencies:
[18:08:16.167] + @playwright/test 1.33.0
[18:08:16.167] + @tailwindcss/typography 0.5.9
[18:08:16.167] + @types/node 20.1.0
[18:08:16.167] + @types/react 18.2.6
[18:08:16.167] + @types/react-dom 18.2.4
[18:08:16.167] + @vercel/git-hooks 1.0.0
[18:08:16.167] + autoprefixer 10.4.14
[18:08:16.168] + eslint 8.40.0
[18:08:16.168] + eslint-config-next 13.4.1
[18:08:16.168] + eslint-config-prettier 8.8.0
[18:08:16.168] + eslint-plugin-unicorn 47.0.0
[18:08:16.168] + lint-staged 13.2.2
[18:08:16.168] + postcss 8.4.23
[18:08:16.168] + prettier 2.8.8
[18:08:16.168] + prettier-plugin-tailwindcss 0.2.8
[18:08:16.168] + tailwindcss 3.3.2
[18:08:16.168] + typescript 5.0.4
[18:08:16.168]
[18:08:16.168] Done in 8.9s
[18:08:16.204] Detected Next.js version: 13.4.2
[18:08:16.212] Running "pnpm run build"
[18:08:16.675]
[18:08:16.676] > @ build /vercel/path0
[18:08:16.676] > next build
[18:08:16.676]
[18:08:17.058] Attention: Next.js now collects completely anonymous telemetry regarding usage.
[18:08:17.058] This information is used to shape Next.js' roadmap and prioritize features.
[18:08:17.058] You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
[18:08:17.059] https://nextjs.org/telemetry
[18:08:17.059]
[18:08:17.147] - info Creating an optimized production build...
[18:08:38.324] - info Compiled successfully
[18:08:38.332] - info Skipping linting
[18:08:38.332] - info Checking validity of types...
[18:08:42.082] - info Collecting page data...
[18:08:52.908] - info Generating static pages (0/6)
[18:08:52.938] - info Generating static pages (1/6)
[18:08:52.948] - info Generating static pages (2/6)
[18:08:52.983] - info Generating static pages (4/6)
[18:08:52.991]
[18:08:52.991] Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
[18:08:52.991] [object Object]
[18:08:52.992] - info Generating static pages (6/6)
[18:08:52.994]
[18:08:52.994] > Export encountered errors on following paths:
[18:08:52.994] 	/sitemap.xml/route: /sitemap.xml
[18:08:53.039]  ELIFECYCLE  Command failed with exit code 1.
[18:08:53.060] Error: Command "pnpm run build" exited with 1
[18:08:53.435] BUILD_UTILS_SPAWN_1: Command "pnpm run build" exited with 1

Same error here, but also doesn't run locally - I'm not sure if all of this is connected to this issue, but thought I'd include it just in case:
When starting a local dev server with npm run dev the following pnpm error prints, even with pnpm installed:
   npm run dev

   > dev
   > next dev

   - ready started server on <IP_ADDRESS>:3000, url: http://localhost:3000
   - info Loaded env from /home/mirasaki/projects/node/server/nextjs-commerce/.env.local
   - warn You have enabled experimental feature (serverActions) in next.config.js.
   - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

   /bin/sh: 1: pnpm: not found

Building the application locally leads to the following error:
   > @ build /home/mirasaki/projects/node/server/nextjs-commerce
   > next build

   - info Loaded env from /home/mirasaki/projects/node/server/nextjs-commerce/.env.local
   - warn You have enabled experimental feature (serverActions) in next.config.js.
   - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

   - info Creating an optimized production build
   - info Compiled successfully
   - info Skipping linting
   - info Checking validity of types
   - info Collecting page data
   [==  ] - info Generating static pages (4/5)
   Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
   [object Object]
   - info Generating static pages (5/5)

   > Export encountered errors on following paths:
         /sitemap.xml/route: /sitemap.xml
    ELIFECYCLE  Command failed with exit code 1.

Same for Vercel builds:
   Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
   --
   16:30:04.588 | [object Object]
   16:30:04.732 | - info Generating static pages (5/5)
   16:30:04.734 |
   16:30:04.735 | > Export encountered errors on following paths:
   16:30:04.735 | /sitemap.xml/route: /sitemap.xml
   16:30:04.788 | ELIFECYCLE  Command failed with exit code 1.
   16:30:04.811 | Error: Command "pnpm run build" exited with 1
   16:30:05.283 | BUILD_UTILS_SPAWN_1: Command "pnpm run build" exited with 1

When opening the development application, the following error is thrown:
   > dev
   > next dev

   - ready started server on <IP_ADDRESS>:3000, url: http://localhost:3000
   - info Loaded env from /home/mirasaki/projects/node/server/nextjs-commerce/.env.local
   - warn You have enabled experimental feature (serverActions) in next.config.js.
   - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.

   /bin/sh: 1: pnpm: not found
   - event compiled client and server successfully in 478 ms (20 modules)
   - wait compiling...
   - event compiled client and server successfully in 139 ms (20 modules)
   - wait compiling /page (client and server)...
   - event compiled client and server successfully in 9s (1568 modules)
   - wait compiling...
   - event compiled successfully in 468 ms (648 modules)

   - warn metadata.metadataBase is not set for resolving social open graph or twitter images, fallbacks to "http://localhost:3000". See https://nextjs.org/docs/app/api-reference/functions/generate-metadata#metadatabase

   - error {
   status: 500,
   message: 'fetch failed',
   query: '\n  query getMenu($handle: String!) {\n    menu(handle: $handle) {\n      items {\n        title\n        url\n      }\n    }\n  }\n'
   }
   - error {
   status: 500,
   message: 'fetch failed',
   query: '\n  query getMenu($handle: String!) {\n    menu(handle: $handle) {\n      items {\n        title\n        url\n      }\n    }\n  }\n'
   }
   - error [Error: Error: [object Object]] { digest: '2106318912' }
   - error {
   status: 500,
   message: 'fetch failed',
   query: '\n  query getCollectionProducts(\n    $handle: String!\n    $sortKey: ProductCollectionSortKeys\n    $reverse: Boolean\n  ) {\n    collection(handle: $handle) {\n      products(sortKey: $sortKey, reverse: $reverse, first: 100) {\n        edges {\n          node {\n            ...product\n          }\n        }\n      }\n    }\n  }\n  \n  fragment product on Product {\n    id\n    handle\n    availableForSale\n    title\n    description\n    descriptionHtml\n    options {\n      id\n      name\n      values\n    }\n    priceRange {\n      maxVariantPrice {\n        amount\n        currencyCode\n      }\n      minVariantPrice {\n        amount\n        currencyCode\n      }\n    }\n    variants(first: 250) {\n      edges {\n        node {\n          id\n          title\n          availableForSale\n          selectedOptions {\n            name\n            value\n          }\n          price {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n    featuredImage {\n      ...image\n    }\n    images(first: 20) {\n      edges {\n        node {\n          ...image\n        }\n      }\n    }\n    seo {\n      ...seo\n    }\n    tags\n    updatedAt\n  }\n  \n  fragment image on Image {\n    url\n    altText\n    width\n    height\n  }\n\n  \n  fragment seo on SEO {\n    description\n    title\n  }\n\n\n'
   }
   - error {
   status: 500,
   message: 'fetch failed',
   query: '\n  query getCollectionProducts(\n    $handle: String!\n    $sortKey: ProductCollectionSortKeys\n    $reverse: Boolean\n  ) {\n    collection(handle: $handle) {\n      products(sortKey: $sortKey, reverse: $reverse, first: 100) {\n        edges {\n          node {\n            ...product\n          }\n        }\n      }\n    }\n  }\n  \n  fragment product on Product {\n    id\n    handle\n    availableForSale\n    title\n    description\n    descriptionHtml\n    options {\n      id\n      name\n      values\n    }\n    priceRange {\n      maxVariantPrice {\n        amount\n        currencyCode\n      }\n      minVariantPrice {\n        amount\n        currencyCode\n      }\n    }\n    variants(first: 250) {\n      edges {\n        node {\n          id\n          title\n          availableForSale\n          selectedOptions {\n            name\n            value\n          }\n          price {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n    featuredImage {\n      ...image\n    }\n    images(first: 20) {\n      edges {\n        node {\n          ...image\n        }\n      }\n    }\n    seo {\n      ...seo\n    }\n    tags\n    updatedAt\n  }\n  \n  fragment image on Image {\n    url\n    altText\n    width\n    height\n  }\n\n  \n  fragment seo on SEO {\n    description\n    title\n  }\n\n\n'
   }
   - error [Error: Error: [object Object]] { digest: '2106318912' }
   - error [Error: Error: [object Object]] { digest: '2106318912' }
   - error {
   status: 500,
   message: 'fetch failed',
   query: '\n  query getMenu($handle: String!) {\n    menu(handle: $handle) {\n      items {\n        title\n        url\n      }\n    }\n  }\n'
   }
   - error [Error: Error: [object Object]] { digest: '2106318912' }

Unsure how to continue

I know the "fix" for this. It's because the environment variables created from the deploy / clone button only create them for the Production environment. You need to go back in and edit the environment variables to be available in Development, Preview, and Production.
I am seeing if there's a way to get all environments selected when deploying / cloning.

I know the "fix" for this. It's because the environment variables created from the deploy / clone button only create them for the Production environment. You need to go back in and edit the environment variables to be available in Development, Preview, and Production.
I am seeing if there's a way to get all environments selected when deploying / cloning.

After updating my environmental variables to be active across all deploy environmental, Production, Development and Preview, and re-deploying the build, this error still occurs:

I'd also like to point out these errors originated from a Production environment, where the variables have always been active.

Here's a paste of the full deployment logs: https://pastebin.com/y411ewhT

@Mirasaki this should be an environment variable issue. We were able to reproduce internally and then fixed all deploy buttons to create environment variables in all environments vs. just Production. If you try a new deployment using the deploy button here, it should work, assuming all the environment variable values are correct.

This is now addressed, per https://github.com/vercel/commerce/issues/1010#issuecomment-1612162378. Thank you all 🙏

I'm still encountering this via the Vercel CLI. "vercel deploy" still generates this error. Is there something I need to do?

@imagine-erik can you take a screenshot or copy / paste what the errors says now that #1120 is merged? Be sure you have the latest from main before trying to rebuild.

Here is the error in the logs when I run 'vercel deploy' using the CLI:
2023-08-04T18:36:14.414Z  Error occurred prerendering page "/sitemap.xml". Read more: https://nextjs.org/docs/messages/prerender-error
2023-08-04T18:36:14.414Z  {
2023-08-04T18:36:14.414Z    "status": 500,
2023-08-04T18:36:14.414Z    "message": "fetch failed",
2023-08-04T18:36:14.415Z    "query": "\n  query getProducts($sortKey: ProductSortKeys, $reverse: Boolean, $query: String) {\n    products(sortKey: $sortKey, reverse: $reverse, query: $query, first: 100) {\n      edges {\n        node {\n          ...product\n        }\n      }\n    }\n  }\n  \n  fragment product on Product {\n    id\n    handle\n    availableForSale\n    title\n    description\n    descriptionHtml\n    options {\n      id\n      name\n      values\n    }\n    priceRange {\n      maxVariantPrice {\n        amount\n        currencyCode\n      }\n      minVariantPrice {\n        amount\n        currencyCode\n      }\n    }\n    variants(first: 250) {\n      edges {\n        node {\n          id\n          title\n          availableForSale\n          selectedOptions {\n            name\n            value\n          }\n          price {\n            amount\n            currencyCode\n          }\n        }\n      }\n    }\n    featuredImage {\n      ...image\n    }\n    images(first: 20) {\n      edges {\n        node {\n          ...image\n        }\n      }\n    }\n    seo {\n      ...seo\n    }\n    tags\n    updatedAt\n  }\n  \n  fragment image on Image {\n    url\n    altText\n    width\n    height\n  }\n\n  \n  fragment seo on SEO {\n    description\n    title\n  }\n\n\n"
2023-08-04T18:36:14.415Z  }
2023-08-04T18:36:14.583Z  - info Generating static pages (5/5)
2023-08-04T18:36:14.592Z
2023-08-04T18:36:14.592Z  > Export encountered errors on following paths:
2023-08-04T18:36:14.592Z  	/sitemap.xml/route: /sitemap.xml
2023-08-04T18:36:14.656Z   ELIFECYCLE  Command failed with exit code 1.
2023-08-04T18:36:14.677Z  Error: Command "pnpm run build" exited with 1
But, it looks fine if I run 'pnpm run build'.

@imagine-erik how did you get started? Did you

Use the deploy button from either the README or the Template Marketplace?
git clone the repo and then run vercel deploy and create a new Vercel project as a part of running it for the first time?
Something else?

@manovotny I git clone the repo, made some changes to it elsewhere for my own project and then run vercel deploy and started seeing this error. I've made sure that my environment variables were added across development, preview and production. I also cherry picked the sitemap.ts changes that were merged in to see if that would do the trick. Its fine local and I do not see the errors running pnpm run build. Only when I try to deploy using the Vercel CLI.

@imagine-erik I tried a git clone and vercel deploy and got the same fetch failed error message you got. As soon as I put in the environment variables, it worked just fine. My speculation is, something is still not right with your environment variables.

@imagine-erik we just merged in some changes yesterday that should add more clarity into what's going wrong. Can you update and see what new information is says or if it works for you now?

I'm getting the same error message and have confirmed that variables are active in my my enviornments and I have the correct domain name with .shopify.com.. If anyone have an idea how to proceed forward please let me know.

I was able to fix this by adding this line to the top of my sitemap.js file (for Next 15).
export const dynamic = "force-dynamic"

This worked for me too. Nextjs 15.


FormsFlow PROD deployment for Fee payment release

Describe the bug in current situation
The purpose of this task is to set up FormsFlow on 04d1a3-Prod Project Namespace for Fee payment release.

[x] Patroni
[x] Mongo
[x] Forms.io
[x] API - FF
[x] FF_AI.web

Completed deployment of all Services, Components of FORMSFLOW for Payment FLow on PROD. Few things to indicate like, there is a increase of resources utilized when HA is enabled on TEST, PROD for Patroni. Also, I have connected Camunda\BPMN with FF Web on 04d1a3-prod from d7abee-prod , since d7abee-prod version is not updated with marshal code version and this will good to do that while going on production for fee payment . Also, its only configuration update to connect with d7abee-prod 's BPMN - @sumathi-thirumani-aot , @divyav-aot . Indicated this to team. @aparna-aot , @nkan-aot , @divyav-aot as well. cc: @acoard-aot , @richard-aot


Setting bitmap received from camera not showing properly in CropImageView

In my app, I have the requirement to set a profile image using a pre-saved picture or a newly taken picture from the camera and then crop it.
Selecting and cropping a picture from the gallery is working fine , but when setting a bitmap received from the camera, the set image becomes smaller.
This is my code:
Intent captureIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
startActivityForResult(captureIntent, 1);
...
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
// TODO Auto-generated method stub
super.onActivityResult(requestCode, resultCode, data);
if(resultCode==RESULT_OK && requestCode==1)
cropImageView.setImageBitmap((Bitmap) data.getExtras().get("data"));
}
XML :
<com.edmodo.cropper.CropImageView
xmlns:custom="http://schemas.android.com/apk/res-auto"
android:id="@+id/CropImageView"
android:layout_width="match_parent"
android:layout_height="200dp"
android:layout_below="@+id/select_image_button"
android:layout_gravity="center"/>
This is when I clicked a photo from the camera:

This is when I selected image from the memory:

I tried doing the same thing in the sample app that you provided and it turns out that it happens in that too.
How can I resolve this?
Thankx.. :)

Same here. Can someone help us?

Read http://developer.android.com/training/camera/photobasics.html
Specifically, http://developer.android.com/training/camera/photobasics.html#TaskPhotoView, where it says that the Bitmap you get from the Intent extra is a small thumbnail only suitable for use as an icon.
If you want the full sized image, you will need to direct the Camera app to save it into a file, as described in http://developer.android.com/training/camera/photobasics.html#TaskPath.


It's not clear which values are used to defined the input parameters in the main.nf script

Description of feature
The main workflow takes 6 parameters as inputs: ch_input, ch_fasta, ch_panel, ch_region, ch_map, and ch_versions. These variables are not defined with value using params.

That's normal, those channels are now initialized in the PIPELINE_INTIALISATION() subworkflow with the new template.

Perfect, good to know. Thanks for the clarification.


looks like pymodbus was heavily changed hence creating import issues with the attack scripts

Hi, sorry for the delay.
I'm waiting on some changes by a contributor to accept his pull request so
I can then address this issue.
Hope to have this back working ASAP.
Cheers
On Tue, Apr 3, 2018 at 9:53 AM, Michael Loomis<EMAIL_ADDRESS>wrote:

@jseidl https://github.com/jseidl Any updates on these attack scripts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jseidl/virtuaplant/issues/8#issuecomment-378320205,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARRobEWgBmhn2ZAdyw7mUFaFoHG3TBCks5tk6kjgaJpZM4RwKuv
.

Hello,
I am getting thesame import error "no module named modbus".
any new updates?

move the attack script 1 directory back, then run them.

Any news regarding the virtual plant?


[Lib] Support more hashsum algorithm

Currently, there is only sha256. Could you please consider supporting md5,sha1,etc.
rust-lang/rust#21572

I think the reason Rust has SHA256 is because it actually needs it in the compiler itself. Providing various hashing algorithms seems like a job for an external library, not a standard library. In fact, I think rust-crypto supports these functions.

Having these in std lib does make sense because it would be handy.

Having every external library on crates.io in the standard library would be
convenient as well, but that's not practical. "Handy" isn't really a reason
to include something in the standard library. It should be something that
people use often and is common. SHA1 and MD5 don't really qualify here.
On Sat, Jan 24, 2015, 9:45 AM Ivan Cai<EMAIL_ADDRESS>wrote:

Having these in std lib does make sense because it would be handy.
—
Reply to this email directly or view it on GitHub
https://github.com/rust-lang/rfcs/issues/729#issuecomment-71320160.

@gsingh93 Well, I do not agree with that :smile:
You see, encryption as well hash is important and critical, so it's not just for convenient, but also for  security as everyone can make their own encryption crates and create bugs during that progress.
Discover and fix every each buggy crate takes time and efforts, some people may even needs to move to another crate to get safety.
A standard lib is needed as it will concentrate the problem in one single place, so if is there is a bug, it will have greater chance to be discovered and fixed right soon after that.

I don't think we support sha256 anymore in libstd and there are crypto libs on crates.io so I am closing this.


Don't log disconnecting endpoint release warning

fixes: #6448

This change is

Coverage increased (+0.03%) to 42.956% when pulling b678217a14ca97ea58571eedb7894a239fdf1463 on nebril:fix-unable-to-release-endpoint into d81f45d7eec8043e16f7b76bf572fe1eaa6415ba on cilium:master.

test-me-please


gltfio: disable shader optimizations by default

Note that ubershaders (which are always used on Android and WebGL) are still optimized by default.

Note that ubershaders (which are always used on Android and WebGL) are still optimized by default.

Thanks Philip! I started looking at multithreading filamat, it seems doable, I just need to cleanup some of our code first (we use class members as "globals" between methods, gross).

Thanks Philip! I started looking at multithreading filamat, it seems doable, I just need to cleanup some of our code first (we use class members as "globals" between methods, gross).

Oh and you should update RELEASE_NOTES so devs are aware of this change.

Oh and you should update RELEASE_NOTES so devs are aware of this change.

Could you also update the Java API please?

The Java API is hardcoded to use ubershaders, I think I was trying to avoid a filamat dependency there.

Could you also update the Java API please?

The Java API is hardcoded to use ubershaders, I think I was trying to avoid a filamat dependency there.

Oh and you should update RELEASE_NOTES so devs are aware of this change.

Done.

Oh and you should update RELEASE_NOTES so devs are aware of this change.

Done.

Could you also update the Java API please?

The Java API is hardcoded to use ubershaders, I think I was trying to avoid a filamat dependency there.

Ah right we never created gltfio-lite and gltfio-full. Übershaders come with limitations unfortunately, so ideally we'd want a version of gltfio without spirvopt/cross dependencies but shader generation. That's a problem for another day.

Could you also update the Java API please?

The Java API is hardcoded to use ubershaders, I think I was trying to avoid a filamat dependency there.

Ah right we never created gltfio-lite and gltfio-full. Übershaders come with limitations unfortunately, so ideally we'd want a version of gltfio without spirvopt/cross dependencies but shader generation. That's a problem for another day.


Loading is unexpectedly stalled... Reloading may help

[Optional] Relevant system information

Operating system (e.g. Ubuntu 22.04) Ubuntu 22.04
Browser (e.g. Firefox) ：Chrome

What you did
Create Dev account，Access the http://localhost:3000/at
What went wrong
Loading Page show these words：Loading is unexpectedly stalled... [Reloading may help]
I have refreshed the page multiple times, and the result is the same. In the end, the same prompt appears.
 Error
[   web] 15:29:01     at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[   web] 15:29:01     at eval (webpack-internal:///(api)/./src/pages/api/social/self_profile.ts:34:69)
[   web] 15:29:01     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 15:29:01     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[   web] 15:29:01     at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[   web] 15:29:01     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[   web] 15:29:01     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[   web] 15:29:01     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/social/self_profile userId:1821285871798672 BDID:Gbffhlr3w3PFoSrzYvYy responseSize:undefined latency:0.006s
[   web] 15:29:01 error:
[   web] 15:29:01   code: not_found
[   web] 15:29:01 INFO: 200 /buckets/biomes-static/asset_data/audio/footstep-grass-3.4958ca6ec183d3bc40114c4b92035c87.webm pathname:/buckets/biomes-static/asset_data/audio/footstep-grass-3.4958ca6ec183d3bc40114c4b92035c87.webm BDID:YAnqVIOYHhPMofjyNttA responseSize:1950 latency:0.002s
[   web] 15:29:12 INFO: 404 /api/social/self_profile. Error
[   web] 15:29:12     at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[   web] 15:29:12     at eval (webpack-internal:///(api)/./src/pages/api/social/self_profile.ts:34:69)
[   web] 15:29:12     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 15:29:12     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[   web] 15:29:12     at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[   web] 15:29:12     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[   web] 15:29:12     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[   web] 15:29:12     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/social/self_profile userId:1821285871798672 BDID:Gbffhlr3w3PFoSrzYvYy responseSize:undefined latency:0.013s
[   web] 15:29:12 error:
[   web] 15:29:12   code: not_found
[   web] 15:29:23 INFO: 404 /api/social/self_profile. Error
[   web] 15:29:23     at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[   web] 15:29:23     at eval (webpack-internal:///(api)/./src/pages/api/social/self_profile.ts:34:69)
[   web] 15:29:23     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 15:29:23     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[   web] 15:29:23     at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[   web] 15:29:23     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[   web] 15:29:23     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[   web] 15:29:23     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/social/self_profile userId:1821285871798672 BDID:Gbffhlr3w3PFoSrzYvYy responseSize:undefined latency:0.009s
[   web] 15:29:23 error:
[   web] 15:29:23   code: not_found
[   web] 15:29:34 INFO: 404 /api/social/self_profile. Error
[   web] 15:29:34     at okOrAPIError (webpack-internal:///(api)/./src/server/web/errors.ts:76:15)
[   web] 15:29:34     at eval (webpack-internal:///(api)/./src/pages/api/social/self_profile.ts:34:69)
[   web] 15:29:34     at processTicksAndRejections (node:internal/process/task_queues:95:5)
[   web] 15:29:34     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:148:26)
[   web] 15:29:34     at async eval (webpack-internal:///(api)/./src/server/web/errors.ts:68:13)
[   web] 15:29:34     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:71:9)
[   web] 15:29:34     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:55:13)
[   web] 15:29:34     at async eval (webpack-internal:///(api)/./src/server/web/util/api_middleware.ts:52:9) pathname:/api/social/self_profile userId:1821285871798672 BDID:Gbffhlr3w3PFoSrzYvYy responseSize:undefined latency:0.009s

The issue has been resolved. The host needs to open port 4700.


Dont load other folder's js files when add plugins item.

"plugins": {
	"node": {}
}

When I add "node": {} to .tern-projects "plugins" section. the Tern can not auto complete some js files in other folders....

This is not a bug report with which I can do anything. You'll have to a a lot more specific if you want help.


Timeout policy hangs forever when calling a remote service

Hi,
I'm currently trying to implement a client side timeout when calling a HTTP service but the timeout policy doesn't work and the HTTP request hangs for a very long time before triggering the TimeoutExceededException.
Working example
Here is a simple example using Thread.sleep(...) which works correctly:
    @Test(expected = TimeoutExceededException.class)
    public void timeoutUsingThreadSleep() {
        Timeout<Object> timeoutPolicy = Timeout.of(Duration.ofSeconds(3));
        Failsafe.with(timeoutPolicy)
            .onComplete(e -> log.info("event completed"))
            .onFailure(e -> log.info("event failed", e.getFailure()))
            .run(() -> {
                log.info("[START]");
                Thread.sleep(4000);
                log.info("[END]");
            });
    }

Broken example
I an trying to replicate a similar example but for a web-service that doesn't respond or perhaps doesn't even exist.
    @Test(expected = TimeoutExceededException.class)
    public void timeoutWithHTTPCall() {

        Timeout<Object> timeoutPolicy = Timeout.of(Duration.ofSeconds(3));

        Failsafe.with(timeoutPolicy)
            .onComplete(e -> log.info("event completed"))
            .onFailure(e -> log.info("event failed", e.getFailure()))
            .run(() -> {
                log.info("[START]");

                URL target = new URL("https://www.urlthatdonotexist.com");
                HttpURLConnection conn = (HttpURLConnection) target.openConnection();
                conn.setRequestMethod("GET");

                InputStream in = conn.getInputStream();

                log.info("[END]");
            });

    }

The latter example doesn't work as expected, it seems the timeout is triggered after a very long time (between one and two minutes) even with a 3 seconds timeout.
[2019-10-26 15:55:46,066] [INFO] [FailsafeTest FailsafeTest.java:42] [START]
[2019-10-26 15:57:56,788] [INFO] [FailsafeTest FailsafeTest.java:40] event failed
net.jodah.failsafe.TimeoutExceededException: null
	at net.jodah.failsafe.TimeoutExecutor.lambda$null$0(TimeoutExecutor.java:66)
	at java.util.concurrent.atomic.AtomicReference.getAndUpdate(AtomicReference.java:160)
	at net.jodah.failsafe.TimeoutExecutor.lambda$null$1(TimeoutExecutor.java:66)
	at net.jodah.failsafe.internal.util.DelegatingScheduler.lambda$schedule$0(DelegatingScheduler.java:140)
	at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1424)
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)
[2019-10-26 15:57:56,790] [INFO] [FailsafeTest FailsafeTest.java:39] event completed

Is there anything I am doing wrong or I missed ?
Thank you.
Greg

        <dependency>
            <groupId>net.jodah</groupId>
            <artifactId>failsafe</artifactId>
            <version>2.3.1</version>
        </dependency>

There could be a number of reasons for the timeout policy not interrupting the operation it is guarding. Among them are (the list is not exhaustive):

You are not specifying timeout.withCancel(shouldInterrupt) as per the documentation. The interrupt relies on the operation being wrapped by the Timeout policy being thread interrupt friendly, i.e. properly responding to Thread interrupt signals. See code sample below.
The operation acquires an uninterruptible lock (see code sample below).
The operation guarded by the Timeout is not interruptible. There are quite a few HTTP libraries out there that do not respond to thread interrupts,e.g. block waiting for some socket input, and you have to configure a timeout on each operation: connection acquisition, request, etc.

public class TimeoutTest {

    private final static Logger log = LoggerFactory.getLogger(TimeoutTest.class);

    private final Duration timeout = Duration.ofMillis(500);
    private final Duration blockDuration = timeout.plusSeconds(1);
    private final Timeout<String> timeoutPolicy = Timeout.<String>of(timeout)
            .withCancel(true);

    @Test
    public void timeout_givenBlockIsLockedInterruptibly_shouldRaiseExceptionAfterTimeoutExceeded() throws ExecutionException, InterruptedException {
        // Given a synchronization primitive that is responsive to thread interrupts
        CountDownLatch latch = new CountDownLatch(1);

        CompletableFuture<Long> future = CompletableFuture.<Long>supplyAsync(() -> {
            long start = System.currentTimeMillis();
            try {
                Failsafe.with(timeoutPolicy)
                        .onComplete(e -> log.info("event completed"))
                        .onFailure(e -> log.info("event failed", e.getFailure()))
                        .get(() -> {
                            log.info("[START]");

                            // The latch responds to thread interrupts, so the TimeoutExceededException will be raised
                            // after the timeout duration has expired.
                            latch.await(blockDuration.getSeconds(), TimeUnit.SECONDS);

                            log.info("[END]");

                            return "100";
                        });
                throw new RuntimeException("We should not reach this point.");
            } catch (TimeoutExceededException e) {
                // Expected Exception
            } finally {
                long end = System.currentTimeMillis();
                return end - start;
            }
        });

        assertThat(future.get(), lessThan(blockDuration.toMillis()));
    }

    @Test
    public void timeout_givenBlockIsLockedUninterruptibly_shouldRaiseExceptionAfterLockIsReleased() throws ExecutionException, InterruptedException {
        // Given a synchronization primitive that ignores thread interruptions
        ReentrantLock lock = new ReentrantLock();
        lock.lock();

        CompletableFuture<Long> future = CompletableFuture.<Long>supplyAsync(() -> {
            long start = System.currentTimeMillis();
            try {
                Failsafe.with(timeoutPolicy)
                        .onComplete(e -> log.info("event completed"))
                        .onFailure(e -> log.info("event failed", e.getFailure()))
                        .get(() -> {
                            log.info("[START]");

                            // When we block for more than the timeout duration since this lock is uninterruptible
                            // and the lock has already been aquired outside the future.
                            lock.lock();

                            log.info("[END]");

                            return "100";
                        });
                throw new RuntimeException("We should not reach this point.");
            } catch (TimeoutExceededException e) {
                // Expected Exception
            } finally {
                long end = System.currentTimeMillis();
                return end - start;
            }
        });

        Thread.sleep(blockDuration.toMillis());
        lock.unlock();

        assertThat(future.get(), greaterThanOrEqualTo(blockDuration.toMillis()));
    }

}

Hopefully @alinposho's response answered this. Feel free to re-open if not.


Web Shcool

Describe the bug
موقع ادارة مدرسة
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-7d5qgqsz?utm_campaign=stackblitz-on-page&utm_source=web-app&utm_medium=sidebar
Validations

[X] Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce
To reproduce a behavior, you typically need to follow a set of steps to replicate the issue or achieve a specific result. Here are the general steps you can follow to describe the steps to reproduce a behavior:

Identify the Behavior: Clearly define the behavior or issue you want to reproduce. Make sure to have a clear understanding of what you are trying to achieve.

Start with a Clean Slate: Begin with a fresh environment or scenario where the behavior has not occurred yet. This ensures that you are starting from a consistent point.

List the Steps:

Break down the process into clear, sequential steps. Each step should be concise and specific.
Include details such as specific actions, input data, expected outcomes, and any relevant settings.

Include Preconditions: If there are any necessary conditions or prerequisites for reproducing the behavior, make sure to mention them. This can include specific configurations, permissions, or setups.

Provide Context: Add any additional context or background information that might be relevant to understanding the behavior. This could include system information, user roles, or any other relevant details.

Reproduce the Behavior: Follow the steps you outlined to replicate the behavior. Make note of any deviations from expected outcomes or any unexpected behavior.

Document the Results: Record the results of following the steps. Include information on whether the behavior was successfully reproduced, any error messages encountered, and any other observations.

Include Screenshots or Recordings: Visual aids such as screenshots or screen recordings can be helpful in demonstrating the steps visually or capturing specific details.

By following these steps to reproduce a behavior, you can effectively communicate the process to others and troubleshoot any issues efficiently. If you have a specific behavior you would like assistance with, feel free to provide more details!
Expected behavior
The expected behavior is the specific outcome or result that is anticipated when a certain action or process is performed. It is important to clearly define the expected behavior to compare it with the actual behavior observed. Here are some tips on providing a clear and concise description of the expected behavior:

Be Specific: Clearly outline the exact result or outcome you expect to see. Avoid vague descriptions and provide specific details.

Use Actionable Language: Describe the expected behavior using action-oriented language. For example, "The system should display a confirmation message" rather than "The system should work correctly."

Include Details: Provide relevant details such as data inputs, system responses, and any expected changes in the interface.

Focus on the End Result: Describe the end goal or final state that should be achieved after the process is completed successfully.

Consider Variations: Anticipate any possible variations or edge cases that may affect the expected behavior and address them if necessary.

Avoid Ambiguity: Ensure that your description is clear and unambiguous, leaving no room for interpretation.

By providing a clear and concise description of the expected behavior, you can effectively communicate your requirements and expectations to others, aiding in troubleshooting, testing, and resolving any discrepancies between the expected and actual outcomes. If you have a specific scenario in mind that you would like to discuss, feel free to provide more details for further clarification.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
performance.memory = {
  "totalJSHeapSize": 47750702,
  "usedJSHeapSize": 45502650,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = MohammedBassam
Chat ID = 2ed85a8d5355

Additional context
No response

Describe the bug
موقع ادارة مدرسة
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-7d5qgqsz?utm_campaign=stackblitz-on-page&utm_source=web-app&utm_medium=sidebar
Validations

[x]  Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce
To reproduce a behavior, you typically need to follow a set of steps to replicate the issue or achieve a specific result. Here are the general steps you can follow to describe the steps to reproduce a behavior:

Identify the Behavior: Clearly define the behavior or issue you want to reproduce. Make sure to have a clear understanding of what you are trying to achieve.

Start with a Clean Slate: Begin with a fresh environment or scenario where the behavior has not occurred yet. This ensures that you are starting from a consistent point.

List the Steps:

Break down the process into clear, sequential steps. Each step should be concise and specific.
Include details such as specific actions, input data, expected outcomes, and any relevant settings.

Include Preconditions: If there are any necessary conditions or prerequisites for reproducing the behavior, make sure to mention them. This can include specific configurations, permissions, or setups.

Provide Context: Add any additional context or background information that might be relevant to understanding the behavior. This could include system information, user roles, or any other relevant details.

Reproduce the Behavior: Follow the steps you outlined to replicate the behavior. Make note of any deviations from expected outcomes or any unexpected behavior.

Document the Results: Record the results of following the steps. Include information on whether the behavior was successfully reproduced, any error messages encountered, and any other observations.

Include Screenshots or Recordings: Visual aids such as screenshots or screen recordings can be helpful in demonstrating the steps visually or capturing specific details.

By following these steps to reproduce a behavior, you can effectively communicate the process to others and troubleshoot any issues efficiently. If you have a specific behavior you would like assistance with, feel free to provide more details!
Expected behavior
The expected behavior is the specific outcome or result that is anticipated when a certain action or process is performed. It is important to clearly define the expected behavior to compare it with the actual behavior observed. Here are some tips on providing a clear and concise description of the expected behavior:

Be Specific: Clearly outline the exact result or outcome you expect to see. Avoid vague descriptions and provide specific details.
Use Actionable Language: Describe the expected behavior using action-oriented language. For example, "The system should display a confirmation message" rather than "The system should work correctly."
Include Details: Provide relevant details such as data inputs, system responses, and any expected changes in the interface.
Focus on the End Result: Describe the end goal or final state that should be achieved after the process is completed successfully.
Consider Variations: Anticipate any possible variations or edge cases that may affect the expected behavior and address them if necessary.
Avoid Ambiguity: Ensure that your description is clear and unambiguous, leaving no room for interpretation.

By providing a clear and concise description of the expected behavior, you can effectively communicate your requirements and expectations to others, aiding in troubleshooting, testing, and resolving any discrepancies between the expected and actual outcomes. If you have a specific scenario in mind that you would like to discuss, feel free to provide more details for further clarification.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36
performance.memory = {
  "totalJSHeapSize": 47750702,
  "usedJSHeapSize": 45502650,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = MohammedBassam
Chat ID = 2ed85a8d5355

Additional context
No response


Failed at the<EMAIL_ADDRESS>postinstall script.

🐛 Bug Report

Environment

operating system: macOS Big Sur 11.0.1 (20B29)
output of rustc -V:  rustc 1.49.0 (e1884a8e3 2020-12-29)
output of node -v:  v12.19.0
output of wrangler -V:  couldn't install wrangler itself...
contents of wrangler.toml: couldn't install wrangler itself...

Steps to reproduce

Run the command sudo npm install -g @cloudflare/wrangler

What did you expect to see?
Expected wrangler to be installed
What did you see instead?
This issue pops up saying Failed at the<EMAIL_ADDRESS>postinstall script.
(See screenshot)

We're having the same issue; hoping for a resolution.

We're having the same issue; hoping for a resolution.

Wrangler's npm installer doesn't support being run as root, such as when using sudo, here's why:
The npm installer downloads the wrangler binary into your machine during the postinstall script, and requires permissions to save the binary in order for it to work. When running npm install -g as root, npm actually runs the postinstall scripts as nobody, to prevent malicious postinstall scripts from doing nefarious things with root permissions. It's impossible for the postinstall script to modify the filesystem when run as nobody, and this is why you're seeing a permission error when doing sudo npm install -g @cloudflare/wrangler.
The solution here is to use nvm to install node and npm, which will place your global node_modules folder in your home directory such that npm install -g works without sudo, which will make the postinstall script work properly.
After #1780 lands, you could also install wrangler as a dev dependency in your project instead of installing it with -g, and use npx wrangler to run it.


add resource requests and limits for added stability

This change adds resource requests and limits to the slight workload to resolve an issue where the workload would restart in some scenarios on AKS.
I've also change the name of the container from testwasm to hello-slight which seems a little more informative. The name change to the container does not affect the behavior of the example or subsequent documentation.

/cc @alexeldeib @squillace

@mgoedtel
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Expression editor is not complaining about a non existent function at design time

Describe the Bug with repro steps
Try putting following function:

or addMonth(utcNow(), 1) and it doesnot complain until runtime error.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
No response

Not likely to change to be honest. We provide the editor some intellesense to help add functions, but it doesn't fully parse the expression or break it into it's full AST to make sure everything is valid. We would need to reimplement the backend functionality to do that and that's not likely.


feat!: Restrict bit sizes

Description
Restricts allowed bit sizes for integer types to 1,8,32 and 64.
Problem*
Resolves https://github.com/noir-lang/noir/issues/4162
Summary*
Additional Context
Documentation*
Check one:

[ ] No documentation needed.
[x] Documentation included in this PR.
[ ] [Exceptional Case] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[ ] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I'm going to hold this until I complete the aztec-packages sync since this is a breaking change. I'll finish the sync now, I'm just waiting for bb to finish releasing

I'm a bit worried about this change. Now that this has found its way into master I've been unable to execute any library to test bug reports due to the error: Use of invalid bit size 56 or similar. This seems like it will break a lot of crates in the short term at least.


S2I Assemble Script Does Not Support Hidden Folder In The Configuration Directory

This is problematic if you want to version control .m2/settings.xml. This can be done with some additionally configuration, but it would be nice to support this scenario out of the box.
The issue is that https://github.com/openshift/jenkins/blob/master/1/contrib/s2i/assemble#L34 is using mv which does not support hidden files. Does it make sense to look for .m2 specifically? Or is there a more general purpose solution here?
Happy to submit a patch to v1 and v2 once direction is decided.

Just an oversight/unconsidered scenario.  I think the proper fix would be to include all hidden files, eg:
http://ram.kossboss.com/shoptdotglob-copy-hidden-files-secrets-of-bash-what-does-asterick-selects/
so just add a shopt -s dotglob call before the mv.

@sherl0cks were you interested in submitting a PR for this?  (setting shopt -s dotglob)?

Yes I am, life has just been hectic the last week. I can look at it next
work, or you can go ahead and make the change. I won't be heart broken.
On Dec 16, 2016 11:27 AM, "Ben Parees"<EMAIL_ADDRESS>wrote:
@sherl0cks https://github.com/sherl0cks were you interested in submitting
a PR for this? (setting shopt -s dotglob)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/issues/212#issuecomment-267662428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABRfYSoM-RJAB3ChAii09xGfLEdPz7Q7ks5rItgKgaJpZM4LCQPt
.


[project details] Create a ProjectMediaCarousel

Design is here.
Notes:

If the project does not have images, only show the map as it appears now
Fade on either end when there's more images that direction (see designs for details)
Info icon on the image supports image attribution information
Auto-scrolling is a long term objective and not required for initial implementation

@0xMakka related backend tickets
#1092
#1093

@0xMakka
There is currently only one project that will have images for the carousel.

@0xMakka comment from Najada in #1093
i changed the query and I now passing the images of the project down (caption plus URL)

Example: https://api.carbonmark.com/api/projects/VCS-1764-2020

@jabby09 picking this ticket up again - is there any active projects that have images? the one above for VCS-1764-2020 doesn't seem to be working ant longer as the images object is returning null.

@jabby09 picking this ticket up again - is there any active projects that have images? the one above for VCS-1764-2020 doesn't seem to be working ant longer as the images object is returning null.

yea this project https://carbon-projects.sanity.studio/desk/projectContent;content-VCS-1764
but we recently did another data upload there so maybe we broke something in the api call, I'll have to follow up with @Najada

@jabby09 @0xMakka something has changed on the schema. Is the entity still called  projectContent ?

https://api.carbonmark.com/api/projects/VCS-1764-2020

@Najada @0xMakka I checked the sanity document again and it had publishing errors. I fixed those and published the doc and the api (https://api.carbonmark.com/api/projects/VCS-1764-2020) looks like it is working again, at least I can see the image urls


version bump to 2.1.0 and gradle version bump

Signed-off-by: Kavitha Conjeevaram Mohan<EMAIL_ADDRESS>Description
version bump to 2.1.0 and gradle version bump to 7.4.2
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #655 (edd75a9) into main (90ccc3e) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main     #655   +/-   ##
=========================================
  Coverage     94.67%   94.67%
  Complexity     2801     2801
=========================================
  Files           280      280
  Lines          7570     7570
  Branches        558      558
=========================================
  Hits           7167     7167
  Misses          349      349
  Partials         54       54

Flag
Coverage Δ

query-workbench
62.76% <ø> (ø)

sql-engine
97.71% <ø> (ø)

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

Continue to review full report at Codecov.

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


the comma was not needed at the end of the object

There was a not needed "," at deepsourcelabs/cli/command/root.go

@sourya Please look into this

Hey @kitarp29, thank you for your pull request. However, removing the trailing comma actually results in a syntax error.
If you run make build, you can see this error:
../../command/root.go:22:22: syntax error: unexpected newline, expecting comma or }

The DeepSource Go check should have detected this issue. We are looking into why it did not.

So, instead of resolving an issue, I created one? 😂
How can I help in resolving it?
@sourya-deepsource

So, instead of resolving an issue, I created one? 😂 How can I help in resolving it? @sourya-deepsource

Adding a comma back will fix it. But then, there won't be any changes in the PR.

Closing this pull request.


Fix unique constraint validation

The order matters, when comparing unique key constraints. Therefore, we can't just sum up the hash codes.

I wasn’t planning on maintaining this anymore. I have moved all my projects over to https://github.com/SimonCropp/LocalDb
If the above doesn’t suit your requirements, and you still want to use this project, would you like to take over maintenance of it?

Sure, why not. To be honest, I have no time to actively develop it further. But I think I could respond to issues and contributions. LocalDb doesn't work for me since I have to run tests also on Linux.

cool. ok. i merged this. which means you can delete your fork, allowing me to transfer the repo to you

Great. I've removed my fork

whats your nuget id?

Do you mean: https://www.nuget.org/profiles/felix.boers ?

ok i sent a nuget transfer ownership request


Unable to give a name to imported shape. How to know what it stands for? How to search for it?

Preflight Checklist

[y ] I agree to follow the Code of Conduct that this project adheres to.
[ y] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When I import an external png file into Draw.IO, I cannot apply a name to the icon.
So if I hover my mouse on such an imported shape, I do not see any tooltip.
On the other hand, if I hover my mouse on any built-in shape, I can see its name as a tooltip.
So the question is, how do I apply a name to imported shape?
To Reproduce
Steps to reproduce the behavior:
Hover the mouse on an imported shape. There is no name.
We cannot name it.
Expected behavior
We should be able to name every shape, so that we can know its name on mouse-hover and search for it.
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version [e.g. 12.6.7]

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi,
I tested this with drag&dropped PNG and JPG images and tooltips were visible on hover (select an image and click Edit > Edit tooltip) but I used diagrams.net online the latest version 13.6.9 on my computer so my suggestion would be to:

update diagrams.net to the latest
check tooltips are working in another browser and Private mode (also clear cache and temporarily disable all browser extensions in a preferred browser)

Does it help? Are you using only iPhone or you can work on your computer also?
Regards,

I am already using the latest Desktop version (13.6.2)
(Sorry I have not declared that detail in the form.)
Let me illustrate the problem with a few screenshots:

I can hover the mouse on any built-in shape, and see its thumbnail and name on the main screen.

Once I am familiar with the names of my shapes, I can search for any shape by searching for their names.
For example, if I search for "Isometric edge", I get the following results:

But when I add an image in a personal library, there is no facility to add its name.
When I hover the mouse on the image icon, I can see its thumbnail, but it has no name, as shown below:

As a result, I cannot search for such images by name. And that's the problem.

I was expecting that I can add the name using a context menu:

But none of the options allow that.
On further experimentation, I discovered that the item can be given a name by editing the XML itself.
So, step#1 is to edit the XML.

Step#2 is to edit the name of the item there:

Although I found the way, this path is not really intuitive.
It is best if the user can edit the name of the item using its context menu.

On second thought, I wonder if Draw.io treats the image on canvas as an independent copy of the image inside the library?
If that is the case, then naming the copy should not affect the original item in the library.
If that is indeed the logic, then the path is correct: I should be editing the item's name inside the library only.

Yes, it's an independent copy. We'll close this, the name should be edited in the library as shown.


Use assumptions over loose

See https://babeljs.io/docs/en/assumptions.

There seems to be a bug preventing assumptions from being specified in presets: https://github.com/babel/babel/issues/13316


[BUG] Immediate evaluation of variables not behaving as expected.

The instructions here are a bit unclear, but it seems like you should be able to do exhaustive combinatorial variable selection. It currently does not work.
Based on this prompt:
${season=!{summer|autumn|winter|spring}}
${season} scene, man in ${season} outfit.

and checking the Combinatorial generation box, expect:
Expected result
4 prompts
summer scene, man in summer outfit.
autumn scene, man in autumn outfit.
winter scene, man in winter outfit.
spring scene, man in spring outfit.

Instead, it only makes one prompt:
Actual result
1 prompt
summer scene, man in summer outfit.

Correct counterexample
I assume that the expected behavior is the exhaustively iterate through the variable. This occurs as expected if "Immediate evaluation" isn't selected:
${season={summer|autumn|winter|spring}}
${season} scene, man in ${season} outfit.

yields
summer scene, man in summer outfit.
summer scene, man in autumn outfit.
summer scene, man in winter outfit.
summer scene, man in spring outfit.
autumn scene, man in summer outfit.
autumn scene, man in autumn outfit.
autumn scene, man in winter outfit.
autumn scene, man in spring outfit.
winter scene, man in summer outfit.
winter scene, man in autumn outfit.
winter scene, man in winter outfit.
winter scene, man in spring outfit.
spring scene, man in summer outfit.
spring scene, man in autumn outfit.
spring scene, man in winter outfit.
spring scene, man in spring outfit.

I had the same issue and may have just found a fix. I had the Unprompted extension enabled. When disabled, it fixes this issue.

I was able to fix this by moving the folder for the extension to a folder outside the directory, and then re-installing it, then moving my wildcards back:

stop sd
move folder to desktop (or any other folder outside of the extension folder)
start sd
re-install dynamic-prompts
stop sd
Moved wildcard folder from backup into new installation location
start sd

This worked for me. Don't know if something got corrupted from usage, or from a git pull.

I was able to fix this by moving the folder for the extension to a folder outside the directory, and then re-installing it, then moving my wildcards back:
1. stop sd

2. move folder to desktop (or any other folder outside of the extension folder)

3. start sd

4. re-install dynamic-prompts

5. stop sd

6. Moved wildcard folder from backup into new installation location

7. start sd

This worked for me. Don't know if something got corrupted from usage, or from a git pull.

Tried this, no effect. Sill only generates a single prompt even with combinatorial checked.

I don't have that extension.

I had the same issue and may have just found a fix. I had the Unprompted extension enabled. When disabled, it fixes this issue.

Nope, I don't have that extension installed.

I was able to fix this by moving the folder for the extension to a folder outside the directory, and then re-installing it, then moving my wildcards back:
1. stop sd

2. move folder to desktop (or any other folder outside of the extension folder)

3. start sd

4. re-install dynamic-prompts

5. stop sd

6. Moved wildcard folder from backup into new installation location

7. start sd

This worked for me. Don't know if something got corrupted from usage, or from a git pull.

Tried this, no effect. Sill only generates a single prompt even with combinatorial checked.

yeah,  just had this issue happen once again, and these steps did not work this time.

Same bug here.. is there some workaround to it?

Can confirm this issue still occurs

Most recent update (applied 18-Dec-2023) still has this bug.
I found a workaround that works without using variables by utilizing the poorly documented cyclical operator "@" in combinatorial mode. Example producing the expected 4 prompts:
{@summer|autumn|winter|spring} scene, man in {summer|autumn|winter|spring} outfit.
From this, I extended it to simple variable definitions:
${season={summer|autumn|winter|spring}}
{@${season}} scene, man in ${season} outfit

Once you start adding other variables or even a third callout to the same variable, things start to break down and the ordered matching no longer applies correctly.


ENH: Allow pass_zero to act like btype

This addresses a user-requested feature to be able to specify the design type of firwin using a string argument instead of whether or not DC gets passed by the filter.
Closes #8033.

Hmm, we have two strings that are aliases, and two that are also aliases for the exact same thing plus require a size-1 cutoff. The latter is a bit odd - perhaps only allowing bandstop / bandpass would be clearer?

and two that are also aliases for the exact same thing plus require a size-1 cutoff. The latter is a bit odd - perhaps only allowing bandstop / bandpass would be clearer?

lowpass and highpass are indeed aliases plus a check. However, they are aliases of something that (to most people at least) would be considered an internal implementation detail (namely whether DC is pass-band or stop-band) that is a step removed from the output they desire from the function (the four names typically used in filter design and elsewhere in SciPy). Reducing it to just bandpass and bandstop would be a step backward in usability, because people will continue to need to think about whether they should consider their lowpass or highpass filter as a bandpass or bandstop. Given that the cost for supporting these options is only a handful of lines with the benefit of an extra sanity check, if we can save our users from some of these mental gymnastics, it seems worth it to me even though some arguments end up being otherwise redundant.
However, perhaps bandpass and bandstop should require more than 1 cutoff value, because when you do use one of these options with one cutoff value, you're making a lowpass or highpass, not really a standard bandpass or bandstop. That would also make the arguments non-overlapping (at least amongst the four string options). I'll implement that, too.

thanks, that makes sense - band* with 2 cutoffs will be actual bands

In it goes, thanks @larsoner


Replace the Logo of Layer5 with Meshery in config.yml workflow

Description
Currently, we are using the Logo of Layer5 instead of Meshery. This repository is under the organization Meshery, so, there should be an image of Meshery.
How to resolve this

Go to .github and replace this welcome image with the new one:

Make sure to display the images conditionally, based on the theme selected by user.
Here's the sample code:

<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">

</picture>

New images are:

Download these images, and upload with an appropriate name. Make sure to use conditional rendering as described above.

After uploading the image, and removing the previous image, go to .github/config.yml folder and update the reference to previous image to the new image in the following part:

firstPRMergeComment: >
  Thanks for your contribution to the Layer5 and Meshery community! :tada:

  ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png)
    	   	    	    	 :star: Please leave a [star on the project](../stargazers). :smile:

Here, replace ![Congrats!](https://raw.githubusercontent.com/meshery/meshery.io/master/.github/welcome/Layer5-celebration.png) with the code
<picture>
  <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/w.png">
  <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/GiorgosXou/Random-stuff/main/Programming/StackOverflow/Answers/70200610_11465149/b.png">

</picture>

make sure to change the image sources with the path to image in the folder where you upload it.

That's it.

Hello community i would like to contribute in this issue my current tech stack is html, css, reactjs, nodejs, mongodb.

@ShivangShandilya  if this issue is still open can i work on this ?

@om2137 Thank you for the contribution😁 but I would say this is unprofessional behavior on your part. One should always wait for maintainers to assign the issue before working on it. Maintainer would have first assigned @Gaurav-create948 as he was the one who approached first and if by any circumstance he couldn't do it then only it would have been assigned to you.
It's fine now but do keep this in mind for your future contributions not only in Layer5 but with any other Open source project also

@ShivangShandilya Hey, I apologize for directly opening the PR without being assigned.
I thought we had to directly open PR, as some organizations do not assign the issue in order to open a PR.
once again I apologize, and I will keep this in mind in my further contributions.

@ShivangShandilya Hey, I apologize for directly opening the PR without being assigned. I thought we had to directly open PR, as some organizations do not assign the issue in order to open a PR. once again I apologize, and I will keep this in mind in my further contributions.

It's fine @om2137 I wasn't scolding you or anything 😂😂. We all started from somewhere right and we all made mistakes. Just keep in mind to always read CONTRIBUTING guidelines of the project you're contributing to 😄


refactor: ts

This PR is a refactor of the project to ts as well as a small rewrite.

Closing for now as quite a few issues appearing due to moving to ts.


Update uuid to version 3.0.0

Version 3.0.0 of uuid just got published.
Hi there,
This week a new version of the uuid module got released. The old module which was available by the name node-uuid got deprecated and will show error message upon every install of the module.
To get rid of those install errors I've created this automated pull request. I've run some checks against your code base to test whether you're using one of the deprecated apis, but this isn't the case.
Please test the changes against your code. I didn't run any tests and therefore can't guarantee that it isn't breaking. You can also just close this pr if you don't want to update your module.
In case there's already another pr open to upgrade uuid, I'm sorry for the effort I'm causing.

Coverage remained the same at 87.255% when pulling 930a676d282f2e489a6d336dc61651ed32c56e46 on marcbachmann:update-uuid into 2bfd7817dc3ae1b7e144d26e7d4e02e8983b162d on RappidDevelopment:master.

Coverage remained the same at 87.255% when pulling 930a676d282f2e489a6d336dc61651ed32c56e46 on marcbachmann:update-uuid into 2bfd7817dc3ae1b7e144d26e7d4e02e8983b162d on RappidDevelopment:master.


[ENG-2132] Track transition metrics

Purpose
We want to track all moderation transitions via our ES database.
Changes

adds transitions metric class that runs on all transitions and has method for relent query
adds new view for running a metrics query
add tests

QA Notes
Please make verification statements inspired by your code and what your code touches.

Verify all transitions from /metrics/registries_moderation/transitions/ endpoint is accurate.

What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation
Internal feature, no new docs
Side Effects
Travis is persnickety when it comes to ES tests.
Ticket
https://openscience.atlassian.net/browse/ENG-2132

Please update with develop so tests should pass.


Submit your plugin to the PCM metadata repo

I just found this tool from this tweet
https://twitter.com/arturo182/status/1451527309907927057
You may be interested in adding support for the new Plugin And Content Manger (PCM) to make it easier for users to install. The PCM feature is now enabled by default in the nightlies.
Documentation on this is available in:
https://dev-docs.kicad.org/en/addons/

I thought exactly that after reading @arturo182 's tweet yesterday 😄
I'll defenitely do that, but that will take a little more time in order to get things to comply with their rules.

I currently work on a GitHub action that generates the needed files for submission to the PCM repo every time I create a release.
Once that works I'll submit to PCM 🤓

Lets see if this succeeds: https://gitlab.com/kicad/addons/metadata/-/merge_requests/22
At the moment when I create a new release the files are generated automatically and added as release assets but I still have to manually create a Merge Request over at GitLab. Maybe I can automate that as well in the future ....

😢
I tottaly overlooked this section of the dev docs on PC addons:

Commercial Services
Packages that link to or provide commercial services, including but not limited to PCB fabrication, component lookup and order management, must first contact the KiCad team at<EMAIL_ADDRESS>to discuss commercial plugin options.

So this plugin will never be in the official PCM list (I doubt JLC will do anything to convince KiCAD to do that), but I'm going to create a custom repo that can be added to the PCM list of repos which will make the plugin installabel from there.

🥳
This not yet fully automated but it works for now!

Add my addon repo and you can install the plugin via the Plugin Manager 😁

So this plugin will never be in the official PCM list (I doubt JLC will do anything to convince KiCAD to do that), but I'm going to create a custom repo that can be added to the PCM list of repos which will make the plugin installabel from there.

Are they **** serious ?? Just because it's for JLCPCB you can't publish it ? sigh

That's how it is 🤷
Anyway, I think my custom repo is a good alternative.

🥳
When ever I create a new release, a ZIP file is generated using GitHub actions and uploaded as a release asset.
Then the regeneration, also a GitHub action of the custom addon repo is trigged via a workflow_dispatch.
That keeps the repo up-to-date automatically! The only downside is the 5 minute cache timeout on those files.
If you try to load the addon in this period you'll most likely get an error that the sha256 sums are not correct.
All in all I can live with this solution 😁

@Bouni Are you confident that JLCPCB is not going to contact the KiCad team to approve your plugin if asked?
As far as I know, the plugin doesn't have to originate from the commercial entity it interacts with (i.e. it can be third party), but we just need to obtain an explicit approval from that entity. I've asked Seth to clarify what he wrote in your merge request.
The wording in the developer docs should be clarified, as it clearly has caused some confusion. And I definitely want your plugin to be available in the official repository.

@mikwielgus I don't know but so far JLC never answerd a single of my e-mails with inquiries (see #55 ).
They promised in the live chat to reach out to me but nothing happened so far.
But if you guys clearify if a simple "go for it" form the comercial entity is enough, I'll try to get JLC to send that e-mail 😄

And I definitely want your plugin to be available in the official repository.

Thanks for your support :relaxed:

Just to be clear, it's more than just a simple "go for it" -- apparently a contract is necessary as it stands currently (I don't yet know exactly why) -- but this obviously also can be done. It's well within JLCPCB's interest to get your plugin in the official repository.
Please keep me updated with your progress if you intend to go with this. I'll try to help if there are some obstacles.

Ok, thats about what I expected.
Is "apparently a contract is necessary as it stands currently (I don't yet know exactly why)" the answer you've got from Seth?
I'll see if JLCPCB is willing to do whats neccessary but before I ask them it would be nice to have a clear statement what exactly is needed in order to get permission.

@Bouni: See the discussion on the KiCAD's Discord server in the channel scripting (about two days ago). I was discussing it with Seth and Jon - there is a useful insight and explanation.

You guys are just awesome! Thanks for all your efforts getting this into the offical PCM repo 😄

Just for documentation purposes, @yaqwsx asked @JLCPCB on Twitter for help with this issue and they said the woul reach out to me later (Whenever "later" might be 😏 ) https://twitter.com/JLCPCB/status/1470305011846762496

I think some sort of unofficial or community PCM repo would be useful for this sort of thing

I think some sort of unofficial or community PCM repo would be useful for this sort of thing

https://github.com/OmegaRogue/Unofficial-KiCad-Plugins I'm setting one up, the github actions workflow isn't working yet, but it's essentially just one script that gets executed

I was in touch with JLCPCB via Twitter private messages after I've posted this. After Christmas I should get a reply on this topic 🥳

Any update on this?

Nope, a lot of promises from JLC but nothing else so far ...

I've finally got an email from JLCPCB but they did not say anything about the PCM issue.
I answered with another request to send that email to the KiCAD addon team.
We'll see if the do it or not (or let us wait another 3 months ... 😏 )


[FEATURE] Conditional rendering of active-repos based on last updated time

Is your feature request related to a problem? Please describe.
Currently all the repo urls in the /_data/repos.js file renders on /active-repos endpoint, and this is the criteria to be fulfilled by all the active repos of being listed on /active-repos endpoint. But It might be possible that the listed active-repo's last updated time goes beyond 3 days i.e., criteria of being listed.
Describe the solution you'd like
we can check the last updated time of all the repo urls and make conditional rendering of active-repos
Describe alternatives you've considered
N/A
Additional context
N/A

Hi @anand346,
I would like to work on this issue and contribute to this repo. Can you assign it to me?
Thank you!

Hi @Levyathanus sure kindly raise a PR when you are done. I'm assigning this issue to you 👍🏻

@anand346 I've submitted a PR for this.

closing as completed


Fix offset_in_builtin_costs.

This change is

We've decided to omit range_check and ecdsa from the list so the current offsets are ok.


Heard Token Corresponding to Combatants in the Combat Tracker and Vice Versa

Players can still tell which token is which even when they only "see" the token via hearing it. By hovering over the heard token on the canvas or the corresponding combatant in the combat tracker, users can see the corresponding token or combatant highlighted. Is there a way to conditionally shut of this highlighting? Toggling a combatant's visibility on the combat tracker is almost a good solution, but some creatures may be heavily obscured to one token and not to another. Since each player token may hear and see different creatures it would be nice to implement something to help avoid the unintentional meta gaming that this facilitates.

Fixed in 2.3.3. https://github.com/dev7355608/vision-5e/releases/tag/v2.3.3


⚠ Bofrost.lu has degraded performance

In e4782f6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1125 ms

Resolved: Bofrost.lu performance has improved in 06c2ff0 after 13 minutes.


Consistent templates for issue tickets and pull-requests

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
N/A
Describe the feature request
As part of the NASA-AMMOS/slim project, we've been developing standardized issue templates and pull request templates to make it easier for projects to read and write tickets / pull-requests in a more consistent way.
See our issue template examples for bugs and new features - pure Markdown versions also available. Please go here for further details.
See an example of our pull request templates here and further described here.
If this is helpful, let me know. We can push out a pull-request with these templates for your repository. We can also work with you to customize this template if that's desired!
Sample bug report:

Sample feature request:

Sample pull-request:

Hi @riverma thanks for the issue. We currently have an issue for this (https://github.com/NASA-AMMOS/aerie/issues/652) so I'm going to close.


no documentation for GenericHostWebHostBuilderExtensions

It seems there is no documentation for Microsoft.Extensions.Hosting.GenericHostWebHostBuilderExtensions.
Also, documentation for Microsoft.Extensions.Hosting.GenericHostExtensions is inaccessible on docs.microsoft.com even though it exists, because it is not displayed in listing of Microsoft.Extensions.Hosting namespace, as the namespace page is displayed from .net platform extensions instead.

hmm ok, seems the docs themselves are available, was looking in wrong page, but the comment about inaccessibility of correct namespace listing remains correct. Not quite sure if there is anything else that may be missing by accident or not.

Making this repository Ready Only.


Running Nextcloud Signaling Server Behind Reverse Proxy

Is it possible to run the Nextcloud standalone signaling server behind a reverse proxy using the script? I would like to free up ports 80 and 443 in order to run Nginx Proxy Manager, and let Nginx Proxy Manager handle SSL certificates.
Many thanks for your help!

Run the script, it will cinfigure everything and it will try to start the containers but it will fail. Then modify the docker-compose.yml file and try changing the  nextcloud_spreed_nginx container ports to a different host ports and point your reverse proxy to those ports and restarr the stack. Example:
networks:
      - spreed
    ports:
      - 8080:80
      - 8443:443

docker-compose up -d

@digitalrevisor is the Nginx server outside the spreed docker stack? i.e. is it a separate nginx server that is not related to the spreed containers?

@deeztek yes.

If it's a different machine, then the following line should point to the IP of your docker server:
proxy_pass http://localhost:8443/;

@deeztek  sorry for the late response, we tried for a bit more then we had to abandon the idea for now.
But we will try again soon, then ill try what you mentioned above.
And thank you for your quick replies.


Development

Created basic multi-line SKLabelNode

See changes I made on the MKargin0-development branch and update this pull request. Also rebase down to as few as commits as you can. Not sure how that will work with the merge of development.

Also please add SKALabelNode to the README.md

Looking good! This will be a great addition to the toolkit. Here's what I see:

Grammar issue with readme: new-line should be newline
I think the default font if not should be the preferred system font instead of Arial 24pt (would be [UIFont preferredFontForTextStyle:UIFontTextStyleBody]). I didn't check, but I'm assuming that would return Helvetica Neue in iOS 7 and 8 and San Francisco in iOS which IMO is what we'd want for defaults
Ideally should add an additional class and instance init method to init with font where you'd pass a UIFont object


ci: doc-build: run apt-get update before install

Make sure the package index is always up-to-date before installing.

Good catch, this is (unfortunately) required by Github runners and even documented now: https://github.com/actions/virtual-environments/issues/2924


Move valid Mock_errinj test to mock only

When running fpgaAssignPortToInterface on hw, the test releases a port (/dev/intel-fpga-port1) and re-assigns it. However, the file permission is set to root rw only. This causes the rest of the hw tests to fail/segfaults. This PR moves that test to mock platform only.

Upon further investigating. It turns out the problem was assigning before releasing. The order should be release then re-assign.


AttributeError: 'int' object has no attribute 'utils'

from keras.utils import to_categorical
from keras.datasets import mnist
(x_train, y_train), (x_test, y_test) = mnist.load_data()
img_rows, img_cols = 28,28
x_train = x_train.reshape(x_train.shape[0], img_rows, img_cols, 1)
x_test = x_test.reshape(x_test.shape[0], img_rows, img_cols, 1)
input_shape = (img_rows, img_cols, 1)
x_test=x_test.astype('float32')
x_train=x_train.astype('float32')
mean=np.mean(x_train)
std=np.std(x_train)
x_test = (x_test-mean)/std
x_train = (x_train-mean)/std
print("counts of x_train : {}, y_train : {}, x_test : {}, y_test : {}".format(
len(x_train), len(y_train), len(x_test), len(y_test)))
num_classes=10
y_train = k.utils.to_categorical(y_train, num_classes)
y_test = k.utils.to_categorical(y_test, num_classes)
print("counts of x_train : {}, y_train : {}, x_test : {}, y_test : {}".format(
len(x_train), len(y_train), len(x_test), len(y_test)))
AttributeError                            Traceback (most recent call last)
 in
16     len(x_train), len(y_train), len(x_test), len(y_test)))
17 num_classes=10
---> 18 y_train = k.utils.to_categorical(y_train, num_classes)
19 y_test = k.utils.to_categorical(y_test, num_classes)
20 print("counts of x_train : {}, y_train : {}, x_test : {}, y_test : {}".format(
AttributeError: 'int' object has no attribute 'utils'

Don't see how this is relevant to our package, sorry.


TypeError: res.getHeaders is not a function

Node version: v16.5.0
Sails version (sails): 1.4.3
ORM hook version (sails-hook-orm): 3.0.2
Sockets hook version (sails-hook-sockets): 2.0.0
Organics hook version (sails-hook-organics): 2.0.0
Grunt hook version (sails-hook-grunt): 4.0.0
Uploads hook version (sails-hook-uploads):
DB adapter & version (e.g. sails-mysql@5.55.5):
Skipper adapter & version (e.g. skipper-s3@5.55.5):

![2021-07-24_224852](https://user-images.githubusercontent.com/4672064/126880288-b253814d-5f4d-438c-97ca-9c35e2c56863.jpg)
TypeError: res.getHeaders is not a function
at MockServerResponse.onceFinish (I:__PROJECTS\Sails\my-app\node_modules\sails-hook-apianalytics\lib\private\log-request.middleware.js:95:34)
I just installed it. Logged in and get this error. The server is crashing!
Console:
account-notification-banner.component.js:55 Uncaught (in promise) CloudError: Endpoint (observeMySession) responded with an error (or the request failed).
at Object.exec (http://localhost:1337/dependencies/cloud.js:649:33)
at http://localhost:1337/dependencies/cloud.js:612:26
at new Promise ()
at Object.toPromise (http://localhost:1337/dependencies/cloud.js:610:24)
at Object.then (http://localhost:1337/dependencies/cloud.js:592:36)
Error Summary:
(see .responseInfo for more details)
·-------------·----------------------------------------·
|    Protocol | ws(s)://   (io.socket)
|     Address | POST http://localhost:1337/api/v1/observe-my-session
|        Exit | _offline
| Status Code | 0
·-------------·----------------------------------------·
Response Body:
null
DevTools failed to load source map: Could not load content for http://localhost:1337/dependencies/bootstrap-4/bootstrap.bundle.js.map: Connection error: net::ERR_CONNECTION_REFUSED

Hi @SETTER2000, Thanks for letting us know about this issue. This has been resolved in sails-hook-apianalytics v2.0.5. You can run npm install sails-hook-apianalytics to update.


lenses-cli export connectors

The following command works: lenses-cli connectors --cluster-name CDH_2
The following command does not export anything: lenses-cli export connectors --cluster-name CDH_2 --dir export.

fixed.


fix(checkbox): add solid-icons dependency

The solid-icons package used for the checkbox wasn't being installed - I think this the right place to add it?

thank you!


Can't get access token

I've come to the step when I need to enter the access token, but when I go to get one I can't seem to log in.
Can it have something to do with ngenic separating into perific & enegic?

Not sure what you mean.. Perific/Enegic is not the same as Ngenic

Truly sorry...

I was tired and got it mixed up in the rush of just starting with HA..

No worries :)
You can generate an Ngenic token here (if it's Ngenic you're using): https://developer.ngenic.se/tokens


500 Server Error

[INFO     11:39:56] Starting Votify
[INFO     11:39:57] (URL 1/1) Checking "https://open.spotify.com/track/6krePyBjPsnPH5AkHzylJx?si=TprSi7YTStisx4h6kPTCSA"
[INFO     11:39:57] (Track 1/1 from URL 1/1) Downloading "THE BOX"
[ERROR    11:39:59] (Track 1/1 from URL 1/1) Failed to download "THE BOX"
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/utils.py", line 8, in check_response
    response.raise_for_status()
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://gew4-spclient.spotify.com/playplay/v1/key/754a7565fc4c52680febe424ea2ffb4f4ab48c58

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/cli.py", line 597, in main
    downloader_song.download(
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/downloader_song.py", line 137, in download
    self._download(*args, **kwargs)
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/downloader_song.py", line 213, in _download
    decryption_key = self.get_decryption_key(stream_info)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/downloader_audio.py", line 98, in get_decryption_key
    decryption_key = self.downloader.get_playplay_decryption_key(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/downloader.py", line 377, in get_playplay_decryption_key
    playplay_license_response_bytes = self.spotify_api.get_playplay_license(
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/spotify_api.py", line 287, in get_playplay_license
    check_response(response)
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/utils.py", line 10, in check_response
    _raise_response_exception(response)
  File "/data/data/com.termux/files/usr/lib/python3.12/site-packages/votify/utils.py", line 14, in _raise_response_exception
    raise Exception(
Exception: Request failed with status code 500:
[INFO     11:39:59] Done (1 error(s))``

As you can see I'm on Termux so that might be? I've also tried the fix from #7, updated re-unplayplay to it's latest release, and that didn't work either

Try pip install votify --upgrade and pip install re-unplayplay --upgrade again ;)
You should have re-unplayplay-1.2.6

Both installed to the latest and it's still showing up : (. Same files and lines too

my error 500 was fixted tho, but error 403 persists