Add memory pool support

When rapidly allocating/deallocating genotypes with a fixed size (the array genotype for example), it would be more efficient to just return old genotypes to a pool. Some thought needs to go into how we could manage pools of varying sizes in the future.
This work is for the future work on gonum dense genotypes, which are expected to waste a lot of time allocating / deallocating with the current approach.
p.s. From now on, I will create a new issue for each new feature!

I am going to make this support pools that can allocate objects of different shapes.

This is seeming to be quite difficult to implement without making existing code much less nice. Maybe I should make the genotypes act like gonum objects. For example, instead of calling g := NewFloatGenotype(size, randomness) i will call:
g := allocator.NewFloatGenotype(size)
g.Init(randomness)

This will allow the allocation and initialisation to be split, but i wonder how it would work with other parts of the package?

I am going to close this for now as i can't figure out a way to implement this without making the package both much less easy-to-understand and memory safe. Memory pools open the door to bugs where you share an object that has been recycled, and they somewhat go against what go is all about (simplicity and easy memory saftey). With this said, I don't think it is a huge issue not having memory pools, as it is usually an assumption with evolutionary algorithms that the longest part of the process by far is calculating the fitness function. If allocating new objects becomes an issue in the future then i will revisit this, but for now I think it is in the interest of the package to leave it out.


return the amount of character typed in status

I need to make a remote request whenever x or more characters have been type, the best solution I came up with for now is to get it from status, it seems to be the way autocomplete communicate with the parent.
If you think it's a good idea I could make a PR, otherwise how would you accomplish that?

using getCurrentValue


Add High res favicons

Add high resolution favicon images using images created for PR #2228
Fix #1497

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @jaas666!

  Generated by :no_entry_sign: dangerJS against 304b9a86d47c16ff7dc8b74df63521d87f78d047

I tried getting this to run but these checks are brutal man.
Pretty simple change though. Should be mostly completed and files where included in the PR
I cant get the "npm ci" command to install so Im flying solo without dev.
If anyone with the dev environment correctly running want to fix this one be my guest.

Hey @jaas666 thank you so much for picking this up! If you can handle the file prep I’d be game to wrangle Gatsby for you here. I imagine there is a way we can ship these as static files so they aren’t all embedded into every page load, and I’m
happy to dig into that.

I think you’d need to check in the new files though.

I thought I committed the files on my first commit.. guess not. Sorry about that.. maybe thats why most tests were failing 🤣

Got them? I still can't make the "npm ci" work. Sorry

I still can't make the "npm ci" work. Sorry

Can you provide a little more context, like what version of npm & node you're using, any error message specifics, etc.

I still can't make the "npm ci" work. Sorry

Can you provide a little more context, like what version of npm & node you're using, any error message specifics, etc.

Want me to create an issue about it so we don't polite this discussion?

Want me to create an issue about it so we don't polute this discussion?

If it's a problem you're running into doing this work, this is a good place to talk about it and it actually makes the conversation easier to follow. Happy to try to get it resolved.
That said, I'm still game to pick this up from here (sorry haven't had a chance to yet).

I don't think the error I'm having is specificaly related to this issue/PR but I do agree that it'll be easier to follow here.
I've tried a couple times deleting my local version and re-cloning.. Right after it finishes the clone process I run npm ci and this is the output I get.
$ npm -v 8.3.1
$ node -v v16.14.0
$ npm ci
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm ERR! code 1
npm ERR! path C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\lmdb
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp-build-optional-packages
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| win32 | x64
npm ERR! gyp info find Python using Python version 3.10.4 found at "C:\Users\JAAS666\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for more details
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:122:47)
npm ERR! gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:75:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:363:14)
npm ERR! gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:71:14
npm ERR! gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-visualstudio.js:384:16
npm ERR! gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:54:7
npm ERR! gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\util.js:33:16
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:406:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:520:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1092:16)
npm ERR! gyp ERR! System Windows_NT 10.0.22000
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\lmdb
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok

npm ERR!      C:\Users\JAAS666\AppData\Local\npm-cache\_logs\2022-05-16T23_37_11_887Z-debug-0.log

JAAS666@DESKTOP-Q8RPCNM MINGW64 ~/OneDrive/Documents/GIT/shields (master)

Looks like something missing when installing dependencies but can't quite figure it out.. Let me know if you need anything else..

Well that's... interesting, thanks for sharing.
Realize I may be telling you something you already know but in the spirit of completeness:
To resolve this you'll need to install the node-gyp package from the npm registry, but it will require that you first install Python as well as the MSVC build tools (recommend grabbing directly via https://aka.ms/vs/17/release/vs_BuildTools.exe or from https://visualstudio.microsoft.com/downloads/ if you'd rather get the download link from the MS site). Some more detailed instructions on the setup can be found in https://www.npmjs.com/package/node-gyp.
As to why this is necessary, Node.js supports something called "native add-ons" which, in grossly oversimplified terms, is a mechanism that allows developers to write and distribute modules that are actually compiled and executed natively (typically in C++ or C) in order to get a performance boost vs. JavaScript. Most systems, including Unix-like and Unix-based ones, ship with basic compiler toolsets as part of the operating system. Windows, annoyingly, does not do this and instead requires developers to manually install additional tooling to perform basic compilation and linking actions.
Shields itself is a pure JavaScript/TypeScript application, but apparently at some point one of our transitive dependencies (via Gatsby apparently) has incorporated a Native Addon and this unfortunately means that Shields developers on Windows will also need to have node-gyp and it's prerequisites and configured.
Separately for the Shields maintainers, I think this is another reason why it will beneficial to find an alternative to Gatsby.

OK that helped. I'm being able to install dependencies without problem now.
This is what I'm getting when running  npm start
$ npm start

><EMAIL_ADDRESS>prestart
> run-s --silent depcheck defs features

C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\errors.js:193
        return new exports.ValidationError(message, details, original);
               ^

Error [ValidationError]: {
  "schemaVersion": "0",
  "categories": [
    {
      "id": "build",
      "name": "Build",
      "keywords": [
        "build"
      ]
    },
    {
      "id": "coverage",
      "name": "Code Coverage",
      "keywords": [
        "coverage"
      ]
    },
    {
      "id": "test-results",
      "name": "Test Results",
      "keywords": [
        "tests"
      ]
    },
    {
      "id": "analysis",
      "name": "Analysis",
      "keywords": [
        "analysis"
      ]
    },
    {
      "id": "chat",
      "name": "Chat",
      "keywords": [
        "chat"
      ]
    },
    {
      "id": "dependencies",
      "name": "Dependencies",
      "keywords": [
        "dependencies"
      ]
    },
    {
      "id": "size",
      "name": "Size",
      "keywords": [
        "size"
      ]
    },
    {
      "id": "downloads",
      "name": "Downloads",
      "keywords": [
        "downloads"
      ]
    },
    {
      "id": "funding",
      "name": "Funding",
      "keywords": [
        "funding"
      ]
    },
    {
      "id": "issue-tracking",
      "name": "Issue Tracking",
      "keywords": [
        "issue"
      ]
    },
    {
      "id": "license",
      "name": "License",
      "keywords": [
        "license"
      ]
    },
    {
      "id": "rating",
      "name": "Rating",
      "keywords": [
        "rating"
      ]
    },
    {
      "id": "social",
      "name": "Social",
      "keywords": [
        "social"
      ]
    },
    {
      "id": "version",
      "name": "Version",
      "keywords": [
        "version"
      ]
    },
    {
      "id": "platform-support",
      "name": "Platform & Version Support",
      "keywords": [
        "platform"
      ]
    },
    {
      "id": "monitoring",
      "name": "Monitoring",
      "keywords": [
        "monitoring"
      ]
    },
    {
      "id": "activity",
      "name": "Activity",
      "keywords": [
        "activity"
      ]
    },
    {
      "id": "other",
      "name": "Other",
      "keywords": []
    }
  ],
  "services" [1]: []
}

