Storybook is not working anymore since 3.5.0

Hi @dohomi
your latest release 3.5.0 does break building our storybook. Using 3.4.0 all is working as expected.
This is the error log:
info @storybook/react v6.4.22
info
info => Loading presets
info => Serving static files from ././public at /
info => Using implicit CSS loaders
info => Using default Webpack5 setup
<i> [webpack-dev-middleware] wait until bundle finished
10% building 0/1 entries 0/0 dependencies 0/0 modules
info => Cleared cached manager config
<i> [webpack-dev-middleware] wait until bundle finished
17% building 2/16 entries 5400/5716 dependencies 664/1715 modulesassets by chunk 4.31 MiB (id hint: vendors)
  assets by status 3.95 MiB [big]
    asset vendors-node_modules_storybook_addon-actions_dist_esm_register_js-node_modules_storybook_addo-7c62db.manager.bundle.js 3.59 MiB [emitted] [big] (id hint: vendors)
    asset vendors-node_modules_storybook_components_dist_modern_ScrollArea_OverlayScrollbars_js.manager.bundle.js 366 KiB [emitted] [big] (id hint: vendors)
  asset vendors-node_modules_storybook_components_dist_modern_syntaxhighlighter_syntaxhighlighter_js.manager.bundle.js 190 KiB [emitted] (id hint: vendors)
  asset vendors-node_modules_storybook_components_dist_modern_tooltip_WithTooltip_js.manager.bundle.js 108 KiB [emitted] (id hint: vendors)
  asset vendors-node_modules_storybook_components_dist_modern_controls_Color_js.manager.bundle.js 61.9 KiB [emitted] (id hint: vendors)
  asset vendors-node_modules_storybook_components_dist_modern_ScrollArea_GlobalScrollAreaStyles_js.manager.bundle.js 13.6 KiB [emitted] (id hint: vendors)
asset runtime~main.manager.bundle.js 14.2 KiB [emitted] (name: runtime~main)
asset index.html 3.03 KiB [emitted]
asset main.manager.bundle.js 1.52 KiB [emitted] (name: main)
asset node_modules_unfetch_dist_unfetch_js.manager.bundle.js 1.27 KiB [emitted]
Entrypoint main [big] 3.61 MiB = runtime~main.manager.bundle.js 14.2 KiB vendors-node_modules_storybook_addon-actions_dist_esm_register_js-node_modules_storybook_addo-7c62db.manager.bundle.js 3.59 MiB main.manager.bundle.js 1.52 KiB
orphan modules 1.34 MiB [orphan] 346 modules
runtime modules 8.71 KiB 15 modules
javascript modules 3.88 MiB 711 modules
json modules 1.52 KiB
  ./node_modules/character-entities-legacy/index.json 1.24 KiB [built] [code generated]
  ./node_modules/character-reference-invalid/index.json 289 bytes [built] [code generated]
