Add support for nextjs 13 appDir

When I follow the example at https://github.com/unocss/unocss/tree/main/examples/next, the sample works.
When I enable the appDir (yes, it's experimental, but it has been announced and is used a bit/lot already) using the option in next.config.js:
// next.config.js

const UnoCSS = require('@unocss/webpack').default

/** @type {import('next').NextConfig} */
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
  experimental: {
    appDir: true // <---
  },
  webpack: (config) => {
    config.cache = false;
    config.plugins.push(
      UnoCSS(),
    )
    return config
  },
}
module.exports = nextConfig

I receive an error that the _virtual_%2F__uno.css could not be found:
./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=C%3A<path-to-my-repos>%5Cnext-unocss%5C_virtual_%252F__uno.css&modules=C%3A<path-to-my-repos>%5Cnext-unocss%5Cnode_modules%5C.pnpm%5C%40unocss%2Breset%400.47.6%5Cnode_modules%5C%40unocss%5Creset%5Ctailwind.css&server=false!
Error: Can't resolve 'C:\<path-to-my-repos>\next-unocss\_virtual_%2F__uno.css' in 'C:\<path-to-my-repos>\next-unocss'

Note: I have masked a part of the filesystem path as <path-to-my-repos>

Is it possible to support the appDir functionality?
More stacktrace for the error if needed:
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  digest: '3143090709'
}
TypeError: Cannot read properties of undefined (reading '')
    at resolveModuleMetaData (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:204:82)
    at serializeModuleReference (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1338:50)
    at resolveModelToJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1705:40)
    at Array.toJSON (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1121:40)
    at stringify (<anonymous>)
    at processModelChunk (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:172:36)
    at retryTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1868:50)
    at performWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1906:33)
    at eval (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1297:40)
    at scheduleWork (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:52:25)
    at pingTask (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1296:29)
    at ping (webpack-internal:///(sc_server)/./node_modules/.pnpm/next@13.0.6_biqbaboplfbrettd7655fr4n2y/node_modules/next/dist/compiled/react-server-dom-webpack/server.browser.js:1309:40)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  digest: '3143090709'
}

We are working on a PostCSS plugin at #2218. I tested it with Next 13, and it works. But it has some hiccups on Windows. Generated styles don't appear without touching the css file. This is an issue with Next.js. I will keep my eye on it.
As you may guess, it doesn't support transformers. We may work on a Turbopack plugin when their APIs become public.

Can you also extend coverage to lightningCSS?  There is a vite example, but I have no idea how to get NextJS 13 + appdir + webpack + lightningCSS.
For me, lightningCSS is a big factor for me to move from tailwind to unocss.
Many thanks!

It seems to have been fixed. If you have any questions, please provide a minimized demo and open it again.


Update bufbuild plugin references

Hey there, I noticed you were referencing old Remote Plugins in the buf.gen.yaml file. There are upcoming Remote Plugin changes and this PR ensures you don't get affected.
In summary,

Update plugins to the Buf-managed ones. The build source for these plugins is now open-sourced at github.com/bufbuild/plugins
Run buf generate with buf CLI version 1.17.0

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


Remove RHACM references

Also tests a change to the Actions workflow.
Signed-off-by: Justin Kulikauskas<EMAIL_ADDRESS>

/cc @dhaiducek

/ok-to-test


Loading of library

The initial graph of the library does not load even if the switches and clicked. I believe it needs another reaction for it to load -- the plotly background only displays.

https://github.com/Moore-Institute-4-Plastic-Pollution-Res/OpenSpecy-shinylive/issues/6


f-droid

Describe your suggested feature
Can we get updates from fdroid.
on fdroid there is tachiyomi's old apk.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.3.
[X] I will fill out all of the requested information in this form.

Duplicate of #1

Duplicate of #1

Sory i didn't see that one


Something puzzling on experiments

Hi, when talking about the experiments on sensitivity towards source language, I notice that you translate English test set into Chinese using Google Cloud Api, and I'm wonder whether you still need to label this translated Chinese example manually or by script(did you give the code?)
Moreover, I notice your another paper Syntax-augmented Multilingual BERT for Cross-lingual Transfer, I want to know if Syntax-augmented MBERT can be used for relation extraction and event extraction tasks in this paper. Have you tested it, and if so, how effective is it?😇
Thanks for your answering.

Translation
No, you do not need to do any labeling. Let's say we have the following test example on Event Argument Role Labeling in Chinese.
"id": "CBS20001021.1000.0347-EV1-1CBS20001021.1000.0347-E14-36",
"relation": "Victim",
"subj_type": "Life-Die",
"obj_type": "PER",
"token": ["\u8d8a\u5357", "\u6e44\u516c", "\u6cb3", "\u5730\u533a", "\u6700\u8fd1", "\u56e0", "\u4e3a", "\u8fde", "\u7eed\u8c6a", "\u96e8\u9020", "\u6210", "\u4e86", "300\u591a", "\u4eba", "\u6b7b\u4ea1", "\uff0c"],
"subj_start": 14,
"subj_end": 14,
"obj_start": 13,
"obj_end": 13

We perform the translation as follows.
Chinese input

English translation

Here, [<sub>, </sub>] and [<obj>, </obj>] represents event trigger and one of its arguments.

Evaluating Syntax-MBERT on IE tasks
We didn't evaluate Syntax-MBERT on the information extraction tasks, but presumably, it should boost the performance.

Thanks, bro.❤


Security: Limit reconnection rate to individual peers

Motivation
Zebra's peer liveness check is only applied to peers in the Responded state. This can lead to repeated retries of Failed peers, particularly in small address books.
Zebra takes the most recent time from all the peer time fields, and uses that time for its retry order. This makes Zebra retry some peers multiple times, before retrying other peers. (And in general, we don't want to confuse trusted and untrusted data, or success and failure times.)
Specifications
Unfortunately, there are no Zcash or Bitcoin specifications for peer reconnection rate-limits, or reconnection order.
Designs
Here is Zebra's current peer liveness timeout:
https://github.com/ZcashFoundation/zebra/blob/96a1b661f06c6c72bc8999a55497ee9ebcab2d41/zebra-network/src/constants.rs#L35-L46
Solution
Reconnection Rate
Limit the reconnection rate to each individual peer by applying the liveness cutoff to the attempt, responded, and failure time fields. If any field is recent, the peer is skipped.
This new liveness cutoff skips any peers that have recently been connected, attempted or failed, regardless of their current state.
This change should close #1848.
Reconnection Order
Changes:

make Zebra prefers peers in more useful states: responded, never attempted, failed, attempt pending
if the states are equal, prefer the earliest attempted time, then earliest failed, then earliest responded, then the most recent gossiped last seen time

Unlike the previous order, the new order:

tries all peers in each state, before re-trying any peer in that state, and
only checks the the gossiped untrusted last seen time if all other times are equal.

Review
@jvff can review this change.
This change is important, but it doesn't seem to be currently causing any issues on the network.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Related Work
This PR is based on #2273, it should automatically rebase on main once that PR merges.
This PR is part of a series of MetaAddr refactors. After this PR merges, we can close #1849.

I still need to write proptests to ensure:

regardless of the changes applied to a MetaAddr, it never gets tried more than once per LIVE_PEER_DURATION

we'll need to prefer later times to earlier times to make this property hold

all disconnected MetaAddrs in a particular state are retried once, before any are retried twice

there might be some exceptions to this property, the tests should show us what they are

@jvff I've just changed the order of the constants, feel free to merge once the release is out.


<IP_ADDRESS> Broke Ethereal Knell

When I rolled back to <IP_ADDRESS> it works correctly

Already fixed in dev.


Possibility to pass an object instead of string for suggestion

Hi, first of all thanks for this helpfull plugin library!
I would like to know if it's possible to pass an object in the items property, something like:
'@': [
    { name: 'Anton', email<EMAIL_ADDRESS>},
    { name: 'Boris', email<EMAIL_ADDRESS>},
    { name: 'Catherine', email<EMAIL_ADDRESS>},
    { name: 'Dmitri', email<EMAIL_ADDRESS>},
    { name: 'Elena', email<EMAIL_ADDRESS>},
  ],
  '\\w+:': [],
};

I've tested and actually works, but not 100%, because I think the whole plugin is expecting just a string instead of an object. So in my menu item component I had to change it a little bit:
type SuggestionProps = Omit<BeautifulMentionsMenuItemProps, "children"> & { children: { name: string; email: string; } };