[1] "services" does not contain 1 required value(s)
    at Object.exports.process (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\errors.js:193:16)
    at Object.internals.entry (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\validator.js:153:26)
    at Object.exports.entry (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\validator.js:27:30)
    at internals.Base.validate (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\base.js:548:26)
    at Object.internals.assert (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\index.js:225:27)
    at Object.assert (C:\Users\JAAS666\OneDrive\Documents\GIT\shields\node_modules\joi\lib\index.js:102:19)
    at assertValidServiceDefinitionExport (file:///C:/Users/JAAS666/OneDrive/Documents/GIT/shields/core/base-service/service-definitions.js:70:7)
    at collectDefinitions (file:///C:/Users/JAAS666/OneDrive/Documents/GIT/shields/core/base-service/loader.js:89:3)
    at async file:///C:/Users/JAAS666/OneDrive/Documents/GIT/shields/scripts/export-service-definitions-cli.js:4:23 {
  _original: {
    schemaVersion: '0',
    categories: [
      { id: 'build', name: 'Build', keywords: [ 'build' ] },
      {
        id: 'coverage',
        name: 'Code Coverage',
        keywords: [ 'coverage' ]
      },
      {
        id: 'test-results',
        name: 'Test Results',
        keywords: [ 'tests' ]
      },
      { id: 'analysis', name: 'Analysis', keywords: [ 'analysis' ] },
      { id: 'chat', name: 'Chat', keywords: [ 'chat' ] },
      {
        id: 'dependencies',
        name: 'Dependencies',
        keywords: [ 'dependencies' ]
      },
      { id: 'size', name: 'Size', keywords: [ 'size' ] },
      { id: 'downloads', name: 'Downloads', keywords: [ 'downloads' ] },
      { id: 'funding', name: 'Funding', keywords: [ 'funding' ] },
      {
        id: 'issue-tracking',
        name: 'Issue Tracking',
        keywords: [ 'issue' ]
      },
      { id: 'license', name: 'License', keywords: [ 'license' ] },
      { id: 'rating', name: 'Rating', keywords: [ 'rating' ] },
      { id: 'social', name: 'Social', keywords: [ 'social' ] },
      { id: 'version', name: 'Version', keywords: [ 'version' ] },
      {
        id: 'platform-support',
        name: 'Platform & Version Support',
        keywords: [ 'platform' ]
      },
      {
        id: 'monitoring',
        name: 'Monitoring',
        keywords: [ 'monitoring' ]
      },
      { id: 'activity', name: 'Activity', keywords: [ 'activity' ] },
      { id: 'other', name: 'Other', keywords: [] }
    ],
    services: []
  },
  details: [
    {
      message: '"services" does not contain 1 required value(s)',
      path: [ 'services' ],
      type: 'array.includesRequiredUnknowns',
      context: {
        unknownMisses: 1,
        label: 'services',
        value: [],
        key: 'services'
      }
    }
  ]
}

Any update?

Couldn't tell ya, but CI is failing on various fronts and I'd probably start there. Specifically, make sure you can get an npm run build passing locally

Tried lots of things. Running from WSL and nothing, even spun up a new Linux VM just to try this and still nothing. Furthest I could get is to have the server running but the frontend loads a white empty screen... Here's the log from the npm start in case you or someone else can identify the problem. Otherwise I give up, someone can pick up what I already did and complete it.
This is using WSL (Ubuntu)
$ npm start

><EMAIL_ADDRESS>prestart
> run-s --silent depcheck defs features

><EMAIL_ADDRESS>start
> concurrently --names server,frontend "npm run start:server" "cd frontend && cross-env GATSBY_BASE_URL=http://localhost:8080 gatsby develop --port 3000"

[server]
[server] ><EMAIL_ADDRESS>start:server
[server] > cross-env NODE_CONFIG_ENV=development nodemon server 8080
[server]
[server] [nodemon] 2.0.16
[server] [nodemon] reading config ./package.json
[server] [nodemon] to restart at any time, enter `rs`
[server] [nodemon] or send SIGHUP to 5576 to restart
[server] [nodemon] ignoring: package.json **/*.spec.js **/*.tester.js **/*.integration.js ./frontend/**/* build/**/* ./cypress/**/*
[server] [nodemon] watching path(s): *.*
[server] [nodemon] watching extensions: js
[server] [nodemon] starting `node server.js 8080`
[server] [nodemon] forking
[server] [nodemon] child pid: 5589
[server] [nodemon] watching 657 files
[server] Configuration:
[server] {
[server]   bind: { address: 'localhost', port: 8080 },
[server]   metrics: {
[server]     prometheus: { enabled: false, endpointEnabled: false },
[server]     influx: { enabled: false, timeoutMilliseconds: 1000, intervalSeconds: 15 }
[server]   },
[server]   ssl: { isSecure: false },
[server]   cors: { allowedOrigin: [ 'http://localhost:3000' ] },
[server]   services: {
[server]     github: {
[server]       baseUri: 'https://api.github.com/',
[server]       debug: { enabled: false, intervalSeconds: 200 }
[server]     },
[server]     obs: { authorizedOrigins: 'https://api.opensuse.org' },
[server]     weblate: { authorizedOrigins: 'https://hosted.weblate.org' },
[server]     trace: false
[server]   },
[server]   cacheHeaders: { defaultCacheLengthSeconds: 120 },
[server]   handleInternalErrors: false,
[server]   fetchLimit: '10MB',
[server]   userAgentBase: 'shields (self-hosted)',
[server]   requestTimeoutSeconds: 120,
[server]   requestTimeoutMaxAgeSeconds: 30,
[server]   requireCloudflare: false
[server] }
[server]<PHONE_NUMBER> Server is starting up: http://localhost:8080/
[server] (node:5589) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
[server] (Use `node --trace-deprecation ...` to show where the warning was created)
[frontend] success open and validate gatsby-configs, load plugins - 0.227s
warn gatsby-plugin-remove-trailing-slashes: Gatsby now has a trailingSlash
[frontend] option. Learn more at https://gatsby.dev/trailing-slash
success onPreInit - 0.007s
success initialize cache - 0.062s
success copy gatsby files - 0.093s
success Compiling Gatsby Functions - 0.227s
success onPreBootstrap - 0.238s
success createSchemaCustomization - 0.001s
success Checking for changed pages - 0.001s
success source and transform nodes - 0.104s
success building schema - 0.380s
success createPages - 0.030s
warn Non-deterministic routing danger: Attempting to create page:
[frontend] "/dev-404-page/", but page "/dev-404-page" already exists
[frontend] This could lead to non-deterministic routing behavior
warn Non-deterministic routing danger: Attempting to create page: "/community/",
[frontend]  but page "/community" already exists
[frontend] This could lead to non-deterministic routing behavior
warn Non-deterministic routing danger: Attempting to create page: "/endpoint/",
[frontend] but page "/endpoint" already exists
[frontend] This could lead to non-deterministic routing behavior
success createPagesStatefully - 0.124s
info Total nodes: 51, SitePage nodes: 24 (use --verbose for breakdown)
success Checking for changed pages - 0.001s
success write out redirect data - 0.002s
success onPostBootstrap - 0.002s
info bootstrap finished - 3.078s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.198s
success write out requires - 0.007s

[frontend]  ERROR #98123  WEBPACK
[frontend]
[frontend] Generating development JavaScript bundle failed
[frontend]
[frontend] Module build failed (from ../node_modules/url-loader/dist/cjs.js):
[frontend] Error: error:0308010C:digital envelope routines::unsupported
[frontend]     at new Hash (node:internal/crypto/hash:67:19)
[frontend]     at Object.createHash (node:crypto:135:10)
[frontend]     at getHashDigest (/home/jaas666/shields/node_modules/file-loader/node_module
[frontend] s/loader-utils/lib/getHashDigest.js:46:34)
[frontend]     at /home/jaas666/shields/node_modules/file-loader/node_modules/loader-utils/
[frontend] lib/interpolateName.js:113:11
[frontend]     at String.replace (<anonymous>)
[frontend]     at interpolateName (/home/jaas666/shields/node_modules/file-loader/node_modu
[frontend] les/loader-utils/lib/interpolateName.js:110:8)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/file-loader/dist/index.js:29:48)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/url-loader/dist/index.js:127:19)
[frontend]
[frontend] File<EMAIL_ADDRESS>[frontend]

