Vanilla recipes don't work within Jest in a Next.js project

Describe the bug
Description
It seems like that vanilla recipes don't work within Jest tests in Next.js projects. I'm not sure if the issue is related to the base Jest configuration of Next.js or the Jest transformer provided by vanilla extract.
If styles are created via style from @vanilla-extract/css everything works as expected, but if you use recipe from @vanilla-extract/recipes the test crashes as it can't resolve the exposed function as function.
I attached the logs of the full test run including the composed Jest configuration.
Releations
There's also an open discussion from April 19th which is probably also related to this issue.
Reproduction
https://github.com/janbiasi/repro-next-vanilla-extract-jest
Steps of the repro repository

Created a new Next.js project with npx create-next-app@latest
Enabled TS, src/ folder - Disabled Tailwind, App Router and custom path mappings
Disabled experimental.appDir as this doesn't work according to the issue https://github.com/vanilla-extract-css/vanilla-extract/issues/1101
Installed VE packages and configured Next.js and Jest according to the docs of VE
Wrote a Button component, styles and a test for it

System Info
  System:
    OS: macOS 13.3.1
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 323.96 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/versions/node/v18.16.0/bin/node
    npm: 9.5.1 - ~/.nvm/versions/node/v18.16.0/bin/npm
    pnpm: 7.30.0 - ~/Library/pnpm/pnpm
    Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 113.0.5672.126
    Safari: 16.4
    Safari Technology Preview: 16.4
  npmPackages:
    @vanilla-extract/css: ^1.12.0 => 1.12.0
    @vanilla-extract/jest-transform: ^1.1.1 => 1.1.1
    @vanilla-extract/next-plugin: ^2.1.3 => 2.1.3
    @vanilla-extract/recipes: ^0.4.0 => 0.4.0
    jest: ^29.6.1 => 29.6.1
    jest-environment-jsdom: ^29.6.1 => 29.6.1
    next: 13.4.9 => 13.4.9

Update on 25.07.2023
"@vanilla-extract/css": "1.12.0"
"@vanilla-extract/jest-transform": "1.1.1"
"@vanilla-extract/next-plugin": "2.2.1"
"@vanilla-extract/recipes": "0.5.0"

Used Package Manager
npm
Logs
><EMAIL_ADDRESS>test
> jest --debug