const Suggestion = forwardRef<HTMLLIElement, SuggestionProps>(({ children: { name, email }, ...rest }, ref) => {
  return (
    <li {...rest} aria-label={`Choose ${name}`} ref={ref}>
      {name}
      {email}

  );
});

But this results in some unexpected behaviors, for example the onClick in the item, adds a [Object object] in the editor, if we try to filter a mention before selecting in the menu, for example "Hey @ant", after the @ char, throws an error because is trying to filter based on a string.
So I'm not sure if this is possible, or if there is any other way to pass additional props to the menu item component instead of just a string.
Thanks a lot!

Unfortunately, this is currently not possible and the implementation would be a bit challenging. What value email or name should be written to the editor when selecting an item from the menu? Is it possible to consider the string arrays in the items prop as unique keys that can be used to retrieve further information within your custom MenuItem component? For example:
const additionalData = {
  "Anton": "...",
  "Berta": "...",
  "Caesar": "...",
  // ...
}

const MenuItem = forwardRef<HTMLLIElement, BeautifulMentionsMenuItemProps>(
  ({ selected, children: label, ...props }, ref) => (

      {label} {additionalData[label]}

  )
);

If that helps, I can add a label to BeautifulMentionsMenuItemProps. This is better than considering children as string. This is not safe and can change anytime.

Hey @sodenn, thanks for the reply! Well, so I've ended to a different approach that for now solves my problem. The bad thing with what you said is that in my case I'm fetching the users remotely, so I don't have the users stored in any place to map in the MenuItem component. So what I did (and I think that should be other approaches), was create a context, and then everytime the onSearch is triggered and there are results, I'm setting this results in the context, and then I can use in the MenuItem component:
const Suggestion = forwardRef<HTMLLIElement, SuggestionProps>(({ children, ...rest }, ref) => {
  const { suggestions } = useMentions() // my custom hook to access the context

  const currentSuggestion = suggestions.find((item) => item.name === children)

  return (
    <li {...rest} aria-label={`Choose ${children}`} ref={ref}>
      {currentSuggestion?.name ?? children}
      {currentSuggestion?.email ?? children}

  );
});

Maybe this is not the best solution, but at least for now it is working in my case. Thanks a lot for the help again!


Improve CI run time

The notebooks take too long to run and slow down the dev speed. Especially the notebooks that use cloud storage.
Both installing dependencies and linting take 1-2min each.

I've tried to shorten it to ~6-8min a few times in the past months, and now it's ~12min again.
The notebooks in guide/ need to run sequentially, but the ones in faq/ can probably be in parallel.

@falexwolf Is this notebook needed in CI, can we move it to lndb-setup? https://lamin.ai/docs/db/faq/storage

Can this notebook be combined into an existing one? https://lamin.ai/docs/db/faq/settings, for instance, this? https://lamin.ai/docs/db/faq/ingest-same-file-twice

Similarly, does this notebook needs to be run in CI? Can it just be a note? https://lamin.ai/docs/db/faq/lazy-loading

Collecting a bunch of random thoughts that might help. Don't read them all as "MUST DOS", but starting points for further discussion, please.

Something that I wanted to suggest anyways -> I'd separate the different testing/building steps into their own workflows. We could have build/lint/publish/docs etc workflows separately. Depending on resource availability these can then already start in parallel.
Testing should be done with pytest and not expensive notebooks (aka integration tests). Using notebooks that run whole functions as "tests" is also a cheap and misleading way to increase codecoverage. Think that bionty is a clear "abuser" of this.
I'd also encourage you to run the notebooks that can be run in parallel with a CI matrix. Either via pytest (through a nox configuration) or with a workflow that just executes them until failure (raw example -> https://github.com/theislab/ehrapy/blob/development/.github/workflows/run_notebooks.yml)
Random idea? Is it useful/possible to cache some jupyter notebook output?

Thanks for all the great suggestions!
Here comes a page for a review meeting in which we can discuss all of them in-depth and follow up with what we want to implement to solve these performance issues, and also make progress on quality.
Some quick high-level responses to Lukas’s point here to give a gist for why they haven't (yet) been implemented

Except for linting, all other steps require each other (running integration tests produces the notebook output for building the docs etc.) - linting used to take negligible time
Fully agreed that just running a function isn't a proper test; I think it's a different story when outputs are checked with asserts (is the case in many notebooks); depending on where packages are in their life cycle they'll have more or less unit tests both across tests and faq (as opposed to integration tests); all production grade packages will have fine-grained unit tests over time
Most integration tests are in fact a notebook pipeline and cannot be parallelized; we'll need to figure out a strategy that's aware of notebook pipelines, parallelized notebooks, and all ways unit tests can be scaled
We're already caching it across build & docs steps, build time would be twice as long otherwise; not sure about within-package-across-ci-run caching; across-package caching is in place using inter-sphinx but the current docs roadmap will require storing artifacts (other solutions welcome!) to assemble more comprehensive docs sites across packages
Agreed! We're only testing 3.8., 3.9, 3.10 on a case-by-case basis; most packages typically only run on 3.9; 3.7 was sometimes there as GCP Vertex still had it running as a default a few months ago and we're told many enterprises work on old versions

Consider turning the following FAQ notebooks into markdowns and test scripts:

https://lamin.ai/docs/db/faq/storage
https://lamin.ai/docs/db/faq/select
https://lamin.ai/docs/db/faq/lazy-loading


[WIP] [DO NOT MERGE] Config API implementation for content tree

Implementing config API implementation for the content tree which needs to be handled independently.

You might want to define the event log functions for ContentTreeConfig/Status to make it easier to debug as you develop the rest. See the code for VolumeConfig/VolumeStatus.

Ok, I will take reference from VolumeConfig/VolumeStatus. Thanks!


Meteor mupx ssl configuration is not working, still routing to port 80

Hey :) for easier reading here the http://stackoverflow.com/questions/30965148/meteor-mupx-ssl-configuration-is-not-working-still-routing-to-port-80 Stackoverflow Link. Reason for the repost here: No answer on Stackoverflow... we are launching in 7 days so its quite importent for us :) thanks for your help.
Heres my mup.json:
// Configure environment
"env": {
"PORT": 3000,
"ROOT_URL": "https://www.exomatch.com"
},
//SSL
"ssl": {
"certificate": "ssl/ssl.crt", // this is a bundle of certificates
"key": "ssl/private.key", // this is the private key of the certificate
"port": 443 // 443 is the default value and it's the standard HTTPS port
},
Here are the automatically generated docker container:
CONTAINER ID        IMAGE                                    COMMAND                CREATED             STATUS              PORTS                        NAMES
454d0d829b8b        meteorhacks/mup-frontend-server:latest   "/start.sh"            9 minutes ago       Up 9 minutes        <IP_ADDRESS>:443->443/tcp         exomatch-frontend
71398a208be1        meteorhacks/meteord:base                 "/bin/sh -c 'bash $M   9 minutes ago       Up 9 minutes        <IP_ADDRESS>:3000->80/tcp         exomatch
f39a9105b72f        mongo:latest                             "/entrypoint.sh mong   39 hours ago        Up 39 hours         <IP_ADDRESS>:27017->27017/tcp   mongodb
I don´t get it... when i visit the website under the port 443 i don´t get an answer from the server either. The rest of mupx is configured correctly (deployment works!), also i ran mupx setup and mupx deploy.
The directory structure of the application is the following:
/// ROOT

client
----views
--- application, admin, usw...
collections
lib
packages
private
public
server
---- Methods hooks usw...
ssl
-----private.key; ssl.crt
mup.json
packages.json
settings.json
smart.json
smart.lock

The Application is running on Amazon EC2 without a Loadbalancer.

I found this quote somewhere, sounds like a starting point to check...I
n your EC2 control panel, look at your instance and note the Security Group that is assigned to it. Then, navigate to the Security Groups section in the control panel, open your group, and make sure that port 443 is allowed over TCP.
This must be open to allow SSL traffic to your instance. A simple way to check if the port is open to the outside is to telnet into your server's IP on port 443, and see if you can connect and get a response.

YIHAAAA!!! i  am on it since 4 days without any idea what it could be.... Thank your very much! I don´t know how many more days i would be on it without your help.

Please close this, if the issue is resolved. Thanks.


Research SonarQube (or alternative) intergrations

Interesting alternatives which integrates natively with CircleCI and has free tier for open-source projects
https://circleci.com/blog/making-code-coverage-easy-to-see-with-the-codecov-orb/


[Relay, TOPI] Refactor Adaptive pool and add 3d support