manager (webpack 5.72.1) compiled successfully in 7354 ms
99% done plugins webpack-hot-middlewarewebpack built preview 9d0b181ee24f6071c08e in 13884ms
ModuleNotFoundError: Module not found: Error: Can't resolve '@mui/icons-material/Cancel' in '/Workspace/node_modules/react-hook-form-mui/dist'
Did you mean 'Cancel.js'?
BREAKING CHANGE: The request '@mui/icons-material/Cancel' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
    at /Workspace/node_modules/webpack/lib/Compilation.js:2016:28
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:798:13
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:270:22
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:434:22
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:116:11
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:670:25
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:855:8
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:975:5
    at /Workspace/node_modules/neo-async/async.js:6883:13
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:892:17
    at finishResolved (/Workspace/node_modules/enhanced-resolve/lib/Resolver.js:294:11)
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:362:25
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:434:24
    at eval (eval at create (/Workspace/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
resolve '@mui/icons-material/Cancel' in '/Workspace/node_modules/react-hook-form-mui/dist'
  Parsed request is a module
  using description file: /Workspace/node_modules/react-hook-form-mui/package.json (relative path: ./dist)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Workspace/node_modules/react-hook-form-mui/dist/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/react-hook-form-mui/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /Workspace/node_modules
        existing directory /Workspace/node_modules/@mui/icons-material
          using description file<EMAIL_ADDRESS>(relative path: .)
            using description file<EMAIL_ADDRESS>(relative path: ./Cancel)
              Field 'browser' doesn't contain a valid alias configuration
              /Workspace/node_modules/@mui/icons-material/Cancel doesn't exist
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@mui/icons-material/Visibility' in '/Workspace/node_modules/react-hook-form-mui/dist'
Did you mean 'Visibility.js'?
BREAKING CHANGE: The request '@mui/icons-material/Visibility' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
    at /Workspace/node_modules/webpack/lib/Compilation.js:2016:28
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:798:13
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:270:22
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:434:22
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:116:11
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:670:25
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:855:8
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:975:5
    at /Workspace/node_modules/neo-async/async.js:6883:13
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:892:17
    at finishResolved (/Workspace/node_modules/enhanced-resolve/lib/Resolver.js:294:11)
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:362:25
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:434:24
    at eval (eval at create (/Workspace/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
resolve '@mui/icons-material/Visibility' in '/Workspace/node_modules/react-hook-form-mui/dist'
  Parsed request is a module
  using description file: /Workspace/node_modules/react-hook-form-mui/package.json (relative path: ./dist)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Workspace/node_modules/react-hook-form-mui/dist/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/react-hook-form-mui/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /Workspace/node_modules
        existing directory /Workspace/node_modules/@mui/icons-material
          using description file<EMAIL_ADDRESS>(relative path: .)
            using description file<EMAIL_ADDRESS>(relative path: ./Visibility)
              Field 'browser' doesn't contain a valid alias configuration
              /Workspace/node_modules/@mui/icons-material/Visibility doesn't exist
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
ModuleNotFoundError: Module not found: Error: Can't resolve '@mui/icons-material/VisibilityOff' in '/Workspace/node_modules/react-hook-form-mui/dist'
Did you mean 'VisibilityOff.js'?
BREAKING CHANGE: The request '@mui/icons-material/VisibilityOff' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
    at /Workspace/node_modules/webpack/lib/Compilation.js:2016:28
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:798:13
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:10:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:270:22
    at eval (eval at create (/Workspace/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:9:1)
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:434:22
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:116:11
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:670:25
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:855:8
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:975:5
    at /Workspace/node_modules/neo-async/async.js:6883:13
    at /Workspace/node_modules/webpack/lib/NormalModuleFactory.js:892:17
    at finishResolved (/Workspace/node_modules/enhanced-resolve/lib/Resolver.js:294:11)
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:362:25
    at /Workspace/node_modules/enhanced-resolve/lib/Resolver.js:434:24
    at eval (eval at create (/Workspace/node_modules/enhanced-resolve/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:27:1)
resolve '@mui/icons-material/VisibilityOff' in '/Workspace/node_modules/react-hook-form-mui/dist'
  Parsed request is a module
  using description file: /Workspace/node_modules/react-hook-form-mui/package.json (relative path: ./dist)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Workspace/node_modules/react-hook-form-mui/dist/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/react-hook-form-mui/node_modules doesn't exist or is not a directory
      /Workspace/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /Workspace/node_modules
        existing directory /Workspace/node_modules/@mui/icons-material
          using description file<EMAIL_ADDRESS>(relative path: .)
            using description file<EMAIL_ADDRESS>(relative path: ./VisibilityOff)
              Field 'browser' doesn't contain a valid alias configuration
              /Workspace/node_modules/@mui/icons-material/VisibilityOff doesn't exist
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory

WARN Broken build, fix the error above.
WARN You may need to refresh the browser.

This is my package.json
  "dependencies": {
    "@emotion/cache": "11.7.1",
    "@emotion/react": "11.9.0",
    "@emotion/server": "11.4.0",
    "@emotion/styled": "11.8.1",
    "@fontsource/roboto": "4.5.7",
    "@hookform/resolvers": "2.8.10",
    "@mui/icons-material": "5.8.0",
    "@mui/lab": "5.0.0-alpha.82",
    "@mui/material": "5.8.0",
    "commander": "9.2.0",
    "date-fns": "2.28.0",
    "deepmerge": "4.2.2",
    "dotenv-cli": "5.1.0",
    "import-jsx": "4.0.1",
    "ink": "3.2.0",
    "next": "12.1.6",
    "next-auth": "4.3.4",
    "node-cache": "5.1.2",
    "nodemailer": "6.7.5",
    "prop-types": "15.8.1",
    "react": "17.0.2 && <18",
    "react-dom": "17.0.2 && <18",
    "react-hook-form": "7.31.1",
    "react-hook-form-mui": "3.5.0",
    "react-tracked": "1.7.9",
    "vest": "4.4.0"
  },
  "devDependencies": {
    "@babel/core": "7.17.12",
    "@storybook/addon-actions": "6.4.22",
    "@storybook/addon-controls": "6.4.22",
    "@storybook/addon-docs": "6.4.22",
    "@storybook/addon-essentials": "6.4.22",
    "@storybook/addon-interactions": "6.4.22",
    "@storybook/addon-links": "6.4.22",
    "@storybook/builder-webpack5": "6.4.22",
    "@storybook/manager-webpack5": "6.4.22",
    "@storybook/preset-scss": "1.0.3",
    "@storybook/react": "6.4.22",
    "@storybook/testing-library": "0.0.11",
    "@testing-library/jest-dom": "5.16.4",
    "@testing-library/react": "12.1.4 && <13",
    "@testing-library/user-event": "14.2.0",
    "@types/jest": "27.5.1",
    "@types/node": "17.0.34",
    "@types/react": "17.0.43 && <18",
    "@typescript-eslint/eslint-plugin": "5.25.0",
    "@typescript-eslint/parser": "5.25.0",
    "@typescript-eslint/typescript-estree": "5.25.0",
    "babel-jest": "28.1.0",
    "babel-loader": "8.2.5",
    "css-loader": "6.7.1",
    "docsify-cli": "4.4.4",
    "eslint": "8.15.0",
    "eslint-config-airbnb": "19.0.4",
    "eslint-config-next": "12.1.6",
    "eslint-config-prettier": "8.5.0",
    "eslint-plugin-import": "2.26.0",
    "eslint-plugin-mui-unused-classes": "github:4commerce-technologies-AG/eslint-plugin-material-ui-unused-classes",
    "eslint-plugin-prettier": "4.0.0",
    "eslint-plugin-storybook": "0.5.12",
    "identity-obj-proxy": "3.0.0",
    "jest": "28.1.0",
    "jest-environment-jsdom": "28.1.0",
    "jest-transform-yaml": "1.0.0",
    "jest-watch-typeahead": "1.1.0",
    "js-yaml": "4.1.0",
    "jsdoc-babel": "0.5.0",
    "jsdoc-to-markdown": "7.1.1",
    "next-multilingual-alternate": "github:4commerce-technologies-AG/next-multilingual-alternate#0.10.3-stable",
    "prettier": "2.6.2",
    "react-test-renderer": "17.0.2 && <18",
    "sass": "1.51.0",
    "sass-loader": "12.6.0",
    "storybook-addon-next-router": "3.1.1",
    "style-loader": "3.3.1",
    "typescript": "4.6.4",
    "yaml-loader": "0.8.0"
  }

I am using 3.4.0 instead currently again to continue our development

@TomFreudenberg I swop microbundle for tsup in hope of having faster deploys and more fun while coding. But I will revert the changes for now and see if that fixes the issue. I would still like to investigate what is going wrong with using tsup

For sure - as I can help let me know

@TomFreudenberg I just updated 3.5.1 - its still with tsup I am just curious if it works now?

@dohomi Dominic, I am sorry but error stil the same issue with 3.5.1
You may signal me and I use master branch - so you don't need to update the release always

Can you make sure that all peerDependenyies are set?
Can't resolve '@mui/icons-material/Visibility'

This might mean that npm i @mui/icons-material is missing?

@TomFreudenberg can you try 3.5.2? I changed the tsup command to legacy, in my own project its working now.

awesome!


'capacitorExports is not defined' error during bundling and runtime

Describe the bug
next build fails if the BarcodeScanner plugin is referenced anywhere in the project.
The issue does not occur if the plugin is just imported.
The error is the following:

ReferenceError: capacitorExports is not defined
at Object. (/Users/alnick/Documents/misc/bitcoin-store-frontend/node_modules/@capacitor-community/barcode-scanner/dist/plugin.js:122:8)

To Reproduce
Steps to reproduce the behavior:

Install barcode-scanner Capacitor plugin
Import and use it somewhere
See error

Expected behavior
Build passes without error
Versions
barcode-scanner: v3.0.0
capacitor/app: v4.1.0
capacitor/core: v4.4.0
next: v12.2.5
Additional context
This looks very similar to this issue on bluetooth-le Capacitor plugin https://github.com/capacitor-community/bluetooth-le/issues/12

Thank you very much ❤

I just released v3.0.1 with the changes done in https://github.com/capacitor-community/bluetooth-le, can you please test this on your side?

Working perfectly now, much appreciated!

Great! Thanks a lot for your help and your feedback!


How to open config again (or how to change the IP)?

Sorry, if I open a potentially stupid question as issue: But can someone please help changing the IP address of the heat pump?
The IP has changed due to a restart and I cannot change the IP to another one right now.
So I need to change the IP in HA. But I do not know how.
any help is appreciated.
Thanks,
Tom

You can remove and readd the integration or you can edit the file .storage/core.config_entries (search the ip - should be in data.entries[].data.host).


Add Command and Shell injections test for Java

Motivation
Test Command and Shell injections in Java
Changes

Fix errors in the command injection test file
Add java endpoints

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[ ] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[ ] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

Epic PR 🚀  👏  !!


New examples

All your examples with moving characters use NetworkTransform and client-to-server communication. This is a pretty vulnerable point for cheating: users can walk through walls, fly, move too fast, teleport, etc. And the server will accept all these transforms and transfer them to all other clients.
You don't have even one simple example for smoothly moving a user on the local machine and validating all actions on the server side.

I'm not completely certain but I think the Mirror team do have some plans to make some of the examples server-authority once mischa completes the "Quake" client state prediction stuff. I haven't kept up with the quake branches progress; but I think I remember seeing a few commits that modified some of the examples to run with the CSP implementation that mischa is pursuing.
That doesn't stop you from making your own server auth movement logic, though. Otherwise... soon™.

Anti-Cheat is a massive topic, is very much game specific, and is outside the scope of Mirror.  The examples are intended to show how to do various networked game mechanics as inspiration / guidance for users in their own projects...they're not expected to be complete shippable game code with all the bells and whistles.
That said, in a game using network transform in client-to-server mode, it wouldn't be all that hard to add a component to the player that only runs on server (e.g. wrapped in #if UNITY_SERVER . . . #endif) that monitored the following:

distance from ground (raycast)
time not grounded
velocity (change in position over time) to detect speed hacks / teleporting
out of bounds (navmesh check)
legal movement (raycast for walls or other obstructions between current and last pos)
reasonable path between current and last pos (navmesh path length check)

You'll need to roll your own solution that fits your game, and decide how strict / tolerant you want to be, e.g. whether you want to kick the client on any failed check or accumulate "cheat points" when checks fail up to some threshold before kicking, or perhaps notify moderators to pay attention to a suspicious client to see what they're doing in order to learn how to better detect / defeat their efforts.
Finally, this is not a Mirror bug, so closing this ticket. Please join our Discord where you can discuss the subject with the community for more ideas.


Resource Details

Reason for change

Still going to keep adding to this. Just wanted to get a first pass up for any early feedback while I'm working on it.
TODO

[x] Switch to using gateway endpoint.
[x] Add cost display.
[x] Loading state.
[ ] Handle changes to inputs. *

* This probably isn't necessary because they can do it in the edit panel with the plan selector. Probably going to save this one for tomorrow.
Tech debt for later

[ ] Refactor component so that network requests happen in a wrapper instead of the UI rendering component.
[ ] Write thorough tests.

Testing

Codecov Report

Merging #107 into master will increase coverage by 7.96%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #107      +/-   ##
==========================================
+ Coverage   53.03%   60.99%   +7.96%
==========================================
  Files          30       21       -9
  Lines         709      423     -286
  Branches      164      117      -47
==========================================
- Hits          376      258     -118
+ Misses        331      163     -168
  Partials        2        2

Impacted Files
Coverage Δ

...ts/manifold-service-card/manifold-service-card.tsx
51.85% <0%> (-1.72%)
:arrow_down:

...c/components/manifold-product/manifold-product.tsx

...d-data-product-name/manifold-data-product-name.tsx

...urce-credentials/manifold-resource-credentials.tsx

...d-data-product-logo/manifold-data-product-logo.tsx

...rovision-button/manifold-data-provision-button.tsx

...ifold-resource-status/manifold-resource-status.tsx

.../manifold-plan-selector/manifold-plan-selector.tsx

...mponents/manifold-plan-menu/manifold-plan-menu.tsx

...data-manage-button/manifold-data-manage-button.tsx

... and 2 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 1d88bd9...c08c61b. Read the comment docs.

Looking good so far! Just leaving a non-comment to say I don’t have any feedback.  👍

Going to handle input changes in a different PR. Seems a bit more ambiguous


Update to cypress 10

Replaces https://github.com/ansible/ansible-hub-ui/pull/2171
Updating cypress to 10.6 (changelog)
the main change is tests move from cypress/integration/ to cypress/e2e/ and slightly different syntax for config files.

Merging to unblock more progress in #2432,
the test failures here (rbac_owners & group_roles) are identical to master, rbac merge issues, addressing sepately.


fix: add missing security schemes to correlation id example

Description
Fixes #509 - as per suggestion copied in security schema element from lighting API example.
Verified spec is valid using the AsynAPI playground online.

@195858 thanks a lot, can you update your branch please

It is actually not included in the release. This was an unintentional release caused by the release automation initial run. 1.0 version of the spec was released a long time ago. The release mentioned by the bot was removed.

Not included in release 2.1 yet, 2.1 was mistakenly triggered by our automation.


The popup about canary version is annyoing, can't disable that!

Ubuntu 18.04 LTS, Hyper 2.0.0 (Stable), default settings.
It is so annoying, every time Hyper launches I have to click [x] which is almost invisible because of the color it has. Please add a setting to disable notifications about canary versions.

Agree. I would love to have this stop showing up.

Hmm, are you sure you don't have updateChannel: 'canary' in your .hyper.js?

@albinekb Nope.
    // choose either `'stable'` for receiving highly polished,
    // or `'canary'` for less polished but more frequent updates
    updateChannel: 'stable',

Here's the lines that fetches and displays the message, can't see anything directly that looks wrong 🤔  needs some investigation
https://github.com/zeit/hyper/blob/canary/app/notifications.js#L4-L35

@chabou do you know what code is running at https://hyper-news.now.sh ? 🤔

Thanks for checking that @szmarczak, looks like there's a bug in hyper-news.now.sh 🤔 (maybe we have changed the headers?)

Newsfeed was used as a fallback because Linux version doesn't have an auto-updater.
But it doesn't work well since we have canary releases.
But now, Hyper uses hazel endpoint on Linux too (thanks to #2497).
We need to modify our Newsfeed to not announce new versions anymore.
Any ideas how we can do that @matheuss @rauchg?

I feel I'm missing something here. Why not add a config option to disable fetching notifications at all? Why request an empty message?

@MKRhere because you want to disable notification because of this bug. We should fix this bug (notification about a canary update even if you are on the stable channel).
If we permit to disable notifications, it will lead to not show useful and healthy notifications and we'll have a lot of outdated app.

I see. But this has been a long time bug. I'd actually like to dismiss notifications permanently after once. Hmm.
I mean when I open a terminal session, the last thing I want to keep getting is an update notification.

I think the middle ground here would be a 'Don't Show Again' option for notifications.

That's a great idea @jaydh, I think that would work. We could save the an hash of the text inside the settings maybe in an array? @chabou what do you think of implementing this?

I think that we should reevaluate the need to dismiss (or disable) notification after fixing this shameful and awful bug.

@chabou The code is at https://github.com/zeit/hyper-news. I'll move the alias over to the hyper team on Now so you can control it 👌


removing modification of paths for googleapis which is no longer requ…

related to issue https://github.com/GoogleCloudPlatform/ios-docs-samples/issues/136 but for the TextToSpeech sample application

HI Team,
I wanted to modify the code so that it should also consider authenticating/getting token via ServiceAccountTokenProvider and bypass the firebase, so that we don't have to setup firebase to enable this .
I am attaching the updated files you guys can review it and if you find it ok then you can consider this changes.
Changes.zip
Thanks


J unit

Added J Unit testing for independent parts of bankList

@TerenceTanWT Please add javadoc for TransactionList.java line 600

@TerenceTanWT Please add javadoc for TransactionList.java line 600 after this PR is accepted

To add on, please spell your method name in full... I know obj is object, but perhaps getExpenditureObjectByYearMonth is more readable?

Lets merge and test the code again, not sure why it is failing online and not locally.


Multiple github.com accounts

Hi @savaryna, great little utility you've created. I'm curious about my experience trying to connect to GitHub.com twice with different accounts. I had to make some modifications to the ssh config file which appears to work, but I'm curious if it was necessary (possibly I set things up wrong?) and if necessary, is it the right way to go about it. I've written up my steps here https://github.com/chrisnicholson/git-add-account#-possible-next-steps.

Hi @chrisnicholson, sorry for the late reply, I think it should just work as long as you use separate working directories.
If you could guide me through what you have tried maybe I can help you. Or if possible, attach the contents of ~/.ssh/config and ~/.gitconfig with any sensitive data edited out ofc. Thanks!


Error starting plugin binary: fork/exec /usr/local/bin/docker-machine: too many open files

I am getting this error when I am doing docker-machine ls, I think its because I have too many machines that I didn't clean up.
Error starting plugin binary: fork/exec /usr/local/bin/docker-machine: too many open files

Does anyone know how I can workaround this? Thanks.

I managed to resolve this.
I had to temporary increase the ulimit on my user.
ulimit -n 9999
docker-machine rm -y $(docker-machine ls -q)


Improve for better input

When editing a cell, you must click into it to make edits. Can this be improved to allow for more seamless editing, similar to how it works in Excel?

I'll see if I can reduce it to work with single click.

You can now enable this by modifying style options.
egui_data_table::Renderer::new(&mut self.table, &mut self.viewer)
    .with_style_modify(|style| {
        style.single_click_edit_mode = true;
    })
    .show(ui);


⚠ GitLab Server has degraded performance

In c414c19, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 4413 ms

Resolved: GitLab Server performance has improved in 9a38c65.


redesign language selectors to easily support more languages in a small space

we should consider redesigning our language chooser so that it can easily support more languages in a small space

@susanev Is this in reference to the cards in our doc for Languages?

oh shoot, sry for not including more deets.
you can see an example here: https://www.pulumi.com/docs/get-started/aws/begin/
or on any of the registry API docs pages

one trickyish part of this is that we don't want to preference one language over another.

Considerations

Often the first modification that can be made when running out of horizontal tabs is to transition into vertical tabs. However, both our Docs and Registry already have competing vertically displayed information. Introducing more vertical information would further shrink the maximum width of core content, and is not a recommended option in this case.
Now, with only a handful of languages, it's ideal to see all four tab headings so users immediately know what options are available to them. However, as those options grow, we should expect to lose the ability to expose all languages at once as a function of space-saving

Figma File
Design Changes

Tabs have been exchanged for a dropdown selector which can accommodate additional language options.

Existing functionality is not impacted. If a language is chosen on one page, that decision is remembered across all pages until the selection is toggled again.

Handoff Notes

If it's easily accessible, the dropdown component is the same one we use in the Registry, the only change being the options are radios instead of checkboxes.

@anita-trimbur im wondering if we should alphabetize the list so folks can easily find what they want quickly, we could still keep the default selection as typescript, even if its not at the top of the list.

@susanev Should we be concerned that comes across as preferential if it doesn't chronologically come first?

hmm, chronological? like when we added support for the language?

Sorry, that wasn't as clear as I thought when I typed it lol. I mean, if we alphabetize the languages but pre-select TypeScript as the default even if it isn't top of the list, should we be concerned that comes across like TypeScript is the language of choice?

@anita-trimbur i think so yes, but thats the current behaviour so im not sure we are losing anything right now. and i do think for new folks it will be a bit frustrating trying to find their language since the order is seemingly random. in the future, we want to have an experience where you get sign in to docs, and have settings to control your default language so this will become less of an issue.

@susanev Understood! I'll adjust the mocks so they're listed alphabetically.

@lukehoban @cnunciato this work is redesigning our language selector to prepare for the additional languages. could yall take a look at Anita's work and let us know if you have any feedback or concerns?


Added ability to define service type into pipeline specs

As per title, I added the ability to declare the service-type in the service section of the pipeline spec: pachyderm/pachyderm#3650

"service": {
    "internal_port": int,
    "external_port": int,
    "type": "LoadBalancer|ClusterIP|NodePort"
  },

The available service types are LoadBalancer, ClusterIP and NodePort (which is the default choice if  service-type is not declared).
I am not supporting ExternalName service type as it would require me to define an extra field, i.e. externalName.

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

What is the motivation of running protoc locally and then pushing it to origin? Shouldn't be the compilation part of the CI phase?

Thanks, @jdoliner, when do you think this can be released? Should I just follow the custom release docs. Many thanks for support

Hey @DanielMorales9 thanks for the PR, and sorry for the slow reply. This may already be out in the latest 1.9 release candidate, but if not, it should be included in the next RC (which I expect will be shipped in the next day or two)


On page for SECURITY_LOGON_SESSION_DATA structure LOGON_NOT_OPTIMIZED should be LOGON_NO_OPTIMIZED

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://docs.microsoft.com/en-us/windows/desktop/SecMgmt/management-return-values#lsa-policy-function-return-values
Problem:
In table for UserFlags parameter there is flag LOGON_NOT_OPTIMIZED but it is called LOGON_NO_OPTIMIZED in SDK header NTSecAPI.h

Hi @chulup -- thank you so much for letting us know. We'll have an author work on updating the page.


trenchbroom: init at 2019.6

Motivation for this change
This is my first NixOS package, so any constructive feedback would be greatly appreciated!
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-run-qt-apps-on-a-build-time-trying-to-pack-trenchbroom/8451/1

Closing since author did not respond since opening this almost a year ago. Please fix the review comments and ping me and I'll reopen the PR.


Upload Example Resources - hapi-fhir-cli upload-examples

I am trying to use the hapi-fhir-cli to upload example resources to the HAPI-FHIR Starter Project.
For example:
docker container pull hapiproject/hapi:latest
docker container run -d -p 8080:8080 --name hapi hapiproject/hapi:latest

hapi-fhir-cli upload-definitions --fhir-version r4 --target http://localhost:8080/fhir
hapi-fhir-cli upload-examples --fhir-version r4 --target http://localhost:8080/fhir

I receive the following error:
------------------------------------------------------------
🔥  HAPI FHIR 7.6.0 - Command Line Tool
------------------------------------------------------------
Process ID<EMAIL_ADDRESS>Max configured JVM memory (Xmx) : 4.0GB
Detected Java version           : 23.0.1
------------------------------------------------------------
2024-12-08 15:46:06.89 [main] INFO  c.u.f.c.LogbackUtil Logging configuration set from file /logback-cli-on.xml
Standard Commons Logging discovery in action with spring-jcl: please remove commons-logging.jar from classpath in order to avoid potential conflicts
2024-12-08 15:46:07.74 [main] INFO  c.u.f.c.BaseCommand Downloading from remote url: http://build.fhir.org/examples-json.zip
20 MB [************************************************* ]
2024-12-08 15:46:13.25 [main] INFO  c.u.f.c.BaseCommand Successfully Loaded example pack (20 MB)
2024-12-08 15:46:13.73 [main] INFO  c.u.f.c.ExampleDataUploader Found example codesystem-action-code.json - CodeSystem - 7181 chars
2024-12-08 15:46:15.19 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'author' found while parsing
2024-12-08 15:46:15.28 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'author' found while parsing
2024-12-08 15:46:15.31 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'author' found while parsing
2024-12-08 15:46:15.36 [main] INFO  c.u.f.c.ExampleDataUploader FAILED to validate example codesystem-action-code.json - ValidationResult{messageCount=11, isSuccessful=false, description='(showing first 1 messages out of 11 total)

ERROR - The value provided ('generated') was not found in the value set 'NarrativeStatus' (http://hl7.org/fhir/ValueSet/narrative-status|4.0.1), and a code is required from this value set  (error message = Validation failed) - CodeSystem.text.status'}
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'sourceScopeCanonical' found while parsing
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'targetScopeCanonical' found while parsing
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'relationship' found while parsing
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'relationship' found while parsing
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'relationship' found while parsing
2024-12-08 15:46:15.37 [main] WARN  c.u.f.p.LenientErrorHandler Unknown element 'relationship' found while parsing
2024-12-08 15:46:15.37 [main] INFO  c.u.f.c.ExampleDataUploader Found example sc-valueset-fm-status.json - ConceptMap - 4194 chars
2024-12-08 15:46:15.45 [main] ERROR ca.uhn.fhir.cli.App HAPI-1613: java.lang.NullPointerException: Cannot invoke "org.hl7.fhir.r5.utils.validation.IValidatorResourceFetcher.fetchCanonicalResourceVersions(org.hl7.fhir.r5.utils.validation.IResourceValidator, Object, String)" because "this.fetcher" is null
2024-12-08 15:46:15.45 [Thread-0] INFO  ca.uhn.fhir.cli.App HAPI FHIR is shutting down...

This has nothing to do with the validator wrapper, nor the validator code generally. it's an issue with the hapi-fhir-cli code setting up the validator

This has nothing to do with the validator wrapper, nor the validator code generally. it's an issue with the hapi-fhir-cli code setting up the validator

Can you point me to the correct repository to report this issue?


[sbt 1.0] Improve show when key returns a Seq

This changes the output to:
> show externalDependencyClasspath
[info] Updating {file:/xxx/hello/}root...
[info] Resolving jline#jline;2.12.1 ...
[info] Done updating.
[info] * Attributed(/Users/xxx/.sbt/boot/scala-2.11.8/lib/scala-library.jar)
[info] * Attributed(/Users/xxx/.ivy2/cache/commons-io/commons-io/jars/commons-io-
2.4.jar)

/review @dwijnand, @Duhemm

Can we backport this too?

Can we backport this too?

I'm not sure if we count this as semantic change. If we do we might have to guard it with an opt-out flag.

I'm happy with an opt-out.


Resource-optimized placement

Adds resource-optimized placement to the grain placement page

Internal previews

📄 File
🔗 Preview link

docs/orleans/grains/grain-placement.md
Grain placement

@IEvangelist 8.1-preview

closing and reopening for a fresh CI build.


property defaultData with keyValue is ignored

the property defaultData is ignored with keyValue
I trying to set a simple array  or hashmap but it's not working

@vmenard could you tell me when your migration is done ?

Nice to hear :)


Add django oauth support for CAS

When user want to 'Sign with CAS', then he or she realized that it is able to login with his or her GitHub account, that will be great ;-) so I simply added OAuthView https://github.com/xiangzhai/django-mama-cas/blob/oauth/mama_cas/views.py#L346

I am using Python2.x for my development and deployment, but I will find a Python3.x environment to test.


Test examples pollute each other

I'm using Chewy to provide an elasticsearch search platform for entities in my app called resource_sites/local_sites (they have many standard attributes like name, description,etc. along with addresses).
Our Chewy::Index analyzes various text fields for matches, as shown here:
class ResourceSiteIndex < Chewy::Index
  define_type ResourceSite.with_hours.includes(:resource_programs,
                                               :address, :organization,
                                               :eligibilities, :languages,
                                               resource_programs: :translations) do
    field :name, type: :string, index: 'analyzed', analyzer: 'english'
    field :id, type: :long
    field :description, index: 'analyzed', analyzer: 'english'
    field :resource_site_type, index: 'not_analyzed', value: -> { type }
    field :updated_at, type: :date
    field :available, type: :boolean, value: -> { !hidden }
    field :ada_compliant, type: :boolean

    field :cost_of_service_minimum, type: :integer
    field :cost_of_service_maximum, type: :integer

    field :program_ids, type: :long,
                        value: -> { resource_programs.pluck(:id) }

    field :program_names, index: 'analyzed', analyzer: 'english',
                          value: -> { resource_programs.pluck(:name) }

    field :eligibility_ids, type: :long,
                            value: -> { eligibilities.pluck(:id) }

    field :eligibility_names, index: 'analyzed', analyzer: 'english',
                              value: -> { eligibilities.pluck(:name) }

    field :organization_name, index: 'analyzed', analyzer: 'english',
                              value: ->(site) do
                                site.organization.name if site.organization
                              end

    field :location, type: :geo_point, value: ->(site) do
      if site.type == 'LocalSite' && site.address?
        {
          lat: site.address.latitude,
          lon: site.address.longitude
        }
      end
    end

    field :regions, index: 'not_analyzed', value: ->(site) do
      site.regions if site.type == 'RegionalSite'
    end
  end
end

When a user enters text into query text input and then clicks 'Search', it searches for matches among various text fields. However, we wanted to tweak the relevancy scoring such that if we found a text query match in the resource_site.name, that result would be ranked much higher than other results that found a textual match in a different field.
We attempted to achieve that with boost factors like so (note: we're interested to know a better way of implementing this, but that's a question for a separate issue):
class ResourceSiteSearch

## A bunch of other methods here

  def index
    ResourceSiteIndex
  end

# queried_text is the string that comes in from the search query box
  def boost_name_relevancy
    if queried_text.present?
      terms_to_match = queried_text.downcase.split(' ')
      index.
        boost_factor(ENV.fetch('NAME_BOOST', 4).to_i,
                     filter: { terms: { name: terms_to_match } }).
        boost_factor(ENV.fetch('NAME_BASE', 2).to_i,
                     filter: { not: { terms: { name: terms_to_match } } })
    end
  end
end

Our big problem comes when we attempt to test this behavior of altered relevancy scores. Specifically, it appears that there is pollution occuring between the examples. Here is an illustrative case:
# spec/searches/test_spec.rb
require 'spec_helper'

## Rspec config for :elasticsearch config
# config.around :example do |example|
#   if example.metadata[:elasticsearch]
#     ElasticsearchTestCluster.start

#     Chewy.request_strategy = :atomic
#     Chewy.strategy(:atomic) do
#       example.run
#     end
#   end
# end

# config.after(:suite) do
#   ElasticsearchTestCluster.stop
# end

describe ResourceSiteSearch, :elasticsearch do
  before { ResourceSiteIndex.purge! }

  describe 'relevancy scoring' do
    it 'is a dummy example that pollutes index of the other example' do
      7.times { create(:local_site) }
    end

    it 'should prioritize search results that match name' do
      food_in_description_site_1 = create(
        :local_site,
        description: 'One Food Provider'
      )
      # 1.times { create(:local_site) } # Uncommenting this oddly makes the example pass.
      food_in_name_site = create(
        :local_site,
        name: 'Best Food Provider'
      )
      food_in_description_site_2 = create(
        :local_site,
        description: 'Two Food Provider'
      )
      ResourceSiteIndex::ResourceSite.import!(
        food_in_description_site_1,
        food_in_name_site,
        food_in_description_site_2
      )

      search_results = ResourceSiteSearch.new(
        {search: 'Food Provider'},
        {current_user: build(:admin)},
        {}
      ).local_search

      p map_relevancy_scores(search_results)
      expect(search_results.to_a.first).to eq(food_in_name_site)
    end
  end

  def map_relevancy_scores(search_results)
    search_results.tap(&:to_a).instance_variable_get('@_results').
      map { |r| [r.id, r._score] }
  end
end

Running the latter example in isolation with rspec spec/searches/test_spec.rb:27 passes. However, running both examples in sequence with rspec spec/searches/test_spec.rb --order defined causes the latter example to fail and to display different relevancies than it does when being run in isolation.
Given that we execute ResourceSiteIndex.purge! before every example, why are we seeing this pollution?

cc/ @pyromaniac – it would be great if we could get some support on this issue. If anything here is unclear, please let me know!
(I'm a colleague of @KrishnaKulkarni)

Oh, sorry, I've missed this issue somehow. At first, try to use this syntax: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#CO116-1 for fields boosting, it looks much better ;) Also why are you using terms instead of queries?
The second thing here: it is not the best idea to start and stop test cluster on the fly, it will slow down specs running. Better to start test cluster manually before the whole suite once.
And as for the main question - I'm surprised as well. ResourceSiteIndex.purge! should cleanup everything there. The only thing I'm concerned right now is those atomic strategy wrapping. It is not the most convenient idea. I usually wrapping everything with bypass strategy and doing import manually wherever I need. Try to use this approach, it could help.

@pyromaniac Thanks a ton for your feedback!

At first, try to use this syntax: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#CO116-1 for fields boosting, it looks much better ;) Also why are you using terms instead of queries?

Nice pointer – thanks!

The second thing here: it is not the best idea to start and stop test cluster on the fly, it will slow down specs running. Better to start test cluster manually before the whole suite once.

We usually only start and stop the cluster once, but were going for a maximal level of isolation while debugging.

ResourceSiteIndex.purge! should cleanup everything there. The only thing I'm concerned right now is those atomic strategy wrapping. It is not the most convenient idea. I usually wrapping everything with bypass strategy and doing import manually wherever I need. Try to use this approach, it could help.

We'll follow this approach and let you know what happens!

Hey @pyromaniac. I've been working on this issue today. I haven't made too much progress. I thought I would share some more information.
Debugging Approach

Update the Chewy gem (bundle update chewy)
Use the bypass strategy (Chewy.strategy(:bypass) in the before block in spec_helper.rb)
Isolate the Chewy logs from the Rails logs to see if I could glean any more information

Interesting Points

Commenting in just the site = create(:local_site) (and not ResourceSiteIndex::ResourceSite.import!(site) , causes rspec spec/searches/test_spec.rb --order defined to pass.

Relevancy scores: [["Best Food Provider", 3.3410292], ["beer store", 1.6705146], ["wine store", 0.26632088]]

Relevancy scores of unmodified test_spec.rb: [["beer store", 0.5904797], ["wine store", 0.5904797], ["Best Food Provider", 0.53264177]]. All of these scores are much closer and lower in nominal value.

I have a hunch that before { ResourceSiteIndex.purge! } isn't operating as expected. There's no log output for the purge – is there any way to check that that method call is working as expected?
Thanks a ton!
Relavent Code
Latest spec/search/test_spec.rb
require 'spec_helper'

describe ResourceSiteSearch, :elasticsearch do
  before { ResourceSiteIndex.purge! }

  describe 'relevancy scoring' do
    it 'is a dummy example that pollutes index of the other example' do
      Chewy.logger.info 'START OF FIRST EXAMPLE GROUP'

      7.times {
        site = create(:local_site)
        ResourceSiteIndex::ResourceSite.import!(site)
      }

      Chewy.logger.info 'END OF FIRST EXAMPLE GROUP'
    end

    it 'should prioritize search results that match name' do
      Chewy.logger.info 'START OF SECOND EXAMPLE GROUP'

      food_in_description_site_1 = create(
        :local_site,
        name: 'beer store',
        description: 'One Food Provider'
      )

      ## commenting this in makes spec pass
      # site = create(:local_site)
      # ResourceSiteIndex::ResourceSite.import!(site)

      food_in_name_site = create(
        :local_site,
        name: 'Best Food Provider'
      )
      food_in_description_site_2 = create(
        :local_site,
        name: 'wine store',
        description: 'Two Food Provider'
      )
      ResourceSiteIndex::ResourceSite.import!(
        food_in_description_site_1,
        food_in_name_site,
        food_in_description_site_2
      )

      search_results = ResourceSiteSearch.new(
        {search: 'Food Provider'},
        {current_user: build(:admin)},
        {}
      ).local_search

      p map_relevancy_scores(search_results)
      expect(search_results.to_a.first).to eq(food_in_name_site)
      Chewy.logger.info 'END OF SECOND EXAMPLE GROUP'
    end
  end

  def map_relevancy_scores(search_results)
    search_results.tap(&:to_a).instance_variable_get('@_results').
      map { |r| [r.id, r._score] }
  end
end

spec/spec_helper.rb
# This is currently broken.
# Looks like a potential fix is described here:
# https://github.com/codeclimate/ruby-test-reporter#using-with-parallel_tests
if ENV['CODECLIMATE_REPO_TOKEN']
  require 'codeclimate-test-reporter'
  CodeClimate::TestReporter.start
end

ENV['RAILS_ENV'] ||= 'test'

require 'rubygems'

require File.expand_path('../../config/environment', __FILE__)

require 'rspec/rails'
require 'rspec/its'

require 'capybara/rspec'
require 'database_cleaner'

require 'shoulda-matchers'

require 'chewy/rspec'

require 'draper/test/rspec_integration'
require 'fakeredis/rspec'
require 'webmock/rspec'

require 'devise'

require 'factory_girl'

require 'json_matchers/rspec'
JsonMatchers.schema_root = 'spec/support/schemas/api'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }

WebMock.disable_net_connect!(allow_localhost: true)

RSpec.configure do |config|
  config.include Devise::TestHelpers, type: :controller
  config.include AbstractController::Translation
  config.include FactoryGirl::Syntax::Methods
  config.include InstrumentationSupport
  config.include HelperSupport, type: :helper

  feature_only_support_files = [
    SignInSupport,
    FlashSupport,
    AdminItemsSupport,
    CapybaraSupport,
    WaitForAjax,
    MailerSupport
  ]
  feature_only_support_files.each do |support_module|
    config.include support_module, type: :feature
  end

  config.use_transactional_fixtures = false

  config.mock_with :rspec do |c|
    c.verify_partial_doubles = true
  end

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  [:feature, :controller].each do |type|
    config.before(type: type) do
      stub_intercom_events
      stub_intercom_messages
      stub_google_maps
    end
  end

  config.before(:suite) do |config|
    Chewy.strategy(:bypass)
    Chewy.logger = Logger.new('log/chewy_debug.log')
  end

  config.after(:suite) do
    ElasticsearchTestCluster.stop
  end

  config.before(:each, :elasticsearch) do |config|
    ElasticsearchTestCluster.start
  end

  # If true, the base class of anonymous controllers will be inferred
  # automatically. This will be the default behavior in future versions of
  # rspec-rails.
  config.infer_base_class_for_anonymous_controllers = false
  config.infer_spec_type_from_file_location!

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
end

spec/support/services/elasticsearch_support.rb
require 'elasticsearch/extensions/test/cluster/tasks'

module ElasticsearchTestCluster
  # TODO: I think naming this `ensure_started` might be better
  def self.start
    unless running?
      Elasticsearch::Extensions::Test::Cluster.start(nodes: 1)
    end
  end

  def self.stop
    if running?
      Elasticsearch::Extensions::Test::Cluster.stop
    end
  end

  def self.running?
     Is there really objects from the first example during the second one?

Try to setup Chewy.transport_logger and Chewy.transport_tracer to get the list of ES requests

@pyromaniac Thanks for working with me here.
By inserting puts ResourceSiteIndex::ResourceSite.all.count and puts ResourceSiteIndex::ResourceSite.all.to_a.size into the specs at the beginning and end of each spec, I have been able to confirm that the documents are being deleted from the index.
Moreover, the following lines appear in the Chewy.transport_logger logs.
I, [2015-12-17T16:09:34.481973 #79370]  INFO -- : DELETE http://localhost:9250/test_resource_site [status:404, request:0.013s, query:N/A]
D, [2015-12-17T16:09:34.482123 #79370] DEBUG -- : < {"error":"IndexMissingException[[test_resource_site] missing]","status":404}
F, [2015-12-17T16:09:34.482204 #79370] FATAL -- : [404] {"error":"IndexMissingException[[test_resource_site] missing]","status":404}
# index delete request at the very beginning of the first spec, so it doesn't exist yet (I think)
....
I, [2015-12-17T16:09:36.611760 #79370]  INFO -- : DELETE http://localhost:9250/test_resource_site [status:200, request:0.049s, query:n/a]
D, [2015-12-17T16:09:36.611931 #79370] DEBUG -- : < {"acknowledged":true}
# successful deletion request at the beginning of the 2nd and last spec

Is there some some other Elasticsearch memory that could be persisting between index deletions? Maybe something due to the fact that the indices that are being created and destroy could have the same name or something like that?

I don't think index manipulations could affect score. Are you still using those filters? Or which request are you using now. Have no idea how the score could be affected though. Which ES version are you using now?

@KrishnaKulkarni @dleve123 Any news on this? I've got a similar problem :)

@davebream We've moved along from this issue a while ago – I don't recall the resolution of this. Perhaps @KrishnaKulkarni remembers what went on here, but I'm not certain.


Unable to delete machine in RKE1 cluster with the custom role of "Manage Nodes" (403)

Rancher Server Setup

Rancher version:v2.6-head - b8a44fa

Information about the Cluster

Kubernetes version: v1.21.3-rc6+rke2r2
Cluster Type (Local/Downstream): Downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): DO cluster running RKE1

Describe the bug

When trying to delete the machine pools of a RKE1 cluster, I get a 403.
To Reproduce

Userbase user added to a RKE1 cluster with custom role of "Manage Nodes"

Create a user with only userbase global permissions
Create a RKE1 cluster
Add a userbase user with a custom role of "Manage Nodes"
Log in as userbase user
Go to cluster management.
Click on the RKE1 cluster name to view the cluster detail
Delete the machine

Result
I am able to see the machines in machine pools, but when I try to delete the machine, it gives me a 403.
Expected Result

Since I have the "Manage Nodes" role, I'd expect to be able to delete machines.
Note: I am able to run this use case in RKE1 in v2.5.9 and have no issues.
Screenshots

Additional context

This is a UI issue, call is being made to v1/management.cattle.io.nodes which is blocked.


fix: remove the code for checking if source tag has crossed the destination tag by 50%

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Documentation search

Great to meet weaviate - I wonder why a tool around search does not have a searchable documentation - anyone up to change that? If not please just disregard this issue.

Yes, this is absolutely a great point and something that's missing indeed. We had been talking about this internally for quite a while, but never got around to it. Now that we're scaling up the team this will surely find some priority soon.

Stalebots don’t make issues stale - commenting to unstale

Hello @etiennedi and @chris-aeviator , I am interested contributing to this, and I believe we can use weaviate itself to perform search on the documentation! Let me know what you guys think ..

Let’s go for it! Weaviate should be a perfect match here 🤓

FYI: This is not forgotten, just got pushed back a bit. @sebawita has some context on this.

We are looking to do two projects at the same time. One is to migrate the documentation to a new framework (most likely docusaurus) and the second part is to add the search functionality (we just need to make sure that we have a fine-tuned model that can handle our docs) 🙏

We gave a sneak peek into the documentation search in the February edition of the Weaviate Air (#5).


example code for resetting a Spring animation  based on state

is there an approach where you can just pass a state and reset the animation  in a spring componenet

Something like this would work
<Spring
  from={...}
  to={...}
  reset={this.state.isSomething}
>
...
</Spring>

@vai0
can i update the reset property inside at onRest?
let say
state = { resetAnimation: false }
<Spring
onRest={() => {
      this.state.resetAnimation = true;
 }}
reset={this.state.resetAnimation}>
...
</Spring>

I don't see why not. Remember to use
this.setState({ this.state.resetAnimation: true });

instead, and preferably reference that function so it doesn't keep creating a new function on every render.
class LoopingAnimation extends React.Component {
  constructor() {
    this.state = {
      resetAnimation: false
    }
  }

  handleOnRest = () => {
    this.setState({
      resetAnimation: true
    });
  }

  render() {
    return (
      <Spring
        onRest={this.handleOnRest}
        reset={this.state.resetAnimation}
        ...
      >
        ...
      </Spring>
    );
  }
}

Yep, like @vai0 said, there's reset. Just set it to true/false and it starts from scratch. There's also reverse, which switches from/to, which is useful if you want to "animate back".

ok thanks one more question if i do reset the animation , how do i force again the play the animation?

reset={true} will just animate it again. if reset===false, it will only animate fresh/changed props otherwise.

wow thanks for fast feedback, closing this now


Update emote text for consistency

Change: User : Player to User: Player, which is consistent with other messages

Not possible due to limitations of /em command


cant compile vision-landing-2

Describe the bug
trying to compile your version of vision_landing
i get an error
flip@rpidrone:~/vision-landing-2/src $ cmake . && make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/flip/vision-landing-2/src
[ 25%] Building CXX object CMakeFiles/track_targets.dir/raw-tcp-video.cpp.o
/home/flip/vision-landing-2/src/raw-tcp-video.cpp: In function ‘void raw_tcp_reconnect()’:
/home/flip/vision-landing-2/src/raw-tcp-video.cpp:49:5: error: ‘close’ was not declared in this scope
     close(client_socket);
     ^~~~~
/home/flip/vision-landing-2/src/raw-tcp-video.cpp:49:5: note: suggested alternative: ‘pclose’
     close(client_socket);
     ^~~~~
     pclose
/home/flip/vision-landing-2/src/raw-tcp-video.cpp: In function ‘void close_video_socket()’:
/home/flip/vision-landing-2/src/raw-tcp-video.cpp:79:5: error: ‘close’ was not declared in this scope
     close(client_socket);
     ^~~~~
/home/flip/vision-landing-2/src/raw-tcp-video.cpp:79:5: note: suggested alternative: ‘pclose’
     close(client_socket);
     ^~~~~
     pclose
/home/flip/vision-landing-2/src/raw-tcp-video.cpp: In function ‘cv::Mat raw_tcp_get_image(uint64_t&, float&)’:
/home/flip/vision-landing-2/src/raw-tcp-video.cpp:135:41: error: ‘sleep’ was not declared in this scope
             if(consecutiveErrors > 100) sleep(1); // Client probably paused => relax CPU
                                         ^~~~~
make[2]: *** [CMakeFiles/track_targets.dir/build.make:89: CMakeFiles/track_targets.dir/raw-tcp-video.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/track_targets.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Steps To Reproduce
cmake . && make
Screenshots
No response
Desktop
- OS: [e.g. iOS] raspberry pi os buster and bullseye

Smartphone
No response
Additional context
No response

Please try to build on a more standard OS like fedora.
Your OS is probably missing some libraries.
Please send a pull request.
Issues section was enabled.


Triggers panel bug with empty application field

@alexanderzobnin I'm testing the triggers pannel and found a little bug: when you select a group, All hosts and an application that belongs only to the hosts from that group and, after that, you change the group to another one that don't have any hosts with that application, the value of application field is nulled and the pannel trows this error:
Message:
			Cannot read property 'applicationid' of null

Stack trace:
			TypeError: Cannot read property 'applicationid' of null
    at https://grafana.socialbase.com.br/app/app.00a93492.js:43:16327
    at i (https://grafana.socialbase.com.br/app/app.00a93492.js:12:3869)
    at https://grafana.socialbase.com.br/app/app.00a93492.js:12:4041
    at n.$eval (https://grafana.socialbase.com.br/app/app.00a93492.js:12:11661)
    at n.$digest (https://grafana.socialbase.com.br/app/app.00a93492.js:12:10092)
    at n.$apply (https://grafana.socialbase.com.br/app/app.00a93492.js:12:11928)
    at https://grafana.socialbase.com.br/app/app.00a93492.js:12:19264
    at e (https://grafana.socialbase.com.br/app/app.00a93492.js:10:26558)
    at https://grafana.socialbase.com.br/app/app.00a93492.js:10:27987

@galindro Thanks for report! Need to fix it.

Nice @alexanderzobnin . I'll wait for the fix. I'm here to help :)

Fixed.


Show all config validation errors at once

Currently, config validation stops at first error. Instead we should display
all the errors at once, for better experience.
Also, error messages are vague (i.e. failed to decode following fields:
CustomerIdentifier). It should display actual error message that caused the parsing
failure (albeit in some cases).
Fixes #127

Current coverage is 96.28%

Merging #128 into master will increase coverage by +0.24% as of 2d08fdf

@@            master    #128   diff @@
======================================
  Files           36      36
  Stmts          885     888     +3
  Branches        40      25    -15
  Methods          0       0
======================================
+ Hit            850     855     +5
  Partial          0       0
+ Missed          35      33     -2

Review entire Coverage Diff as of 2d08fdf

Powered by Codecov. Updated on successful CI builds.


Show answers one by one #16

https://github.com/ArkArk/d-prolog/issues/16

Codecov Report

Merging #36 into master will decrease coverage by 0.36%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #36      +/-   ##
==========================================
- Coverage   72.68%   72.31%   -0.37%
==========================================
  Files          34       34
  Lines        1391     1398       +7
==========================================
  Hits         1011     1011
- Misses        380      387       +7


Automator: update proxy@master in istio/istio@master

Generated by Automator - 2020-08-29T02:12:06+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
ae869c5aff538f67bce1be16cf9280779a1b3521
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
ea18517f16021860c18de917655f1eed0c02d387
link
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Enable metallb+ipv6 support

Please provide a description of this PR:

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-multicluster-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-pilot-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-pilot-multicluster-tests_istio

integ-istiodremote-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-istiodremote-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-pilot-multicluster-tests_istio

integ-istiodremote-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-istiodremote-k8s-tests_istio

integ-security-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-multicluster-k8s-tests_istio

integ-pilot-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-pilot-multicluster-tests_istio

integ-istiodremote-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-istiodremote-k8s-tests_istio

integ-security-multicluster-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-security-multicluster-tests_istio

integ-telemetry-mc-k8s-tests_istio
d16eb7976617797584b784b7a2e60fbcdaa51e60
link
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Swift 4.2 support

Any plans to update this to support swift 4.2?  As far as I can tell, you cannot intermix swift versions within same project, and we're planning on updating to 4.2 soon.

Swift 4.2 support is now available in GEOSwift 3.0.0. Let us know how it goes.


ERROR: No points in Curve2D

Godot version:
3.1 alpha1
OS/device including version:
Windows 10
Issue description:
Whenever the Curve2D on my Path2D lacks any points, "ERROR: No points in Curve2D" gets thrown. I am finding this annoying, because I generate the points dynamically, so whenever I clear the points and create new ones I get this error.
Steps to reproduce:
Call "clear_points()" on a Curve2D on a Path2D.

Curve2D.bake_interval mentions that the cached gets recomputed the next time Curve2D.get_baked_points or Curve2D.get_baked_length is called. Have you tried calling one of those after adding your points?

From the code
	//validate//
	int pc = baked_point_cache.size();
	if (pc == 0) {
		ERR_EXPLAIN("No points in Curve2D");
		ERR_FAIL_COND_V(pc == 0, Vector2());
	}

Why is having the cache at zero considered an error? A cruve should be able to hold zero points and thusly must have a zero cache. Or am I misunderstanding how it's supposed to work?

CC @Zylann

Why me?

Nevermind, I thought you wrote Curve2D but that was Line2D.

Looking at the git history I don't see anyone else's name attached to that particular chunk of validation code but @reduz.
Might this be better suited to debug output, rather than an error? Or perhaps we could add a setting that either only throws the error when 'on' or vice versa...
For example:

Throw error if curve2D contains no points: Off
Throw error if curve3D contains no points: Off

Or perhaps a zero length just should be valid and these validation errors can simply be removed.
Am happy to work on this, but consensus on the desired approach would be good first :)

It happens when you clear the points. As soon as you clear the points, this error appears.

Can you provide a project? In my tests I had no error when calling clear_points() on a Curve2D resource.


Usage of attributes in Automatic Annotation

My actions before raising this issue

[x ] Read/searched the docs
[x ] Searched past issues

I would like to deploy a costumoized model which also outputs attributes for each BB.
Is it currently possible to upload them to the tool as well after creating a fixed project structure?
I'm sorry to seek for some support . I have tried different formating and keys but was not successful.
Could smb advice on how to do it.
e.g.
def handler(context, event):
    context.logger.info("Run yolo-v5 model")
    data = event.body
    buf = io.BytesIO(base64.b64decode(data["image"]))
    threshold = float(data.get("threshold", 0.5))
    context.user_data.model.conf = threshold
    image = Image.open(buf)
    yolo_results_json = context.user_data.model(image).pandas().xyxy[0].to_dict(orient='records')
    encoded_results = []
    for result in yolo_results_json:
        encoded_results.append({
            'confidence': result['confidence'],
            'label': result['name'],
            'points': [
                result['xmin'],
                result['ymin'],
                result['xmax'],
                result['ymax']
            ],
            'type': 'rectangle',
------->   'attributes': [{'direction':'front'}]
        })
    return context.Response(body=json.dumps(encoded_results), headers={},
        content_type='application/json', status_code=200)

Is there a way to upload attributes accordingly ?
Thank you!!

Yes, it is possible.
Please, look at existing model serverless/openvino/omz/intel/face-detection-0205/nuclio which supports attributes as an example.
Basically you need to specify attributes in function.yaml file and return them from the function. For sure, they must exist in a task.


cannot move to next chapter

Challenge Waypoint: Change the Color of Text has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; rv:42.0) Gecko/20100101 Firefox/42.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

CatPhotoApp

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

The color in the mobile changes. But, I cannot move to next chapter. I'm stuck.
Please help.

Your h2 element should be red.

@yashmehta332 You may also use https://gitter.im/FreeCodeCamp/Help for help about these.

@yashmehta332 thanks for posting this issue!
@DDaems is correct. As @abhisekp mentioned if you have problems with your code, please, post a message in our Gitter chat room first, thanks. Closing this issue.

Please review the Guidelines for Contributing, thank you!.


Not sure how this passed CI but I think these print as a warning.

great PR title

if this is about warnings from stan models vs anything else its because they print as output and aren't R warnings. You need to be using capture.output or similar to get them and then look at them

Ah I see, yeah its a warning about the init that me missed. Will add to the description :)


Document Zcash network protocol implementation in Zebra codebase

Motivation
We want to ensure that Zebra is compatible with the Zcash network protocol. In order to help us do this, we should document where the Zcash network protocol is implemented in the Zebra codebase.
This will also help when auditing Zebra.
Tasks for each network protocol rule:

work out if the rule should come from the zcashd codebase, a Zcash ZIP, the Zcash Spec, or the Bitcoin reference
check that the rule is implemented in Zebra
make sure the latest version of the rule is quoted in the docs for the code that implements it
make sure the code implements the latest version of the rule

Summary Documentation

[x] Summarise the zebra-network tasks and services, and how they work together - done in #3317

We could split up and prioritise the rest of the network documentation based on the sections in the summary documentation.
Network Protocol ZIPs

NU5:

TODO: list ZIPs

NU4: Canopy

TODO: list ZIPs

NU3: Heartwood

TODO: list ZIPs

NU2: Blossom

TODO: list ZIPs

NU1: Sapling

TODO: list ZIPs

NU0: Overwinter

TODO: list ZIPs

Sprout

TODO: list ZIPs

Network Protocol Rules based on the zcashd implementation

TODO: search zebra-network for references to zcashd, and make sure they are up to date

Network Protocol Rules based on the Bitcoin Reference

TODO: search zebra-network and zebrad for references to the Bitcoin Reference, Developer Guide, or Bitcoin Wiki

Prefer the Bitcoin Reference and Developer Guide where possible

There may also be useful information in the non-P2P parts of the Bitcoin documentation.
Note that the Bitcoin Reference , Developer Guide, and Wiki can be wrong, outdated, or not apply to Zcash.

We could split up and prioritise the rest of the network documentation based on the sections in the summary documentation in PR #3317.

I removed these sections from the ticket, because the Bitcoin documentation might be wrong for Zcash, and zcashd might change before we match its rules.

Network Protocol Rules based on the zcashd implementation

TODO: search zebra-network for references to zcashd, and make sure they are up to date

Network Protocol Rules based on the Bitcoin Reference

TODO: search zebra-network and zebrad for references to the Bitcoin Reference, Developer Guide, or Bitcoin Wiki

Prefer the Bitcoin Reference and Developer Guide where possible

There may also be useful information in the non-P2P parts of the Bitcoin documentation.
Note that the Bitcoin Reference , Developer Guide, and Wiki can be wrong, outdated, or not apply to Zcash.

Removing epic from the Sprint, individual issues under this epic should be scheduled instead

This is either complete, or we decided not to do it.


Add a safe way to add/update entries

This one is big, but is worth recording here.
Auth mech should be OAuth most likely.
For v1 logged in users should be able to add public entries.
For v2 of this feature it would be nice to be able to save private entries or shared across github organisation.
Also think about rating solutions.

Hah! Oauth is implemented and command line support for new entries/editing is comning.


Standalone status for link composant in Web UI kit

Duplicates ❌

[X] I have searched the existing issues

Libraries

[X] Vitamin Web UI Kit
[ ] Vitamin Android UI Kit
[ ] Vitamin iOS UI Kit
[ ] Vitamin Icons
[ ] Vitamin Assets
[ ] Vitamin Core theme (Light mode)
[ ] Vitamin Core theme (Dark mode)
[ ] Vitamin Base colors palette
[ ] Vitamin Extras kit
[ ] Not related to one Figma library

Current behavior 😯
I see in the decathlon.design website that there is a standalone status for the component link in the react showcase but it's not displayed on the component parameters in Figma. (today i apply the hover state)
Expected behavior 🤔
have the possibility to apply the standalone status for the link component in Figma.
Context 🔦
No response
Screenshots / Videos 📸

Hi @matthieu-delapoterie,
Thanks for reporting this. You're completely right, there's a mismatch in properties between design & implementation of Link component.
We will talk about it probably next week with the team.
Thank you.

On Figma side, the link component is the standalone one, it's why you don't find the boolean standalone true/false.
We don't give the inline one as it makes no sense on Figma because you'll just have to underline the link on a text paragraph.
@matthieu-delapoterie does it answer to your problem?

Fell free to re-open if you need @matthieu-delapoterie


added remaining past sponsors logos

Do not merge now, I will make inconsistent logos dark colour friendly

GitHub Logos


Loading Spinner of visualization components should block the canvas only

Is your feature request related to a problem? Please describe.
Right now, requesting a visualization from the backend will display the loading spinner, but this will block not only the canvas, but also input elements controlling normalization etc. This means the user cannot interact with controls anymore while the graph is loading, effectively making it impossible to cancel the running tasks.
Describe the solution you'd like
It would be better if the loading spinner only blocked the canvas, so the user could keep interacting with the controls, which could cancel the running request for visualization data to the backend.

Blocking the options was sort-of intentional, as it prevents the complication of cancelling one subscription and starting another. That's not impossible to handle, though
See also #895

Yes, I opened this issue exactly to address that issue: interacting with the controls will abort the tasks then.


Update

Checklist

[ ] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy
[ ] Ensured the license file is being packaged.

I accept maintainership.

I am rerunning the CI now :)


Add Brazilian Portuguese language support

This is imcomplete translation, missing finish on Config Cheat Sheet and Hacking on Gitea. I will finish this on this week.
Ping @andreynering for review

@joubertredrat any progress?

@tboerger I'm waiting finish to implement documentation in en-us to I make new PR this new changes

@joubertredrat the @andreynering made some comments in your translation, you reviewed all?
Need some help?

I think we moved translations to crowdin, although I don't find references to that.
@lunny ?

@strk we moved gitea's translations to crowdin, but not this.

@joubertredrat does en-us look fine now ?

hi @strk I'm off about this? files was moved to crowind or translation will continue manual?

@lunny Let's use https://www.transifex.com/

@avelino it doesn't support ini format.

The docs are not managed via any external service.

Ok @tboerger I will provide this translation on this week

Any news?

I think the docs are too much information to translate. Even if we did it, it would be outdated soon.
This can be reopened if you change idea @jourbertradhat


fix request in DefaultValueSupplier

In Symfony 3 the service 'request' has been removed from the container, and the function isScopeActive doesn't exist anymore. With this fix the Request Stack is injected in DefaultValueSupplier to get the request.

You could default the request stack to null and fall back to the old logic when it is not set.

Thanks @xabbuh, I did that and now it works ok on all versions

Actually, I am not sure if the request stack should get injected through the constructor. I mean that's a good idea in general, but here the container is injected anyway.

You are right, I'm used to inject all the services and I didn't think about getting the request stack directly from the container. I changed it and now the container gets the request stack service.

@stof this looks like another Symfony 3 incompatible spot. I'm :+1: on this basic implementation (I might have structure some if logic different, but that's it).
And of course, 2.7.2 would be awesome after this. Thx!

Thank you @albert-gonzalez.

Do you think you could tag a new version with this fix in it when you get time? I'm currently depending on master via composer.


feat: enable custom storageNamespace to StorageAPI, improve StorageAPI

Feat:

Extend the flexibility to add custom storageNamespace, and discussion here #2794 @acao

Test-Screen

@CaiYiLiang thanks for this!
re: the CLA bot - it wants you to sign the agreement with an email associated with your github account

By the way: It's awesome to see you jumping into action here and opening a PR for that existing issue, highly appreciated! 🙌 ❤

@thomasheyenbrock I totally forgot that this was one of the goals of @graphiql/toolkit when we created it! This is a great idea. We can add other options as we go.
This might be a bit more optimal, so it's easier to add options as we go, and not worry about ordered arguments:
const storage = createLocalStorage({ namespace: "my-custom-prefix" })

The list of props is already huge, and I have the fear of it growing larger and larger with each new feature we want to implement. I see an opportunity here for a different approach that doesn't involve a new prop.
We could create a new function in the @graphiql/toolkit package that return a wrapper around localStorage that optionally adds a prefix to the keys:
function createLocalStorage(prefix?: string): Storage

Users could then make use of the existing storage prop together with this new function:
import { createGraphiQLFetcher, createLocalStorage } from "@graphiql/toolkit"
import { GraphiQL } from "graphiql"

const fetcher = createGraphiQLFetcher({ url: "https://my.graphql.api" })
const storage = createLocalStorage("my-custom-prefix")

function CustomGraphiQL() {
  return <GraphiQL fetcher={fetcher} storage={storage} />
}

In my mind this is an improved separation of concerns and keeps the API of individual items more minimal and flexible. @CaiYiLiang what do you think?

Hello , for above suggestion. I have another proposed PR-3022
Please check and let me know any concerns. Thank you

@CaiYiLiang thanks for this!
re: the CLA bot - it wants you to sign the agreement with an email associated with your github account

Hello, I have signed the contribution agreement. I am not quite sure why it still shows unauth status. While my another PR - https://github.com/graphql/graphiql/pull/3022 has no issue with CLA bot.


Installer hangs after brew is already installed (Macbook Pro M1)

Describe the bug
After cloning the repository I want to install reconftw. When I run the installer, it never goes further than brew is already installed, no matter how long I wait.
To Reproduce
Steps to reproduce the behavior:

Go to 'reconftw' folder
Execute './install.sh'
Wait - and see nothing happening

Expected behavior
The installer should continue to install the necessary tools and dependencies
Screenshots

Desktop (please complete the following information):

Architecture: AARM (Apple M1 Max)
OS: macOS Ventura
Version 13.1

Hi, I currently do not have access to a Mac OS device, can you modify the following lines in reconftw.cfg and run the installer again? It will print out all the tasks performed, then you can check where it is stuck:
Change this 2 lines:
https://github.com/six2dez/reconftw/blob/cd7fd961e87bb7484fd128ba24972cc35f957186/reconftw.cfg#L38
https://github.com/six2dez/reconftw/blob/cd7fd961e87bb7484fd128ba24972cc35f957186/reconftw.cfg#L39
And set them as:
DEBUG_STD="" # Skips STD output on installer
DEBUG_ERROR="" # Skips ERR output on installer

Let me know where it is stuck, thanks!

Thanks for the reply!
It seems to work when the errors are not piped to /dev/null.
After the first run i got
Error: Formula `tor` is not installed.

which i just manually brew install tor'ed. The installer then succeeded.
Afterwards I reverted the config - and same behaviour again. Hangs for over 20 minutes on brew is already installed.
I suspect it's rustup. The installer asks wether or not you want to continue the installation, modify or cancel it. So if you just wait for a while after it appears to be hanging, it continues the installation.

Ok, so I will not pipe to /dev/null both brew install rustup and rustup-init in case they need user interaction on next release. Thanks!

Fixed! https://github.com/six2dez/reconftw/releases/tag/v2.5.1


Can not change bazel binary in preferences

The apply button never enables if changed even if file exists.

Thanks for the update @btbuxton with your latest push it works great.


[Feature request] Automate topic cleanup

The ability for members to create topics is great but over time the number of topics can become unwieldy. In my organization we have taken to moving conversations from old topics into a catch all "Archive" topic in each stream. To avoid manually doing this, I'd like to be able to run a tool that will clean up old topics for me. Basically, if the last message in a topic was X months (or weeks) ago then all messages in that topic should be placed in a user-definable topic (such as Archive). This may also be accomplished by renaming the entire deprecated topic to Archive.

@scasplte2 can you explain a bit more what you mean by "become unwieldy"?  In theory, there shouldn't be much inconvenience to having old topics in the scroll history that nobody's looking at.

This is simply a matter of preference to keep the number of actionable topics to a reasonable number.

This would be a very handy feature to keep things neat and tidy.

Closing this issue, as we don't have current plans to build this as an in-app feature. A custom solution can be implemented using Zulip's API.


use csv format instead of mkString

It is possible to add the following small changes in the package.scala$saveAsCsvFile:

move the csvFormat outside the mapPartitions loop
use this csvFormat when generating the header instead of the hardcoded mkString
Thanks in advance

@abendada Would you please look into the test failure?

It was scalaStyle issue.
I removed the comment (added by my self) causing the issue.
should i add a new pull request
Thanks

Thanks @abendada. This looks good. Would be good to add a line comment for documentation.


script.disown: remove obsolete WPT expectations

It turns out this is not obsolete at all, never mind.


[WIP] Develop

Improved auth logs - grcp
Improved auth logs - ldap
Adding grcp to service health checks
Improvement in github workflows
Improvement in test projects
Adding new option to run horusec completely without docker (only horusec native tools will run like leaks, java, kotlin, nodejs, kubernetes, csharp)
Adding new option for user to create customizable rules file and apply within horusec
Removing informational vulnerabilities by default (to enable them, you must pass a flag stating that you want to view them)
Correction in tools that use engine to not occupy 100% of memory when the project is very large.
Changing the main business page to Workspace.
Changing momentjs library to date-fns in order to avoid depreciation
Changing when the user uses the company's token and does not pass the name of the repository in the horusec options to acquire from the name of the folder where the project is currently located.
Adding some improvements moving content of the devkit to microservices
Fixing date range on screen Dashboard of the Manager

wait PR #252  to merge this pull request

wait PR #252  to merge this pull request


Add Rust Core Fstar Definitions.

Added rust core types for use by sandwich.

@W95Psp shall this get merged?

Absolutely, let's merge it.

Arf.. monday morning I suppose, clicked the button to fast :(

Let's merge all core-related addition we've been adding from sandwich in one go then.
@maximebuyse we discussed that last week I think: we should cherry pick core-only commits from the sandwich branch of hax, let me add an issue for that


VDP_setPalette dont exists?

i was just importing graphic resources to a game that im making and i get this
how to i get to use VDP_setPalette and VDP_setPaletteColor...   PS: I IMPORTED GENESIS.H

NAH, IGNORE THIS, I FIXED IT

The methods are deprecated, need to use PAL_setxxx methods now :)


Unable to Install Code for IBM i - Getting - 'Couldn't find a compatible version of Code for IBM i with this version of Code'  errorr.

Hi ,
Trying to install 'Code for IBM i' extension version 1.5.16 for VS Code version 1.7.1 and running into compatibility issues.
Getting error 'Couldn't find a compatible version of Code for IBM i with this version of Code'  error.
Looking for help on how to resolve this error.

Initial Question

@digvijay2k2

What OS are you on?
Have you tried restarting VS Code?
What about if you start VS Code and reload? (Command Palette -> Reload Window)

Hi Liam,
I am on windows 10.
Based on your suggestion I did try restarting VS code as well as doing a reload but still running into same issue.
I did try installing some other extension (Eg RPG for IBM i) and was able to install but facing compatible version issue with both Code for IBM i as well as IBM i development pack.

I am going to need some more information about your VS Code setup.
I am on the latest version and we are not getting the same issue. Can you share the File -> About Visual Studio Code? It should show something like this:

Sure.

@digvijay2k2 You are on a seriously old version of Visual Studio Code. Please update :)

Thank you Liam , sorry my bad I miss-read 1.7.1 as 1.71 and did not realize that I am on a very old version. Will get this updated and try again.  Thanks again !!


POC of zio2 support

Hey!
That's just my POC how to keep support for both ZIO versions.
I am not sure if we can do it in other way.
But I am open for discussion.
Best regards 1

Thanks for your PR, @RafalSierkiewicz!
I do not have any opinion yet on whether we should try to keep compatibility with both versions.
Wouldn't it be possible for users interested in the old version to just use an older version of akka-http-json?
What do you think, @samuelsayag?

This is maybe right, to the best of my knowledge zio2 really aim to be faster and I see all the zio ecosystem (for instance zio-prelude is also migrating to zio2) such as zio-json taking it as dependency progressively.
So I assumed it should be the natural continuation of your library is to have it as a replacement.
Maybe there is a strong case for keeping zio1 implementation but I don't see it for the moment.

From my point of view current solution is fine and enough.
I will close it.
Thanks for you time


Bump SparseConnectivityTracer compat to v0.6

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 40.28%. Comparing base (0f7957d) to head (39e542b).

:exclamation:  There is a different number of reports uploaded between BASE (0f7957d) and HEAD (39e542b). Click for more details.
HEAD has 40 uploads less than BASE

Flag
BASE (0f7957d)
HEAD (39e542b)

48
8

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #392       +/-   ##
===========================================
- Coverage   96.62%   40.28%   -56.34%
===========================================
  Files         102       72       -30
  Lines        4974     2698     -2276
===========================================
- Hits         4806     1087     -3719
- Misses        168     1611     +1443

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Feat:added language selector

Describe the feature
added language selector.... for easily understanding everyone
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@SiddharthBahuguna please assign this to me i am GSSOC'24 contributor and have 2+ years of experience in development


Fix initialization issues in KieServer*ControllerClient testing clients

I'm trying to reuse this testing rest client in our selenium test suites to save some some clicking in UI.
While using these we came across 2 issues:

custom credentials do not work
marshaller is not initialized properly

@sutaakar Could you please review?

Looks good.

Hello @mswiderski, could you please review/merge this? I need these changes to be able to run selenium jbpm-console-ng tests on jenkins..

+1

do we need it in 6.5.x?

No, it's just for testing kie-wb after jbpm runtime removal. Thank you!


Retention delete latency

Retention on Teams takes seven days to delete content, not three. The same has been updated in Teams documentation
https://docs.microsoft.com/en-us/microsoftteams/retention-policies

@MicrosoftHeidi  FYI


Contract is not billed for first cycle according to graphql

{
  "data": {
    "consumptions": [
      {
        "createdAt": "2022-03-07T09:57:00.000Z",
        "cru": "2",
        "hru": "0",
        "mru": "4219469824",
        "sru": "524288000"
      },
      {
        "createdAt": "2022-03-07T10:57:00.000Z",
        "cru": "2",
        "hru": "0",
        "mru": "4219469824",
        "sru": "524288000"
      },
      {
        "createdAt": "2022-03-07T11:57:00.000Z",
        "cru": "2",
        "hru": "0",
        "mru": "4219469824",
        "sru": "524288000"
      }
    ],
    "contractBillReports": [
      {
        "amountBilled": "2063700",
        "contractId": 8306,
        "createdAt": "2022-03-07T11:29:42.000Z"
      }
    ],
    "nodeContracts": [
      {
        "id": "i_jLu1Vye",
        "nodeId": 2,
        "state": "Created",
        "createdAt": "2022-03-07T09:29:42.000Z"
      }
    ]
  }
}

So the contract was created at
2022-03-07T09:29:42.000Z, this means the next billing cycle is: 2022-03-07T10:29:42.000Z
A consumption report was pushed 2022-03-07T09:57:00.000Z (roughly 30 minutes after contract creation)
So this first billing cycle this contract should have been billed.

Make sure it's actually not graphql producing garbage data.

Retried with a second contract, now it seems to work properly. Maybe some edge case is not covered.

Looks to be a bug coming forth from ZOS.
Created this one to redesign the approach for the billing mechanism: https://github.com/threefoldtech/tfchain/issues/238

fixed on devnet and testnet


How to use Anaconda with Google App Engine

Added a short section to the README. It has instructions on using Anaconda with Google App Engine.

Thanks! Merged as c68538a0066a54d495aa7cb0e2a156d63f2fc819.


build: switch to NPM v5

Switches to NPM v5 that should use the packages from the $HOME/.npm cache.
Now caches the dashboard functions node_modules by using the shared cache in $HOME/.npm

NPM 5 works fine here. Just seeing some issues with the Universal task that can be reproduced locally as well. Including this in this PR as well (in progress)


All search nodes are down when we enable bm25 option.

We found an error that all search nodes were down when we enable bm25 option.
Settings：
We enable bm25 option to 24 fields.
index: enable-bm25

Environment :
Vespa version：7.87.44-1
The number of fields where bm25 option are enabled：24
documents：over 14,000,000

Error：
"sc0.num3 failed: Received error from backend in sc0.num3: All searchnodes are down. This might indicate that no index is available yet. (3)"

Log：
vespa-proton-bi[20748]: segfault at 7f54d9088798 ip 00007f52c1840414 sp 00007f52b53c86b0 error 4 in libsearchlib.so[7f52c10f6000+c2b000]

We fixed a bug related to the index structures used for bm25 in 7.104.23 (https://github.com/vespa-engine/vespa/pull/10542). Please upgrade to a new Vespa version to see if that fixes the problem.

It would also be helpful if you could paste the stack trace from the core dump:
gdb /opt/vespa/sbin/vespa-proton-bin [core-file]

Thank you for your help.
We upgraded vespa and resolved this problem.