[frontend]  ERROR #98123  WEBPACK
[frontend]
[frontend] Generating development JavaScript bundle failed
[frontend]
[frontend] Module build failed (from ../node_modules/url-loader/dist/cjs.js):
[frontend] Error: error:0308010C:digital envelope routines::unsupported
[frontend]     at new Hash (node:internal/crypto/hash:67:19)
[frontend]     at Object.createHash (node:crypto:135:10)
[frontend]     at getHashDigest (/home/jaas666/shields/node_modules/file-loader/node_module
[frontend] s/loader-utils/lib/getHashDigest.js:46:34)
[frontend]     at /home/jaas666/shields/node_modules/file-loader/node_modules/loader-utils/
[frontend] lib/interpolateName.js:113:11
[frontend]     at String.replace (<anonymous>)
[frontend]     at interpolateName (/home/jaas666/shields/node_modules/file-loader/node_modu
[frontend] les/loader-utils/lib/interpolateName.js:110:8)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/file-loader/dist/index.js:29:48)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/url-loader/dist/index.js:127:19)
[frontend]
[frontend] File<EMAIL_ADDRESS>[frontend]
failed Building development bundle - 6.982s
ERROR in<EMAIL_ADDRESS>[frontend] Module build failed (from
[frontend] ../node_modules/mini-css-extract-plugin/dist/loader.js):
[frontend] ModuleBuildError: Module build failed (from
[frontend] ../node_modules/url-loader/dist/cjs.js):
[frontend] Error: error:0308010C:digital envelope routines::unsupported
[frontend]     at new Hash (node:internal/crypto/hash:67:19)
[frontend]     at Object.createHash (node:crypto:135:10)
[frontend]     at getHashDigest (/home/jaas666/shields/node_modules/file-loader/node_module
[frontend] s/loader-utils/lib/getHashDigest.js:46:34)
[frontend]     at /home/jaas666/shields/node_modules/file-loader/node_modules/loader-utils/
[frontend] lib/interpolateName.js:113:11
[frontend]     at String.replace (<anonymous>)
[frontend]     at interpolateName (/home/jaas666/shields/node_modules/file-loader/node_modu
[frontend] les/loader-utils/lib/interpolateName.js:110:8)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/file-loader/dist/index.js:29:48)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/url-loader/dist/index.js:127:19)
[frontend]     at processResult
[frontend] (/home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:751:19)
[frontend]     at /home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:853:5
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:399:11
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:251:18
[frontend]     at runSyncOrAsync
[frontend] (/home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:156:3)
[frontend]     at iterateNormalLoaders
[frontend] (/home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:250:2)
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:223:4
[frontend]     at /home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:827:15
[frontend]     at Array.eval (eval at create (/home/jaas666/shields/node_modules/webpack/no
[frontend] de_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
[frontend]     at runCallbacks (/home/jaas666/shields/node_modules/enhanced-resolve/lib/Cac
[frontend] hedInputFileSystem.js:27:15)
[frontend]     at /home/jaas666/shields/node_modules/enhanced-resolve/lib/CachedInputFileSy
[frontend] stem.js:200:4
[frontend]     at /home/jaas666/shields/node_modules/graceful-fs/graceful-fs.js:123:16
[frontend]     at FSReqCallback.readFileAfterClose [as oncomplete]
[frontend] (node:internal/fs/read_file_context:68:3)
[frontend]  @ ./components/meta.tsx 10:0-26
[frontend]  @ ./pages/endpoint.tsx 9:0-38 65:39-43
[frontend]  @ ./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js 31:11-33:5
[frontend]  @ ./.cache/app.js 16:0-52 29:87-33:1 32:29-42 35:27-40 29:0-33:2
[frontend]
[frontend] ERROR in<EMAIL_ADDRESS>[frontend] Module build failed (from
[frontend] ../node_modules/mini-css-extract-plugin/dist/loader.js):
[frontend] ModuleBuildError: Module build failed (from
[frontend] ../node_modules/url-loader/dist/cjs.js):
[frontend] Error: error:0308010C:digital envelope routines::unsupported
[frontend]     at new Hash (node:internal/crypto/hash:67:19)
[frontend]     at Object.createHash (node:crypto:135:10)
[frontend]     at getHashDigest (/home/jaas666/shields/node_modules/file-loader/node_module
[frontend] s/loader-utils/lib/getHashDigest.js:46:34)
[frontend]     at /home/jaas666/shields/node_modules/file-loader/node_modules/loader-utils/
[frontend] lib/interpolateName.js:113:11
[frontend]     at String.replace (<anonymous>)
[frontend]     at interpolateName (/home/jaas666/shields/node_modules/file-loader/node_modu
[frontend] les/loader-utils/lib/interpolateName.js:110:8)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/file-loader/dist/index.js:29:48)
[frontend]     at Object.loader
[frontend] (/home/jaas666/shields/node_modules/url-loader/dist/index.js:127:19)
[frontend]     at processResult
[frontend] (/home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:751:19)
[frontend]     at /home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:853:5
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:399:11
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:251:18
[frontend]     at runSyncOrAsync
[frontend] (/home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:156:3)
[frontend]     at iterateNormalLoaders
[frontend] (/home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:250:2)
[frontend]     at
[frontend] /home/jaas666/shields/node_modules/loader-runner/lib/LoaderRunner.js:223:4
[frontend]     at /home/jaas666/shields/node_modules/webpack/lib/NormalModule.js:827:15
[frontend]     at Array.eval (eval at create (/home/jaas666/shields/node_modules/webpack/no
[frontend] de_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:12:1)
[frontend]     at runCallbacks (/home/jaas666/shields/node_modules/enhanced-resolve/lib/Cac
[frontend] hedInputFileSystem.js:27:15)
[frontend]     at /home/jaas666/shields/node_modules/enhanced-resolve/lib/CachedInputFileSy
[frontend] stem.js:200:4
[frontend]     at /home/jaas666/shields/node_modules/graceful-fs/graceful-fs.js:123:16
[frontend]     at FSReqCallback.readFileAfterClose [as oncomplete]
[frontend] (node:internal/fs/read_file_context:68:3)
[frontend]  @ ./components/meta.tsx 11:0-28
[frontend]  @ ./pages/endpoint.tsx 9:0-38 65:39-43
[frontend]  @ ./.cache/_this_is_virtual_fs_path_/$virtual/async-requires.js 31:11-33:5
[frontend]  @ ./.cache/app.js 16:0-52 29:87-33:1 32:29-42 35:27-40 29:0-33:2
[frontend]
[frontend] 3 ERRORS in child compilations (Use 'stats.children: true' resp.
[frontend] '--stats-children' for more details)
[frontend] develop compiled with 5 errors
success Writing page-data.json files to public directory - 0.211s - 1/23
[frontend] 108.96/s
success onPreExtractQueries - 0.002s
success extract queries from components - 0.017s
success write out requires - 0.002s
success run page queries - 0.015s - 1/1 68.18/s
success Writing page-data.json files to public directory - 0.003s - 1/23
[frontend] 7280.55/s
[frontend]

New PR submitted.. closing this one.
Ref. #7983


Add Real Scale Boosters from Kerbal Stuff

This pull request was automatically generated by Kerbal Stuff on behalf of NecroBones, to add Real Scale Boosters to CKAN.
Please direct questions about this pull request to NecroBones.

Created manually, #2970

Superseded by #2970 (Merged)


Fix reddit encoding, relax server check

Reddit's redesign has an issue where the when a user posts using the prefilled form and does not click on the body, then the body is dropped when the form is submitted.
To work around this we can just stop checking the bodies. And users will be allowed to post anything in the body, empty or not, and have their proof check succeed. The server will still suggest a body and the client will still post it.
People have been getting hit by this. I found a couple people who ran into this and couldn't prove reddit.
If this issue gets resolved real quick then we might not have to deal with the disappearing-body part.

I split this up. This PR has the stuff that are definitely a good idea. The PVL part is now in another PR.


Update index.njk

Back link will actually show its working by going back to the examples page. Pardon please if I have mistaken but I found this quite good to show up the working of the back link.
Description
Checklist

[ ] Tested against our testing policy (Resolution, Browser & Accessibility)
[ ] Follows our coding standards and style guide
[ ] CHANGELOG entry

Hi @Vidhiagrawal3 thanks for opening this issue.
To ensure that the link works across all our environments (local and production). Please would you be able to use the baseUrl approach found in https://github.com/nhsuk/nhsuk-frontend/pull/661 for this?

Hi @Vidhiagrawal3 thanks for opening this issue.
To ensure that the link works across all our environments (local and production). Please would you be able to use the baseUrl approach found in https://github.com/nhsuk/nhsuk-frontend/pull/661 for this?


Fixed a compiler warning.

Fixed a compiler warning caused by compering unsigned int with signed int.

This is duplicate to #1031 ...

Too bad that @knolleary doesn't maintain this any more. I was hoping the guy's from @thingsboard will do. But they actually don't.

@hmueller01 I'm sorry this has fallen off my radar. I don't actively use it these days, which makes testing and verifying changes tricky.
That said, I'm sure there must be a set of minimal changes just waiting to be sorted - they just need picking out of the backlog of PRs.
If you had any suggestions for what should be prioritised, I'd happily take the input and try to get a new release done with them in next week.
I will then see what I can do to make it clearer in this repo what level of support/help I'm able to provide.

@knolleary  Nice hearing from you! I‘ll take a look into this tonight and drop a comment on the relevant PRs.

PS: I can do the testing on ESP8266. I don't have an ESP32 or other boards. So this must be done by someone else.


added scrollbar drag events support

Thanks I will merge and make new release this weekend.

Please merge this PR @sconix

Please merge this PR

This library is EOL I do not see point of supporting this library when Swiper has direct Angular support.


Running IDFix over the VPN against 'the external DC'

@patrick-rodgers :
Is it possible to run IDFix remotely to evaluate AD different from DC where IDFix is installed?
I installed IDFix on Win 10 Laptop in DC=Corp_A.
My Win 10 Laptop is configured with the VPN to Windows Server 2010 R2 running DC=Corp_B.
I confirmed that VPN is working and I can access AD on DC=Corp_B.
I can not successfully run IDFix to evaluate AD DC=Corp_B:
I use the port 3268 to add the hostname for AD DC=Corp_B in settings and make sure that only this AD is selected via Check_Box.
I also changed Credentials from  to  and entered
When I run a query with the filter field 'blank' or any other 'common filter' (objectCategory=Person - as an example),
IDFix reported error: : " The specified Forrest does not exist or can not be contacted " : Error in RulesRunner.

[X] Enhancement
[ ] Bug
[ ] Question
[ ] Documentation gap/issue

Version
Please specify what version of IdFix you are using: [  <IP_ADDRESS>  ]
If you are not using the latest release, please update and see if the issue is resolved before submitting an issue.
Expected / Desired Behavior / Question
I expect :

IDFix to 'keep' Additional Active Directories added via setting [Add] Dialog and not to connect to ' home ' DC each time when IDFix is restarted;
I would expect IDFix to connect to remote ( 'non-home') DC=Corp_B and being able to Query and run other operations
I would expect an Error message to be a bit more detailed to help me determine what is 'wrong' in Settings.

Observed Behavior
Only works on the DC (Domain) where it is installed.
Need help configuring and running IDFix against external/remote AD domain (DC) via VPN.
Need help troubleshooting and interpreting Error Message
Steps to Reproduce
Connect to remote AD DC via VPN.
Confirm that IDFix installed in your local AD DC runs against the remote AD DC via VPN.
Please, share the configuration parameters for this topology.
Thank you,
Boris.

Please, help how to configure IDFix Settings when running IDFix from 'the outside' of the DC that is being queried or via LDAP.
None other than 'auto-discovered' parameters seem to work.

Thank you!

oops - still open

IdFix was never designed for this type of remote connection. Marking this as an enhancement - this feature may be included in future releases of the tool. Thank you for sharing your ideas on how we can improve IdFix!


GCP Pub/Sub Message Ordering Configuration

Description
Adds a boolean configuration value in GCP Pub/Sub, enableMessageOrdering, which is passed to subscription creation to enable message ordering if desired by the dependent service.
Issue reference
This PR will close: #1098
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[x] Code compiles correctly
[x] Created/updated tests
[x] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#1742

Thanks for your contribution @LLKennedy


Update image on chrome remote desktop from ubuntu 20.04 to Debian 12

Changed images for stability.  Briefly tested by checking for nvidia drivers and checking that the remote desktop booted correctly.  Running integration tests to make sure it's working on those.
The ramble updates are just snuck in as something I missed with the updated install_ansible PR I just merged.  Just making the link to the startup-script commit uniform.

I realize there is some scope creep on this task. My view on it is that the original goal was to "switch the default to Debian 11", but this PR became "upgrade CRD to Debian 12".
In the end, it feels like the right thing long term but I am just trying to put some narrative on how we got here.
I am happy with this as a single PR as it is not overly large, but for reference I think it could be broken up into several PRs:

Enable Deb 12 and switch default
Migrate Slurm test and support to Deb 12
Deprecate Deb 11


StateNotifierProvider override with a Mockito's mock

Hello,
I'm trying to override a StateNotifierProvider with a mock StateNotifier generated with Mockito but I can't figure how to do this. I've seen issue #273 where @rrousselGit suggests not using Mockito but rather create a class which implements the StateNotifier to mock. The problem is I want to verify a StateNotifier method was called during a test case.
Here is my StateNotifierProvider which depends on a Provider (for my repository) :
final favoritesStateProvider =
    StateNotifierProvider.family<FavoritesStateNotifier, FavoritesState, String>((ref, userId) {
  final repository = ref.watch<PortfolioRepository>(portfolioRepositoryProvider(userId));
  return FavoritesStateNotifier(repository);
});

class FavoritesStateNotifier extends StateNotifier<FavoritesState> {
  final PortfolioRepository _repository;

  FavoritesStateNotifier(PortfolioRepository repository)
      : _repository = repository,
        super(const FavoritesState.notLoaded()) {
    _repository.favoriteSymbols().listen((favorites) {
      state = FavoritesState.loaded(symbols: favorites);
    });
  }

  Future<String> addFavorite(String symbol) async {
    ...
    return _repository.addFavorite(Favorite(symbol: symbol));
    ...
  }
  ...
}

@freezed
class FavoritesState with _$FavoritesState {
  const factory FavoritesState.notLoaded() = FavoritesNotLoaded;
  const factory FavoritesState.loaded({required List<Symbol> symbols}) = FavoritesLoaded;
}

Here is the test case I'm trying to test :
testWidgets('adds symbol to favorites if it\'s not favorited', (WidgetTester tester) async {
  final favoritesStateNotifier = MockFavoritesStateNotifier();
  when(favoritesStateNotifier.addListener(any)).thenReturn(() {});
  when(favoritesStateNotifier.state)
    .thenReturn(FavoritesState.loaded(symbols: favoritesSymbols));

  await tester.pumpWidget(ProviderScope(
    overrides: [
      favoritesStateProvider('userId').overrideWithValue(favoritesStateNotifier)
    ],
    child: MaterialApp(home: MyScreen()),
  ));
  await tester.pumpAndSettle();

  await tester.tap(find.byIcon(Icons.favorite_outline));

  verify(favoritesStateNotifier.addFavorite(any)).called(1);
});

The MockFavoritesStateNotifier class has been generated using the Mockito's @GenerateMocks annotation.
With the example code above, I get the  following error (MyScreen has a Consummer widget to consume the StateNotifierProvider):
The following ProviderException was thrown building Consumer(dirty, dependencies:
[UncontrolledProviderScope], state: _ConsumerState#801da):
An exception was thrown while building StateNotifierProvider<FavoritesStateNotifier,
FavoritesState>#71381(testId).

Thrown exception:
LateInitializationError: Field '_state@189412286' has not been initialized.

I'm certainly missing something, but I can't see anything about verifying that a StateNotifier method was called.
Thanks,
Lucas

You could make a StateNotifier that defers its method calls to a Mockito mock, which you can then verify

That's the only workaround I was thinking about.
Thanks for your response.

Indeed there's hardly any other solution.  Anyway I'll close this since this was answered.


MINOR: Run the Java and Scala documentation in Jenkins

blocked by https://github.com/apache/kafka/pull/6747

@hachikuji This is ready for review and merging

Let's not merge yet. I am investigating if this are the right command that we want to run to verify that doc generation is working.


kotlin_version is not defined

In the following codelab, ext is defined, but kotlin_version is not defined.
Therefore, if you follow the instructions, Gradle sync will not work because kotlin_version is not defined.

I was able to run Gradle sync by adding the following kotlin_version to ext.
ext {
    activityVersion = '1.1.0'
    appCompatVersion = '1.2.0'
    constraintLayoutVersion = '2.0.2'
    coreTestingVersion = '2.1.0'
    coroutines = '1.3.9'
    lifecycleVersion = '2.2.0'
    materialVersion = '1.2.1'
    roomVersion = '2.2.5'
    // testing
    junitVersion = '4.13.1'
    espressoVersion = '3.1.0'
    androidxJunitVersion = '1.1.2'
    kotlin_version = '1.6.10'
}

I defined kotlin_version to be 1.6.10, but in that case, I had to raise roomVersion to 2.4.0 to be able to build.
https://stackoverflow.com/questions/53885749/query-method-parameters-should-either-be-a-type-that-can-be-converted-into-a-dat


❓ [Question] Does TRTorch supports Ellipsis and None in Tensor.getitem? Any workaround?

❓ Question
I would like to skip the first batch dimension when I extract data.
While torch2trt seems support this operation, TRTorch seems not?
Any workaround?
What you have already tried
Here is an example I would like to do.
import torch
import trtorch

class MyModule(torch.nn.Module):

    def __init__(self, ):
        super(MyModule, self).__init__()
        self.fc1 = torch.nn.Linear(10, 10)

    def forward(self, x, y):
        x = self.fc1(x)
        z = x[:, y > 0.5]
        return z

model = MyModule()
batchsize = 100
x = torch.randn((batchsize, 10))
y = torch.randn(10)

tracedmodel = torch.jit.trace(model, (x, y))
compile_settings = {
    "input_shapes": [
        [batchsize, 10],
        [10]
    ],
    "op_precision": torch.half, # Run with FP16
    "debug": True,
}
compiledmodel = trtorch.compile(tracedmodel, compile_settings)

Traceback (most recent call last):
  File "trtorch_indexing.py", line 30, in <module>
    compiledmodel = trtorch.compile(tracedmodel, compile_settings)
  File "/usr/local/lib/python3.6/dist-packages/trtorch/_compiler.py", line 73, in compile
    compiled_cpp_mod = trtorch._C.compile_graph(module._c, _parse_compile_spec(compile_spec))
RuntimeError: [enforce fail at ./core/conversion/var/Var_inl.h:37] Expected ivalue->isTensor() to be true but got false
Requested unwrapping of arg IValue assuming it was N2at6TensorE however type is None

Environment

Build information about the TRTorch compiler can be found by turning on debug messages

PyTorch Version: 1.8.1
CPU Architecture: AMD Ryzen 9 4900HS with Radeon Graphics
OS: Ubuntu 18.04
How you installed PyTorch: pip
Build command you used: --
Are you using local sources or building from archives: No
Python version: 3.6.9
CUDA version: 11.1.1
GPU models and configuration: GeForce RTX 2060
Any other relevant information:

Additional context

Theres two things going on here. 1. We dont currently support aten::index. We can add support for this. The next thing is there is a none that gets placed into a list with other tensors, so we need to expand our list construct implementation to handle that and make sure downstream this will work for other converters since they assume iirc that there are no nones in lists.

Support for this case should be merged, reopen if still an issue


README in @solana/spl-account-compression has 'docs here' link that 404s

See https://www.npmjs.com/package/@solana/spl-account-compression
'docs here' points to https://solana-labs.github.io/solana-program-library/account-compression/sdk/docs/ which is a 404.
https://github.com/solana-labs/solana-program-library/blob/282c716910b88e28495d5fb20143848bc01f79d5/account-compression/sdk/README.md?plain=1#L3
Also we should avoid 'here' links, they're bad for SEO, people scanning the page, training ML answers etc. It's better to use something like

see the Solana account compression docs.

https://solana-labs.github.io/solana-program-library/account-compression/sdk/ also seems to work.

It looks like the compression docs have been (maybe) accidentally deployed to https://solana-labs.github.io/solana-program-library/index.html.

That was my mistake, sorry! https://solana-labs.github.io/solana-program-library/account-compression/sdk is the correct link. And please feel free to just do a pull request directly when you notice something like this! Looks like Joe took care of it though


4.x Client SE Generator

Update the OpenAPITools Helidon client generator SE library to support and take advantage of 4.x (without disrupting existing support for 3.x).

Handled by the OpenAPITools PR being merged.


Can't build examples

When I npm run build-examples I get these errors:
I also had to change the name of the loader to babel in the webpack configs...
ERROR in ./test/examples/0-showcase.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/10-dynamic-min-max-wh.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/1-basic.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/2-no-dragging.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/3-messy.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/6-dynamic-add-remove.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/5-static-elements.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/7-localstorage.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/8-localstorage-responsive.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/4-grid-property.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

ERROR in ./test/examples/9-min-max-wh.jsx
Module build failed: ReferenceError: Unknown option: runtime
    at File.normalizeOptions (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:91:15)
    at new File (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:70:22)
    at Object.transform (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/index.js:18:14)
    at transpile (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:54:24)
    at Object.module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-loader/index.js:43:24)

Thanks for the notice. This is fixed in master and the gh-pages branch now. Looks like I partially upgraded the config to babel from 6to5 but didn't finish it.

wow, that was quick, thanks!
after I npm run build && npm run build-example && npm run dev
I'm still seeing one error:
ERROR in ./test/dev-hook.jsx
Module build failed: TypeError: /Users/ivan/dev/react-grid-layout/node_modules/react-hot-loader/index.js!/Users/ivan/dev/react-grid-layout/test/dev-hook.jsx: Cannot call method 'match' of undefined
    at urlParse (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/util.js:37:22)
    at normalize (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/util.js:86:15)
    at Array.map (native)
    at SourceMapConsumer.BasicSourceMapConsumer (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/source-map-consumer.js:287:23)
    at new SourceMapConsumer (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/source-map-consumer.js:25:9)
    at File.mergeSourceMap (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:473:31)
    at File.<anonymous> (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:522:23)
    at File.generate (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:488:24)
    at /Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:399:20
    at module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/helpers/parse.js:35:14)
 @ multi main

That's odd. That looks like an internal babel error. See what you can
find... I'll troubleshoot as well.
On 3/30/15 11:25 PM, Ivan Storck wrote:

wow, that was quick, thanks!
after I |npm run build && npm run build-example && npm run dev|
I'm still seeing one error:
|ERROR in ./test/dev-hook.jsx
Module build failed: TypeError: /Users/ivan/dev/react-grid-layout/node_modules/react-hot-loader/index.js!/Users/ivan/dev/react-grid-layout/test/dev-hook.jsx: Cannot call method 'match' of undefined
at urlParse (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/util.js:37:22)
at normalize (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/util.js:86:15)
at Array.map (native)
at SourceMapConsumer.BasicSourceMapConsumer (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/source-map-consumer.js:287:23)
at new SourceMapConsumer (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/node_modules/source-map/lib/source-map/source-map-consumer.js:25:9)
at File.mergeSourceMap (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:473:31)
at File. (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:522:23)
at File.generate (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:488:24)
at /Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/transformation/file.js:399:20
at module.exports (/Users/ivan/dev/react-grid-layout/node_modules/babel-core/lib/babel/helpers/parse.js:35:14)
@ multi main
|
—
Reply to this email directly or view it on GitHub
https://github.com/STRML/react-grid-layout/issues/39#issuecomment-87835582.


Build failure with "error executing shell command: '/bin/bash -c #!/usr/bin/env bash"

Facing issues when build maistra envoy repo.
Environment: ppc64le/UBI 8.4 (RHEL 8.4 based container environment)
Build steps:
yum update -y
yum install -y hostname git tar zip gcc-c++ unzip python3 libtool automake curl wget gcc vim patch binutils bzip2 make tcl gettext
yum install -y cmake3
cmake3 --version
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
wget https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-8/vbatts-bazel-epel-8.repo -P /etc/yum.repos.d/
yum install -y bazel
dnf -y --disableplugin=subscription-manager install http://mirror.centos.org/centos/8/BaseOS/ppc64le/os/Packages/centos-gpg-keys-8-2.el8.noarch.rpm http://mirror.centos.org/centos/8/BaseOS/ppc64le/os/Packages/centos-linux-repos-8-2.el8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
cat > /etc/yum.repos.d/centos.repo<<EOF
[local-rhn-server-baseos]
name=Poughkeepsie Client Center Local RHN - RHEL \$releasever \$basearch Server RPMs
baseurl=http://mirror.centos.org/centos-8/8/BaseOS/\$basearch/os/
enabled=1
gpgcheck=0
[local-rhn-server-appstream]
name=Poughkeepsie Client Center Local RHN - RHEL \$releasever \$basearch Server Supplementary RPMs
baseurl=http://mirror.centos.org/centos-8/8/AppStream/\$basearch/os/
enabled=1
gpgcheck=0
EOF
dnf group install -y "Development Tools"
ln -s /usr/bin/python3 /usr/bin/python
dnf install -y hostname python3 wget vim tcl python2 python2-setuptools java-11-openjdk-devel gcc-toolset-9 gcc-toolset-9-gcc gcc-toolset-9-gcc-c++ gcc-toolset-9-libatomic-devel binutils-devel npm
source scl_source enable gcc-toolset-9
ln -s /usr/bin/python3 /usr/bin/python
export CC=/opt/rh/gcc-toolset-9/root/usr/bin/gcc
export CXX=/opt/rh/gcc-toolset-9/root/usr/bin/g++
export PATH=$PATH:/opt/rh/gcc-toolset-9/root/bin/
export LD_LIBRARY_PATH=/opt/rh/gcc-toolset-9/root/usr/lib64:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=/opt/rh/gcc-toolset-9/root/usr/lib/gcc/ppc64le-redhat-linux/9/include/
export CPLUS_INCLUDE_PATH=/opt/rh/gcc-toolset-9/root/usr/lib/gcc/ppc64le-redhat-linux/9/include/
export JAVA_HOME=$(compgen -G '/usr/lib/jvm/java-11-openjdk-*')
export JRE_HOME=${JAVA_HOME}/jre
javac --version

mkdir ~/istio_build/
export SOURCE_ROOT=~/istio_build/

cd $SOURCE_ROOT
git clone git://github.com/ninja-build/ninja.git
cd ninja
git checkout v1.8.2
./configure.py --bootstrap
ln -sf $SOURCE_ROOT/ninja/ninja /usr/local/bin/ninja

cd $SOURCE_ROOT
git clone https://gn.googlesource.com/gn
cd gn
git checkout 992e927e217baa8a74e6e2c5d7417cb65cf24824
python build/gen.py
ninja -C out
ln -sf $SOURCE_ROOT/gn/out/gn /usr/local/bin/gn
curl -O https://oplab9.parqtec.unicamp.br/pub/ppc64el/bazel/ubuntu_18.04/bazel_bin_ppc64le_3.6.0
mv bazel_bin_ppc64le_3.6.0 /usr/local/bin/bazel
chmod 755 /usr/local/bin/bazel

yum install -y git perl-core
git clone https://github.com/openssl/openssl
mv openssl ../
cd ../
cd openssl
git checkout OpenSSL_1_1_1-stable
./config
make
make install
cp libcrypto.so.1.1 libssl.so.1.1 /usr/lib64

cd $SOURCE_ROOT
git clone https://github.com/Maistra/envoy.git
BUILD_VERSION=maistra-2.1
cd envoy/
git checkout $BUILD_VERSION
bazel build -c opt //source/exe:envoy-static --sandbox_debug --verbose_failures --copt "-w" --copt "-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" --cxxopt=-Wimplicit-fallthrough=0 --cxxopt=-Wno-error=type-limits

Error Logs:
ERROR: /root/.cache/bazel/_bazel_root/bd7c8cff91ab88f7eebbbebfd072b029/external/envoy/bazel/foreign_cc/BUILD:156:21: error executing shell command: '/bin/bash -c #!/usr/bin/env bash
function cleanup_function() {
local ecode=$?
if [ $ecode -eq 0 ]; then
cleanup_on_success
else
cleanup_on_failure
fi
}
set -e

BuildLogs.txt

There a few issues I noticed with this build:

the bazel version used is incorrect, v3.7.2 is expected.
gcc-devtoolset-9 is being installed, but not being enabled (creating a symlink to the gcc binary isn't sufficient). Something like source /opt/rh/gcc-toolset-9/enable needs to be invoked.
OpenSSL 1.1.1d is checked out and built, but not actually used during the build. This is the root-cause of the build failure:

cmake: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

We maintain a build image used by envoy and proxy CIs, I would suggest using it as a reference: https://github.com/maistra/test-infra/blob/main/docker/maistra-proxy-builder_2.1.Dockerfile. I would also suggest using maistra-envoy ci script (here: https://github.com/maistra/envoy/blob/maistra-2.1/maistra/run-ci.sh) to build the envoy binary, or create something similar if ours doesn't fit your needs: there are a few bazel options that need to be used for a build to succeed.

Hi @dmitri-d,
The issue "cmake: symbol lookup error: /lib64/libk5crypto.so.3: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b" was resolved by installing openssl-devel package using command "yum install -y openssl-devel" and used bazel version v3.7.2.
Proceeds further.
Thanks.

Hi @dmitri-d,
Could you please provide some reference pointers to tweak the configuration to use luajit instead of moonjit.
Below are the command used to execute http lua filter test.

bazel test //test/extensions/filters/http/lua:lua_filter_test -k --copt "-Wno-error=type-limits" --//source/extensions/filters/common/lua:moonjit=1

Thanks in advance

Hi @dmitri-d ,
I try to run http lua filter tests by using command bazel test //test/extensions/filters/http/lua:lua_filter_test with below patches and it PASSED but there are some leaks.
diff --git a/bazel/repository_locations.bzl b/bazel/repository_locations.bzl
index 6a7e97280..fc3830d20 100644
--- a/bazel/repository_locations.bzl
+++ b/bazel/repository_locations.bzl
@@ -232,10 +232,10 @@ REPOSITORY_LOCATIONS_SPEC = dict(
         project_url = "https://luajit.org",
         # The last release version, 2.1.0-beta3 has a number of CVEs filed
         # against it. These may not impact correct non-malicious Lua code, but for prudence we bump.
-        version = "1d8b747c161db457e032a023ebbff511f5de5ec2",
-        sha256 = "20a159c38a98ecdb6368e8d655343b6036622a29a1621da9dc303f7ed9bf37f3",
-        strip_prefix = "LuaJIT-{version}",
-        urls = ["https://github.com/LuaJIT/LuaJIT/archive/{version}.tar.gz"],
+        version = "2.1-20210510",
+        sha256 = "1ee6dad809a5bb22efb45e6dac767f7ce544ad652d353a93d7f26b605f69fe3f",
+        strip_prefix = "luajit2-{version}",
+        urls = ["https://github.com/openresty/luajit2/archive/refs/tags/v{version}.tar.gz"],
         release_date = "2020-10-12",

Refer Logs: Lua_Test_Execution.txt
Please provide your comments if any related to leaks.
Thanks in advance.

I don't have any insight into these failures. Perhaps try running tests with --define tcmalloc=gperftools, not sure if tcmalloc is used by default on ppc builds. You could also try envoy-dev channel on envoy slack.

Issues for this repository are tracked in Red Hat Jira. Please head to https://issues.redhat.com/browse/OSSM in order to browse or open an issue.


Support for node 8.4.0

Support for the latest Node js

Hi @dpeter99 , the master has alreday had 8.4.0 landed. cf. https://github.com/pmq20/node-packer/blob/master/CHANGELOG.md


Sampling target sizes

Addition of a new step that involves calculating sampling target sizes for each strata. In four stages:
Calculating sampling target sizes
Step 1: With the population counts aggregated in the previous step, we will need to calculate the sample size need to achieve adequite statistical power, using experience of harrassment as the critical variable. We will be using Cochran's formula to calculate appropriate sample sizes.
Step 2: n0 needs to be further modified for each project to adjust the sample to the project's population, referred to as Finite Population Correction For Proportions.
Step 3: The sample size caclulated for each projects needs to be divided across various editing activity levels. This will be according to the proportions of the population. For example, if the desired sample size for arwiki is 117, and in the population, if 10% of the editors belong to 10-29 strata, the sample size for 10-29 strata on arwiki would be 12.
Step 4: Based on previous year's response rates, the sample size needs needs to be adjusted to account for nonresponse. This is capped at strata-level population). For example, 49 of the most-active (1200+) editors on en.wikipedia, and the 2020 response rate was 29%, we'd expect to need to contact 170 such contributors to achieve our target.

@kcvelaga do you still want my review on this? Happy to give it if so 😊

@nshahquinn good to see you are back at work :) Yes, I definitely would like to have your review before merging. Although I am wondering (myself) why I have specifically pinged you for this. I thought I will complete all the changes/updates for this year, and then have your review before merging. If that's okay, I can ping you again once this year's cycle is complete. Alternatively, if you would like to review the pull requests till date, that is absolutely fine with me as well.


Kernel performance decrease even if variableInspector's UI not opened

jupyterlab-variableInspector is a fantastic extension ...
.. but it comes with the drawback that it runs (of course) some extra code in the kernel which can lead to a significant slow down.
https://github.com/jupyterlab-contrib/jupyterlab-variableInspector/blob/main/src/kernelconnector.ts#L94
At the moment, jupyterlab-variableInspector runs by default for every Python and R kernel, regardless of whether the user has opened its UI or not.  For this reason, jupyterlab-variableInspector cannot be a default extension for a JupyterLab installation that is used by many different users. It must always be an optional extension as it has high impact on the execution performance.
It would be great if jupyterlab-variableInspector could execute extra commands in the kernel only if the users has opened its UI.

Thanks for opening an issue and raising this!

It would be great if jupyterlab-variableInspector could execute extra commands in the kernel only if the users has opened its UI.

This sounds fair, I will look into what it takes to do this.
Although I believe it may not be enough, because if the UI for the variable inspector is opened the issue would appear. The slowdown seems to appear after a huge dataframe has been created in the kernel.
I will also look into the pain points in the case where such a dataframe is created and see if we can improve things.

@jhgoebbert would you be able to provide a sample notebook that shows this slowdown in your particular case? That would help me see if I can improve other things

I guess we can close this now. The situation should be improved now with #309, #311, #313, #319 and #320

Hi @martinRenou ,
I am sorry that my answer comes late - I was too busy in the last week until now.
Great, that the situation improved with the fixes you listed 👍


feat(Spark3Support): Adding support to pyspark 3.0

Issue #, if available:
May be https://github.com/awslabs/deequ/issues/310 #4
Description of changes:
Adding support to pyspark 3.0
Generally faced few properly because of current setup.py files so Migrating from setup to Poetry which is one of the best python dependency management and packaging
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

cc: @gucciwang @jaoanan1126

any updates on this? I want to use pydeequ on my project.
thank you

Working on this! Doesn't seem to be passing tests at the moment, will reach out!

Let's merge #40 first, since it will add all workflows if required.
Or Locally install poetry and Install dependencies then
https://github.com/awslabs/python-deequ/pull/40/files#diff-f279a155e67df88ab450450a567b747e2db4e3db42eeb2b241a86693eb2a214cR133
My local output:
> poetry version
pydeequ 0.1.8
> poetry run coverage run -m pytest --reruns 5 --reruns-delay 30
====================================================== test session starts ======================================================
platform darwin -- Python 3.8.7, pytest-6.2.4, py-1.10.0, pluggy-0.13.1
rootdir: /Users/chethanuk/Work/Github/deequ/python-deequ
plugins: flake8-1.0.7, rerunfailures-9.1.1, cov-2.12.0
collected 156 items

tests/test_analyzers.py .........................sssssssssssssssssssss                                                               [ 29%]
tests/test_anomaly_detection.py .s...ss                                                                                [ 33%]
tests/test_checks.py .......ssssssssssssssssssssssssssssssssss................................                                       [ 80%]
tests/test_pandas_utils.py ......                                                                                [ 84%]
tests/test_profiles.py ...                                                                                [ 86%]
tests/test_pydeequ.py .                                                                                [ 87%]
tests/test_repository.py ....ss....                                                                                [ 93%]
tests/test_scala_utils.py ..                                                                                [ 94%]
tests/test_suggestions.py ........                                                                                [100%]

============================================================= warnings summary =============================================================
tests/test_pandas_utils.py::TestPandasUtils::test_p2s_analyzer
tests/test_pandas_utils.py::TestPandasUtils::test_p2s_profiles
tests/test_pandas_utils.py::TestPandasUtils::test_p2s_suggestion
tests/test_pandas_utils.py::TestPandasUtils::test_p2s_verification
tests/test_pandas_utils.py::TestPandasUtils::test_s2p_analyzers
tests/test_pandas_utils.py::TestPandasUtils::test_s2p_verification
  /Users/chethanuk/Work/Github/deequ/python-deequ/pydeequ/pandas_utils.py:26: UserWarning: WARNING: You passed in a Pandas DF, so we will be using our experimental utility to convert it to a PySpark DF.
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/warnings.html
========================================== 96 passed, 60 skipped, 6 warnings in 115.31s (0:01:55) ==========================================
> poetry run coverage report
Name                                                                                Stmts   Miss  Cover
-------------------------------------------------------------------------------------------------------
.venv/lib/python3.8/site-packages/_pytest/__init__.py                                   5      2    60%
.venv/lib/python3.8/site-packages/_pytest/_argcomplete.py                              37     23    38%
.venv/lib/python3.8/site-packages/_pytest/_code/__init__.py                            10      0   100%
.venv/lib/python3.8/site-packages/_pytest/_code/code.py                               699    380    46%

> spark-submit --version
Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 3.0.2
      /_/

Using Scala version 2.12.10, OpenJDK 64-Bit Server VM, 1.8.0_282
Branch HEAD
Compiled by user centos on 2021-02-16T04:53:13Z
Revision 648457905c4ea7d00e3d88048c63f360045f0714
Url https://gitbox.apache.org/repos/asf/spark.git

Would love for support to pyspark 3.0 and 3.1, any idea on when this would be available?

Ping!. @gucciwang


Components do not adhere to the permissions specified

This card will list components accessible to users without configured permissions

Button Group: The main permission property available for the entire button group. The permission inside the button group works accordingly
Validation errors
DataTable: The main permission property available for the entire dataTable. The one for columns works accordingly
Quick Search
Divider
JS option: We returned array of the permissions and it was not working

Validation errors and Divider should not have Permission setting
All other fixed


Add Windows theme

I know many devs don't think of Windows but it would be nice to have Windows represented here rather than the assumption that the UI will be OSX.

general choice of window-borders:

Win 10
Win 95
Win 3.1
MacOS X (every release?)
MacOS Classic
AmigaOS
Gnome
KDE
DOS / ASCII
ChromeOS / Chrome tab

I will make a few of them but I don't know how to show available options in settings.
At the moment theme section is already big enough. How should it looks like with more than 3 themes?

up.
@pa7ryk, what themes are you implementing? I want to implement some of these.

@noformnocontent
I have already done Win10. Now I'm working on Gnome and trying to solve settings problem.

I think we could either add a horizontal scroll to the current window settings (see above image) or add a 'see more' button that expands to a grid of window theme thumbnails.
Either way, I'm happy to create the thumbnail SVGs and help with any design/UX work.

Do you have any telemetry regarding the buttons? Because I'm curious if showing three separate MacOS themes by default is necessary. You could have MacOS, Windows10, Next popular theme then the show more option denoted above?

Just came across this project, love it!
The first two window themes on the currently hosted version are identical. Couldn't one of them be replaced with the windows theme?

Extra space would allow greater flexibility in the number of themes you have available, what about adding a new drop-down specifically for these themes?
BG | W | ⚙

I'd very much appreciate a Gnome 3/Adwaita theme for the borders!

I prefer to use OSX only.


Remove line and Add line plugins

Remove line: Use similar to Blacklist (not completely), when it detects a word or phrase, it will delete the whole line
Add line: Want to add above or bellow of the entire text (*)
Some change Replace plugin: How can I replace and add formatting like bold, italic....? Need this feature if you plan to implement Add Line plugin

I'm glad to hear from @aahnik , If anyone is looking for plugins like the above, please upgrade to version 1.1.5 or higher:

Remove line: The Replace plugin can be used to do it with a combination of Regex (https://regex101.com/r/lqryEN/1). My configuration:
"(.*Test 1.*|.*Test 2.*|.*Test 3:.*|.*Test 4:.*)": ""
Note that you can use "" on the left and "" on the right or "" only for one side, but it's important to have a space after the : for it to be recognizable. But in my above case I used : in the regex content, so I had to put "" on the left
With my above configuration it deletes lines containing Test 1 or Test 2 or Test 3: or Test 4:

Add line: He updated it as Caption plugin

Format: I forgot that when we type normally in Telegram with characters like Test it was possible to bold and when I tested it was successful, no need to upgrade much more. However he did something I was quite surprised that he added a regex feature for formatting. Check it: https://github.com/aahnik/tgcf/wiki/Replace-Plugin and test Replace plugin with "(hello)": bold, all hello words in the content will be bold.

My current usage version is 1.1.5, you can try


Label source CRDs eventing.knative.dev/source=true

Supersedes #183.
Fixes #176.
@vaikas-google I think you said you were having trouble with #183 so I thought I'd give it a try; hope you don't mind :)
Sources are using controller-tools to generate their CRD yamls via annotations, but controller-tools doesn't support labeling CRDs yet. Use kustomize patches to add labels instead. There's probably a prettier way to do this but this was the quickest.
Proposed Changes

Add label eventing.knative.dev/source: "true"

Release Note

Each source CRD is now labeled with:
    eventing.knative.dev/source: "true"
which means you can find list of available sources with:
 kubectl get crds -l "eventing.knative.dev/source=true"

Superseded by #192


JS/TS features crashing

Type: Bug
Not really sure what's going on but yesterday the TS support in VSCode stopped working for my project.
 It looks like you may be using an old version of VS Code, the latest stable release is 1.85.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Updating the JSC version did not work.

It is perpetually stuck trying to init.

And eventually shows it's crashed more than 5 times in 5 minutes via a notification within VSC.

When I run tsc in my project, I get an error like
<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory

So this might be an issue I have to find out with typescript more generally that's causing an issue.

This was a me-problem. I am working on an application that processes videos. Some of those files are Transport Segment (.ts) files. I recently synced a folder within my docker container with some of these video files to my host machine for troubleshooting. These path for these .ts video files were not excluded in the tsconfig.json for the project, so that caused the typescript build to fail, as well as prevented this VSC extension from starting up. 🤦
After excluding that folder with the .ts video files, things are working again. Closing this.


crypto/tls: Refactor client state machine after draft-ietf-tls-esni upgrade

Based on #89.
Before draft-ietf-tls-esni-11, there was no way for a client that
offered ECH to tell whether a HelloRetryRequest (HRR) was sent by the
client-facing or backend server. Starting in draft-ietf-tls-esni-11
there is an explicit signal of ECH acceptance after HRR. This allows us
to simplify the client state machine.

Rebased.

If there are other significant changes, they didn't stand out to me. @cjpatton, can you clarify whether or not I missed something?

No other significant changes. One minor change: I moved the logic for selecting the OuterExtensions out of echOfferorGrease().

Rebased.

Rebased and squashed.

Squashed.


Order ID in Stripe

Can anybody with knowledge of the Stripe API point out on how and where to add the current order ID so that it would be displayed in Stripe dashboard? Currently it is a fiddling task to identify the orders/payments.

The challenge here is that when an order is placed using Stripe, it has to process the charge successfully before the order is created, and therefore there's an order ID available.
From memory you can search in Stripe's dashboard via email addresses (as they are passed across), or via the transaction ID which you'll see against orders and on emails.

Once the Community Store order ID is created (e.g. successful payment), you could send another API request to Stripe to update the payment record to add the order ID as meta-data. One place to generate that request is from the on_community_store_payment_complete event handler.

Good point @dbuonomo, that would be the way to do it!


#38

#38
linkml_model_enrichment/utils/enums_pvs_tsv.py

Thanks, applying your requests now
Sorry about the terse issue and PR descriptions. This generates a TSV report of the enums and permissible values in a LinkML YAML file.


Bind holdModifier to the SessionDescriptionHandler instance

When putting a call on hold, sessionDescriptionHandler.holdModifier is
added to the modifiers. The modifier is an instance method, and as such
we need to bind it to the instance.
It so happens the default WebRTC holdModifier does not reference 'this',
so things work as expected. However for a custom session description
handler this may not hold true.

So, I think that modifiers should be static instead of instance methods. This is what we did for other modifiers, this is the only one we put as an instance method.
The only argument we could see for having it as an instance method is so that the modifier can change it's own behavior based on the state of the session. We think that this should be left up to whatever is adding the modifiers and different modifiers should be added based on the state and the modifiers should be static.
So the correct thing here is to change the hold modifier to be a static method. I can get this in soon, or you can create another PR that does this. Either way I am going to close this PR, but feel free to continue the conversation here.

OK, I don't have any strong feelings about this, other than the fact it's not documented. I just tripped over this by trying to add a this.logger.log(..) call inside holdModifier

I spent a bit of time looking at this further. I think that putting the hold modifier on the class makes the entire code more complex, especially with defining custom session description handlers. So the hold modifier here will stay as an instance method, but behave as a class method. That is how it is written now, and I will update the documentation to say as much.


Fix fuse metadata command ClassCastException

What changes are proposed in this pull request?

Add a method getUnderlyingFileSystem() in DelegatingFileSystem to get underlying FileSystem;
Add judgment logic to the fileSystem in AbstractMetadataCacheSubCommand.

Why are the changes needed?
https://github.com/Alluxio/alluxio/issues/17029
Does this PR introduce any user facing changes?
Please list the user-facing changes introduced by your change, including

change in user-facing APIs? false
addition or removal of property keys? false
webui? false

@LuQQiu can you take a look? thanks!

alluxio-bot, merge this please


Database index corruption after OS upgrade (glibc collation change)

After upgrading my server from Ubuntu 16.04 LTS to Ubuntu 20.04 LTS, I am unable to search through private messages, group messages, streams, or topics.  The upgrade went through rather seamlessly (on my second attempt). This seems to be the only hangup I have.
Chat logs for the upgrade process can be referenced at:
https://chat.zulip.org/#narrow/stream/3-backend/topic/Ubuntu.2016.2E04.20Upgrade

We believe the issue here is caused by glibc having been upgraded, which apparently can corrupt indexes on a postgres database.  For a small server, running REINDEX on the database while the server is not running will fix it, but that could involve substantial downtime for a larger server with millions of messages.  (It might not; we just don't have an estimate for how long it would take per unit message).
This week, we encountered what is likely this issue on zulipchat.com somewhat manually; our plan is to extract a tool for this that we can include in a 4.x release and recommend to self-hosters.

This was fixed in #19225, which is in the 4.5 release.


fix tests for widgets that reference laxar-dist

The widgets test harness does not support widgets that reference the LaxarJS bower packages.
We need to add a workaround so that the matching RequireJS configuration is generated correctly (especially for laxar/laxar_testing to work).

Marked invalid: wrong project


Add register application for pool scene

Add pool scene management for each application.

Create branch from main
issue-15-add-register-application-for-pool-scene

Related to https://github.com/unity-game-framework/ugf-module-pool/issues/17


Scale wheel event value according to whether they're lines or pixels

When using this with bevy in the browser, this previously would give some whacky behavior with the scroll wheel. Previously, this library was just using event.y, which was 53 on my machine. When I ran with a desktop backend, it was using Line, so it was just feeding back 1, so I assume that's what you were testing with because that looked fine.

What is a "line" in this context? ScrollUnit doesn't have docs.

I think it's a click of the scroll wheel, maybe corresponding to a line of text (like a line of code, sort of like pressing the up or down arrow key). I don't think I was able to make it do more than one, and I don't happen to have any other mice to test it with, so the only difference I've noticed for myself is "it's Pixels/53 in my browser and Lines/1 on native".


The home page of the website has a "header" text at the top. [GSSoC'23]

Describe the bug
The home page of the website has a "header" text at the top. It looks very unprofessional.
Expected behavior
There must not be any such text
Screenshots

Additional context
Please assign me this issue under GSSoC'23

Please assign me this issue under GSSoC'23.

We already updating the Navbar @1Shubham7 , if you want to contribute other works then inform me

Ok @amanjaiman1


quick discussion on render order

          @michaelthatsit I'm happy if you explain because as I explained at other places I'm thinking of using `renderOrder` for masking (stencil) system.

Anyways, this is just a question, not a comment for any blocking issue.
Originally posted by @takahirox in https://github.com/Volumetrics-io/mrjs/pull/464#discussion_r1509894813

opening a new issue here so the conversation doesnt get bogged down by the noise in the other pr
@michaelthatsit - could you give an explanation of our current use of renderOrder? just want to make sure it works with how takahiro's planning to use it for masking

I'm still want to know our renderOrder usage, however the priority is low now. I was thinking of using renderOrder for masking system but I implemented another approach #492

We're using render order for environment clipping.
Hands and MRPlanes have a renderOrder set to 0 and colorWrite set to false, and everything else has a renderOrder > 0 so that they still appear to be behind "invisible" objects.
We could enum these for clarity. Something like
RenderOrder {
    Environment: 0,
    Default: 1,
    ???
}

Obviously we could still utilize renderOrder in other ways as long as it's clear that 0 is reserved for physical object occlusion.

Closing because @michaelthatsit explained, thanks. We should open more specific issues when needed for renderOrder related topic.


feat: Add quorumType to space settings

Related to https://github.com/snapshot-labs/snapshot/issues/4600
This will add ability to send a new space settings to store optimistic quorum (default to undefined)
How to test:

Run yarn test
Change values in examples/space.json
Try passing different values to quorumType
If quorumType exist, It should accept only optimistic and reject all

Merging this for now to save time @wa0x6e but let me know if I have to change some names, this should not break anything


Add IndirectExchange

Adds a decorator for Exchange that will query the underlying exchange to find a shortest chain of conversions to go from the base currency to the counter currency using breadth-first search.

The getConversions method is intended to be able to be taken public if the user is interested in finding the exact chain of conversions needed to get from the base currency to the counter currency. I left it private, as increasing visibility is easier than decreasing it.

@mcordingley Sorry, but I do not understand the problem that is trying to be solved here. Could you elaborate?

Sure. It's all about being able to resolve exchange rates between currencies that don't have a direct mapping in the base exchange. If such a direct mapping doesn't exist, then it's impossible with the current tools to resolve an exchange rate. The existence of ReversedCurrenciesExchange already suggests that there are gaps in the set of currencies exchanged. This complements that by finding a minimal set of conversions using intermediate currencies to make the desired exchange.
It can also enhance a fixed set of exchanges. Stacking this on top of ReversedCurrenciesExchange means that a fixed exchange with only mappings from USD to other currencies could now map between any two currencies found in the exchange.

@mcordingley Got it. Will review accordingly!

@sagikazarmark I am in favor of this feature. How about you?
I have got some style and code remarks on the PR, but before going into detail I rather have an agreement on the feature first.

Nice PR!

Unfortunately there is no registry to get a supported Calculator, so I can't see a nice way of inferring a calculator automatically apart from duplicating https://github.com/moneyphp/money/blob/cf363f54cb3b8fe9d2c1eb82de4e6e6bbb1e9fa8/src/Money.php#L486-L527

Seems as if that code should get shifted out into a CalculatorRegistry that classes can use. I don't have the particulars fully worked out in my head and it's beside the point of this PR. I think I'd rather keep this code dumb with regards to resolving calculators.

I also like the idea, going through the implementation now.
About Calculators: I would like to keep that an internal detail if possible. So for now, I would just copy the code from the Money class and rewrite Calculator handling in a separate PR. Since it's an internal detail, we are allowed to make changes there.

Good job! Will review again soon. Think we can merge it in soon.

@mcordingley Did you consider to 'try' the decorated exchange directly before actually going for the indirect conversion?
    public function quote(Currency $baseCurrency, Currency $counterCurrency)
    {
        try {
                return $this->exchange->quote($baseCurrency, $counterCurrency);
        } catch (UnresolvableCurrencyPairException $e) {
                $rate = array_reduce($this->getConversions($baseCurrency, $counterCurrency), function ($carry, CurrencyPair $pair) {
                    return static::getCalculator()->multiply($carry, $pair->getConversionRatio());
                }, '1.0');
                return new CurrencyPair($baseCurrency, $counterCurrency, $rate);
        }
    }

That would speed things up in the common case of a direct mapping.

@mcordingley Exactly, so, I prefer to include it. Afterwards I think it is good to go.

Good catch. That's in, and I think we're good to go. The only part I don't like is the Calculator handling code, but that's a whole separate issue. 👍

@mcordingley We could reconsider the calculator part in next major versions.

Tag will have to wait until tomorrow.

Thanks @mcordingley. Great feature!

Tag is there, happy converting!

Thanks @mcordingley


Incorrect integer value: 'null' for column 'xxx' at row 1

hello , I have a problem when I insert a row , below is my sql , the  sharding column is user_id
insert into log_user_key_action_1 (id, user_id,exchange_id )
values<PHONE_NUMBER>92121344, 112243515, null ) ;

the exchange_id is int in mysql , and got an error message 'Incorrect integer value: 'null' for column 'exchange_id' at row 1' , but I can execute in my Sub-table like this :
insert into log_user_key_action_1 (id, user_id,exchange_id )
values<PHONE_NUMBER>92121344, 112243515, null ) ;

Hi, thanks for your issue. Please answer the following question:

Do you use Sharding-JDBC or Sharding-Proxy?
What version of ShardingSphere do you use?
Can you provide the complete error log?
@cjj137783

@cjj137783 Hi, i am waiting your reply.
I will close this issue next Monday, if you do not come back until that day.

Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot reproduce it on current information, we will close it.


[RFC] Use case for type casting of boolean vector values

Issue in #69 points out that current vector mask registers all follow MLEN = 1, which bit values are compact inside a single vector register (4.5. Mask Register Layout). Current bool types exist because of type safe reasons.
However the issue implies that there may be some use case on type casting these boolean vector registers. We want to ask for more input on this before we decide to add more intrinsics API-s.

What are the use cases where we want type conversions between different vbool values?
What are the use cases of casting between boolean vector registers to LMUL<=1 values integer values?

@jan-wassenberg posted a use-case of vint-to-vbool conversion: initializing a mask register to 0b0101...0101 (select even-indexed elements) via an X-to-V splat. This could be used for building other periodic sequences of mask bits (with power-of-two period).

Another use case: load-expand of vint8m8_t. We want to promote to u16 so we can use viota.m and then vrgatherei16, but LMUL is already maxed out. We can instead split both the input vector (easy) and mask (requires casting?) into upper and lower halves, run the LMUL<8 code, then concatenate.

Thanks @jan-wassenberg. Just out of curiosity, can you provide any insight why trimming LMUL from the start (vint8m4_t) would be less satisfactory? I haven't done a careful analysis of the alternatives, but I don't see a clear-cut dynamic code size savings. (I'm not disputing the validity of your use case: this is indeed something that a programmer might want to do, and currently cannot.)

@nick-knight The Highway ops are defined/required to work for any vector LMUL, and our tests verify that. I agree m8 isn't the most sensible path here for someone who knows what is going on, but it's also non-obvious why 'vdecompress_u8m8' shouldn't be used. (Because viota_m might overflow 8-bit lanes, which isn't visible to users.)

Nice :)


fix: ReadMe docs (tests)

fix: readme docs - fix action so payload in expect is correct, as per createActions-test

Btw, it looks like you haven't set your git properly. Normally your GitHub username should be displayed as commit author here, but it doesn't.
Make sure git config --get user.email (inside the repository) is your GitHub email.

Thanks for letting me know. Fixed it.

You're welcome :) You can also set it globally, so you don't need to do it every time: https://git-scm.com/book/tr/v2/Customizing-Git-Git-Configuration

Merged, thanks for your contribution! :)


Integrate Renode tests with TFLu makefile

This adds Renode tests to the Makefile.
Please note, that this is based on #44729, and should be merged after it.

I'm going to have to wait for #44729 to be merged to better see the changes specific to this PR.


Minitwit crashed again - But did recover

From looking at the logs this morning it was visible that the minitwit application had crashed again.
See below: Status is only 2 hours ago. That means that it was re created.

Logs from morning at 06:19.

We see a big twit being posted and causing the crash.
The docker-compose sees that the program crashes and restarts it.

I tried to run the simulator on the dev branch this morning, where I tried to send a similar big message of 8000 chars. That did not seem to crash my local instance.
But when I let it keep running for some time I got an error message saying:
"2022/03/03 09:42:17 unable to open database file: too many open files"
And after looking up the close() method for our sql driver, I noticed that according to their documentation, we are using the driver wrong. It says that it is meant to be a long-lived and shared connection to the database.

Right now we are calling ConnectDb() every time we want to do a sql stmt, which creates another db connection and does not reuse our existing connection. This is also clearly stated in the documentation:

I'm not sure if this is the reason of our crash, but it shows that we are for certain not using the small local sqlite database in the most efficient way possible. Therefor @Thomsen96 and I will try to finish up #37, so we can use the deployed postgres server

Closed ticket, as we are using PG now.

Post-mortem
MiniTwit had a memory leak, caused by SQLite, which would inadvertently cause Docker to crash and restart it. The issue was resolved by moving to PG and GORM.


fixed: fix reload entity bug

Codecov Report

Merging #183 (8e8b04a) into main (3bdd7f9) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #183      +/-   ##
==========================================
- Coverage   12.03%   12.03%   -0.01%
==========================================
  Files          97       97
  Lines       11712    11746      +34
==========================================
+ Hits         1410     1414       +4
- Misses      10168    10198      +30
  Partials      134      134

Impacted Files
Coverage Δ

pkg/runtime/entity.go
33.51% <100.00%> (+1.46%)
:arrow_up:

pkg/runtime/runtime.go
3.00% <0.00%> (-0.14%)
:arrow_down:

pkg/service/entity.go
39.68% <0.00%> (-0.13%)
:arrow_down:

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 3bdd7f9...8e8b04a. Read the comment docs.


First PR: test pr1

Hello

first comment

second comment

Another first comment

another second comment

comment after conflict

hi

hola

comment with options

[ ] Alpha
[ ] Beta
[ ] Gama
[ ] Delta


Why not simply search via standard url structure?

Description
Your readme says, "ChatGPT doesn't provide ability to provide custom search query to the URL, like for perplexity or other search engines https://www.perplexity.ai/search?q=myquery." and that this extension aims to use javascript to similate a person to bypass that limitation.
But I've never had a problem doing a query via url, just like via google using the standard format, "https://chat.openai.com/?q=" When googling for the url structure the top Google result notes it as well. Wondering if this is an older project from before that feature was added?
Steps To Reproduce
N/A
Current Behaviour
N/A
Expected Behaviour
N/A

Seems like this issue is about a specific extension, not the API. Would you mind opening a new issue using the correct template so that the authors of the extension are properly aware of it?


[Storage] Improved version_id behavior

This PR is identical to #28924 , except it uses the current main as the base (which makes it alot easier with all the typing changes 😄)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-storage-blob