I'm trying to load resnet 3D from torchvision using torch frontend, and for that I need adaptive avg pool 3d. I refactored the existing topi 2d impl to work with N dimensional input, and added Relay boilerplate for the new 3d version.
please review @kevinthesun @icemelon9 @anijain2305 @jwfromm

@kevinthesun Can you take a look at this? This is for extending adaptive pool op you added in #3085

@masahi I'll take a look during the weekend.

@kevinthesun Thanks, the diff is not small, but it is due to Relay boilerplate that were mostly copy-pasted from 2d version. The only interesting bits is cpp topi refactoring.
I also finished adding 3d model support in our torch frontend, buidling on this PR. We can now load and run resnet 3D from torchvision. I believe this is the first time TVM runs on 3D workload end to end.
The diff between this PR is here https://github.com/masahi/tvm/compare/adaptive-pool-3d...masahi:torch-3d
cc @jwfromm @optima2005

@jwfromm You can easily add adaptive pool 1d, if there is such use case.

Thanks @kevinthesun @jwfromm


Specify conditions for breaking out of a step loop

Summary
There does not appear to be an ability to break out of a withItems/withParam loop in a workflow step without executing all iterations. While the when property allows for specifying a condition to run or skip an entire step, it does not appear that it can be used for breaking out of a loop after some iterations.
Motivation
Using the documented example below for looping over a set of container images, let's say that I want to try to execute each image with the same set of inputs, and upon the first container that exits with an exit code of 0 (producing usable output artifacts or parameters), I want to break out of the loop and move on to the next step.
    steps:
    - - name: test-linux
        template: cat-os-release
        arguments:
          parameters:
          - name: image
            value: "{{item.image}}"
          - name: tag
            value: "{{item.tag}}"
        withItems:
        - { image: 'debian', tag: '9.1' }
        - { image: 'debian', tag: '8.9' }
        - { image: 'alpine', tag: '3.6' }
        - { image: 'ubuntu', tag: '17.10' }

        # proposed pre-loop and post-loop exit conditions
        while: "{{item.$index}} >= 3" # 0-based index
        until: "{{steps.$self.exitCode}} == 0"

I extended the stock example above by adding while and until properties with my desired exit conditions.
Proposal
There are two places where a break condition can be evaluated ($keywords I invented as possible proposals):

Start of iteration (while-do): evaluate condition using item.key or item.$index, especially if looping over a dynamically generated sequence using withParam.
End of iteration (do-until): evaluate condition using steps.$self.exitCode or steps.$self.outputs.parameters.foo.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

I had not realized that withItems executes all items in parallel pods, so my proposal regarding iterations is moot unless there's also a sequential looping construct, which I did not see in the examples.

I had not realized that withItems executes all items in parallel pods, so my proposal regarding iterations is moot unless there's also a sequential looping construct, which I did not see in the examples.

There is not any native supported sequential looping. However, you can create your own following this example: https://github.com/argoproj/argo/blob/master/examples/recursive-for-loop.yaml


Placeholder inside ckeditor

Is it possible to have a placeholder inside the ckeditor like on a 'text' or 'textarea' field?

If you can point me the way it should be with CKEditor in their docs, I should be able to explain you how to do it with the bundle.

Oh.. I just found this: http://alfonsoml.blogspot.com.es/2012/04/placeholder-text-in-ckeditor.html

Ok, so it shoudl already be supported using:
$builder->add('field', 'ckeditor', ['attr' => ['placeholder' => 'Type here']]);

Isn't it?

Hum, after googling it, it seems not supported natively by CKEditor, you need to use a plugin: http://ckeditor.com/addon/confighelper and combine it with the html5 placeholder.


BUG: "sp.linalg.solve_discrete_are" fails for random data

This fixes #2251 and its tests per the discussion on the issue page. The doc string is updated.

BTW you can check all the pep8 failures locally by installing pep8 (pip install pep8) and running pep8 scipy from the top-level scipy directory. It's looking like that will be the last thing you need for the Travis build to succeed.

Bah, I guess I'm not cut for this. I've checked the files thrice with pep8 and it still fails.

I've slept over it checked with some more examples and I think this PR is ready for review. Thanks .

Though the previous method doesn't always work, it still might be nice to see how the two compare speed-wise. (Especially on more sizable problems.) Benchmarks would go here:
https://github.com/scipy/scipy/blob/master/benchmarks/benchmarks/linalg.py
You can run them with python runtests.py --bench (you will need asv; pip install asv). An intro to writing them is here:
https://asv.readthedocs.io/en/latest/writing_benchmarks.html

Unfortunately, on a windows machine I can't do any of the build related stuff including the runtests. But since the previous one was not reliable a speedtest won't make too much of a difference. There are many extras to this implementation to make it comparable to matlab. But this version is at least consistent.

But since the previous one was not reliable a speedtest won't make too much of a difference.

I guess I worry that someone will have working code that suddenly slows down a lot. Breaking their case to make other cases work might not make them happy. If there's a significant speed difference it's possible that we might want to have both versions provided that for the old one there's a way to either

document a reasonable subset of problems on which it will work or
detect failures and raise an exception.

Also it's possible to run benchmarks without runtests.py by doing something like asv dev --bench <benchmark> which won't trigger a build and only runs the benchmark once. (So take the results with a grain of salt.)

It would be nice to include more DAREX examples in the tests.

Indeed but then I have to include balancing algorithms which is basically copying everything from my other implementation which doesn't seem that easy to convert to SciPy way without breaking some back-compatibility.

Indeed but then I have to include balancing algorithms

I don't see why? I had something like this in mind (only added a few examples):
https://github.com/person142/scipy/blob/ilayn/scipy/linalg/tests/test_solvers.py#L135
The tests will make some noise until https://github.com/scipy/scipy/pull/6582 is in.
(Not for now, but maybe in the future: adding balancing seems possible--you know your code better than me, but it seems like it would just require adding a new keyword argument, which is back-compatible.)

Ah I might have been too quick to type. The main reason is that balancing is a really strange concept and based on tweaks that have been eluding me for some time. It's partially due to my Fortran skills are being next to none.
I made the Riccati solvers work just to keep up with matlab in terms of accuracy but matlab is certainly better for now. I actually tried to ask around what might be the trick ( see this thread on scicomp.SE ) but so far no feedback.
I have also checked the other solvers on _solvers.py and indeed I can be of help with them too. But my preference is first to iron out this buggy behavior and in the meantime if I can get things done, I'll write a major PR for both factoring out the balancing if I can. For relatively OK well-conditioned problems this PR is also sufficient as the examples in CAREX and DAREX are really really ill-conditioned thus not so relevant for the average user.
Note that current equations are generally called the regular CARE and DARE. There is also two more versions of these namely GDARE and GCARE and the code I have on my package generalizes that (with extra matrices S and E comes into play but they are rarely used).
Hence, if I may, I'd like to keep the embarassment minimal until I master the balancing ;)
PS : An alternative route is to lay a post-newton iteration scheme such that it takes the whatever solution came out of the current solver and uses it as the initial condition to iteratively improve the solution. That's also something I have been working on and it feels like I'm getting closer to a finished product. Long story short, I will come back to these again in a more structured fashion with an optional keyword to turn that behavior on and off.

By the way superb job on finding and adding the examples that fast. Great stuff!

@person142 What would be the best way to proceed with this? Wait until we iron out everything and do it with one shot?  Or fix the wrong result with this patch and do another major PR for a general focus also modify continuous version and include the balancing for both ?
Again, as a reminder the balancing is still not perfect. I'm still working on it.

Or fix the wrong result with this patch and do another major PR for a general focus

I like this one. I'm still in favor of putting in DAREX examples, however. Not all of them will fail (the only three I tried work fine), and they provide extra coverage that wasn't possible before (e.g. singular r). If some of them fail then we can mark them as known failures (and they can be a target which future pull requests are aiming for); I just want to test the boundaries of how far this patch takes us.

@person142  Oh that I can tell. In the CAREX examples, there are two examples fail even after my balancing implementations (ex.6 and 12 in the matlab version). In DAREX I have to finish the conversion from matlab to Python but so far so good but I'm sure it will fail on a few suspicious looking ones.
One major pain is the PEP8 and those matrices don't go well together, is there a way to ignore PEP8 temporarily of things or what is the preferred way of entering them? Tall Submatrices ?