{
  "configs": [
    {
      "automock": false,
      "cache": true,
      "cacheDirectory": "/private/var/folders/45/d47__wx51yx5fl5wz5m0_jyc0000gn/T/jest_dx",
      "clearMocks": false,
      "collectCoverageFrom": [],
      "coverageDirectory": "/localpath/repro-next-vanilla-extract-jest/coverage",
      "coveragePathIgnorePatterns": [
        "/node_modules/"
      ],
      "cwd": "/localpath/repro-next-vanilla-extract-jest",
      "detectLeaks": false,
      "detectOpenHandles": false,
      "errorOnDeprecated": false,
      "extensionsToTreatAsEsm": [],
      "fakeTimers": {
        "enableGlobally": false
      },
      "forceCoverageMatch": [],
      "globals": {},
      "haste": {
        "computeSha1": false,
        "enableSymlinks": false,
        "forceNodeFilesystemAPI": true,
        "throwOnModuleCollision": false
      },
      "id": "b85484fbfc9ab42b140d35d43b1c537a",
      "injectGlobals": true,
      "moduleDirectories": [
        "node_modules"
      ],
      "moduleFileExtensions": [
        "js",
        "mjs",
        "cjs",
        "jsx",
        "ts",
        "tsx",
        "json",
        "node"
      ],
      "moduleNameMapper": [
        [
          "^.+\\.module\\.(css|sass|scss)$",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/object-proxy.js"
        ],
        [
          "^.+\\.(css|sass|scss)$",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/__mocks__/styleMock.js"
        ],
        [
          "^.+\\.(png|jpg|jpeg|gif|webp|avif|ico|bmp)$",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/__mocks__/fileMock.js"
        ],
        [
          "^.+\\.(svg)$",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/__mocks__/fileMock.js"
        ],
        [
          "@next/font/(.*)",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/__mocks__/nextFontMock.js"
        ],
        [
          "next/font/(.*)",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/jest/__mocks__/nextFontMock.js"
        ]
      ],
      "modulePathIgnorePatterns": [],
      "openHandlesTimeout": 1000,
      "prettierPath": "prettier",
      "resetMocks": false,
      "resetModules": false,
      "restoreMocks": false,
      "rootDir": "/localpath/repro-next-vanilla-extract-jest",
      "roots": [
        "/localpath/repro-next-vanilla-extract-jest"
      ],
      "runner": "/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/index.js",
      "sandboxInjectedGlobals": [],
      "setupFiles": [],
      "setupFilesAfterEnv": [
        "/localpath/repro-next-vanilla-extract-jest/setupTests.ts"
      ],
      "skipFilter": false,
      "slowTestThreshold": 5,
      "snapshotFormat": {
        "escapeString": false,
        "printBasicPrototype": false
      },
      "snapshotSerializers": [],
      "testEnvironment": "/localpath/repro-next-vanilla-extract-jest/node_modules/jest-environment-jsdom/build/index.js",
      "testEnvironmentOptions": {},
      "testLocationInResults": false,
      "testMatch": [
        "**/__tests__/**/*.[jt]s?(x)",
        "**/?(*.)+(spec|test).[tj]s?(x)"
      ],
      "testPathIgnorePatterns": [
        "/node_modules/",
        "/.next/"
      ],
      "testRegex": [],
      "testRunner": "/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/runner.js",
      "transform": [
        [
          "^.+\\.(js|jsx|ts|tsx|mjs)$",
          "/localpath/repro-next-vanilla-extract-jest/node_modules/next/dist/build/swc/jest-transformer.js",
          {
            "modularizeImports": {
              "@mui/icons-material": {
                "transform": "@mui/icons-material/{{member}}"
              },
              "date-fns": {
                "transform": "date-fns/{{member}}"
              },
              "lodash": {
                "transform": "lodash/{{member}}"
              },
              "lodash-es": {
                "transform": "lodash-es/{{member}}"
              },
              "ramda": {
                "transform": "ramda/es/{{member}}"
              },
              "react-bootstrap": {
                "transform": "react-bootstrap/{{member}}"
              },
              "antd": {
                "transform": "antd/lib/{{kebabCase member}}"
              },
              "ahooks": {
                "transform": "ahooks/es/{{member}}"
              },
              "@ant-design/icons": {
                "transform": "@ant-design/icons/lib/icons/{{member}}"
              }
            },
            "jsConfig": {
              "compilerOptions": {
                "target": 1,
                "lib": [
                  "lib.dom.d.ts",
                  "lib.dom.iterable.d.ts",
                  "lib.esnext.d.ts"
                ],
                "allowJs": true,
                "skipLibCheck": true,
                "strict": true,
                "forceConsistentCasingInFileNames": true,
                "noEmit": true,
                "esModuleInterop": true,
                "module": 99,
                "moduleResolution": 2,
                "resolveJsonModule": true,
                "isolatedModules": true,
                "jsx": 1,
                "incremental": true,
                "paths": {
                  "@/*": [
                    "./src/*"
                  ]
                },
                "pathsBasePath": "/localpath/repro-next-vanilla-extract-jest"
              }
            },
            "resolvedBaseUrl": "/localpath/repro-next-vanilla-extract-jest",
            "hasServerComponents": false,
            "isEsmProject": false,
            "pagesDir": "/localpath/repro-next-vanilla-extract-jest/src/pages"
          }
        ],
        [
          "\\.css\\.ts$",
<EMAIL_ADDRESS>          {}
        ]
      ],
      "transformIgnorePatterns": [
        "/node_modules/",
        "^.+\\.module\\.(css|sass|scss)$"
      ],
      "watchPathIgnorePatterns": [
        "/.next/"
      ]
    }
  ],
  "globalConfig": {
    "bail": 0,
    "changedFilesWithAncestor": false,
    "ci": false,
    "collectCoverage": false,
    "collectCoverageFrom": [],
    "coverageDirectory": "/localpath/repro-next-vanilla-extract-jest/coverage",
    "coverageProvider": "babel",
    "coverageReporters": [
      "json",
      "text",
      "lcov",
      "clover"
    ],
    "detectLeaks": false,
    "detectOpenHandles": false,
    "errorOnDeprecated": false,
    "expand": false,
    "findRelatedTests": false,
    "forceExit": false,
    "json": false,
    "lastCommit": false,
    "listTests": false,
    "logHeapUsage": false,
    "maxConcurrency": 5,
    "maxWorkers": 11,
    "noStackTrace": false,
    "nonFlagArgs": [],
    "notify": false,
    "notifyMode": "failure-change",
    "onlyChanged": false,
    "onlyFailures": false,
    "openHandlesTimeout": 1000,
    "passWithNoTests": false,
    "projects": [],
    "rootDir": "/localpath/repro-next-vanilla-extract-jest",
    "runTestsByPath": false,
    "seed": -1675426185,
    "skipFilter": false,
    "snapshotFormat": {
      "escapeString": false,
      "printBasicPrototype": false
    },
    "testFailureExitCode": 1,
    "testPathPattern": "",
    "testSequencer"<EMAIL_ADDRESS>    "updateSnapshot": "new",
    "useStderr": false,
    "watch": false,
    "watchAll": false,
    "watchman": true,
    "workerThreads": false
  },
  "version": "29.6.1"
}
  console.error
    Error: Uncaught [TypeError: (0 , _Buttoncss.buttonStyle) is not a function]
        at reportException (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
        at invokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
        at invokeGuardedCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
        at beginWork$1 (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
        at performUnitOfWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
        at workLoopSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
        at renderRootSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
        at performConcurrentWorkOnRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
        at flushActQueue (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2667:24)
        at act (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2582:11)
        at /localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/act-compat.js:46:25
        at renderRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:161:26)
        at render (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:247:10)
        at Object.<anonymous> (/localpath/repro-next-vanilla-extract-jest/src/components/Button.test.tsx:6:39)
        at Promise.then.completed (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:300:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:233:10)
        at _callCircusTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:314:40)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at _runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:250:3)
        at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:125:9)
        at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:120:9)
        at run (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:70:3)
        at runAndTransformResultsToJestFormat (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
        at jestAdapter (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
        at runTestInternal (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:367:16)
        at runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:444:34) {
      detail: TypeError: (0 , _Buttoncss.buttonStyle) is not a function
          at /localpath/repro-next-vanilla-extract-jest/src/components/Button.tsx:5:45
          at renderWithHooks (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
          at updateForwardRef (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:19226:20)
          at beginWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:21636:16)
          at HTMLUnknownElement.callCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
          at innerInvokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
          at invokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
          at invokeGuardedCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
          at beginWork$1 (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
          at performUnitOfWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
          at workLoopSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
          at renderRootSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
          at performConcurrentWorkOnRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25738:74)
          at flushActQueue (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2667:24)
          at act (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2582:11)
          at /localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/act-compat.js:46:25
          at renderRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:161:26)
          at render (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:247:10)
          at Object.<anonymous> (/localpath/repro-next-vanilla-extract-jest/src/components/Button.test.tsx:6:39)
          at Promise.then.completed (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:300:28)
          at new Promise (<anonymous>)
          at callAsyncCircusFn (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:233:10)
          at _callCircusTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:314:40)
          at processTicksAndRejections (node:internal/process/task_queues:96:5)
          at _runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:250:3)
          at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:125:9)
          at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:120:9)
          at run (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:70:3)
          at runAndTransformResultsToJestFormat (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
          at jestAdapter (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
          at runTestInternal (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:367:16)
          at runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:444:34),
      type: 'unhandled exception'
    }

      4 | describe('Components/Button', () => {
      5 |     it('some test case', () => {
    > 6 |         const { baseElement } = render(<Button>Button</Button>);
        |                                       ^
      7 |         expect(baseElement).toMatchSnapshot();
      8 |     })
      9 | })

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at Object.<anonymous> (src/components/Button.test.tsx:6:39)

  console.error
    Error: Uncaught [TypeError: (0 , _Buttoncss.buttonStyle) is not a function]
        at reportException (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/helpers/runtime-script-errors.js:66:24)
        at innerInvokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:353:9)
        at invokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
        at HTMLUnknownElementImpl._dispatch (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
        at HTMLUnknownElementImpl.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
        at HTMLUnknownElement.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
        at Object.invokeGuardedCallbackDev (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
        at invokeGuardedCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
        at beginWork$1 (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
        at performUnitOfWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
        at workLoopSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
        at renderRootSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
        at recoverFromConcurrentError (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
        at performConcurrentWorkOnRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
        at flushActQueue (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2667:24)
        at act (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2582:11)
        at /localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/act-compat.js:46:25
        at renderRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:161:26)
        at render (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:247:10)
        at Object.<anonymous> (/localpath/repro-next-vanilla-extract-jest/src/components/Button.test.tsx:6:39)
        at Promise.then.completed (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:300:28)
        at new Promise (<anonymous>)
        at callAsyncCircusFn (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:233:10)
        at _callCircusTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:314:40)
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
        at _runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:250:3)
        at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:125:9)
        at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:120:9)
        at run (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:70:3)
        at runAndTransformResultsToJestFormat (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
        at jestAdapter (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
        at runTestInternal (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:367:16)
        at runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:444:34) {
      detail: TypeError: (0 , _Buttoncss.buttonStyle) is not a function
          at /localpath/repro-next-vanilla-extract-jest/src/components/Button.tsx:5:45
          at renderWithHooks (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:16305:18)
          at updateForwardRef (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:19226:20)
          at beginWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:21636:16)
          at HTMLUnknownElement.callCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
          at HTMLUnknownElement.callTheUserObjectsOperation (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
          at innerInvokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
          at invokeEventListeners (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
          at HTMLUnknownElementImpl._dispatch (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
          at HTMLUnknownElementImpl.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
          at HTMLUnknownElement.dispatchEvent (/localpath/repro-next-vanilla-extract-jest/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
          at Object.invokeGuardedCallbackDev (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
          at invokeGuardedCallback (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
          at beginWork$1 (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:27451:7)
          at performUnitOfWork (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26560:12)
          at workLoopSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26466:5)
          at renderRootSync (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:26434:7)
          at recoverFromConcurrentError (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25850:20)
          at performConcurrentWorkOnRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/react-dom/cjs/react-dom.development.js:25750:22)
          at flushActQueue (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2667:24)
          at act (/localpath/repro-next-vanilla-extract-jest/node_modules/react/cjs/react.development.js:2582:11)
          at /localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/act-compat.js:46:25
          at renderRoot (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:161:26)
          at render (/localpath/repro-next-vanilla-extract-jest/node_modules/@testing-library/react/dist/pure.js:247:10)
          at Object.<anonymous> (/localpath/repro-next-vanilla-extract-jest/src/components/Button.test.tsx:6:39)
          at Promise.then.completed (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:300:28)
          at new Promise (<anonymous>)
          at callAsyncCircusFn (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/utils.js:233:10)
          at _callCircusTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:314:40)
          at processTicksAndRejections (node:internal/process/task_queues:96:5)
          at _runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:250:3)
          at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:125:9)
          at _runTestsForDescribeBlock (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:120:9)
          at run (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/run.js:70:3)
          at runAndTransformResultsToJestFormat (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
          at jestAdapter (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
          at runTestInternal (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:367:16)
          at runTest (/localpath/repro-next-vanilla-extract-jest/node_modules/jest-runner/build/runTest.js:444:34),
      type: 'unhandled exception'
    }

      4 | describe('Components/Button', () => {
      5 |     it('some test case', () => {
    > 6 |         const { baseElement } = render(<Button>Button</Button>);
        |                                       ^
      7 |         expect(baseElement).toMatchSnapshot();
      8 |     })
      9 | })

      at VirtualConsole.<anonymous> (node_modules/jest-environment-jsdom/build/index.js:63:23)
      at Object.<anonymous> (src/components/Button.test.tsx:6:39)

  console.error
    The above error occurred in the <Button> component:

        at children (/localpath/repro-next-vanilla-extract-jest/src/components/Button.tsx:4:75)

    Consider adding an error boundary to your tree to customize error handling behavior.
    Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

      4 | describe('Components/Button', () => {
      5 |     it('some test case', () => {
    > 6 |         const { baseElement } = render(<Button>Button</Button>);
        |                                       ^
      7 |         expect(baseElement).toMatchSnapshot();
      8 |     })
      9 | })

      at logCapturedError (node_modules/react-dom/cjs/react-dom.development.js:18687:23)
      at Object.<anonymous> (src/components/Button.test.tsx:6:39)

Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Any inputs from maintainers or collaborators for this one? We'd really love to give VE a shot, but being unable to test basic components is a really big blocker / no-go.

Any inputs on this? Facing the same issues.

I just tested version 2.2.0 of @vanilla-extract/next-plugin created by @SukkaW but this issue still persist, nothing changed.
@mattcompiles could you please re-open this issue as #1105 did not fix this?

Thanks for the hint @arnarleifs, I also just tested 2.2.1 as well but still, same error.
I also guess that the issue is caused by the jest transformer in conjunction with next/jest.

Ah ok. Well hopefully it will be resolved soon then 🙂

I just tried to debug a bit deeper into the issue and found out that a) the VE Jest transformer gets loaded but b) the Next.js mapping rule for CSS files (see here) prevents the execution of the VE Jest transformer.
So I decided to temporarily comment out this line and ran into another issue:
  Styles were unable to be assigned to a file. This is generally caused by one of the following:

    - You may have created styles outside of a '.css.ts' context
    - You may have incorrect configuration. See https://vanilla-extract.style/documentation/getting-started

      1 | import { recipe } from "@vanilla-extract/recipes";
      2 |
    > 3 | export const buttonStyle = recipe({
        |                                  ^
      4 |     base: {
      5 |         display: "flex",
      6 |         backgroundColor: "white",

So it seems like the Jest transformer @vanilla-extract/jest-transform simply doesn't work with recipes, could any contributor or maintainer please leave some thoughts on this?

FWIW it seems like the jest transform doesn't actually process vanilla files. I've documented this here as an open question to the team; https://github.com/vanilla-extract-css/vanilla-extract/discussions/1158

May not be related but I kind of ran into a similar issue with craco. The way I solved (still testing it) was to put @vanilla-extract/jest-transform before any other transformer matching .ts
For context, here is the error I've got
  ● Test suite failed to run

    Styles were unable to be assigned to a file. This is generally caused by one of the following:

    - You may have created styles outside of a '.css.ts' context
    - You may have incorrect configuration. See https://vanilla-extract.style/documentation/getting-started

      3 | import { tokens } from './tokens'
      4 |
    > 5 | export const vars = createGlobalTheme(':root', tokens)
        |                                      ^
      6 |

then, after adding @vanilla-extract/jest-transform I ended up having this order
{
  '^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': './node_modules/react-scripts/config/jest/babelTransform.js',
  '^.+\\.css$': './node_modules/react-scripts/config/jest/cssTransform.js',
  '^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)': './node_modules/react-scripts/config/jest/fileTransform.js'
  '\\.css\\.ts$': '@vanilla-extract/jest-transform', // <- last
}

but, still the same error, so I decided to move it first
{
  '\\.css\\.ts$': '@vanilla-extract/jest-transform', // <- first
  '^.+\\.(js|jsx|mjs|cjs|ts|tsx)$': './node_modules/react-scripts/config/jest/babelTransform.js',
  '^.+\\.css$': './node_modules/react-scripts/config/jest/cssTransform.js',
  '^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)': './node_modules/react-scripts/config/jest/fileTransform.js'
}

here's my craco.config.js file for future reference (I tend to forget things)
const { CracoAliasPlugin } = require('react-app-alias')
const { VanillaExtractPlugin } = require('@vanilla-extract/webpack-plugin')

module.exports = {
  plugins: [
    {
      plugin: CracoAliasPlugin,
      options: {},
    }
  ],
  webpack: {
    plugins: {
      add: [
        new VanillaExtractPlugin(),
      ],
    },
  },
  jest: {
    configure: (jestConfig) => {
      jestConfig.transform = {
        ...{ '\\.css\\.ts$': '@vanilla-extract/jest-transform' },
        ...structuredClone(jestConfig.transform),
      }
      return jestConfig;
    },
  },
}

hope that helps to solve your case

Thanks for the hint @arnarleifs, I also just tested 2.2.1 as well but still, same error. I also guess that the issue is caused by the jest transformer in conjunction with next/jest.

Hey, any luck with this ?
I get this error too in my next project.
Error: Uncaught [TypeError: (0 , _Buttoncss.buttonStyle) is not a function]

Would have loved for config below as per Vanilla-extract docs to work right away 😬
{
  "transform": {
    "\\.css\\.ts$": "@vanilla-extract/jest-transform"
  }
}

The same problem occurs in a project with a combination of react + vanilla-extract + jest.

I'm running into the same issue. Any updates on this?
TypeError: (0 , _PlayTextcss.PlayTextStyles) is not a function

Have the same problem. Not finding a solution anywhere. Any update on this?

We are also experiencing the same issue at our organization where the @vanilla-extract/jest-transform plugin is not working with next/jest.js. Whenever we try to run a React component test, we get the following error:
Error: Uncaught [TypeError: _Buttoncss. button is not a function]

I hope the team can find time to address this issue or point out how to fix it.

There was no input from contributors on this issue in the last year. If someone would have sufficient knowledge in the next/jest package and VE itself I'm sure one could propose corresponding PRs to fix the issue based on my last findings from august 2023.


Asset installer paths

On the project use the following settings:
 "extra": {
     "asset-installer-paths": {
         "npm-asset-library": "vendor/npm",
         "bower-asset-library": "vendor/bower"
     }
 }

The assets are downloaded to vendor/bower/bower-asset
This is correct behavior?

Update your composer asset plugin to v1.1.1.

Thank you. Works.


Version bump

There are bunch of features and fixes since 0.1.1, so I suggest
bump to 0.1.2.

Sorry, seems I was not subscribed to my own repo, so I was missing updates! Will definitely bump the version soon. cc. #25

0.2 is now on crates.io! See #35


[Task]: 3. Add warning icon to profile badge / icon

Task description
On the profile list view, we should display a warning badge/icon if a profile is not on the latest stronghold version
Requirements

Add warning icon variant to profile badges (used in profile list and enter pin views)
Add tooltip on hover
Add locales

Creation checklist

[ ] I have assigned this task to the correct people
[X] I have added the most appropriate labels
[X] I have linked the correct milestone and/or project

🚫 blocked
PR with mocked data is opened as a draft, waiting for #6006 to get done and then the working condition can be added to #6084


chore: fix the triple-beam workaround

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

(You didn't link to the original PR that got reverted nor to the upstream fix)


Brazilian Portuguese translation megapack.

Yet another translation commit.
But now, some changes in view files happens too, because some sentences was hardcoded in english language. Now, some of these hardcoded sentences is changed to use translation feature with default value (the default value is just the hardcoded sentence).
Onboarding is now fully customizable to another languages.  :smiley:
The brazilian portuguese version of onboarding...

Why have so many parts of schema.rb been removed?

I really don't know what happens. I think is anything about my constant drop, migrate and seed in database. I've made some others changes in Helpy in paralells of translation work, but these changes aren't ready to commit.

Wow @Rynaro this is really awesome.  Thanks for taking the time to do it.  I am on vacation this week so I won't be able to review or merge it in until middle of next week but will once I return.
@CGA1123 I am thinking it may be related to my own work on some new features too, and have some extra tables in one of my local branches which got introspected into the schema.rb by accident at one point.


1.2.1 OSX El Cap: Reopen loop after copying to Applications folder

VSCode Version: fe7f407b95b7f78405846188259504b34ef72761
OS Version: OS X 10.11.5

Steps to Reproduce:

Download VSCode
Decompress
Copy result to Applications folder

Result: App gets stuck in a loop: "This window has crashed: Close, Reopen". Selecting Reopen results in a loop.
App runs fine if I don't copy to Applications folder.

@jcollum can you open the "Console" application and look for crash dumps under "User Diagnostic Reports"?

I can't recreate it now. I opened a folder yesterday when the app was in my ~/Downloads folder, that might be related. The app now opens and shows the last folder I opened. How do I wipe all the data that the app is storing on my machine? $ rm -rf ~/.vscode didn't do it.

@jcollum there is also $HOME/Library/Application Support/Code/ but deleting that, you should backup the User folder inside and restore it later.

Closing assuming the issue is gone.

I don't think this should be closed yet. If the app is hitting a bug that is solved by opening a folder before placing the app in the Applications folder that is a legit bug.

there is also $HOME/Library/Application Support/Code/

That appears to have much much more thank VSCode data. I don't want to delete it, even with a backup. Please point me to the VSCode folder inside that directory.

Should be all code related, here is the contents for me:
![image](https://cloud.githubusercontent.com/assets/900690/16692844/e0f07982-4532-11e6-88de-914999cef885.png
I would keep it open if we have steps to reproduce, that is the absolute minimum.

I see, the folder called Code is for VSCode. Don't you think that's  a bit confusing?
Tried $ rm -rf "$HOME/Library/Application Support/Code/"; rm -rf ~/.vscode and re-copying the app. Couldn't reproduce. I guess keep it closed. It is strange, this bug happened to me 4 times yesterday, but none today. It went away after I opened a folder with VSCode.


How to join tables across multiple schemas

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
Not applicable

Description
Hi there, it is possible to join tables that are 'within' the same database but 'in different' schemas?
Lets say I have two schemas: A and B
For schema A I have full control and populate it with tables with SQLModel; e.g.
class Sample(SQLModel, table=True):
    __table_args__ = {"schema": "A"}

    id: Optional[int] = Field(default=None, primary_key=True)
    key: int

For schema B I only have read rights. The table of interest named Order within schema B looks like this:
Order
id   | key |
=============
1    | 435
...  | ....

Now I would like to join my Sample table within schema A with the Order table within schema B.
From my understanding I should implement the Order table as pydantic model which I can use then in my SQL Statement powerd by SQLModel
class Order(SQLModel):
    __table_args__ = {"schema": "B"}

    id: Optional[int] = Field(default=None, primary_key=True)
    key: int

statement = select(Sample).join(Table, Sample.key == Order.key)

However, this seems not to work. Any help would be highly appreciated
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.7
Python Version
3.8.1
Additional Context
No response

It works fine, at least in postgresql.
Try the following.
select(<some column>, ...).select_from(
    join(
        <left_table>,
        <right_table>,
        and_(
            <join_condition>, ...
        ),
    )
)

@phi-friday thanks for confirming that it should work like theoretically. In the end it turned out that I forgot to set table=True for the Order Model

Thanks for the help here @phi-friday ! 👏  🙇
Thanks for reporting back and closing the issue @christianholland  👍


hash css classname without webpack setup

🚀 Feature request
Command (mark with an x)

[ ] new
[x] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
ng serve --hashCssClass
ng build --hashCssClass
Describe the solution you'd like
 If you have a solution in mind, please describe it.
We will have configuration in angular.json there we can choose what we want. Modules: post css loader
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?
i see for react that they use eject and reconfigured the postcsss loader

Can you please provide additional background and use cases for the feature request?
Please also note that Angular components automatically support view encapsulation for styles.  For additional information regarding view encapsulation, please see https://angular.io/guide/view-encapsulation.

with that bundle size can be reduce lets i have class name
.dashobard-container
.g-d-c
example : https://www.google.com/amp/s/www.freecodecamp.org/news/reducing-css-bundle-size-70-by-cutting-the-class-names-and-using-scope-isolation-625440de600b/amp/
inspiration from all google site you cant say anything by reading the class name.

Thanks for this request @indraraj26,
The CSS class hashing is typically used to tackle CSS encapsulation, Angular already provides an out-of-box solution for this which doesn't require any additional tooling for it to work.
While in some cases, it will reduce the size of the CSS bundle, it's also important to mention that in many cases it will result in actually increasing the size of the CSS because something like;
:local(.className) {
  background: red;
  color: yellow;
}

:local(.subClass) {
  composes: className;
  background: blue;
}

Will be converted to
._23_aKvs-b8bW2Vg3fwHozO {
  background: red;
  color: yellow;
}

._13LGdX8RMStbBE9w-t0gZ1 {
  background: blue;
}

This approach is also typically used with TSX/JS where you statically reference the CSS class into your JavaScript example;
file.css
.button {
  font-size: 16px;
}

component.js
import style from './file.css';

document.body.innerHTML =  `<div class=${style.app}></div>`;

In the above post you mentioned Google applications. The goal here is indeed to reduce the size and this is possible because some applications in Google use Closure Stylesheets which is extension to CSS which makes CSS class renaming possible when used with Closure Compiler, that being said, AFAIK, Closure Stylesheets is being replaced with standard SASS inside Google.
To sum it up, indeed there are cases why renaming CSS classes can reduce the file size, but for this to work properly you need to write your code in a certain way and use specific tooling. I don't see this being part of Angular CLI roadmap anytime soon.


Lineage.py_get_schnitz() crashes the kernel if called with an out-of-bounds index.

For a Lineage object my_lineage, my_lineage.py_get_schnitz(my_lineage.py_get_size()) will attempt to access my_lineage.c_schnitzes -- which is a Cython array -- out of bounds, which crashes the kernel instead of throwing an exception. Needs an array bounds check to fail gracefully.

excellent catch! We should fix this. I wonder if there are other places where this kind of thing happens. Any thoughts on how to check through all the vectors?

This one in particular can be fixed by checking bounds against the length
of the python version of the schnitzes array... which I think makes it just
as slow as just returning a Schnitz directly from the python array?

Fixed with PR merge to dev


Wrong link path to enum members

Description for enum members not generated, and it is not necessary. But links to enum members must be reworked.
example:
enum X { A, B };

now reference of X.A navigate to package.module.X.A.html
but must naviage to package.module.X.html
this only for enums

Should be fixed by aa0ed6d4383f19e3f94c13ed143e64dce0862006.


Fix Fucking Random Algorithm

If you do this:
QuizData = 'asdfasdfewfhdsafkj'
while (Math.floor(Math.random() * (QuizData.length - 1)) !== (QuizData.length - 1)) {
  console.log('doing')
}

you can make endloop. (that means it doesn't make the end of the array)
but if you do this
QuizData = 'asdfasdfewfhdsafkj'
while (Math.floor(Math.random() * QuizData.length) !== (QuizData.length - 1)) {
  console.log('doing')
}

It ends in a very short time.


Using the exception mapping filter

The documentation says it is required to use ExceptionMappingFilter in the filter chain. Also, CommonFilters has that filter included already.
Looking at the example in the documentation, it has CommonFilters and ExceptionMappingFilter in the same chain. Surely this is a conflict unless I'm missing something.
Perhaps, the docs should be updated with ExceptionMappingFilter removed from the chain but a note made that it isn't added  because CommonFilters already includes it. Happy to send a PR for this.

@fayimora thanks! The examples in the docs are meant to be illustrative and while it isn't expected that you can just copy this we can definitely fix this line.

@fayimora this has been addressed. See: http://twitter.github.io/finatra/user-guide/build-new-http-server/exceptions.html
Thanks!

That was quick. Thanks @cacoco !


Check WMArchive doc size and cut off big docs

Fixes #11960
Status
In development
Description
Provide check for newly created WMArchive document before sending them to WMArchive service. The size threshold can be configured and by default equal to 8MB (current threshold on CMSWEB nginx). To avoid flooding log with very large docs a short version of the WMArchive document (a slice) is provided and printed out to the logger together with full size of the document and used threshold.
Is it backward compatible (if not, which system it affects?)
YES
Related PRs
External dependencies / deployment changes

A better solution would be to find the worst offender field, truncate it and move on with document injection.

Alan, I doubt your suggestion for better solution stands. We still need to find what is causing large data size and for that we need somehow to identify rejected docs. Without actual details how you want to hunt for worst offenders (please keep in mind that we may have combination of fields contributing to large data size) I think there is no such solution, we still need to reject and dump these docs to get full sense of the actual issue.

@amaltaro , @anpicci should we resume this activity? I requested review of this PR once again, please give me your feedback should I proceed with it or not.

@vkuznet given that these changes are in a very initial state and that the original issue (WMAgent flaw on getting last 50 lines of log) was resolved, how about we close this out?
When time comes, we can track such developments with a new ticket: https://github.com/dmwm/WMCore/issues/12043

As briefly discussed in the issue, I am closing this PR. Eventually we will revisit all this WMArchive integration. Thanks Valentin!


Conversion to Es6

I wonder if there is any problem before we start implementing the functionality described in #5  to convert your entire base to es6 and a more modular formatting for the functions?

Currently I'm trying to limit my use of es6 to what is supported by node.js and the most popular browsers. The main reason for this is to keep the tool-chain requirements minimalistic (this is the philosophy i've maintained for all the @voltraco work, so far) That said, there might things that can be brought up to date?

Yes, we can use features that do not break the compatibility, like arrow function, class, conts, let etc ... are simple changes that will make the syntax leaner and improve the performance of the plugin, what do you think? If you'd rather not for me without problems.

Huge +1 👍

Beauty in a few weeks I'll send a pull request with this change after we start to figure out how we'll do the formatters plugin, it's going to take about 3 weeks. I'm in the middle of a project and I have to conclude it first, but in the meantime I'm already thinking about the best approach. :smile:


Issue while Reading Excel file with Image

Not able to read image file in the excel file.
Reading Excel File having image.

var openFile = function (event) {
var input = event.target;
var reader = new FileReader();
reader.readAsBinaryString(input.files[0]);
var data = reader.result;
var workbook = XLSX.read(data, {
type: 'binary'
});
// Doing Some modification in excel file then writing the same
var wbout = XLSX.write(workbook, {
bookType: 'xlsx',
type: 'binary'
});
// Download the file
function s2ab(s) {
var buf = new ArrayBuffer(s.length);
var view = new Uint8Array(buf);
for (var i = 0; i < s.length; i++) view[i] = s.charCodeAt(i) & 0xFF;
return buf;
}
saveAs(new Blob([s2ab(wbout)], {
type: "application/octet-stream"
}), 'test123.xlsx');
}

https://github.com/exceljs/exceljs  this project has already solved this problem,you can try this

Image support is offered in the Pro compendium (our paid offering). The Community version is primarily focused on data preservation.
https://gist.github.com/SheetJSDev/24b8acd317d01999d721b38de7c53021 is our general commentary.  See https://sheetjs.com/pro for more info


Collision Filtering already working?

Hi,
I want to do custom Collision Filtering and I am unsure if that is meant to work already. I saw a unit test (ContactModifyCallbackTest.cs) in the sources, but it also states "Not finished yet".
Is just the test code not finished yet or is there still work to do in PhysX.Net?
If Collision Filtering is already available I'd be very thankful for a little piece of example code.
Thanks

I'd say there's still work to do on getting collision filtering working. Not sure how tricky or how much more work is involved though

Well, after adding PairFlag.ModifyContacts to the (Sample)FilterShader, I got the ContactModifyCallback working! The contacts are reported and can be modified. I guess the term "shader" is misleading as the code won't be executed on the GPU anyway.
I could not get the DefaultFilterShader working. As far as I understood, that one should be used if no user-defined SimulationFilterShader is defined for the scene. I guess that internal DefaultFilterShader does not specify the PairFlag.ModifyContacts.
There seem to be still some fields missing in the wrapper, e.g. for the filter variables (PxGet/SetFilterBool, PxPxGet/setFilterConstants), but I don't know how useful this DefaultFilterShader is anyway.
I think I can now write my own SimulationFilterShader that takes the actors' group ID into account. Something like the original PxDefaultSimulationFilterShader
Thanks a lot.


Is safe to read values in parallel from a const_array with cache_size=0 ?

Hello everyone.
I was wondering if would be safe to read in parallel from a const_array? There is no classes like private_const_view  for const_arrays. However the  const_array classes  appears to have a similar structure with the array classes that needs to have a private cache to be read in parallel safely.
thanks

I was mistaken, is possible to use the private_const_view with the const_array classes

const_array classes do indeed support private_const_view, e.g.,
https://github.com/LLNL/zfp/blob/c4f175667568b70462de8d806a63773b3eb1fff7/include/zfp/constarray1.hpp#L42
This is the only way to access a const_array in a thread-safe manner.  Here's a simple example:
#include <iostream>
#include <omp.h>
#include "zfp/constarray1.hpp"

int main()
{
  // initialize 1D array to linear ramp
  const size_t n = 100;
  double field[n];
  for (size_t i = 0; i < n; i++)
    field[i] = i;

  // initialize fixed-precision const_array, a
  zfp::const_array1d a(n, zfp_config_precision(10), field);

  // output const_array in parallel
  #pragma omp parallel
  {
    // obtain a thread-safe view, v, of a
    zfp::const_array1d::private_const_view v(&a);

    // determine loop bounds for this thread
    int thread = omp_get_thread_num();
    int threads = omp_get_num_threads();
    size_t min = (thread + 0) * n / threads;
    size_t max = (thread + 1) * n / threads;

    // loop over indices assigned to this thread
    for (size_t i = min; i < max; i++) {
      double val = v(i);
      // serialize output
      #pragma omp critical
      {
        std::cout << i << " " << val << std::endl;
      }
    }
  }

  return 0;
}

Specifying cache_size=0 merely sets the cache size to its default of roughly √n elements for an array with n elements and is unrelated to thread safety.

Hello @lindstro thank you detailed reply.


Custom node's input element doesn't auto focus upon node creation.

Describe the Bug
I have a custom node with an input element within it. I would like to autofocus on the input element when the node is first created. I have taken the callback ref approach here, but earlier I tried useRef along with useEffect; no luck there as well.
const inputRef = useCallback((ref: HTMLInputElement) => {     if (ref != null) {       ref.focus();     }   }, []);
Please refer to my minimal example.
Thanks.
Your Example Website or App
https://codesandbox.io/s/admiring-wave-ul6zei?file=/src/CustomNode.tsx
Steps to Reproduce the Bug or Issue

Click on 'Add Node' button.
Verify that the input element in the node doesn't get focused upon creation.

Expected behavior
Input element should get focused.
Screenshots or Videos
No response
Platform

OS: [WSL2 Windows 10]
Browser: [Chrome]
Version: [latest]

Additional context
No response

Using a class component for the custom node resolved my issue.

I'm not entirely well versed with React enough to know why a class component would have worked vs a functional one - but it doesn't seem right that that's the correct fix. Are there any other resolutions to this issue? I'd prefer to not convert this node over to a class component while the others remain functional components just because I want to autofocus on the text input field after creation.

I have the same trouble, and I can't fix it by a class component. Could you update the code in your sandbox? Thank you! @bsaranga

I have the same trouble, and I can't fix it by a class component. Could you update the code in your sandbox? Thank you! @bsaranga

I fixed that by hook useNodesInitialized. The function component works fine.


Conversation StartOnEnter is always true

Describe the bug
At the moment it is not possible to enable a callee to join a conversation as an attendee. Everyone joins as the moderator.
The differentiator between moderator and attendee is indicated by the property ConversationAction.StartOnEnter.
The default value in the object model for that property is true as documented here.
However JsonSerializerSettings are configured with DefautValueHandling = DefaultValueHandling.Ignore link.
This leads to the situation that all boolean properties of an object with a value of false are not written to the HTTP response. Since that property isn't written to the HTTP response and the default value for that property in the object model is true, it is not possible to produce a ConversationAction with a value of false for StartOnEnter.
Hence no one joins as an attendee and the music on hold is nevery played.
To Reproduce
Steps to reproduce the behavior:

Create a ConversationAction with StartOnEnter = false

var action = new ConversationAction
{
    Name = "some-name",
    StartOnEnter = false,
    MusicOnHoldUrl = new [] { "https://nexmo-community.github.io/ncco-examples/assets/voice_api_audio_streaming.mp3" }
};

Serialize

new Ncco(action).ToString();

Expected behavior
[
    {
        "action": "conversation",
        "name": "some-name",
        "startOnEnter": false,
        "musicOnHoldUrl": [
            "https://nexmo-community.github.io/ncco-examples/assets/voice_api_audio_streaming.mp3"
        ]
    }
]

Actual behavior
[
    {
        "action": "conversation",
        "name": "some-name",
        "musicOnHoldUrl": [
            "https://nexmo-community.github.io/ncco-examples/assets/voice_api_audio_streaming.mp3"
        ]
    }
]

Additional context
NuGet package version:
<PackageReference Include="Vonage" Version="6.7.0" />

If you want to workaround the issue inherit from ConversationAction and decorate a property with the same name.
public class CustomConversationAction : ConversationAction
{
    [JsonProperty("startOnEnter")]
    [DefaultValue(true)] // necessary! otherwise the musicOnHold won't be played
    public new bool StartOnEnter { get; set; }
}

var action = new CustomConversationAction
{
	Name = "some-name",
	StartOnEnter = false,
	MusicOnHoldUrl = new [] { "https://nexmo-community.github.io/ncco-examples/assets/voice_api_audio_streaming.mp3" }
};

new Ncco(action).ToString()

Hi @MarcusKohnert,
Thanks for your feedback! I'm going to look into that as soon as possible.
Do you know if the issue was there before? Or has it been introduced recently?

Hi @Tr00d,
thanks for looking into the issue.
I'm afraid I can't tell you whether that issue has been introduced recently.
Today was my first try using the conversation object.

@MarcusKohnert The fix has been released under v6.7.1 and should be available for you.
Please update the package, and let me know if it works out

Works as expected.


Timeout in Cortana channel

Hi, we are using a bot on the Cortana channel and we are sending a reply with InputHint = InputHints.ExpectingInput in single turn replies.
The issue is that the Cortana text box stays as "Thinking" followed by a timeout message (see attached screenshots). I tried with IgnoringInput and I have the same issue.
Also, I'm not 100% sure that it is the same problem but the WebChat shows user messages as Sending... and never changes to Sent.
Is this a known issue?

The problem is most likely that your bot logic took longer than 10 seconds to execute.  Are you performing some sort of long running query?

Thanks for the time Steve, as we discussed the issue is that my code seems to be sending IgnoringInput instead of AcceptingInput at the end of the flow, I will fix that.


WRKLDS-1421: Add cluster-monitoring annotation in namespace

Without this annotation in openshift-cli-manager-operator namespace, prometheus rejects to collect metrics.

/cherry-pick release-4.17


Allow instantiation with file objects.

name: Pull request
about: Submit a pull request for this project
assignees: fabiocaccamo

Allow instantiation with a file object.
Checklist before requesting a review

[x] I have performed a self-review of my code.
[x] I have added tests for the proposed changes.
[x] I have run the tests and there are not errors.

I've added just a as_bytes(), leaving to the user to write to their file-object. Let me know if you'd rather (or also) have a method accepting a fileobject to write to.

on a second thought, I think I like your idea better. I've named the method write_to, it just sounds more natural. Let me know what you think!

@fcurella just published 0.15.0 version on pypi, thank you again for this good PR.


Adding more outputs to Faster R-CNN

🚀 Feature
In addition to the current output from the Faster R-CNN model, where only the detections after NMS are given out, adding outputs from before the NMS for deeper insight in class distributions.
Motivation
After training the network on a custom dataset (with good results actually!), I had found several false positives and wrongly classified objects. It would be useful to me to get a deeper insight how the score for the real object class is and use the class distribution for further processing.
Pitch
My idea (proposal):
Adding 3 more keys to the output dictionary.
E.g. "boxes_raw", "labels_raw" and "scores_raw" with outputs from before the NMS.

boxes_raw [N, num_classes, 4]
labels_raw [N, num_classes]
scores_raw [N, num_classes]

Alternatives
None from my side so far. Would love to hear other approaches

Hi,
You can attach forward hooks to the model so that you can obtain the intermediate outputs that you want.
Here is an example:
import torch, torchvision
model = torchvision.models.detection.fasterrcnn_resnet50_fpn()
model.eval()

# location where the outputs will be originally stored
o = []
# register forward hook to get the outputs before filtering
hook = model.roi_heads.box_predictor.register_forward_hook(lambda module, input, output: o.append(output))

# do a forward to retrieve
r = model([torch.rand(3, 200, 200)])

# the intermediate outputs will be appended to tensor o
intermediate_output = o.pop()

# can now print what it gives
print(intermediate_output[0].shape, intermediate_output[1].shape)
#torch.Size([1000, 91]) torch.Size([1000, 364])

and you can do your custom processing on this.
I believe this is currently the best way of returning this intermediate outputs, and allows you to get more information than what you have requested (for example, the outputs of the pooled features before passing through the classifier).
I'm closing this issue, but let us know if you have further questions.


yamlinvaders example does not work

What is the issue?
Our quickstart recommends a few daggerverse modules, including yamlinvaders, but this module does not start up anymore. We should either fix this module, or remove the example from the docs.

Play a game of yamlinvaders: dagger -m github.com/sipsma/daggerverse/yamlinvaders call play terminal

Apologies for the noise, this module does work, it just takes a bit longer to start up :)


Bug when calling same animation += (ie background-position +=50px) on completion, reverts back to initial value instead of keeping new value

This code in Jquery correctly moves the background 50px and then another 50px on repeat:
function moveBackground(){
$('#div').animate({'background-position': '+=50'}, 1000, moveBackground)
}
moveBackground()
The same code with velocity() incorrectly resets the background-position back to the initial value before adding the 50px.
Here is a CodePen:
http://codepen.io/anon/pen/yyzgzP

Thanks! @julianshapiro looks like a bug

To follow up on this, after further reading the docs, looks like you need to use the 'backgroundPositionX' property and not the 'background-position' according to the "one numeric value per property" velocity rule. I will close the issue.


update MPS support docs

What does this PR do?

update MPS support docs

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Retrieve entities from store using same filters as GraphQL queries

Do you want to request a feature or report a bug?
Feature
What is the current behavior?
Can only retrieve entities by ID
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
What is the expected behavior?
I would like to retrieve entities using the same filters as the Graph QL queries.

appears to be a duplicate of https://github.com/graphprotocol/graph-node/issues/1304#event-2738691991


Quit Translation error

https://github.com/ontio/OWallet/blob/4beff07361a7bde68a2301374570ac35233149fe/src/main/index.js#L99

Fixed. Thanks.


Fix Google Authentication

Google removed the ability to allow less secure apps, so either the README needs to be updated to allow them (not preferred) or some form of authentication needs to be implemented (preferred).
This should still other email servers, so shouldn't be adjusted to only support GMail

This can be worked around in the meantime by setting the password in the config to a 16-digit app password.
Instructions for doing getting an app password can be found here


error in RStudio conda environment

Hi,
i am using RStudio from a conda created environment. I installed rlang and featuretable using the introction in the gitpage.
the featuretable library was installed and loaded succesfully. I could construct a featuretable object and make a plot using the built-in function. However, i had troubles using the core_microbiome function.
Here is the error:
>  core_microbiome(pond_ft, detection_limit = 20, min_sample_proportion = 0.2)
Error in keep_helpers$expr_has_query_function(rlang::enexpr(predicate)) :
  TODO NEEDED AN EXPRESSION

Could you help me with this?
Best,

Hey could you try an make a minimum reproducible example?
If you install the reprex package you can do something like this:

Put all of your input files in a subdirectory of the directory you're currently working in, eg if you're current working directory is analysis, then make a directory analysis/bug_reprex, and put the input file(s) there.
Then run the reprex function around the minimum amount of code that triggers the bad behavior.  E.g., something like this:

library(reprex)

reprex(
  {
    library(featuretable)
    pond_ft <- ... put code you used to make the feature table here ...
    core_microbiome(pond_ft, detection_limit = 20, min_sample_proportion = 0.2)
  },
  # This sets the working directory so reprex knows where the files are
  wd = "bug_reprex",
  # This gives nice output to paste into GitHub issues
  venue = "gh",
  # This will show me your current session info
  session_info = TRUE
)

Then you can zip the bug_reprex outdirectory with the input files and send them to me. (Or if there is only one input file needed, just send that.)
And also paste the reprex output into this GitHub issue so I can try and reproduce your problem.

If at all possible, it is helpful to reduce the size of the input file(s) (eg reduce the number of rows and columns).  If the smaller file also triggers the error, send that instead of the full input file(s).  If it works on the smaller file, then the full file is okay to send.
Let me know if you can do that, and we can go from there!

Actually, I have a feeling you may have rlang version >= 1.0.   I am not with that computer now but what version of rlang should I use?

I think as long as rlang version is < 1.0, it should be okay.  There was a change in how the rlang::is_expression in version 1 of rlang that I think could be the cause of your error.

@mooreryan I am having the same issue and have attempted rolling back rlang to 0.4.12, 0.4.11, 0.4.5, and 0.4.1. All of the attempts result in the same error.
Error in keep_helpers$expr_has_query_function(rlang::enexpr(predicate)) :    TODO NEEDED AN EXPRESSION

Wow, you are correct. Rstudio is saying v0.4.12 after running
install.packages("https://cran.r-project.org/src/contrib/Archive/rlang/rlang_0.4.12.tar.gz", repos=NULL, type="source")
yet the session is still 1.0.2! It seems that it wasn't detaching and unloading since several other loaded packages utilize it as a dependency. Upon starting a new session, the core_microbiome function works.

The problem line is this one: https://github.com/mooreryan/featuretable/blob/083f3f506a68762c288fca85a6718eae4d1b2568/R/feature_table.R#L1237
That file has the main R6 class...the other files in that directory are mostly S3 wrappers.
Regarding how to fix it: The info about the breaking change is here (here's the relevant part)

is_expression() now returns FALSE for manually constructed expressions that can't be created by the parser. It used to return TRUE for any calls, including those that contain injected objects.
Consider using is_call() or just remove the expression check. In many cases it is fine letting all objects go through when an expression is expected. For instance you can inject objects directly inside dplyr arguments:
x <- seq_len(nrow(data))
dplyr::mutate(data, col = !!x)

I actually have not thought through the implications for either one of these suggested fixes yet, however.  But it could be as easy as removing the expression check like they say.  You could try doing that and see what happens.  featuretable has a pretty extensive test suite, so you could try running the test suite after you change it and see if anything breaks.
Unfortunately, I don't have any detailed docs to help someone get started with hacking on the codebase, but you will at least need to install some additional deps if you want to run the tests.

This is fixed in the latest release.


[FLINK-28247][hive] fix "no any field presented in group by" exception when over window contains grouping function in Hive dialect

What is the purpose of the change
To fix the exception "no any field presented in group by" when over window contains grouping function in Hive dialect like
SELECT grouping(category), lag(live) over(partition by grouping(category)) FROM t GROUP BY category, live
Brief change log

Not to rewrite group function again when it has been rewritten. The main changes logic is from HIVE-15996

Verifying this change
Added test in HiveDialectQueryITCase.java#testWindowWithGrouping
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving):  no
The serializers: no
The runtime per-record code paths (performance sensitive):  no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper:  no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature?  no
If yes, how is the feature documented? N/A

@flinkbot run azure

Thanks @luoyuxia for fixing the issue. Should we also add test cases for grouping function with multiple parameters?

@lirui-apache Thanks for reminder. I add a test for it to make sure this changes won't break such case.

@flinkbot run azure

@flinkbot run azure

I don't think the e2e test failure is related but I guess we need a green run to merge. @luoyuxia could you post your own CI result if it's successful?

@flinkbot run azure

@lirui-apache The CI is passed now~


Spring Cloud Vault with GCP-IAM Auth Method for multiple projects

SpringCloudVersion is 2020.0.0.
Good day,
I have 2 projects in one of them is my GKE cluster with deployed Vault. And everything is working fine for application also running inside this cluster, it's able to get secrets and etc. Config was done using this docs.
We use workload identity for applications running inside GKE.
The issue is, that I can't authenticate using service account inside another project. I get such kind of errors inside my application:
[RequestedSecret [path='secret/secret_path', mode=ROTATE]] Lease [leaseId='null', leaseDuration=PT0S, renewable=false] Cannot login using GCP-IAM: could not find service account 'projects/-/serviceAccounts/<service_name>': googleapi: Error 403: Permission iam.serviceAccounts.get is required to perform this operation on service account projects/-/serviceAccounts/<service_name>., forbidden; nested exception is org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error: [{"errors":["could not find service account 'projects/-/serviceAccounts/<service_name>': googleapi: Error 403: Permission iam.serviceAccounts.get is required to perform this operation on service account projects/-/serviceAccounts/<service_name>., forbidden"]} ]
And such kind of errors when I try to login via GCP console:
vault login -method=gcp role="my-iam-role-preprod" service_account="sa_name" project="project_id" jwt_exp="15m"<EMAIL_ADDRESS>Error authenticating: Error making API request.
URL: PUT <vault_addr>/v1/auth/gcp/login Code: 500. Errors:
could not find service account 'projects/-/serviceAccounts/<sa_name>': googleapi: Error 403: Permission iam.serviceAccounts.get is required to perform this operation on service account projects/-/serviceAccounts/<sa_name>., forbidden
I have this sa inside this project and I have Service Account Token Creator role assigned.
In main project I have the same role assigned to application sa(we use workload identity) and Browser // Service Account Key Admin roles assigned to service account, which is used by Vault server itself.
My bootstrap.properties file looks like this:
spring.application.name=<name_of_app>
spring.cloud.vault.uri=<vault_addr>
spring.cloud.vault.authentication=GCP_IAM
spring.cloud.vault.gcp-iam.role=${VAULT_IAM_ROLE} #role created on vault side for IAM auth
spring.cloud.vault.gcp-iam.service-account-id=${VAULT_IAM_SA} #sa used for IAM auth
spring.cloud.vault.gcp-iam.project-id=${VAULT_SA_PROJECT_ID} #project id for IAM auth
spring.cloud.vault.generic.enabled=false
spring.cloud.vault.fail-fast=false
spring.cloud.vault.kv.enabled=true
spring.cloud.vault.kv.backend=secret
spring.cloud.vault.kv.profile-separator='/'
spring.cloud.vault.kv.default-context=<name_of_app>
spring.cloud.vault.kv.application-name=<name_of_app>
I can share more detailed config info, in case if it will be needed.

We integrate with the Google authentication API as described in the Vault docs. We cannot really help much in terms of Google API specifics. If you can provide the correct Google API method call, then we can see what we can do from the given input data.

Hi @mp911de,
thanks for reply. There isn't any information(at least I wasn't been able to find any) about cross project authentication to Vault.
From logs I can see such request, for example:
"[RequestedSecret [path='secret/ng-platform-srv-dictionary', mode=ROTATE]] Lease [leaseId='null', leaseDuration=PT0S, renewable=false] Cannot sign JWT; nested exception is com.google.api.client.googleapis.json.GoogleJsonResponseException: 404 Not Found
POST https://iam.googleapis.com/v1/projects/-/serviceAccounts/${VAULT_IAM_SA}:signJwt
Application is doing some API request like this above, I add permissions and $VAULT_IAM_SA variable and after this I got issue, mentioned above:
Cannot login using GCP-IAM: could not find service account 'projects/-/serviceAccounts/<service_name>': googleapi: Error 403: Permission iam.serviceAccounts.get is required to perform this operation on service account projects/-/serviceAccounts/<service_name>., forbidden; nested exception is org.springframework.web.client.HttpServerErrorException$InternalServerError: 500 Internal Server Error:

We do not support multiple Google Projects or multiple tokens. That's something you need to handle on your own.


Use _id for Graphback types

_id: ObjectID!

Ping @ssd71
We have custom mongo service in this project to give us flexibility.
We can use this to test Mongo implementation with batching filtering etc.
Working with @craicoverflow to bring early version of advanced filtering that works on postgress so eventually, we can collaborate and get the same capabilities for mongo.
See: https://github.com/aerogear/graphback/pull/1211


Travis CI broken

🐞Describe the bug
Travis CI is broken with OpenSSL package error
Trace
Full log here
https://travis-ci.org/onnx/onnx-coreml/jobs/622047586?utm_medium=notification&utm_source=github_status
Error message
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)': /simple/wheel/

@LeoIV would you like to take a look at this?


Training problems

Hi, I use UnityEyes to generate images. Then I run the egg_train.py and got this problem:
10/04 06:34 INFO 0079261> heatmaps_mse = 0.00100194, radius_mse = 1.17517e-07
10/04 06:34 INFO 0079270> heatmaps_mse = 0.00119301, radius_mse = 8.82096e-08
10/04 06:34 INFO 0079280> heatmaps_mse = 0.00114937, radius_mse = 1.55061e-07
10/04 06:34 INFO 0079289> heatmaps_mse = 0.00109943, radius_mse = 1.84821e-07
Exception in thread preprocess_UnityEyes_27:
Traceback (most recent call last):
File "/home/wang/anaconda3/envs/tensorflow-gpu/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/home/wang/anaconda3/envs/tensorflow-gpu/lib/python3.5/threading.py", line 862, in run
self._target(self._args, **self._kwargs)
File "/media/wang/Toshiba/lmj/2019term/papers/GazeML/GazeML-win/src/core/data_source.py", line 245, in preprocess_job
preprocessed_entry_dict = self.preprocess_entry(raw_entry)
File "/media/wang/Toshiba/lmj/2019term/papers/GazeML/GazeML-win/src/datasources/unityeyes.py", line 237, in preprocess_entry
thickness=int(6line_rand_nums[j + 4]), lineType=cv.LINE_AA)
cv2.error: OpenCV(3.4.3) /io/opencv/modules/imgproc/src/drawing.cpp:1811: error: (-215:Assertion failed) 0 < thickness && thickness <= MAX_THICKNESS in function 'line'

when I debug these code, I find that np.random.rand() may generate 0 for line_rand_nums and then thickness will be 0 for line. So I rewrite thickness=math,ceil(6line_rand_nums[j + 4]),hope it will be helpful

I think this should resolve the issue. Please do follow-up in this thread on whether it helped - or even better - submit a pull request. Otherwise, I will make a patch.
Thanks for finding this issue! It must be a relatively new check in the OpenCV library.

I think this should resolve the issue. Please do follow-up in this thread on whether it helped - or even better - submit a pull request. Otherwise, I will make a patch.
Thanks for finding this issue! It must be a relatively new check in the OpenCV library.

about the training time:
How long will it take for training 1 million imags?

I remember training our model for the ETRA paper for 3-4 days.

I remember training our model for the ETRA paper for 3-4 days.

Do you use multi-gpus to train the model? I spend about 14 days to train the ELG model that feeded 100 UnityEye images in single TitanX. And I read though the training code carefully, it seems that you only use single GPU for training.

Do you use the same network to train your model?


Feature: Add lStudyInfo param to lData object for reporting yamls

Feature Details
move lStudyInfo that was formerly in Report_StudyInfo() to a param in lData so that gilda-specific information is not hard-coded into the {gsm} codebase.
edit ReportStudyInfo() and related reporting workflow functions to accept this param and pass it on appropriately
Example Code

Possible Implementation
add a list of mappings from column name to label that will be used in Report_StudyInfo() to create the study information table at the top of the report document.
Additional Comments

closed in #1627


Show all rows of the table in report and grid-layout in web api?

Is there any chance to show all rows of the table in the pdf?
The other question is that how to use grid-layout in the web API?
Thanks for your response in advance.

Is there any chance to show all rows of the table in the pdf?

This is not possible in the reporter. A comment here hints at a way it might be done via Granfana, but does not provide details.


[NEW ICON] NPM

Skill Name
NPM
Why?
NPM (Node Package Manager) is a widely-used package manager for Node.js packages, providing access to a vast library of open-source software packages that can be easily installed and managed in a project.
By adding NPM to a project, developers can easily install, update and manage dependencies, and ensure that the project is using the latest stable versions of the required packages. This can help to speed up development time, reduce errors, and improve the overall reliability and security of the project. Additionally, NPM can be used to run scripts, automate tasks, and manage the development workflow, making it an essential tool for any modern web or application development project.
Reference Image
https://upload.wikimedia.org/wikipedia/commons/d/db/Npm-logo.svg

Sorry bud, but package managers fall under the tech stack category and aren't considered skills, same thing goes for yarn too.

Hello, the repo is for skills, and for many, NPM & Yarn are considered as such. You and I will let the owner of this repo determine the future of this issue.

 Sure, you can install, remove, update libraries, and whatnot - but it's not justified enough to consider it a "skill".  All you do with npm/yarn is install dependencies. It'd be strange to put "npm" as a skill in your resume.
And besides, someone already requested npm and Yarn at issue #97 lol

Not to sound arrogant, but @kuroji-fusky  I didn't know twitter was a "skill".

or Discord!!

Okay fine, you win lol

Alright, @AlexEG @mvetois whatever all of you make you sleep at night, it seems weird to put NPM as an icon.  I couldn't sleep at night without thinking about you giving me the biggest clap back of the goddamn decade.
Alright fine!
 Am I losing my mind?  As I admit defeat, I'm closing all issues and PR from this repo if that's what all of you want. My career as a programmer is over.

@kuroji-fusky I'm just messing with you, man. just chill. even I don't consider npm and yarn as sills but if you wish to include only skill icons in this repository I'm saying that social sites like Twitter, Instagram, and discord shouldn't have been included.

hole shit I was just kindden
I'm SORRRRRY
form me I just came here to in the first place to look around at the awesome people that make something I real use & I like using it , I didn't even think in a 1000 years that you will be see my comment
so again I'm so so sorry and your work is phenomenal  . plz don't hate me and thinks for all your hard word ❤❤

and I know discord skill === you develop discord bot as well as twitter

setting up or creating/maintaining packages, might be a skill. do we even rate eachothers skill level with each badge? its all relative anyway. I see some of you joking, others taking it seriously. its gonna be a exhausting never ending list.

I'm new to development. But why aren't yarn and npm considered skills?
Can anyone handle them? Then this can be said about all skills.


fix(analytics): inactive survey issues

fix(analytics): inactive survey issues
This PR

Fixes issue with inactive user survey prompt unnecessarily

Will now stop prompting once it has been submitted
Will now wait 2 more weeks until re-prompting if user cancelled

Inactive user survey interval is changed from 4 weeks to 2 weeks
Inactive user survey now has an additional question asking if they want to book a feedback session
Now all metrics tracked from the extension will have a common firstWeekSinceInstall props.

Pull Request Checklist
If this is your first time submitting a pull request to Dendron, copy and paste the full Dendron Review Checklist into this request and check off each item as necessary.
This template contains the short checklist which is used by the Dendron core team.
Testing

[x] Write Tests
[x] Confirm existing tests pass
[x] Confirm manual testing
[~] If your tests changes an existing snapshot, make sure that snapshots are updated
[~] If you are adding a new language feature (graphically visible in VS Code/preview/publishing), make sure that it is included in the test workspace

Docs

[ ] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR

Analytics

[ ] if you are adding analytics related changes, make sure the Telemetry docs are updated

Inactive user survey now has an additional question asking if they want to book a feedback session

This probably needs some wording changes (+ pending details on how participants are going to be compensated) and a separate calendly link for feedback sessions

inactive user survey now redirects users to airtable right away.

suggestions on wording the modal detail message better? (note that we don't really have control with formatting this message. it only takes a plain string)


terminate_pods returns names of  deleted pods

Hi,
this is a copy of PR #89, but as request it has a clean history with rebase instead of merge commits.
This PR would add a return value to the terminate_pods action. I found it quite helpful to get this kind of information persisted in the journal.json document for future reference and further analysis. It would also address #60 .
Since it seems only the return value (or exception) of an action will be stored, I would suggest to store the already available pod names in an array and return it.
Tests have been enhanced to include checks of the return value.
Looking forward to get some thoughts on this suggestion.
Cheers, Hendrik

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@cb77bc1). Click here to learn what that means.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master     #104   +/-   ##
=========================================
  Coverage          ?   81.72%
=========================================
  Files             ?       13
  Lines             ?      766
  Branches          ?        0
=========================================
  Hits              ?      626
  Misses            ?      140
  Partials          ?        0

Impacted Files
Coverage Δ

chaosk8s/pod/actions.py
95.91% <100.00%> (ø)

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 cb77bc1...4416558. Read the comment docs.


Debugger not working, breakpoints not being triggered

Does this occur consistently?
Yes
Repro steps:

Create new project by using "Azure Functions: Create new project..."
select "HTTP trigger" function
select language C#
Wait for project to be created
Set some breakpoints
Run azure function with debug (F5)

extra info:
vscode settings.json
{
  "azureFunctions.deploySubpath": "bin/Release/netcoreapp3.1/publish",
  "azureFunctions.projectLanguage": "C#",
  "azureFunctions.projectRuntime": "~3",
  "debug.internalConsoleOptions": "neverOpen",
  "azureFunctions.preDeployTask": "publish"
}

Action: azureFunctions.pickProcess
Error type: Error
Error Message: Failed to detect running Functions host within "60" seconds. You may want to adjust the "azureFunctions.pickProcessTimeout" setting.
Version: 0.21.0
OS: win32
OS Release: 10.0.19041
Product: Visual Studio Code
Product Version: 1.43.2
Language: en

Call Stack
extension.bundle.js:526:95817extension.bundle.js:526:95817
fulfilled extension.bundle.js:526:94354

@y0m0 I see reports of this error occasionally, but it never reproduces on my machine. If you can give me more info to find the root cause that would be very helpful. As a starting point:

What version of dotnet do you have installed?
What verison of the func cli?
I assume the build task succeeded?
Can you copy all logs of the "func host start" task (It should pop up automatically when you F5)


fix: stop scale loop for pause Scaledbject (issue #4253)

In the controller in the reconcile loop, when a scaledObject is paused (annotated with ), this fix stops the scaling logic (to prevent attempt to connect the to scalers), and deletes the generated HPA (so it is not querying KEDA Metric Server for metrics)
Checklist

[x] I have verified that my change is according to the deprecations & breaking changes policy
[x] Tests have been added
[x] Changelog has been updated and is aligned with our changelog requirements
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #4253

@zroubalik @tomkerkhove Resubmitting a new PR.

/run-e2e

/run-e2e

Looking good, could you please add a marker to CRD to show PAUSED column and regenerate the CRD (make generate)?
Probably before the AGE column:
https://github.com/kedacore/keda/blob/main/apis/keda/v1alpha1/scaledobject_types.go#L36

Sure thing. I added it and run make manifests.

the e2e test for paused feature fails :(

ok thanks @zroubalik , I'll have a look at the pause_scaling_test logs, I guess this is what failed (I can't seem to find the details of the failure in the GitHub actions link)

@zroubalik The e2e tests are passing in my cluster, but I suspect that the test needs more time to recover the scaling loop (loads might be inducing some more delay), so I'm increasing the wait time. Could you please trigger another run when you get a chance? Thanks

/run-e2e pause

@zroubalik

/run-e2e pause
Update: You can check the progress here

That's weird. I'll need to have a deeper look later, as I'm at loss understanding the failures here.

@zroubalik

/run-e2e pause
Update: You can check the progress here

That's weird. I'll need to have a deeper look later, as I'm at loss understanding the failures here.

Seems like the testing deployment is not even initally scaled out, it stays on 0 replicas.

@zroubalik

/run-e2e pause
Update: You can check the progress here

That's weird. I'll need to have a deeper look later, as I'm at loss understanding the failures here.

Seems like the testing deployment is not even initally scaled out, it stays on 0 replicas.

Yes, that's exactly what is puzzling me. Need to sort it out!

I made two changes to the test

use a much smaller nginx image to speed up deployment
make the test wait for the monitored deployment to hit its target replica count before proceeding
@zroubalik

/run-e2e pause

@tobotg I run your branch locally and got the same error as we can see here in the PR.

@tobotg I ran your branch locally and got the same error as we can see here in the PR.

@zroubalik  Interesting that you're able to reproduce it locally, as I'm not able to reproduce it here. Any chance you can share Keda logs and app:pause-scaling-test and app:pause-scaling-test-monitored logs? That could be helpful for debugging. Thanks in advance.

@zroubalik I had some time tonight to look into this issue, and submitted changes to the PR. Could you please trigger an e2e test when you get a chance? Thanks

/run-e2e pause

/run-e2e


First bullet is wrong colour in Markdown

In Markdown, the first bullet is highlighted in grey which means it doesn't match all the other bullets in the list:

I'm using build 3114 and I'm seeing the same behaviour on Mac and Linux.

https://github.com/jonschlinkert/sublime-monokai-extended/issues/34


feat(Moving Climbable Objects) Allow for moving Climbable Objects #396

Pretty simple and works for nonphysics based movement. Addresses parts of #396

This PR needs cleaning up to follow the contribution guidelines at:
https://github.com/thestonefox/VRTK/blob/master/CONTRIBUTING.md

Thanks, I'll get it cleaned up.


[BUG]  Failed to open DB with missing CURRENT file

Describe the bug
A clear and concise description of what the bug is.

OS: MAC OS 10.15.7
Version  2.0.5 @6a4ed16a

get following error message when try to start up kvrocks ( first time run )
E1229 15:41:02.217978 276704704 main.cc:314] Failed to open: IO error: No such file or directory: While opening a file for sequentially reading: /tmp/kvrocks/db/CURRENT: No such file or directory
/tmp/kvrocks directory did exist but no sub-directory ./db under it.

Have you tried to modify the dir item in the configuration file?

Have you tried to modify the dir item in the configuration file?

yes, I modified dir to other directory, still got same msg

You create the directory manually and see if it works.

Have you tried to modify the dir item in the configuration file?

just tried, still the same
by the way, make test all ok

@jasonhe88 Can u help to check wthether /tmp/kvrocks/db/CURRENT was existed or not, or have a look at your directory permission.

@jasonhe88 Can u help to check whether /tmp/kvrocks/db/CURRENT was existed or not, or have a look at your directory permission.

here are all the files under /tmp/kvrocks:
lrwxr-xr-x  1 jasonhe  wheel   63 12 29 16:07 kvrocks.ERROR -> kvrocks.JasoniMac.local.jasonhe.log.ERROR.20211229-160746.77969
lrwxr-xr-x  1 jasonhe  wheel   62 12 29 16:07 kvrocks.INFO -> kvrocks.JasoniMac.local.jasonhe.log.INFO.20211229-160746.77969
-rw-r--r--  1 jasonhe  wheel  341 12 29 15:29 kvrocks.JasoniMac.local.jasonhe.log.ERROR.20211229-152937.72372
-rw-r--r--  1 jasonhe  wheel  341 12 29 15:48 kvrocks.JasoniMac.local.jasonhe.log.ERROR.20211229-154820.76439
-rw-r--r--  1 jasonhe  wheel  341 12 29 16:07 kvrocks.JasoniMac.local.jasonhe.log.ERROR.20211229-160746.77969
-rw-r--r--  1 jasonhe  wheel  411 12 29 15:29 kvrocks.JasoniMac.local.jasonhe.log.INFO.20211229-152937.72372
-rw-r--r--  1 jasonhe  wheel  411 12 29 15:48 kvrocks.JasoniMac.local.jasonhe.log.INFO.20211229-154820.76439
-rw-r--r--  1 jasonhe  wheel  411 12 29 16:07 kvrocks.JasoniMac.local.jasonhe.log.INFO.20211229-160746.77969
-rw-r--r--  1 jasonhe  wheel  341 12 29 15:29 kvrocks.JasoniMac.local.jasonhe.log.WARNING.20211229-152937.72372
-rw-r--r--  1 jasonhe  wheel  341 12 29 15:48 kvrocks.JasoniMac.local.jasonhe.log.WARNING.20211229-154820.76439
-rw-r--r--  1 jasonhe  wheel  341 12 29 16:07 kvrocks.JasoniMac.local.jasonhe.log.WARNING.20211229-160746.77969
lrwxr-xr-x  1 jasonhe  wheel   65 12 29 16:07 kvrocks.WARNING -> kvrocks.JasoniMac.local.jasonhe.log.WARNING.20211229-160746.77969

@jasonhe88 Can u help to check whether /tmp/kvrocks/db/CURRENT was existed or not, or have a look at your directory permission.

the original permisson is 755, i changed to 777, still same
drwxrwxrwx  14 jasonhe  wheel  448 12 29 16:07 kvrocks

tried on CentOS 8, same problem

Do you use the release RPM? I have no idea about why this happen since can't reproduce on my side.

it seems there have some errors link with rocksdb

Do you use the release RPM? I have no idea about why this happen since can't reproduce on my side.

tried release RPM on CentOS8, it's running ok

Many thanks for your feedback, do you follow the pre-install step before installing?
https://github.com/KvrocksLabs/kvrocks#building-kvrocks

Many thanks for your feedback, do you follow the pre-install step before installing?
https://github.com/KvrocksLabs/kvrocks#building-kvrocks

no problem, thanks to you guys for this great product :-)
I exactly followed the installation steps, except did a check out before make -4j
git checkout v2.0.5

Thanks, I would try to reproduce this issue on my side, very welcome to help us to fix this issue if you have any clues.

I finally reproduced this issue by wrongly linking the compression library,
Kvrocks will ignore the creating column families error and cause failed to
open DB since it didn't auto create the db dir.