If the matrices are big, I would put them as data files (e.g. text files), under scipy/linalg/tests/data, and load via mat = np.loadtxt(os.path.join(os.path.dirname(__file__), 'data', 'darex_1.dat') etc.
If they are small, I would just follow pep8 format.

darex #12 is what I mean by having a relatively accurate but not acceptable in terms of absolute terms solution, as the solution should be diag(1,1e12) but gets approx. diag(1,1e12 + 2.5e7).

Ok, for the benefit of anyone looking at this: with the new set of tests the old function has 4 exceptions due to ill-conditioning in r and one failure. See e.g. here:
https://github.com/person142/scipy/tree/old-discrete-are

This hopefully concludes the requested changes. Please let me know if there are additional items

I'm happy (the CircleCI passed, not sure why it's still yellow), but I'll wait to get a second opinion from another developer.

Looks OK to me apart from that one cmment.

Also would be good to squash things.

@person142: there's an option to squash and merge in the github merge button

I don't know what "squash" refers to actually.

Thanks, merged!

Great! Thanks for sticking with us @ilayn, and I look forward to your future improvements!

Pleasure is mine.


Посилання на внутрішні ресурси Epam

https://github.com/epam/edp-ddm-architecture/blob/c94722ef9a473e13a3e954a6ee6d48998f4e6437/docs/en/modules/arch/pages/architecture/registry/administrative/regulation-management/overview.adoc?plain=1#L56
https://github.com/epam/edp-ddm-architecture/blob/c94722ef9a473e13a3e954a6ee6d48998f4e6437/docs/en/modules/arch/pages/architecture/registry/administrative/regulation-management/overview.adoc?plain=1#L70-L71
https://github.com/epam/edp-ddm-architecture/blob/c94722ef9a473e13a3e954a6ee6d48998f4e6437/docs/en/modules/arch/pages/architecture/registry/administrative/regulation-management/overview.adoc?plain=1#L83
https://github.com/epam/edp-ddm-architecture/blob/c94722ef9a473e13a3e954a6ee6d48998f4e6437/docs/en/modules/arch/pages/architecture/registry/administrative/regulation-management/overview.adoc?plain=1#L100

Fixed links in https://github.com/epam/edp-ddm-architecture/commit/950875260af069deb687553266dd0affff612180.

NOTE: The https://gerrit-mdtu-ddm-edp-cicd.apps.cicd2.mdtu-ddm.projects.epam.com/admin/repos/mdtu-ddm/low-code-platform/platform/frontend/applications/common-web-app[github:/mdtu-ddm/low-code-platform/platform/frontend/applications/common-web-app] repository is intended for use exclusively in the development/deployment of the Platform within Ukraine. It is optional and includes implementing specific features and regional requirements for information systems.


Doc Site layout broken

In the Stardust Documentation the component example widths are seemingly random, off center, and being hidden behind the left nav.

these regressions had happened as part of our transitioning towards not using static styles of Semantic UI in our docs - we are working on addressing them


quickfix for TextEditor constructor going private

issue of serializing and deserializing is not solved! Mostly because I have no insight how and where that helps. Opening and saving in Atom 1.2.0 works now with this fix (should also work in lower versions) - maybe take it as a starting point for creating a full workaround for the fact TextEditor class constructor should no longer be called directly. Serializing, or actually deserializing, without a derived class - no clue how that should work, this is why I didn't implement any of the two. Maybe chime in with issue https://github.com/atom/atom/issues/9237 to get a hack-less implementation going ;)

that workaround turned out to be hopeless when it came to de-/serializing


Buffer: Add missing SOL_BUFFER_FLAGS_NO_NUL_BYTE to some buffers.

Signed-off-by: Guilherme Iscaro<EMAIL_ADDRESS>

@cabelitos What about this PR?

merged


Reintroduce puerto rico and exclude it from aggregations

Puerto Rico was excluded from the data list, but this was causing strange off-by-on errors in prod due to how data gets loaded between the load/deploy steps.
This reintroduces Puerto Rico but specifically guards against it in the aggregation, so https://github.com/cfpb/consumerfinance.gov/pull/8081#issuecomment-1881182258 should be avoided.
Also sneaks in a change to some language in a template.

A different approach in the jenkins side actually renders this PR mostly moot (packaging up and loading the state/county tables prevent off by one errors too.. cause the table is what it should be!). The template changes have been moved to https://github.com/cfpb/consumerfinance.gov/pull/8098


Added DB_CHARSET and DB_COLLATE constants to the wp-config.php

The Problem/Issue/Bug:
closes #3767.
When non-latin texts (in my case Japanese characters) are saved into the database, it is corrupted/garbled.
This is due to wp-config-ddev.php created during ddev config --project-type=wordpress is missing the following two constants.

/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );

/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

These two, particularly the DB_CHARSET, when missing, WordPress will save into DB in Latin and not utf8.
How this PR Solves The Problem:
Added the constant to the wp-config-ddev.php template file
Manual Testing Instructions:
Run ddev config --project-type=wordpress with this branch build and confirm the wp-config-ddev.php file contained definition constants for DB_CHARSET and DB_COLLATE
Related Issue Link(s):
https://github.com/drud/ddev/issues/3767
Release/Deployment notes:
Not that I know of.

@mandrasch could you please review and manually test this change?

@mandrasch could you please review and manually test this change?

Sure, I'll check and test this regarding the WordPress quickstart! 👍
First thing I noticed right now is that we probably should discuss if we should use defined() || define() pattern as well for these values.
btw: The official documentation for these config values can be found here:
https://wordpress.org/support/article/editing-wp-config-php/#database-character-set
I'll get back to both of you when I have tested this. Thanks @rawdreeg for submitting this! 👍

@mandrasch Thanks for looking at this.

First thing I noticed right now is that we probably should discuss if we should use defined() || define() pattern as well for these values.

Yes. But this is only an issue when DDEV generates wp-config.php. which is not based on wp-config-sample.php .
Alternatively, I could define the additional property in WordpressConfig
https://github.com/drud/ddev/blob/0aa4e1d27cd77d73c06b026a0ff0629dac61603d/pkg/ddevapp/wordpress.go#L41-L64
then modify the wp-config template - adding the DB_CHARSET and DB_COLLATE constants as default.:
https://github.com/drud/ddev/blob/985d02017b96ccb80b9b974f9108c2e21069aa3c/pkg/ddevapp/wordpress/wp-config.php#L11-L18
I initially chose the path with the least amount of change but let me know how you want to move forward with this :-)

Hey, I just had some time to think briefly about this.
First of all: I finally figured out why this bug is introduced, thanks for submitting this! Good catch! DDEV creates the empty 'db' with collation latin1_swedish_ci. WordPress reads this collation when DB_CHARSET/DB_COLLATE is not set and uses it (instead of utf8mb4). Thought all the time that this might be a bug within WordPress because 'utf8' should be used as default... took me some time ;-)

So we should definitely fix this via initial config to avoid this:
A) The default and official wp-config-sample.php from WordPress has the following content (as you mentioned in your issue):
/** Database charset to use in creating database tables. */
define( 'DB_CHARSET', 'utf8' );

/** The database collate type. Don't change this if in doubt. */
define( 'DB_COLLATE', '' );

So my first vote would be to add DB_CHARSET and DB_COLLATE to DDEVs initial config when a new project is configured with ddev config project-type=wordpress. Then we would be also compliant to the current official WordPress suggestion.
/* wp-config.php created by DDEV */
define( 'DB_CHARSET', 'utf8' );
define( 'DB_COLLATE', '' );

Bonus info: WordPress will automatically upgrade to utf8mb4 if possible, there is a ticket (https://core.trac.wordpress.org/ticket/48285) to use this as new default in wp-config.php. Its handled via determine_charset(). More technical background infos: https://www.usablewp.com/character-set-and-character-encoding/

B) Regarding the additional DDEV specific overrides in wp-config-ddev.php:
I can't think really think of a use case where this is needed?
One general use case is that users import an existing wordpress project and these constants should be already defined in their wp-config.php and shouldn't be overridden by DDEV. DDEV in general doesn't really care / has a specific requirement like it is the case for DB_HOST, DB_PASSWORD as far as I understand.
So my open question would be if maybe a fallback like the one for table prefix is useful?
/**
	 * Set WordPress Database Table prefix if not already set.
	 *
	 * @global string $table_prefix
	 */
	if ( ! isset( $table_prefix ) || empty( $table_prefix ) ) {
		// phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited
		$table_prefix = 'wp_';
		// phpcs:enable
	}

$table_prefix is not a constant, for DB_CHARSET we would need to use the pattern mentioned above:
// Fallback to default values
defined( 'DB_CHARSET' ) || define( 'DB_CHARSET'', 'utf8' );
defined( 'DB_COLLATE' ) || define( 'DB_COLLATE', '' );
...

BUT: The big question would be if we break existing projects which accidently run by now in latin instead of utf8? WordPress docs state:

If DB_COLLATE and DB_CHARSET do not exist in your wp-config.php file, DO NOT add either definition to your wp-config.php file unless you read and understand Converting Database Character Sets. And you may be in need of a WordPress upgrade.
https://wordpress.org/support/article/editing-wp-config-php/#database-collation

Long story short: Option A) should be definitely implemented in my opinion, about B) I'm not really sure.
@rfay Is there a special reason why latin is used as default?

@mandrasch the problem with db collation of latin1 was a bug and has been resolved (will be in v1.19.2 before long). Iit affected only mariadb 10.3

Thanks for clarification, Randy! (And sorry for not researching in the open issues before asking )
I would propose to implement variant A) as describe above as fix for the initial problem. @rawdreeg Would you please adjust this PR accordingly (if you agree)?
I would also propose not to implement variant B since users should handle this themselves if they need other config values for their use cases.

Thanks @mandrasch, @rfay for your feedback and insights on this. I will update the PR with your recommendations. Thanks

@mandrasch I have updated this PR with the proposed changes. Thanks, R

To be clear @rawdreeg - If you use mariadb 10.4, do you even have the problem this is trying to solve? Or is it a result of the bug where mariadb has latin1 charset instead of utf8mb4?

But regardless, wordpress.go needs to be reformatted, gofmt -w -s wordpress.go

To be clear @rawdreeg - If you use mariadb 10.4, do you even have the problem this is trying to solve? Or is it a result of the bug where mariadb has latin1 charset instead of utf8mb4? You can test by just upgrading to mariadb 10.4 (assuming you were using 10.3), ddev config --database=mariadb:10.4

Thanks, @rfay. I have tested this with MariaDB 10.6 and the issue is resolved on newer versions of MariaDB which means updating MariaDB should be enough in solving the problem. Otherwise, I will leave the PR open in case we'd want to keep wp-config.php in line with wp-config-sample.php

But regardless, wordpress.go needs to be reformatted, gofmt -w -s wordpress.go
Thanks, I fixed this.

It's not "newer" versions I don't think, just the one problem with a failed mariadb 10.3 build in ddev v1.19.1. I imagine that mariadb 10.2 would work fine as well.
I'm just saying... I'm sorry that bug wasted your time to investigate this. Do we need this PR if your problem was just a result of that bug? (I'm still open to it just fine).

It's not "newer" versions I don't think, just the one problem with a failed mariadb 10.3 build in ddev v1.19.1. I imagine that mariadb 10.2 would work fine as well.
I'm just saying... I'm sorry that bug wasted your time to investigate this. Do we need this PR if your problem was just a result of that bug? (I'm still open to it just fine).

Ah. I understand -- I have used DDEV for so long, that I am happy to help wherever I can.
I'd say to align the ddev generated wp-config.php with wp-config-sample.php this PR might be useful still.

@mandrasch if you approve this I think it can go in fine. Thanks!

Oh, sorry, please rebase this as well to pick up some fixes that will help the tests succeed.

I generally approve this, thanks @rawdreeg  👍
@rfay: I only had 10 minutes today and couldn't figure out how to test this via Gitpod (https://gitpod.io/#https://github.com/drud/ddev/pull/3768) to confirm https://ddev.readthedocs.io/en/stable/users/cli-usage/#wordpress-quickstart is still working. Guess I'll need to read https://ddev.readthedocs.io/en/latest/developers/building-contributing/#testing-a-pr in detail.
Let me know if manual testing is required for approval, happy to check and verify it in the next days.

I would love your manual approval, even though I think this PR grew out of the mariadb 10.3 bug in v1.19.1, which will be fixed in v1.19.2.
If you'd like to download the artifacts from this PR, they're at https://github.com/drud/ddev/actions/runs/2258351791 - you can just get the ddev you want, put it in your $PATH, and test away with a Wordpress project. THANKS!

I would love your manual approval, even though I think this PR grew out of the mariadb 10.3 bug in v1.19.1, which will be fixed in v1.19.2.
If you'd like to download the artifacts from this PR, they're at https://github.com/drud/ddev/actions/runs/2258351791 - you can just get the ddev you want, put it in your $PATH, and test away with a Wordpress project. THANKS!

Oh wow, on mac it was way easier than I thought! Nice! Thanks for guidance!
(For anyone reading this, here are the steps: https://ddev.readthedocs.io/en/latest/developers/building-contributing/#testing-a-pr)

Thanks for reviewing! Of course this would have been fixed by the upstream fix with MariaDB 10.3 if you were using latest.

Thanks for reviewing! Of course this would have been fixed by the upstream fix with MariaDB 10.3 if you were using latest.

You're welcome, I learned a lot about PR, Gitpod and DDEV! 👍
Just as side note: I think it generally adds to the robustness of DDEV. Because when a user starts a fresh WordPress project and later exports the site to a webspace host which has another collation default, this would have caused problems importing the WordPress created by DDEV. So it's good that we stick to the official https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php.
I even thought today that it is maybe a good thing if we copy all the contents and comments of https://github.com/WordPress/WordPress/blob/master/wp-config-sample.php as well, therefore users will know that it is just standard WordPress (with some lines added by DDEV). They would maybe feel more "at home".

I absolutely agree that we should use the full config sample. We already do that for Drupal.


Clarify the description of comparison operators

The current description of comparison operators does not cover the handling of the following cases:

String vs. numeric types. My proposition: if one of the operands is numeric, then the string has to be converted to number, and a numeric comparison should be carried out. If the string does not convert to a number, emit error.
Dates. Currently, the value of time_stamp is a date (expressed as string in JSON), thus I believe the API would benefit from being able to compare dates. My proposition: when filtered on date fields, the backend has to convert the query operand (in ISO 8601 with time zone) to internal date representation and compare to see which of the dates is earlier and which is later.
Booleans. My proposition: if one of the operands is boolean, then the other has to be converted to boolean (0, "0", "" are False, rest being True), and True is greater than False.

What do you think?

Pinging @sauliusg as he originally spotted this deficiency. @sauliusg feel free to make addenda/corrigenda.

Isn't this covered in the subsection "Type handling and conversions in comparisons" in section 5.2? It says there that the comparison semantics follows the type of the property, and it is RECOMMENDED that an implementation try to convert into this type.

Right, the iso8601 dates we have right now (e.g., last_modified) claim to be strings. Probably makes sense to explicitly write up a date type with date comparison semantics.

We don't have any boolean properties (yet). I'd be OK with a PR that consistently add booleans everywhere (including the section about type conversions.)

Indeed, most of the cases of type conversion are already covered in "Type handling and conversions in comparisons", I've overlooked that. Booleans could be left out for now.

Right, the iso8601 dates we have right now (e.g., last_modified) claim to be strings. Probably makes sense to explicitly write up a date type with date comparison semantics.

I'll open a PR for this.


installed packages

Issue #, if available:
Installed node packages,

installed node modules, SAM, JQ via brew


Please keep the generated parser files in the repository

The upcoming Emacs 29 can be optionally compiled with the tree-sitter library, and comes with a user command that assists users in building and installing the grammar libraries they need.  However, that command assumes the C/C++ parser and scanner source files are available in the corresponding repositories, so as to avoid requiring Emacs users to have too many development tools installed.
The recent removal of the generated parser files from the repository will cause that Emacs command to fail; users will be unable to build and install the tree-sitter grammar for SQL using your repository, unless they install quite a few more tools and build the library manually, something that is a significant obstacle for many Emacs users.
So please add those generated files back to the repository.  The Emacs user community will thank you.
Thanks in advance.

We moved the generated files to another branch gh-pages can you configure specify a git commit hash (like helix) or a specific branch (like nvim-treesitter) to fetch the source artifacts?

can you configure specify a git commit hash (like helix) or a specific branch (like nvim-treesitter) to fetch the source artifacts?

The Emacs command in question is not pre-configured.  It prompts the user for the URL of the repository and uses its default branch.  Asking users to specify a special branch, let alone a commit SHA, would be a major inconvenience for users.  I suspect most of them will not have the information available to do so.
So this is technically possible, but not really practical, from the Emacs users POV.

Ok, I understand. I was checking out the emacs code and I saw the option on one subfunction to specify a revision.
The reason we moved the artifacts into another branch was because these are autogenerated files and they caused merge conflicts all the time. Hence, slowing down development.
@DerekStride whats your take on that?

The command aI was talking about is treesit-install-language-grammar, you can find it in the file treesit.el in the Emacs repository.
Thank you for reconsidering this issue.

Is this also an issue in neovim? my highlighting looks very off and was going to make an issue, unsure if I need the grammar files for this to work if I'm using TSInstall

Fetching the source artifacts is not an issue in neovim.
Highlighting is done in nvim-treesitter. May I ask what your issue is @igniscyan ? I have recently commited an overhaul of the highlight queries in nvim-treesitter. So there have been some changes and I definitely looks different now.

@Eli-Zaretskii this function references a treesit-language-source-alist Looks like a revision can be specified there. I was not able to find this in the repo.

Fetching the source artifacts is not an issue in neovim.
Highlighting is done in nvim-treesitter. May I ask what your issue is @igniscyan ? I have recently commited an overhaul of the highlight queries in nvim-treesitter. So there have been some changes and I definitely looks different now.

Sure! I just switched to nvim so not 100% sure if there's something going wrong on my end, but healthcheck makes it look as though everything is fine.

The above is a screen of the highlighting in VSCode, which looks correct.

And this is the same block being highlighted with nvim-treesitter.

@igniscyan I have recreated two lines on my machine and the MG on 400MG is parsed as a string and the percentage on '5%' as well.
Maybe you have some other plugin the overrides highlight groups or does injection of units.

@igniscyan I have recreated two lines on my machine and the MG on 400MG is parsed as a string and the percentage on '5%' as well.
Maybe you have some other plugin the overrides highlight groups or does injection of units.

Noticing I have a lot of errors towards the beginning of the file as well:

Any idea what's causing this/how to go about debugging this?

It is getting off topic now. The issue is that we are currently not parsing the CURRENT_TIMESTAMP function. I will create an issue and see what I can do.

@Eli-Zaretskii this function references a treesit-language-source-alist Looks like a revision can be specified there.

The list in treesit-language-source-alist starts empty and is populated as the user installs the grammars he/she needs, as side effect of the installation.
And even if that list was populated OOTB, it is impractical to expect Emacs to track all the changes in the individual repositories.  E.g., tomorrow you could decide that the branch which holds the generated parser files will be called differently, and the Emacs users will be non the wiser.  By contrast, the default branch always exists and is always kept in good shape.

This is actually exactly how neovim and helix are tracking different parsers (by commit hash). By just looking at the default branch you are also not safe with regards to breaking changes.

This is actually exactly how neovim and helix are tracking different parsers (by commit hash).

I'm not familiar with how and at what regularity is neovim released, but with Emacs release schedule of roughly 2 years between major releases and 6 months between minor bug-fix releases, it is practically impossible to keep the list up-to-date if it must track individual commits.  We don't populate the list of the repositories of the grammar libraries with specific URLs for that very reason: we don't want to have to keep the list up-to-date at all times, and with our release schedule we won't be able to anyway.

By just looking at the default branch you are also not safe with regards to breaking changes.

We would ideally try to use official releases, which would be a much more dependable and stable target, but unfortunately many tree-sitter grammar libraries don't make official releases, and that includes tree-sitter-sql, AFAICT.

That's why helix and nvim-treesitter are using lockfiles

With Emacs, the grammars aren't part of the the package, either.  Users are supposed to install the grammar libraries themselves, using the commands, tools, and directories appropriate to their platforms.  The difference, AFAIU, is that the Emacs command that downloads, builds, and installs a grammar library is not a separate plugin, and is therefore released and updated together with Emacs.

Yes, that is exactly how nvim-treesitter and helix are loading the grammars.

My two cents: I switched to this treesitter grammar because https://github.com/m-novikov/tree-sitter-sql removed the autogenerated parser.c from their repo. The gh-pages branch might be sufficient to prevent breakage but I haven't tested it yet

it is impractical to expect Emacs to track all the changes in the individual repositories. E.g., tomorrow you could decide that the branch which holds the generated parser files will be called differently, and the Emacs users will be non the wiser.

It prompts the user for the URL of the repository and uses its default branch. Asking users to specify a special branch, let alone a commit SHA, would be a major inconvenience for users. I suspect most of them will not have the information available to do so.

It looks like the branch / sha can be set interactively via: treesit--install-language-grammar-build-recipe. Emacs seems to have the ability to ask for the branch to use.
IMO the problem here isn't that emacs can't use a different branch it's that there's no good solution for emac users to know the installation instructions for each grammar they use and know when those change. Helix solves this by controlling the list themselves and neovim solves it via a community maintained plugin.
There could be space for an Emacs community plugin that maintains a list of parser installation instructions. This could be a predefined treesit-language-source-alist that can be downloaded. I'd be happy to help keep the sql parser entry up-to-date, @matthias-Q & I already open PRs to keep the nvim-treesitter lockfile up-to-date.
I'd also be open to including some installation instructions in the README.md or on a project wiki with notes on how to install it for emacs.
However, I don't think enforcing a project layout for tree-sitter grammars is a good solution, there are many different grammars with different maintainers and use cases. For example, this grammar for markdown MDeiml/tree-sitter-markdown defines two complementary parsers that are meant to be used together. I'd also like to note that this subdirectory pattern is also supported by treesit--install-language-grammar-build-recipe.
While I agree that it is inconvenient for parsers to diverge from the "standard" project layout, we do provide an alternative that's compatible with the existing tools provided by emacs.

IMO the problem here isn't that emacs can't use a different branch it's that there's no good solution for emac users to know the installation instructions for each grammar they use and know when those change.

Exactly. This Emacs command is supposed to help users who know little about Git repositories, let alone about the branches of each one of them.

Exactly. This Emacs command is supposed to help users who know little about Git repositories, let alone about the branches of each one of them.

It seems we agree on the problem and I've provided sufficient reasoning that the problem lies outside of the structure of this project and instead is a result of a gap in the emacs ecosystem.
I've opened a PR https://github.com/DerekStride/tree-sitter-sql/pull/124 to update the README with installation instructions on how to compile the parser, and where to find & download the parser files. I'd appreciate feedback on the PR.


Rename BlockValidator to ProposedBlockValidator

This PR is a simple rename of the given component and related variables/config options.
Note that the name of memory metrics for the component was left unchanged as "mem_block_validator" in order to avoid breaking the generated metrics API.  This can be updated in 2.0.
Closes #4309.

@Fraser999 , why is this currently marked 'do not merge' please?


How to open more then one port?

Well, I can't figure out how to open more then one port. The code I used is from the example, but when run it, it opens only the last port (in my case 6626) and I THINK that it opens the two before the last one and then they stop working again but the last one is still working. My code:
    public static void Main()
    {
        OpenPort().Wait();

        Console.WriteLine("\nPress any key to exit...");
        Console.ReadKey();
    }

    private static async Task OpenPort()
    {
        var nat = new NatDiscoverer();
        var cts = new CancellationTokenSource(5000);
        var device = await nat.DiscoverDeviceAsync(PortMapper.Upnp, cts);
        var ip = await device.GetExternalIPAsync();

        Console.WriteLine("Your IP: {0}", ip);

        await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6622, 6622, 0, "6622"));
        await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6625, 6625, 0, "6625"));
        await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6626, 6626, 0, "6626"));
        Console.WriteLine("Done!");
    }

I really sorry for the delay in this answer, I didn't see this issue report. Could you try with a non-zero time-to-live value and send me the logs?

Well, I don't know how to create a log file, but it opens only the last port (it seems like only the last line of code in my example 6626 works, for the other two don't). And how I check it, hmm when I check for the port only 6626 works and it's opened. Then I am swapping the ports in different order not 6622, 6625, 6626, but 6626,6622, 6625, and every time the last one is opened.
So in this example:
await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6622, 6622, 0, "6622")); <- not working
await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6625, 6625, 0, "6625")); <- not working
await device.CreatePortMapAsync(new Mapping(Protocol.Tcp, 6626, 6626, 0, "6626")); <- always this port works

Hmm maybe depends on the router or IP. I'm not sure, but I'm now on a new place where I think my IP address is static, but yesterday on my old place, the IP was dynamic for sure. Now the code opens the three ports for few sec, almost immediately and all works.

@beBoss please let me know if you can reproduce it.


Release Netty byte Buf for quota rejected requests

For outgoing requests, the Netty ByteBuf would be released (reference counter decremented by 1) in the Netty layer. But, for rejects that are rejected due to Quota, they wouldn't reach Network layer. Hence, we would have release it ourselves.

Codecov Report
Base: 46.19% // Head: 14.53% // Decreases project coverage by -31.67% :warning:

Coverage data is based on head (c865c20) compared to base (77087be).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##             master    #2385       +/-   ##
=============================================
- Coverage     46.19%   14.53%   -31.67%
+ Complexity     5886     2345     -3541
=============================================
  Files           771      771
  Lines         59814    59816        +2
  Branches       7333     7333
=============================================
- Hits          27633     8694    -18939
- Misses        29353    50612    +21259
+ Partials       2828      510     -2318

Impacted Files
Coverage Δ

...ub/ambry/router/QuotaAwareOperationController.java
0.00% <0.00%> (ø)

.../src/main/java/com/github/ambry/store/Message.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/named/PutResult.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/commons/Notifier.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/KMSConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/config/SSLConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../main/java/com/github/ambry/named/NamedBlobDb.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 546 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


UQC3J55shr5pPM5aJ0fCFkmF_Xf7HrlNme9Rf3K7AUWsq5_4

UQC3J55shr5pPM5aJ0fCFkmF_Xf7HrlNme9Rf3K7AUWsq5_4
Originally posted by @Leilakayed in https://github.com/ton-blockchain/wallet-contract-v5/issues/91

Tokeper

UQDcmefJvChbTU4l3kQLg_wgW9Ws6VNu4wCN5F-ipUk12VMd
Originally posted by @Leilakayed in https://github.com/ton-blockchain/wallet-contract-v5/issues/91

Hi


Send Messages to Private Channels

hi
How to send messages to private channels by robot???
The BOT is Admin channel

@alish123456 read issue template.


Fix focus issues

An alternative implementation for #138 that tries to use the IntelliJ API that is hopefully stable enough with the new bundled JetBrains Java 8 SDK.

@dhleong Please try this branch. Did it fix this and this?

LGTM! 👍

Merged.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1511 ms

Resolved: Bofrost.lu performance has improved in 028f0f8.


$ make start corrupts transactions query functionality in dev environment

Description
When using the new api, we can bring up the graphql server using $ make start-new an then run the following query after logging in to see an account's transactions:
{
  me {
    defaultAccount {
      wallets {
        transactions(first: 3) {
          pageInfo {
            hasNextPage
          }
          edges {
            cursor
            node {
              id
            }
          }
        }
      }
    }
  }
}

The problem
$ make start
We can also bring up the graphql server using $ make start which brings up other services as well. When we do this and run the above query we no longer get transactions returned for the query even though they still exist in the database. No errors are returned in the gql response as well, simply an empty edges array.
$ make start-new after $ make start
If we stop the $ make start processes (Ctrl/Cmd + C) and then run $ make start-new again we still can't get transactions, and the only way to reset is to re-initialize all tests.
Debugging so far
Something in $ make start is changing the walletId and defaultWalletId values on user objects. This means that when the transactions query tries to search for transactions with {accounts: "Liabilities:<walletId>"} the response comes back empty.
Further debugging required to figure out what is mutating those two properties on users.

are you sure make start-new runs correctly? what happen to me is that ctrl+c does not kill all processes (they run in background with & so I need to kill them searching in system monitor)


Added Mulesoft certification details

Mulesoft Certified Developer (MCD) Level-1 free training and 2 free attempts.

There is a change in the link. So, will create new pull request with updated link


Multiple UBSAN errors (ipp.c, string.c)

Building a project with the gcc compiler with the -fsanitize=undefined option and running oss-fuzz targets  on collected corpus resulted in some crashes.
Several crashes were found in the ipp.c file. Here they are:
ipp.c:2643:53: runtime error: left shift of 233 by 24 places cannot be represented in type 'int'
    #0 0x557c529d9f10 in ippReadIO /home/as/cups-oss/cups-opensource/cups/ipp.c:2643
    #1 0x557c529a73c7 in LoadIPP /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:30
    #2 0x557c529a74cc in main /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:66
    #3 0x7fa65de461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #4 0x7fa65de46284 in __libc_start_main_impl ../csu/libc-start.c:360
    #5 0x557c529a72c0 in _start (/home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP+0x5e2c0)

ipp.c:2681:35: runtime error: left shift of 235 by 24 places cannot be represented in type 'int'
    #0 0x55f47d1b313a in ippReadIO /home/as/cups-oss/cups-opensource/cups/ipp.c:2681
    #1 0x55f47d1803c7 in LoadIPP /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:30
    #2 0x55f47d1804cc in main /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:66
    #3 0x7fd4bf2461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #4 0x7fd4bf246284 in __libc_start_main_impl ../csu/libc-start.c:360
    #5 0x55f47d1802c0 in _start (/home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP+0x5e2c0)

ipp.c:2918:18: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
    #0 0x555c47735c60 in ippReadIO /home/as/cups-oss/cups-opensource/cups/ipp.c:2918
    #1 0x555c477023c7 in LoadIPP /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:30
    #2 0x555c477024cc in main /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:66
    #3 0x7f6e7be461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #4 0x7f6e7be46284 in __libc_start_main_impl ../csu/libc-start.c:360
    #5 0x555c477022c0 in _start (/home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP+0x5e2c0)

ipp.c:3014:54: runtime error: left shift of 255 by 24 places cannot be represented in type 'int'
    #0 0x559f1d1da234 in ippReadIO /home/as/cups-oss/cups-opensource/cups/ipp.c:3014
    #1 0x559f1d1a63c7 in LoadIPP /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:30
    #2 0x559f1d1a64cc in main /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:66
    #3 0x7f698c6461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #4 0x7f698c646284 in __libc_start_main_impl ../csu/libc-start.c:360
    #5 0x559f1d1a62c0 in _start (/home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP+0x5e2c0)

All of them arise from potential integer overflow due to bitwise operations - the result of shifting left char variable is assigned to int variable, which in some cases can cause integer overflow (if char variable, shifting left by 24 bits, has value >= 128).
Is this normal behaviour in cups, or is there some undefined behaviour? Do we need to cast it to an unsigned integer or some other type of variable?
Also, ubsan found some crashes in string.c file, which are associated with address missalignment:
string.c:1202:19: runtime error: member access within misaligned address 0x56366dabde11 for type 'struct _cups_sp_item_t', which requires 4 byte alignment
0x56366dabde11: note: pointer points here
 00 00 00  01 00 00 00 00 00 01 00  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  00 00 00 00 00
              ^
    #0 0x56366bfd7a81 in compare_sp_items /home/as/cups-oss/cups-opensource/cups/string.c:1202
    #1 0x56366bfe6830 in cups_array_find /home/as/cups-oss/cups-opensource/cups/array.c:1205
    #2 0x56366bfe880a in cupsArrayFind /home/as/cups-oss/cups-opensource/cups/array.c:394
    #3 0x56366bfd9a9b in _cupsStrAlloc /home/as/cups-oss/cups-opensource/cups/string.c:545
    #4 0x56366bfc782b in ippReadIO /home/as/cups-oss/cups-opensource/cups/ipp.c:3095
    #5 0x56366bf933c7 in LoadIPP /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:30
    #6 0x56366bf934cc in main /home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP.c:66
    #7 0x7f9cb80461c9 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58
    #8 0x7f9cb8046284 in __libc_start_main_impl ../csu/libc-start.c:360
    #9 0x56366bf932c0 in _start (/home/as/cups-oss/cups-opensource/fuzzer/FuzzIPP+0x5e2c0)

System information:

OS and its version: debian, 12
CUPS version: upstream (c220e78)

@michaelrsweet I'm not sure here, can you look into it?

In the future, please don't mix separate issues in a single bug.
Issue 1 (ipp.c): FALSE POSITIVE
This is not a valid security or crash concern. The code in question uses UNSIGNED characters with values from 0 to 255. Left shifting might result in bit 7 of the first byte resulting in a signed 32-bit integer result, but THAT IS INTENTIONAL since IPP integers are two's complement (signed) values.
Issue 2 (string.c): FALSE POSITIVE
The string pool makes use of one or two 32-bit integers at the beginning of the string (one is an optional guard and the other a reference counter). _cupsStrAlloc passes an offset string pointer to cupsArrayFind in order to determine whether the string is already in the pool. From the standpoint of the tools, this results in an "unaligned" pointer (more a pointer that is aligned to 32 bits instead of 64) but since we are comparing character strings the alignment requirement does not exist (char accesses are necessarily not aligned since you might need to access the Nth character of a string and not break things...)


DnD5E Character Scrolls - a homebrew-friendly DnD 5E character sheet

Hello Roll20 Team!
I understand that you are reluctant to add additional character sheets for D&D, so I won't take it personally if you decline this one. However, I created this character sheet because all of the existing D&D 5E character sheets on offer suffer from two or more of the following issues:

Very few visual mnemonics (this is a problem because one of my players is dyslexic and prefers to have visual aids to accompany text and labels)
No support for multi-class characters
Cannot enter custom classes (there's interest in play-testing the Mystic class from the Unearthed Arcana articles)
Irrelevant (to particular characters) computation tables that confuse my newer players

The root of the problem is that the existing character sheets have too much automation. They have too many drop-down menus and not enough plain-text fields to be filled in with custom content. Class choice became the most obvious problem because it is one of the first choices a player makes in character creation, but there were other aspects (such as spell slots) that were also too mathematically rigid on some of the existing D&D sheets. To be clear, I do greatly admire the existing DnD5E character sheets and the huge amount of work that has gone into making them take full advantage of the digital medium, but it's just too much for some groups.
Thus I humbly submit my own creation, the D&D 5E Character Scrolls sheet, for your consideration. I wasn't originally planning to submit this to you, but my players have told me that they like it more than the other Roll20 D&D sheets they've used, and if other people would like it as well, I don't want to deprive them of the opportunity.

Yours truly,
-Chris Hall (aka Cyanobacterium)
P.S. You might want to adjust the URLs in the .css sheet. I use a sprite-sheet image and two background images to populate the graphics on the character sheet. Presently, the URL points to the image resource on one of my GitHub repositories (which is fine by me if you want to keep it that way), but I don't know whether GitHub imposes a bandwidth limit on image access or whether your security filter caches such image resources (I did what I could to minimize the image file sizes).
P.P.S. I was a little confused as to whether I am supposed to submit pull requests to the master branch or the add-new-sheets-fork branch

I want to start with saying this sheet looks really nice, and the quality of the code and images is fantastic. That said, I will want to talk to the other devs to get their thoughts on having another D&D 5e sheet. This would bring us to 4 separate sheets, not counting the Chinese translation. But, of all game systems this is by far the most popular, so...maybe. The other devs are out on vacation, so it'll be another week or so before I can give a solid answer. In the mean time, I'm going to at least add it to the repo. If you don't mind updating the image links to point to our master version for me, after I've added them, that would be awesome.

I talked to the other devs and we have decided that your sheet has different enough functionality from the other 5e sheets we have and that 5e is popular enough to have room for it. So, I'll be adding it to the list with the rest of the updates this week.


Add CXXFiles to TestPackage

With a project layout like this:
.
└── src
    └── proj
        ├── a
        │   ├── a.cpp
        │   ├── a.go
        │   └── a.h
        └── main.go

the test command will give a linker error when processing the a directory. This is because the .cpp files are not added to the test package. This change adds the .cpp files to the test package.

Thank you. Can you please add a test to cmd/gb/gb_test.go
On Tue, May 9, 2017 at 4:48 AM, Luke Johnston<EMAIL_ADDRESS>wrote:

With a project layout like this:
.
└── src
└── proj
├── a
│   ├── a.cpp
│   ├── a.go
│   └── a.h
└── main.go
the test command will give a linker error when processing the a
directory. This is because the .cpp files are not added to the test
package. This change adds the .cpp files to the test package.
You can view, comment on, or merge this pull request online at:
https://github.com/constabulary/gb/pull/716
Commit Summary

Add CXXFiles to TestPackage

File Changes

M test/test.go
https://github.com/constabulary/gb/pull/716/files#diff-0 (1)

Patch Links:

https://github.com/constabulary/gb/pull/716.patch
https://github.com/constabulary/gb/pull/716.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/constabulary/gb/pull/716, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA9QIaD5Kro6YyWsje4CmLMg_lknwks5r32ObgaJpZM4NUWCE
.

Codecov Report

Merging #716 into master will increase coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #716      +/-   ##
==========================================
+ Coverage   52.83%   52.85%   +0.01%
==========================================
  Files          42       42
  Lines        3155     3156       +1
==========================================
+ Hits         1667     1668       +1
  Misses       1344     1344
  Partials      144      144

Impacted Files
Coverage Δ

test/test.go
72.48% <100%> (+0.18%)
:arrow_up:

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 0ab23c1...ec09189. Read the comment docs.

Sure, done. Thanks for the quick reply.

LGTM. Thanks.


serving  javascript files in handlebars view engine with express js

Iam a beginner.I wrote  a very simple node js to know ,how to work with handlebars .I added javascript animation to home and that animation doesn't works.
can any one give simple example on  how to work with js file with handlebars .

Hi,
I am not sure if your query is directly related to Express. Please can you post some relevant code so I can take a look what's going on?
Could you also explain in a bit more detail what you're trying to achieve as your title and description of this issue don't seem to match up.
Thanks

Hi  @reeceaw   here is the link
https://hastebin.com/xerilimegu.cs
The problem is that why that simple animation is not working.
Thanks

I'm not seeing anywhere you're actually loading the anime.js file. Can you point to where that is? Perhaps that is the issue, that you forgot a <script> tag to load that file?

sorry!! I pasted wrong this the correct link,Thanks..
https://hastebin.com/oxohaduwoq.xml

Thanks! So the issue you're seeing is that the Node.js variable __dirname does not end with a directory separator, so when you concat the string 'public' it's not the directory in your project. You should use path.join instead:
var express=require('express');
var exphbs=require('express-handlebars')
var path = require('path');
var app=express();
app.engine('handlebars',exphbs({defaultLayout:'main'}));
app.use(express.static(path.join(__dirname, 'public')));
app.set('view engine','handlebars')

app.get('/',function(req,res){

    res.render('index');
});
app.listen(3000);

I did it now, but it is not working.

Yea, I saw that too, but looks like issues in your JS, not related to Express.

Ok ,Sir if possible will you provide me a source code to know , how to link js to handlebars in express.

I'm not sure what you mean. After the change I provided above, the anime.js file loads and clicking on the button calls your myMove function. Is that what you mean by "linking"?

Yea.

Ok, so that's what the change I provided above does.


Can support TextBox？

Unfortunately, TextBox seems too complicated to support. I believe I will only support RichTextBox.

I want to limit the length of the content and get the Text content. The RichtextBox doesn't seem to support it

You may try to support MaxLength in a RichTextBox using the following method, based on this StackOverflow answer:

listen to the PreviewKeyDown event
if the text is at the maximum length, mark the event as handled and return

To improve on the above code, you may use  MapVirtualKey (see this other answer) to check whether the key is a printable character or not.

This is such a great idea，Thank you！


[WorldBankCountryBoundaries] Add import notebook for country boundaries

Py Notebook that downloads and exports admin area 0 boundaries, in HD (original from source), and simplified (using geopandas.GeoSeries.simplified.
The generated MCF's are still rather large compared to similar files for US counties and states. At DP3, counties are 1.2MB, whereas this is 2.5MB. I generated MCF's for more levels in this notebook as well - we can test at DP3, and import the additional ones if necessary. See all the generated MCF's in gcs.
To see the colab notebook directly, use this link. It's a 25MB file exported, so I can reduce the output if that helps - lmk.

Nice, and the viz stuff in the NB is very useful!
I wonder if you're thinking we use NBs for scripts as a model or just do that for this import?  Because tests are hard/painful with NB.
I'll take a closer look at the NB shortly.

I'm thinking just for this import - yes, testing is hard most of the time, though for this import it was really useful to visually inspect the images. But getting a notebook for data exploration and validation could be useful.

I'm thinking just for this import - yes, testing is hard most of the time, though for this import it was really useful to visually inspect the images. But getting a notebook for data exploration and validation could be useful.

In reviewing it (the first NB-based import), my feeling is that it is probably better to delineate code used for exploration/introspection from (production) code that actually generates the output.  The latter can be carefully reviewed, tested and re-run when necessary.
But I agree that seeing the exploration/validation definitely helps in capturing some wisdom involved in the import!

ptal @pradh - I moved the data processing code out to a script and added tests. Agree that this feels much more natural, and we should leave notebooks for exploration.

thanks for the additional review!


Ability to re-order Tasks (i.e. to get leaderboard columns in some specific order)

Instead of ordered by pk 28, 29, 30 -- maybe make a new model TaskInstance where we  can have extra metadata like index to order these tasks
Organizers would set this ordering, not participants.

Since we only have the ability to have one leaderboard for a competition. Should I change repurpose this tab to be where an admin can change the order of tasks?


It could be nice to include an installation of the addon via command line

Just a quick note: Because I prefer to keep things cleanly tied to the Blender GUI as much as possible, unless desperately needed, I won't explicitly add installation via the command line.