mamba-ssm-2.2.0 has an error

The following error occurs when using mamba_chunk_scan_combined in mamba-ssm-2.2.0:
File "/usr/local/lib/python3.10/dist-packages/torch/_tensor.py", line 522, in backward
torch.autograd.backward(
File "/usr/local/lib/python3.10/dist-packages/torch/autograd/init.py", line 266, in backward
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
RuntimeError: function MambaChunkScanCombinedFnBackward returned an incorrect number of gradients (expected 16, got 14)
However, mamba-ssm-2.1.0 does not have this problem.

Thanks for the bug report, I've just pushed a fix. Will take 1-2h for the wheels to compile.


How to repair?

Hello,
I want to re-pair my PS5, because I think I have done something wrong when registering. Uninstalling does not help.
Is there any config file to delete my credentials/pairing?

Try to remove any Homebridge cached accessory and then remove the directory /home/homebridge/.playactor


feat(tracer): auto disable when running inside amplify mock

Description of your changes
As discussed in #1007, the Amplify CLI allows developers to run Lambda functions locally during development. When not running inside the AWS Lambda execution environment the xray-sdk, and by extension Tracer, will not be able to work properly as there isn't any X-Ray Daemon to connect to and send traces. Unless explicitly accounted for, the default behaviour of the SDK is to throw an exception.
This is a problem as it requires developers using Tracer to make changes to their code only to be able to test locally. Similarly to what we already do with SAM CLI, in this PR I introduced some logic to leverage a special value set by the Amplify CLI in the environment variables (details here) to detect that Tracer is indeed running inside a process started by the Amplify CLI and automatically disable itself to avoid attempting to send traces and segments.
When merged this PR will close #1007.
How to verify this change
Check the newly added test cases as well as the result of the e2e tests (link in the comments below).
Related issues, RFCs
#1007
PR status
Is this ready for review?: YES
Is it a breaking change?: NO
Checklist

[x] My changes meet the tenets criteria
[x] I have performed a self-review of my own code
[x] I have commented my code where necessary, particularly in areas that should be flagged with a TODO, or hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] The code coverage hasn't decreased
[x] I have added tests that prove my change is effective and works
[x] New and existing unit tests pass locally and in Github Actions
[x] The PR title follows the conventional commit semantics

Breaking change checklist
N/A

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

E2E tests passing:
https://github.com/awslabs/aws-lambda-powertools-typescript/actions/runs/2575872038


iOS Safari full screen behavior

I'm having issues with iOS, specifically in Safari.
On iPad, fullscreen cannot be interacted with consistently without unwanted 'jumping' behavior.
On iPhones, the top of the viewer is sometimes hidden under Safari's menu bar when firing fullscreen.
I'm trying to narrow down the issue but am hoping I've overlooked something here.
Specifically, this appears to happen with Bootstrap v4, and have not had issues until the past few months - with Safari on iOS. Any suggestions would be appreciated.
Thank you.

Is this happening on your site now? Can you point to a page where it's happening? Does it happen for you on http://openseadragon.github.io/ ?
I've just tested both the OSD site and your deepzoomchattanooga site, on both iPhone and iPad Safari with iOS 12.1.4. These are the things I've observed:
iPad

OSD and DZC seem to exhibit the same behaviors
It's now possible to go into a true full screen! This wasn't supported in previous versions of iOS. That's kind of exciting!
The device's status bar is still visible at the top of the screen, so it overlaps the OSD buttons.
iOS puts an X in the upper left to let you get out of full screen; this also overlaps the OSD buttons.

After panning a few times I get an alert that says "It looks like you're typing while in full screen." Which of course I am not.

iPhone

It's still not possible to go to true full screen here, evidently; it's just doing the "full page" behavior.
Everything looks fine on the OSD page, but the DZC page (at least https://chattanoogahistory.com/1889vs2018.php) sometimes has a little extra band of white above the viewer beneath the URL bar of the browser. Panning seems to get rid of this.

Are these the things you're seeing or are you seeing additional/different stuff?

Yes, the same 'hiding the buttons' behavior is present in several of the examples on github. (but not the first 'with default settings' or the custom toolbar - both of those work as expected).
Here's a test page I've set up to experiment with. If often takes the 2nd or third refresh/ attempt full-screen to see the buttons pushed under the ios/Safari menu bar.
https://chattanoogahistory.com/safaritest

One thing I'm noticing on the iPhone is that the browser URL bar collapses itself when you scroll down the page, but you can expand it by tapping on it. On your test page I was unable to get the behavior you describe where the URL bar automatically overlaps the controls (perhaps because of your fix), but I could get it to happen manually:

Scroll down the page so the URL bar collapses
Tap the full screen button; the controls are snug underneath the collapsed URL bar
Tap the URL bar; it expands so it's now overlapping the controls, which don't move down

So... seems like we have quite a number of issues here (including all the ones you've documented and the ones I have)! Probably the thing to do is to tackle them each individually... Which of them should be fixed inside OSD, and which ones are specific to your page? Are there facilities in iOS Safari to detect when these things are happening? What are the appropriate fixes?
Do you have any interest in working on fixing some of this stuff? If not, hopefully someone else will take an interest. Either way, it's good to have the issues documented!

I'm guessing if it's due to the expanding menu bar, the intermittent nature has to do with some sort of timing thing, where when you go into fullscreen the menu bar is collapsed, but then a moment later it expands itself, but for some reason the web page doesn't realize it. You might look at things like resize events, or maybe Safari has some special events for things like the menu bar expanding or who knows. Another thing to look at would be to run a setInterval or something and measure the sizes of the window, the screen, various divs, etc. each time to see if you can detect a change.
There might also be CSS changes that could be made to make it more or less responsive. position: fixed, height: 100vh, things like that might be worth experimenting with.
My recommendation is to focus on tackling a single issue at a time. The expanding menu bar might be the one to start with. I'm happy to be a sounding board as you debug. :)

This may be related to a Webkit bug, see #1962
Working on a workaround...


million/compiler failed to check nextjs app dir inside src dir

What version of million are you using?
3.0.3
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
million/compiler failed to auto-determine whether the user is using app dir inside src dir. This caused the compiler to fail to compile RSC.
https://github.com/aidenybai/million/blob/ec34eba56d9640b2a57d3ab4fd5246bdc94db5cd/packages/compiler/index.ts#L35
What's the expected result?
The compiler should correctly determine whether the user is using app dir inside src dir or not.
Workaround
Manually set CompilerOptions.rsc to true.
export default million.next(nextConfig, { auto: { rsc: true }, rsc: true });

Link to Minimal Reproducible Example
https://stackblitz.com/edit/stackblitz-starters-vmkrup
Participation

[X] I am willing to submit a pull request for this issue.

I thought it was happening only for either localized or multi plugin projects cause:
/** @type {import('next').NextConfig} */

import createNextIntlPlugin from "next-intl/plugin";
import million from "million/compiler";

const withNextIntl = createNextIntlPlugin();

const millionConfig = {
  auto: true,
};

const nextConfig = {
  experimental: {
    instrumentationHook: true,
  },
  webpack(config, { isServer }) {
   if (isServer) {
      if (Array.isArray(config.resolve.alias)) {
        config.resolve.alias.push({ name: "msw/browser", alias: false });
      } else {
        config.resolve.alias["msw/browser"] = false;
      }
    } else {
      if (Array.isArray(config.resolve.alias)) {
        config.resolve.alias.push({ name: "msw/node", alias: false });
      } else {
        config.resolve.alias["msw/node"] = false;
      }
    }
    return config;
  },
  productionBrowserSourceMaps: true,
  reactStrictMode: true,
};

export default million.next(withNextIntl(nextConfig, millionConfig));

It was failing on loading.
After applying the workaround, running dev does fail anymore, even if we use auto: true, i.e., we don't use the workaround.
It is very weird.

@SalahAdDin I don't think that is the correct way to use the million.next function. To override the million config and using the custom plugin together you should chain the plugin like this:
export default million.next(withNextIntl(nextConfig), millionConfig);

@SalahAdDin I don't think that is the correct way to use the million.next function. To override the million config and use the custom plugin you should chain the plugin like this:
export default million.next(withNextIntl(nextConfig), millionConfig);

You don't need to use this workaround if your project doesn't use RSC. The workaround only useful for the project that using app dir and it's living inside src dir.

Well, You made me the key to remember the issue:
 pnpm dev                                                         ✔  20.11.0 

><EMAIL_ADDRESS>dev /home/luisalaguna/Projects/TRT/twe_fe_next
> next dev

   ▲ Next.js 14.1.0
   - Local:        http://localhost:3000
   - Experiments (use at your own risk):
     · instrumentationHook

 ✓ Ready in 2.3s
 ⚠ Found a change in next.config.mjs. Restarting the server to apply the changes...
   ▲ Next.js 14.1.0
   - Local:        http://localhost:3000
   - Experiments (use at your own risk):
     · instrumentationHook

 ✓ Ready in 2.1s
 ✓ Compiled /src/middleware in 314ms (86 modules)

  ⚡ Million.js 3.0.3
  - Tip:     use // million-ignore for errors
  - Hotline: https://million.dev/hotline

 ○ Compiling /[locale] ...
 ✓ Compiled /[locale] in 4s (1060 modules)
 ⨯ node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(4:82) @ undefined
 ⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
    at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs:9:114)
    at (rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/vendor-chunks/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0.js:20:1)
    at __webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at eval (webpack-internal:///(rsc)/./src/app/[locale]/layout.tsx:11:83)
    at (rsc)/./src/app/[locale]/layout.tsx (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/app/[locale]/page.js:237:1)
    at Function.__webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async collectGenerateParams (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:919:21)
    at async Object.loadStaticPaths (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/dev/static-paths-worker.js:46:13) {
  type: 'TypeError',
  page: '/en'
}
null
 ○ Compiling /_error ...
 ✓ Compiled /_error in 3.5s (1167 modules)

It happens when we use export default million.next(withNextIntl(nextConfig), millionConfig); and const millionConfig = {  auto: true,};!!!
When we use const millionConfig = { auto: { rsc: true }, }; it still happens.
So, it is not a workaround in this case.
Workaround
Our solution is export default million.next(withNextIntl(nextConfig, millionConfig));

@SalahAdDin As I said in the workaround you need to manually set CompilerOptions.rsc to true. So your config should be something like this if you're using RSC.
export default million.next(withNextIntl(nextConfig, { auto: { rsc: true }, rsc: true }));

export default million.next(withNextIntl(nextConfig), { auto: { rsc: true }, rsc: true });

Not working for me:
- Experiments (use at your own risk):
      · auto-rsc

 ✓ Compiled /[locale] in 6.9s (1051 modules)
 ⨯ node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(4:82) @ undefined
 ⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
    at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs:9:114)
    at (rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/vendor-chunks/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0.js:20:1)
    at __webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at eval (webpack-internal:///(rsc)/./src/app/[locale]/layout.tsx:10:83)
    at (rsc)/./src/app/[locale]/layout.tsx (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/app/[locale]/page.js:237:1)
    at Function.__webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async collectGenerateParams (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:919:21)
    at async Object.loadStaticPaths (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/dev/static-paths-worker.js:46:13) {
  type: 'TypeError',
  page: '/en'
}
null
 ○ Compiling /_error ...
 ✓ Compiled /_error in 2.3s (1158 modules)
 ⨯ node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(4:82) @ undefined
 ⨯ TypeError: (0 , react__WEBPACK_IMPORTED_MODULE_0__.createContext) is not a function
    at eval (webpack-internal:///(rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0/node_modules/@radix-ui/react-direction/dist/index.mjs:9:114)
    at (rsc)/./node_modules/.pnpm/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react<EMAIL_ADDRESS>(/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/vendor-chunks/@radix-ui+react-direction@1.0.1_@types+react@18.2.55_react@18.2.0.js:20:1)
    at __webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at eval (webpack-internal:///(rsc)/./src/app/[locale]/layout.tsx:10:83)
    at (rsc)/./src/app/[locale]/layout.tsx (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/app/[locale]/page.js:237:1)
    at Function.__webpack_require__ (/home/luisalaguna/Projects/TRT/twe_fe_next/.next/server/webpack-runtime.js:33:42)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async collectGenerateParams (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/build/utils.js:919:21)
    at async Object.loadStaticPaths (/home/luisalaguna/Projects/TRT/twe_fe_next/node_modules/.pnpm/next@14.1.0_@babel+core@7.23.9_react-dom@18.2.0_react@18.2.0/node_modules/next/dist/server/dev/static-paths-worker.js:46:13) {
  type: 'TypeError',
  page: '/en'
}
null

Then I think it's not related to the issue. From the error, it seems like you're using DirectionProvider directly in the server component without re-export it from @radix-ui/react-direction. As the error said createContext is not a function which means the compiler thinks that component is a server component. If you want to use a third-party react ui component such as radix-ui you need to re-export it with "use client" directive.

@SalahAdDin As I said in the workaround you need to manually set CompilerOptions.rsc to true. So your config should be something like this.
export default million.next(withNextIntl(nextConfig), { auto: { rsc: true }, rsc: true });

millionConfig is the object that passes to override the default config of million.next. It doesn't do anything if you chain it to nextConfig.

Well, it is working well after removing the provider.
In your opinion this workaround should not be required, right?
Thank you!

@SalahAdDin The workaround is required if you're using app directory inside src directory as I said at first.

@SalahAdDin The workaround is required if you're using app directory inside src directory as I said at first.

But it should be working without the workaround, right?

@aidenybai any news on this issue?

bump here, same issue

bump

Workaround doesn't work for me on Nextjs 14 with app dir inside src.

await import("./src/env.js");
import bundleAnalyzer from "@next/bundle-analyzer";
import million from "million/compiler";

const withBundleAnalyzer = bundleAnalyzer({
  enabled: process.env.ANALYZE === "true",
});

/** @type {import('next').NextConfig} */
const nextConfig = {
 reactStrictMode: true,
 i18n: {
   locales: ["en", "fr", "nl", "pt"],
   defaultLocale: "en",
 },
};

/* const millionConfig = {
 auto: true,
};
export default million.next(withBundleAnalyzer(nextConfig), millionConfig); */

export default million.next(withBundleAnalyzer(nextConfig), {
  auto: { rsc: true },
  rsc: true,
 });

My project also has several plugins and uses src/app/[locale] structure.
For me reason of my problems was 'next-compose-plugins'.
I tried to pass it like that  :
export default million.next(withPlugins([withPWA, withBundleAnalyzer, withNextIntlConfig], nextConfig), {
  auto: { rsc: true },
  rsc: true,
});

as soon as i changed it to this it started working:
export default million.next(withBundleAnalyzer(withPWA(withNextIntlConfig(nextConfig))), {
  auto: { rsc: true },
  rsc: true,
});

My next.config.mjs :
`import withNextIntl from 'next-intl/plugin'
//import withPlugins from 'next-compose-plugins'
import bundleAnalyzer from '@next/bundle-analyzer'
import withPWAInit from '@ducanh2912/next-pwa';
import million from "million/compiler";
const withNextIntlConfig = withNextIntl('./src/libs/i18n.ts');
const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
});
const withPWA = withPWAInit({
dest: 'public',
cacheOnFrontEndNav: true,
aggressiveFrontEndNavCaching: true,
reloadOnOnline: true,
disable: false,
workboxOptions: {
disableDevLogs: true,
maximumFileSizeToCacheInBytes: 250000
}
/register: true,
skipWaiting: true/
})
const nextConfig = {
//output: 'standalone',
//distDir: 'build',
productionBrowserSourceMaps: true,
async headers() {
const headers = [];
headers.push({
  source: '/:all*(svg|jpg|jpeg|png|gif|ico|webp)',
  locale: false,
  headers: [
    {
      key: 'Cache-Control',
      value: 'public, max-age=31536000, stale-while-revalidate',
    },
  ],
});

// Prevent search engines from indexing the site if it is not live
// This is useful for staging environments before they are ready to go live
headers.push({
  headers: [
    {
      key: 'X-Robots-Tag',
      value: 'noindex',
    },
  ],
  source: '/:path*',
});

return headers;

},
webpack(config, {isServer}) {
config.module.rules.push({
test: /.svg$/i,
issuer: /.[jt]sx?$/,
use: ['@svgr/webpack'],
});
config.externals.push({
  bufferutil: 'bufferutil',
  'utf-8-validate': 'utf-8-validate',
});

if (isServer) {
  if (Array.isArray(config.resolve.alias)) {
    config.resolve.alias.push({ name: "msw/browser", alias: false });
  } else {
    config.resolve.alias["msw/browser"] = false;
  }
} else {
  if (Array.isArray(config.resolve.alias)) {
    config.resolve.alias.push({ name: "msw/node", alias: false });
  } else {
    config.resolve.alias["msw/node"] = false;
  }
}

return config;

},
images: {
deviceSizes: [320, 428, 744, 1024, 1440, 1920, 2048],
formats: ['image/avif', 'image/webp'],
domains: [
'localhost',
'lh3.googleusercontent.com',
'cdn.discordapp.com',
'swiperjs.com',
process.env.NEXT_PUBLIC_API_URL,
]
.filter(Boolean)
.map(url => url.replace(/https?:///, '')),
remotePatterns: [
{
protocol: 'https',
hostname: '**.pravatar.cc',
},
],
},
};
/** @type {import('next').NextConfig} */
//withPlugins([withPWA, withBundleAnalyzer, withNextIntlConfig,], nextConfig)
export default million.next(withBundleAnalyzer(withPWA(withNextIntlConfig(nextConfig))), {
auto: { rsc: true },
rsc: true,
});
`

Up!

Up!

Are you still experiencing this issue @SalahAdDin? It should have been fixed by now.

Are you still experiencing this issue @SalahAdDin? It should have been fixed by now.

Let me check it!

Are you still experiencing this issue @SalahAdDin? It should have been fixed by now.

Is there any new release? I can't see it here.

@SalahAdDin With the latest release of next.js and million.js, it seems like this has not been fixed yet.

Same issue

Are you still experiencing this issue @SalahAdDin? It should have been fixed by now.

Yeah, we are still experiencing the issue.

agreed with @IamSoPrada
I could only get it work this way with the latest version of nextjs "next": "14.2.3",
import bundleAnalyzer from "@next/bundle-analyzer";
import million from "million/compiler";
import MillionLint from "@million/lint";

const withBundleAnalyzer = bundleAnalyzer({
  enabled: process.env.ANALYZE === "true",
});

const nextConfig = {
  productionBrowserSourceMaps: true,
  async headers() {
    const headers = [];
    headers.push({
      source: "/:all*(svg|jpg|jpeg|png|gif|ico|webp)",
      locale: false,
      headers: [
        {
          key: "Cache-Control",
          value: "public, max-age=31536000, stale-while-revalidate",
        },
      ],
    });
    headers.push({
      headers: [
        {
          key: "X-Robots-Tag",
          value: "noindex",
        },
      ],
      source: "/:path*",
    });
    return headers;
  },
  webpack(config, { isServer }) {
    config.module.rules.push({
      test: /\.svg$/i,
      issuer: /\.[jt]sx?$/,
      use: ["@svgr/webpack"],
    });
    config.externals.push({
      bufferutil: "bufferutil",
      "utf-8-validate": "utf-8-validate",
    });
    if (isServer) {
      if (Array.isArray(config.resolve.alias)) {
        config.resolve.alias.push({ name: "msw/browser", alias: false });
      } else {
        config.resolve.alias["msw/browser"] = false;
      }
    } else {
      if (Array.isArray(config.resolve.alias)) {
        config.resolve.alias.push({ name: "msw/node", alias: false });
      } else {
        config.resolve.alias["msw/node"] = false;
      }
    }
    return config;
  },
  images: {
    deviceSizes: [320, 428, 744, 1024, 1440, 1920, 2048],
    formats: ["image/avif", "image/webp"],
    remotePatterns: [
      {
        protocol: "http",
        hostname: "localhost",
      },
    ],
  },
};

export default million.next(withBundleAnalyzer(nextConfig), {
  auto: { rsc: true },
  rsc: true,
});

same issue

i have same issues

Isn't this fixed yet?


New vite 6.0.2 causing dependency error of vite-plugin-inspect in Nuxt appliaction

Describe the bug
After doing
npx nuxi@latest init
npm install
npm run dev
vite-plugin-inspect is throwing the error.
when checked the package-lock.json the vite version in peerDependencies is 6.0.2
Reproduction
in package-lock.json change peerDependencies changing the version of vite to 6.0.2 will show the error
However when changed back to 5.4.11 it doesnt give any error
System Info
When using npm run dev after installing nuxt it is throwing error
Cannot start nuxt:  Cannot convert undefined or null to object                                                                                4:04:31 pm

  at Function.values (<anonymous>)
  at configureServer (node_modules/vite-plugin-inspect/dist/index.mjs:1410:12)
  at configureServer (node_modules/vite-plugin-inspect/dist/index.mjs:1496:19)
  at _createServer (node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-CB_7IfJ-.js:63080:26)
  at async buildClient (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.B69gK6ir.mjs:733:24)
  at async withLogs (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.B69gK6ir.mjs:1781:3)
  at async bundle (node_modules/@nuxt/vite-builder/dist/shared/vite-builder.B69gK6ir.mjs:1772:3)
  at async bundle (node_modules/nuxt/dist/index.mjs:6091:5)
  at async build (node_modules/nuxt/dist/index.mjs:5966:3)
  at async Promise.all (index 1)

when we use vite 6.0.2 version, but when reverted to vite 5.4.2 the vite-plugin-inspector issue not shown

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Contributions

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Reported in https://github.com/nuxt/nuxt/issues/30127, it's a bug introduced by Nuxt DevTools, not this plugin.


online-677 Indicate Financial Assistance links if available for a course

Pre-Flight checklist

[x] Screenshots and design review for any changes that affect layout or styling

[x] Desktop screenshots
[x] Mobile width screenshots

[x] Migrations

[x] Migration is backwards-compatible with current production code

[x] Testing

[x] Code is tested
[x] Changes have been manually tested

[x] Settings

[x] New settings are documented and present in app.json
[x] New settings have reasonable development defaults, if applicable
[x] Opened issue for DevOps regarding necessary configuration changes to deployed environments

What are the relevant tickets?
Fixes https://github.com/mitodl/mitxonline/issues/677
What's this PR do?
In this PR, we have added an indication for financial assistance for the courses. Financial assistance indication is displayed on the following places:

User Dashboard
Course Detail Page
Course Detail Page Upsell Modal

How should this be manually tested?
Follow these steps:

Add financial assistance form for a course page in CMS by following https://github.com/mitodl/hq/discussions/133.
Visit the course detail page and click on Enroll button. Need financial assistance? link is displayed in the popup modal.
Enroll in the free version(audit mode) of the course.
Visit Course Detail Page. You can see the Need financial assistance? link in the course upsell card.
Visit the dashboard page from the user profile, you can see the Financial assistance? link beside the Get Certificate button.

Screenshots (if appropriate)

Looks good, nice work! Just left a single comment about the extra question mark.
I'm wondering if it makes sense to change the text in the screenshot below from "Flexible Pricing Available" to "Financial Assistance Available" in order to keep the wording aligned across the application.

The text in the screenshot is added from CMS. So, can be updated easily from CMS.

Codecov Report

Merging #764 (9e47179) into main (1710496) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #764      +/-   ##
==========================================
+ Coverage   85.33%   85.38%   +0.04%
==========================================
  Files         128      128
  Lines        5675     5685      +10
  Branches      930      930
==========================================
+ Hits         4843     4854      +11
+ Misses        689      687       -2
- Partials      143      144       +1

Impacted Files
Coverage Δ

cms/serializers.py
95.65% <100.00%> (+1.20%)
:arrow_up:

courses/serializers.py
97.03% <100.00%> (+0.11%)
:arrow_up:

ecommerce/discounts.py
80.70% <0.00%> (+1.75%)
:arrow_up:

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


Desync between client and server regarding active time?

"Active 1m ago" when user is actually active now, and "active 2m ago" or something when user was not active for a while (until I type something to "refresh" it, then it's 39m or whatever)

This refresh time is handled by facebook, not our fault if its poorly handled. Sorry.
If you still want to use the application, please try our new beta. See https://github.com/Aluxian/Facebook-Messenger-Desktop/issues/458

Really? That's odd; I do see "active now" on the official mobile app; I never see it on your app. The "refresh" issue I have noticed on the mobile app, though.

I see the active now all the time :)
And yes facebook seems to have trouble with this active time.


the ldap issue

i try to config LDAP,but sadly ,fail ,and stuck for a day, but don't know what to do
i am a rookie in java ,have some experience is android ,though
OK, the things is ,i follow the instruction to set the ldap ,but every time it is telling me the
LDAP: error code 49 - Invalid Credentials
And actually i am quiet sure the LDAP server works , but it just very frustrate cuz i am sure the admin password is right ,so does the username and user password, the only thing i think is wrong ,could be the DN ,but i change a lot of time ,i have a ou ,not only dc
the config is like this :

and my config is this

thx in advance!

hi ,any progress ?
the maven tell me a lot of things is going wrong when i use the ali mirror

the above seems like didn't bother ,but there are new obstacles

@xxxllluuu  @RichardShan


Hardsuits, EVA suits, Firesuits, and others now protect your feet from Glass Shards

About the PR

Added the ShoeRequiredStepTriggerImmune comp to anything I could find with shoes in the sprite.

All hardsuits
All EVA suits
Both bomb suits
Both fire suits
Rad suits
Chitinous armor
Bone armor
ironclad II armor
heavy armor
Ian suit
Chicken suit
Monkey suit

Why / Balance

MY FEET HURT
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking Changes

Removed ShoeRequiredStepTriggerImmune tag and turned it into a comp called ShoeRequiredStepTriggerImmuneComp

Changelog

:cl:

tweak: Hardsuits, EVA suits, firesuits and other things now protect your feet from dangerous glass shards.

tested it with the syndicate EVA and other EVA suits, good
tested it with hardsuits like the captain and engi suits, good

alternatively I can add a "hasShoes" tag or something and rely on that so we don't end up having to manually add in more to the condition check

Are Firesuits included?

Are Firesuits included?

ah... good point. I think I will just add that shoe tag...

I just realized what I need to do, one second.

Alright now it's a yml only change. I added the immune tag to anything armor-wise I could find that had shoes.

The negative addition is just me altering the atmos fire suit indentation to match the rest of the file.

the only thing this PR doesn't address yet is the fact that Dionas and Dionukies also benefit from the hardsuit changes since it only checks for outerClothing. let me see what I can do to make Dionas suffer

the only thing this PR doesn't address yet is the fact that Dionas and Dionukies also benefit from the hardsuit changes since it only checks for outerClothing. let me see what I can do to make Dionas suffer

??? whats the point of this change if dionas dont benefit from it

the only thing this PR doesn't address yet is the fact that Dionas and Dionukies also benefit from the hardsuit changes since it only checks for outerClothing. let me see what I can do to make Dionas suffer

??? whats the point of this change if dionas dont benefit from it

the CE getting their shoes stolen and breaking their fucking toes on glass shards despite having a chief engineering hardsuit

there are arguments to be made about Dionas benefitting from the shoes because the shoe sprites still show up when they wear it
I say that this is an oversight and maybe displacement maps can vanish them from existence

c'mon man they already cant wear magboots or noslips why make them able to be defeated by a glass shard :(

there are arguments to be made about Dionas benefitting from the shoes because the shoe sprites still show up when they wear it
I say that's just a limitation of the current clothing implementations

But wouldn't that mean hardsuits on dionas would also be useless due to the gaping hole on the bottom

there are arguments to be made about Dionas benefitting from the shoes because the shoe sprites still show up when they wear it
I say that's just a limitation of the current clothing implementations

But wouldn't that mean hardsuits on dionas would also be useless due to the gaping hole on the bottom

I'm all for buffing Dionas if a maintainer wants to remove the change, I'm just going with the same logic as lizard tails coming out of their spacesuit not compromising them either

there are arguments to be made about Dionas benefitting from the shoes because the shoe sprites still show up when they wear it
I say that's just a limitation of the current clothing implementations

But wouldn't that mean hardsuits on dionas would also be useless due to the gaping hole on the bottom

I'm all for buffing Dionas if a maintainer wants to remove the change, I'm just going with the same logic as lizard tails coming out of their spacesuit not compromising them either...
the holes are... magically fine

You know what I'm all for hardsuits for dionas and lizards being made useless if it makes slimes a little better in comparison

there are arguments to be made about Dionas benefitting from the shoes because the shoe sprites still show up when they wear it
I say that's just a limitation of the current clothing implementations

But wouldn't that mean hardsuits on dionas would also be useless due to the gaping hole on the bottom

I'm all for buffing Dionas if a maintainer wants to remove the change, I'm just going with the same logic as lizard tails coming out of their spacesuit not compromising them either...
the holes are... magically fine

You know what I'm all for hardsuits for dionas and lizards being made useless if it makes slimes a little better in comparison

the most based take imaginable
dionas and lizards becoming more unique by being unable to safely exist in a spaced environment due to their biology...

this code would be cleanest if ShoesRequiredStepTriggerImmune was just converted to a component and then all worn clothing slots (excluding pockets) were checked for instances of this component. Needing to special case in every clothing slot that can feasibly cover your feet is really bad for expanding and this code is getting duplicated with these changes enough as it is.

okay, how's this

I.... I don't really know how to tie this into any kind of inventory equip event, considering that the moment you step on a piece of glass or a D4 isn't really tied to any kind "inventory equip" event


upgrades to enso v4

remove the App folder / namespace

@raftx24 when creating packages do we still prefix the namespace / folder with App or you changed this as well?


Remove DSS content from repository

Following the general plan for splitting this monitoring repo out from the dss repo, this PR removes most of the DSS content from this repository following its creation via mirroring from dss at v0.6.0.
Following current best practices, the primary branch on this repo is named main rather than master.
Since a number of monitoring tests require a local DSS instance, this PR also switches the build/dev docker-compose system to use the published DSS image directly at version v0.6.0, as well as a newly-published dummy-oauth image (though we should probably create a Python-based dummy-oauth monitoring tool with the single monitoring image to replace that Go-based tool).
This PR attempts to immediately enable publishing of monitoring releases, including pushing the image to Docker Hub.  A script similar to build/build.sh is added at build/build_and_push.sh (to supplement monitoring/build.sh when publishing to an image repository.
Documentation for uss_qualifier is updated to use more recent make targets to avoid individually updating the dev DSS steps.

/easycla


Is it possible to use this with *redis.ClusterClient?

I create a new repo for redis.ClusterClient, you can try it
https://github.com/chenyahui/gin-cache-redis


npm audit warning - path-to-regexp

npm audit currently gives a warning for this package due to its dependencies.
Namely the path-to-regexp package creates this warning: https://github.com/advisories/GHSA-9wv6-86v2-598j
It is triggered because of the following dependencies:
https://github.com/lwsjs/rewrite/blob/b3747c60075e253482639c2c8d9c003865a3ebe1/package.json#L34-L35
So path-to-regexp is required directly, and indirectly via koa-route.
If possible, please upgrade the two packages in question.

Related issues: https://github.com/lwsjs/blacklist/issues/2 and https://github.com/koajs/route/issues/73.

This will take a toucher longer to fix as upgrading path-to-regexp will break lws-rewrite and lws-blacklist due to major breaking changes in path-to-regexp recently.. I will likely drop path-to-regexp entirely and replace its previous behaviour (mainly the support for regexp input expressions, which has since been dropped) with something hand-rolled.

Made a request while I work on a new solution..

the advisory fix has been implemented in path-to-regexp v6.3.0.. This was a minor version release, meaning lws-rewrite, lws-blacklist and @koa/router will now pick up the fixed module if you reinstall.
According to https://github.com/koajs/router/issues/186, you may still receive an advisory message but this should clear within a few days once the advisory database is updated.


Remove fomantic transition module

Removes all dropdown and dimmer animations. Works everywhere as far as I can tell, but need to give this thorough testing. Removes around 70kb JS/CSS.
Note, I'm not 100% sure regarding the various callbacks, those will need more investigation, but it appears to work nonetheless.
Fixes: https://github.com/go-gitea/gitea/issues/15709

Has bugs with menu hiding in the navbar, wip.

Hiding bug fixed. Fomantic apparently never removes the transition class after transition, so I replicated that and that makes the hiding CSS work again.

It breaks the modal dialogs.

I see what you mean, the position is incorrect, but modal works otherwise. This was not an issue in an earlier iteration of this, checking...

Problem is the display: flex !important; inline style is missing, but interestingly, the module does not contain flex in the source.

Found it:
https://github.com/fomantic/Fomantic-UI/blob/de758dcb3b4b51657623d43893bc5351aadaf942/src/definitions/modules/transition.js#L236-L239

Modal should be fixed. This replacement function is likely not 100% equivalent to the removed module, but it appears to work well enough.

TBH, I am not a fan of removing all animations.
According to modern web sites:

For dropdowns, it doesn't need to use animation in most cases
For fly-in and modal dialogs, in most cases, they use animations, I have checked Apple, Google

So I do not think it's right to remove the animations totally.

I like them nowhere and selectively allowing some would be a much more deeper dive into the hacky internals of Fomantic that I'm not interested in doing.

Checked how GitHub does it, they have a 300ms animation on the modal content, but not the backdrop, which shows instantly. Hide is instant on both backdrop and modal.

Modal now fades in. I also added a new CSS variable for the backdrop color and very slightly reduced it's opacity. I think it will be useful for themes.

One more tweak done: added box shadows to dropdowns so they stand out more against the background:

(subpixel misalignment in second screenshot is a fomantic bug)
also, fixed an issue with the border color changing unexpectedly on focus change.


Custom events are not working

Describe the bug
Custom events are neither delivered to target nor persisted in the database.
Expected behaviour
Custom events should get persisted in database and be delivered to the configured target.
Actual behaviour
Custom events are neither delivered to target nor persisted in the database.
Steps to reproduce
Create a custom event with the following config in Mission Control:
{
  "type": "myType",
  "url": "https://httpbin.org/post",
  "retries": 3,
  "timeout": 5000
}

Then queue an event to that event type from Mission Control itself in the synchronous mode. You will get error: context deadline exceeded.
Then queue the event in asynchronous mode. It will get queued. But then if you query event_logs table from the API explorer, you won't get any rows.
Your environment

Space Cloud version: v0.18.0
OS: Linux
Kubernetes or Docker: None. Using gateway binary directly

If this bug restricts your use of space-cloud, give it a thumbs up reaction, so that we can determine which bugs need to be fixed immediately.
👍

I was unable to reproduce this behavior @HeyItsJs

@HeyItsJs what should we do about this issue ?

It's working for me as well now. Don't know why didn't it worked earlier. So closing this.


Compatible with latest numpy 2.0.0

LlamaIndex ,Langchain, and chromadb not supporting numpy2.
So it might be a long wait for supporting this new version


Jasmine matchers feature parity

🚀 Feature Proposal
Use output from second parameter in matchers like in Jasmine.
Motivation
This lets me write efficient code but still know exactly which object had a mismatch.
Example
In Jasmine, I can do something like this:
for (var i=0, i<myObjects.length; i++) {
myObj = myObjects[i];
expect myObj.someprop.toEqual(1, index + ' ' + myObj.name);
}
Pitch
You're using Jasmine under the hood anyway--why would you make your matchers so much less capable than theirs?

Duplicate of #3293

You're using Jasmine under the hood anyway--why would you make your matchers so much less capable than theirs?

We don't use jasmine's matchers

Is there a way to use them with expect? Or could you fix yours to work better?

No, they're not pluggable. You can use chai or the linked jest-expect-message, though

Could you just fix yours?


Rename the software and repo name to libfastrace?

@ethercflow Follow C's conventions and personally feel fastrace-c strange ..

@ethercflow Follow C's conventions and personally feel fastrace-c strange ..

@tisonkun Indeed, will fix it soon, thx!


None of the integration tests should be skipped

TO DO - Make the build fail in case an integration-test is skipped.
Currently, some storage integration tests are skipped programmatically https://github.com/Azure/azure-sdk-for-js/issues/7010
We need to make sure that all the live tests succeed, and we get a 100% coverage during the nightly CI builds.

It's a great goal to skip no test case.
But It is not realistic to block if it's not 100% coverage for now as when we are working on features in preview, sometimes the deployment status blocks us from running the cases.
Close this in favor of https://github.com/Azure/azure-sdk-for-js/issues/10699.


[Bug]: Two different videos are embedded into equal vectors

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Two different videos are embedded into equal vectors
Expected Behavior
Two different videos are embedded into not equal vectors
Steps To Reproduce
1 install towhee

python3 -m venv towhee-test-env
pip install -U pip
pip install towhee

2  into python env: python3:
from towhee import pipeline
p = pipeline('towhee/video_embedding_resnet50')
video_path_1 = "/Users/binbin/Towhee_projects/1.mp4"
video_vec_1 = p(video_path_1)
video_path_2 = "/Users/binbin/Towhee_projects/binbin.mp4"
video_vec_2 = p(video_path_2)
video_vec_1[0][0][0] == video_vec_2[0][0][0]

### Environment

```markdown
- Towhee version(e.g. v0.1.3 or 8b23a93): 0.2.3.dev3
- OS(Ubuntu or CentOS): mac
- CPU/Memory:
- GPU:
- Others:

Anything else?
No response

How is this issue going now?
Thanks.

We are deprecating the existing video embedding pipeline; a newer and much improved version will be released later down the road.


Add delegation proxy to spring web proxy

This PR allows for separation of responsibility between AWS and Spring where AWS side remains responsible to create HttpServletRequest from JSON representation of the API Gateway's input stream. Once created it can now delegate to Spring provided module for further interaction with the DispatcherServlet and the rest of the Spring stack
This has been long discussed with @msailes and greater AWS team

Hi @olegz, we haven't had much time to review recently, but I should be able to take a look soon. One thing that I'm seeing is that one of the test suites is failing (Build and test Spring, it looks like a dependency conflict). If you can take a look at that while I review the rest of the code. Thanks.

Closing it in favor of a new PR that i'll be submitting soon which will simply be an implementation of RequestStreamHandler specific to Spring code. This way no boolean flag will be necessary and user can choose which handler to use.


[New Feature]: Execution of additional SBG workflows

Acceptance Criteria:
o Demonstrated execution of addditional SBG workflows triggered from the Airflow UI and/or Airflow API
o CI/CD pipeline for nightly execution of additional SBG workflows
Dependencies:
From SE: provide additional working SBG workflows

We succeeded in executing the end-to-end SBG workflow either as a single CWL Task, or a set of sequential Tasks (although not chained yet). Closing the ticket.


New package: SimpleDFT v2.2.0

Registering package: SimpleDFT
Repository: https://gitlab.com/wangenau/simpledft.jl
Created by: https://gitlab.com/wangenau
Version: v2.2.0
Commit: a26b74dc3d9b02495e2f82e2aeb622281b93392f
Git reference: HEAD
Description: A simple plane wave density functional theory Julia code.

I tried to change the repo URL to use the .git ending over the Julia Registrator, but it didn't  got updated here
If one could change this manually I would appreciate it, or is it better to close this PR and re-open with the .git URL?
I would argue that SimpleDFT is different enough from SimpleGF2 and there shouldn't be any confusion between both names

[noblock]
The only existing issue is the similar naming issue. I added my reasoning above, but someone else has to decide if the names are too similar.


Add memory/string conversions

https://github.com/WebAssembly/interface-types/blob/master/proposals/interface-types/working-notes/instr.md#memory-to-string

Done now!


conform.release fails after the first run

If you clone this project https://github.com/alco/exrmtest and run mix conform.release in it, it'll work the first time. But every subsequent attempt produces the following output:
$ mix conform.release
==> conform
Unchecked dependencies for environment dev:
* neotoma (Hex package)
  the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
* ex_doc (Hex package)
  the dependency is not available, run "mix deps.get"
* earmark (Hex package)
  the dependency is not available, run "mix deps.get"
==> exrmtest
** (Mix) Can't continue due to errors on dependencies

When running it with MIX_ENV=prod, it only complains about neotoma:
$ MIX_ENV=prod mix conform.release
==> conform
Unchecked dependencies for environment prod:
* neotoma (Hex package)
  the dependency is not locked (run "mix deps.get" to generate "mix.lock" file)
==> exrmtest
** (Mix) Can't continue due to errors on dependencies

The errors appear to come from the invocation of escript.build but I haven't been able to investigate it further.
Elixir v1.2.3.

The release I pushed today removes that task entirely, as it's internal to exrm, and was causing problems for a variety of reasons.


🛠 Tooling: Don't run compliance/accessibility checks on renovate PRs

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Overview
It would be nice if RenovateBot included alt text on its images, but that seems somewhat out of our hands.
For example:
https://github.com/JoshuaKGoldberg/create-typescript-app/pull/1316
I'd expect compliance and a12y checks to be skipped on Renovate PRs.
Additional Info
Related to #138 but not the same (that's about compliance checks preventing auto-merge).

Aside: I'd previously filed https://github.com/renovatebot/renovate/discussions/25714 on Renovate in November for more alt text:

Proposal: can we modify the alt text on that image to something just a bit more informative? Say:

- > [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
+ > [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

...and their images look like they've reverted back to the old alt text. Using https://github.com/danvk/gravlax/pull/57 as an example:

<img src="..." alt="Mend Renovate" data-canonical-src="https://app.renovatebot.com/images/banner.svg" style="max-width: 100%;">

Filed https://github.com/renovatebot/renovate/discussions/27393.

@all-contributors please add @danvk for tool.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action.
Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed.
...and of course, thank you for contributing! 💙


Add google analytics

I have the analytics set up, but not sure where to put this. Maybe in head section?


Add Report Generator Script

What this PR does and why we need it:
This PR adds a generator for the daily performance report. An example of a generated report can be found here.
Special notes for reviewer:
This PR only concerns the generation/format of the report, not the data generation.
Does this require a change in the script's interface or the BigQuery's table structure?
No.

@meisterT Done.


fix(preset-mini): remove num === 0 in px handler to fix offset utility issues

This PR removes a num === 0 check in the px handler which returned 0 which broke a bunch of offset-utilities (ring-offset-0, underline-offset-0). This means it returns 0px now and these utilities work again.
The num === 0 check is still there for the rem handler so inset-0 still gives a 0 result. (I'm not sure why this is better than 0px though)
It's possible there's a better way to fix this, in that case feel free to close this PR.
fixes https://github.com/unocss/unocss/issues/3196

The num === 0 check is still there for the rem handler so inset-0 still gives a 0 result. (I'm not sure why this is better than 0px though)

Cause #2153 changes to produce this issue that i'm not consided it. And thanks for your feedback, I'll consider if there's a better way to fix it or revert it.

A fun(?) thing I noticed is that decoration-offset-0 in UnoCSS seems broken in Brave, I get something like this. Very strange...

The num === 0 check is still there for the rem handler so inset-0 still gives a 0 result. (I'm not sure why this is better than 0px though)

Cause #2153 changes to produce this issue that i'm not consided it. And thanks for your feedback, I'll consider if there's a better way to fix it or revert it.

Do you want to merge it like this or did you have some other solution in mind?


Fix logic to detect controllers

Some controllers do not work without this fix.
GearVRf-DCO-1.0-Signed-off-by: Ragner Magalhaes<EMAIL_ADDRESS>

Will merge on Friday. @ragner agrees the criteria is rather strange. We'll look into it separately.


What about how to do this Database-First?

Would love a link to a tutorial that explains how to get EntityFrameworkCore installed and setup in a database-first scenario.  :)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 7ac57b24-45aa-e679-6ff9-5a25c369c1ff
Version Independent ID: cc576199-b14c-a135-2291-cc48bf301b4e
Content: Getting Started - EF Core
Content Source: entity-framework/core/get-started/index.md
Product: entity-framework
Technology: entity-framework-core
GitHub Login: @Rick-Anderson
Microsoft Alias: avickers

Hello! Thanks for contacting us. This sounds like a general question about using ASP.NET Core. While we try to look at and respond to all issues, for questions like this we recommend posting to a community support group like Stack Overflow with the asp.net-core tag.

No, it was a question to the folks who maintain that document about providing alternative documentation for a different 'path' (if you will) for doing the same thing, but in a very slightly different way. Links I've seen in many of Microsoft's other 'tutorial' docs in fact.


Drop the dependency on numo-narray

This dependency makes red-colors inavailable on JRuby.

This should already be fixed.


How to do pre-training?

I noticed that the way of pre-training is to use mask language modeling in your article. Is there any plan to expose this part of the code? Or is there any relevant code to refer to?

Hi, There is some misunderstanding here. The manuscript proposes a simple text-reading task as a pre-training task, not mask language modeling, and the code is available. The followings would be helpful to you. Hope this helps :)

https://github.com/clovaai/donut#for-psuedo-text-reading-task
https://github.com/clovaai/donut#training

hi，no config for "for-psuedo-text-reading-task" found，any plan to release?


gradle 6.7 breaks Main class inference

Environment:

Jib version: 2.6.0
Build tool: gradle 6.7
OS: macOS Catalina

Description of the issue:
Main class inference breaks in gradle 6.7
Expected behavior:
Build and push image
Steps to reproduce:

run ./gradlew wrapper --gradle-version 6.7 --distribution-type all
run ./gradlew jib

jib-gradle-plugin Configuration:
plugins {
  id("com.google.cloud.tools.jib") version "2.6.0"
}

val dockerRepository: String by extra("repo.company.com:12345")

...

jib{
  to{
    image = "${dockerRepository}/${project.name}:${project.version}"
    tags = setOf("latest")
  }
}

Log output:
com.google.cloud.tools.jib.plugins.common.MainClassInferenceException: Main class was not found, perhaps you should add a `mainClass` configuration to jib

I fixed it by running
./gradlew clean jib
something about upgrading gradle without a subsequent clean broke main class inference


Strange behavior of plot_acquisition()

Hi!
Sometime GPyOpt suggests the sample which is not the maximum of acquisition function. It does not make scene to me. Furthermore, in the following figure, the uncertainty around 0.5 is almost zero, why at that point we see the acquisition is maximized?

OR this figure:

The optimization of the acquisition can be hard and sometimes it may fail.
This happens especially at the end of the optimization (of the main
objective) when most of the mass of the acquisition is usually concentrated
in a small region. Unless one of the local (bfgs) optimizers starts in that
region you won't find the optimum since the gradients won't give you any
sensible information. That is the problem in your example, I suspect. A
possible solution is to increase the number of (randomly spread) local
optimizers
Regarding the the point where the acquisition is maximum, note that you are
minimizing the objective function so in your example 0.5 is a sensible
point to explore.
Hope it helps!
Javier
On 12 June 2016 at 15:01, calm85<EMAIL_ADDRESS>wrote:

Hi!
Sometime GPyOpt suggests the sample which is not the maximum of
acquisition function. It does not make scene to me. Furthermore, in the
following figure around 0.5 is almost zero, why at that point we see the
acquisition is maximized?
[image: image]
https://cloud.githubusercontent.com/assets/19739863/15991548/fb8afc7c-3083-11e6-8da2-747ca632f9a3.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/25, or mute the thread
https://github.com/notifications/unsubscribe/AGiS83CcTRQkExRp4-fQY7lkpvK97v2hks5qLBE4gaJpZM4IzzIo
.

Although this still may happen occasionally I would expected this behaviour to be corrected in the new release.


AMBARI-25178. [Knox TP] Config Group selection is empty while Adding Service in Ambari (amagyar)

What changes were proposed in this pull request?
When Ambari is behind Knox Config Group Selection doesn't work. The group_id>0 predicate is url encoded by knox and Ambari fails to parse the encoded query param.
GET https://ctr-e139-1542663976389-81666-01-000003.hwx.site:8443/gateway/default/ambari/api/v1/clusters/cl1/configurations/service_config_versions?is_current=true&group_id%3E0&fields=*&_=1551793258100

{"status":400,"message":"Unable to compile query predicate: Invalid Query Token: token='&', previous token type=PROPERTY_OPERAND"}

How was this patch tested?
manually

cc: @g-boros

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/4969/
Test PASSed.

hi，is ambari support ARM server?

@fengshuangme if you mean ARM processor family, then officially no. See: https://supportmatrix.hortonworks.com


Add support for ipset for zone files using rich_rules

This commit adds support for IPSETs for the source in rich_rules.
 firewalld_rich_rule { "block-ports-for-servers-not-in-whitelist":
    ensure   => 'present',
    zone     => 'public',
    family   => 'ipv4',
    source   => { 'ipset' => 'whitelist', 'invert' => true, },
    port     => { 'port' => $port, 'protocol' => 'tcp', },
    action   => 'reject',
  }

This is a partial implementation for issue  #108

Would you like for all of the source/destination  address tests to be duplicated or just one of each?

This will get pushed out as part of #131 and released today.  Thanks for the contribution


Mode.TOOLS_STRICT: "Invalid schema for function 'ABC': In context=('properties', 'error'), 'default' is not permitted." - gpt-4o-2024-08-06

[X] This is actually a bug report.
[ ] I am not getting good LLM Results
[ ] I have tried asking for help in the community on discord or discussions and have not received a response.
[X] I have tried searching the documentation and have not found an answer.

What Model are you using?

[ ] gpt-3.5-turbo
[ ] gpt-4-turbo
[ ] gpt-4
[X] gpt-4o-2024-08-06

Describe the bug
When using Mode.TOOLS_STRICT I get the error:
{
  "error": {
    "message": "Invalid schema for function 'MaybeAvailabilityRequest': In context=('properties', 'error'), 'default' is not permitted.",
    "type": "invalid_request_error",
    "param": "tools[0].function.parameters",
    "code": "invalid_function_parameters"
  }
}

To Reproduce
Models:
class AvailabilityRequest(BaseModel):
    detected_language: str = Field(description="The detected language of the input")
    person_ids: List[int] = Field(description="List of person IDs for employees to check availability for")
    start_date: str = Field(description="Start date for the availability check")
    end_date: Optional[str] = Field(description="End date for the availability check")
    number_of_consecutive_days: int = Field(description="Final number of consecutive days for availability as requested by the user")
    number_of_ranges: Optional[int] = Field(None, description="Number of date ranges required (optional)")

class MaybeAvailabilityRequest(BaseModel):
    result: Optional[AvailabilityRequest] = Field(default=None)
    error: bool = Field(default=False)
    message: Optional[str] = Field(default=None)

    def __bool__(self):
        return self.result is not None

Call:
extracted_data = instructor_client.chat.completions.create(
    model=openai_model,
    response_model=MaybeAvailabilityRequest,
    messages=[
        {"role": "system", "content": extraction_system_message},
        {"role": "user", "content": request.input}
    ],
    max_retries=int(os.getenv("MAX_RETRIES", "3"))
)

Expected behavior
The models should be serialized to a JSON compatible with what gpt-4o supports.
The call should succeed and return the extracted data.

This problems is unrelated to instructor and explicit on your the exception raised referencing field error
... In context=('properties', 'error'), 'default' is not permitted.

class MaybeAvailabilityRequest(BaseModel):
    result: Optional[AvailabilityRequest] = Field(default=None)
    error: bool
    message: Optional[str] = Field(default=None)

you can lprobs do
message: str | Literal['None'] unforch :( structured output has limited support

Thanks @ivanbelenky - this fixed it.
@jxnl: the message property works fine with message: Optional[str] = Field(default=None)


SCIPY installation trouble OSX 10.12.3

The package didn't install on OS X 10.12.3.
After looking around various web sources, the issue is something with Xcode command line tools.
From the terminal >xcode-select --install
this installed the command line tools and scipy eventually installed as the instructions.
It would be nice to have this as a note or in a FAQ somewhere.

This looks like the same problem as your report over at https://github.com/matplotlib/matplotlib/issues/8433 - did you try my suggestion there?

Hi-
Yes, same issue.  the first response was to make this an issue with scipy , so I did.
I did try updating pip before I started.
I eventually got the scipy  package to  install on my own and it was after doing the Xcode-select —install command. I mostly was just frustrated an annoyed and was hoping to save somebody else the same frustrations.
Best regards,
Randy
On Apr 6, 2017, at 9:45 AM, Matthew Brett <notifications<EMAIL_ADDRESS>wrote:
This looks like the same problem as your report over at matplotlib/matplotlib#8433https://github.com/matplotlib/matplotlib/issues/8433 - did you try my suggestion there?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/scipy/scipy/issues/7270#issuecomment-292216365, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZse35R50NGaljuH19pqDz_Ruk22xkMzks5rtQiqgaJpZM4M1xJM.

Right - we are trying to understand why your problem happened, and hence reduce frustration of other users.
As you saw over at the the matplotlib version of this issue, the surprising thing was that you did not get a pre-compiled "wheel" package, that does not need the compilers in xcode, and we're trying to work out why, but we need you help.
Now you have upgraded pip, what do you now get for these commands:
pip --version
which python
python -c "import distutils.util; print(distutils.util.get_platform())"

Ok, thanks.  I’ll try to help you debug stuff.
pip --version
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)
which python
/usr/local/bin/python
python -c "import distutils.util; print(distutils.util.get_platform())"
macosx-10.10-x86_64
On Apr 6, 2017, at 10:01 AM, Matthew Brett <notifications<EMAIL_ADDRESS>wrote:
Right - we are trying to understand why your problem happened, and hence reduce frustration of other users.
As you saw over at the the matplotlib version of this issue, the surprising thing was that you did not get a pre-compiled "wheel" package, that does not need the compilers in xcode, and we're trying to work out why, but we need you help.
Now you have upgraded pip, what do you now get for these commands:
pip --version
which python
python -c "import distutils.util; print(distutils.util.get_platform())"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/scipy/scipy/issues/7270#issuecomment-292221722, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZse3w1uOx6wRVq8ATIJhI95kXtefrH-ks5rtQxogaJpZM4M1xJM.

How odd.
I guess you installed Python via homebrew?
  Then, can you post the out.log file somewhere where I can look at it - it will show the options that pip is trying and rejecting.

Hi-
I’m pretty sure I just used the stock python with OS X.
I ran the command and put the out.log file on our cloud server:
https://cloud.nanofab.utah.edu/index.php/s/LJVSRxtk8F43hOQ
It’s about 206kb, let me know if you want this directly emailed.
-Randy
On Apr 6, 2017, at 10:25 AM, Matthew Brett <notifications<EMAIL_ADDRESS>wrote:
How odd.
I guess you installed Python via homebrew?
 Then, can you post the out.log file somewhere where I can look at it - it will show the options that pip is trying and rejecting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/scipy/scipy/issues/7270#issuecomment-292228819, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZse33wlrnJgcn1Mjw_Id5ubdJ5dc5guks5rtRIMgaJpZM4M1xJM.

The stock Python on OSX is in /usr/bin/python - so you're using something else.
The out.log file has these lines in:
  Using cached scipy-0.19.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
  Downloading from URL https://pypi.python.org/packages/72/eb/d398b9f63ee936575edc62520477d6c2353ed013bacd656bd0c8bc1d0fa7/scipy-0.19.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=dde4d5d44a0274a5abb01be4a3cd486a (from https://pypi.python.org/simple/scipy/)

so the log file claims that it already downloaded, and presumably installed, scipy from a wheel (a binary package that does not need a compiler).
Also, I guess the command finished pretty quickly, because you can see at the end of the log that pip is installing from the binary wheel - otherwise you'd see signs of the compilation being set off.
I wonder whether the problem you had was with matplotlib, and not scipy.  For matplotlib, and Python 2.7, I believe you do need a compiler, because matplotlib depends on a package called subprocess32, that doesn't have any wheels built for it.  In fact, right at the end of your reported error message at https://github.com/matplotlib/matplotlib/issues/8433#issue-219737922 you can see that the error is coming from subprocess32.   So I think this is not a scipy install issue, but a matplotlib one.  Closing here, but please re-open if you disagree.

Thanks for looking at this. I’m satisfied on my end.
Best,
Randy
On Apr 6, 2017, at 4:10 PM, Matthew Brett <notifications<EMAIL_ADDRESS>wrote:
The stock Python on OSX is in /usr/bin/python - so you're using something else.
The out.log file has these lines in:
Using cached scipy-0.19.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl
Downloading from URL https://pypi.python.org/packages/72/eb/d398b9f63ee936575edc62520477d6c2353ed013bacd656bd0c8bc1d0fa7/scipy-0.19.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl#md5=dde4d5d44a0274a5abb01be4a3cd486a (from https://pypi.python.org/simple/scipy/)
so the log file claims that it already downloaded, and presumably installed, scipy from a wheel (a binary package that does not need a compiler).
Also, I guess the command finished pretty quickly, because you can see at the end of the log that pip is installing from the binary wheel - otherwise you'd see signs of the compilation being set off.
I wonder whether the problem you had was with matplotlib, and not scipy. For matplotlib, and Python 2.7, I believe you do need a compiler, because matplotlib depends on a package called subprocess32, that doesn't have any wheels built for it. In fact, right at the end of your reported error message at matplotlib/matplotlib#8433 (comment)https://github.com/matplotlib/matplotlib/issues/8433#issue-219737922 you can see that the error is coming from subprocess32. So I think this is not a scipy install issue, but a matplotlib one. Closing here, but please re-open if you disagree.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/scipy/scipy/issues/7270#issuecomment-292339081, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZse3zOHcRmxIStxiEhGBRXrj1hC3LB_ks5rtWLwgaJpZM4M1xJM.


Don't attempt to re-create the annotationLayer, for pages without any annotations, on zooming and rotation

Don't attempt to re-create the annotationLayer, for pages without any annotations, on zooming and rotation
For pages without any annotations, applies e.g. to the tracemonkey.pdf document, we'll repeatedly try to re-create the annotationLayer on every zoom and rotation operation.
The reason that this happens is because we don't insert the annotationLayer-div into the DOM unless there's annotations present on the page, which thus means that we miss the existing annotationLayer-caching present in the PDFPageView implementation.
This is a very old issue, and the easiest solution is to simply always insert an empty (and hidden) annotationLayer-div such that the existing code/caching starts working for the "no annotations" case as well.
Note that this is consistent with other layers, since e.g. the textLayer and/or annotationEditorLayer may be empty. Given that only a limited, by default ten, number of pages are ever active at once the additional DOM-elements shouldn't effect things negatively here.

Remove the API-caching of annotation-data
This was essentially done only to compensate for the viewer calling PDFPageProxy.getAnnotations unconditionally on every annotationLayer-rendering invocation. With the previous patch that's no longer happening, and this API-caching should thus no longer be necessary.

/botio-linux preview


another MSA crash

A user with a Eee nettop running windows & chrome is getting crashes on MSA (the Oh Snap broken page window) for this figfam
https://www.patricbrc.org/portal/portal/patric/Feature?cType=feature&cId=PATRIC.61435.4.JPRE01000005.CDS.258443.260041.rev
I initially thought it was a low-memory issue (machine has 2GB RAM) but when I booted up a 500MB VM with windows7 & chrome I was able to get the MSA.

Bob, this link goes to a single feature. Do you have a list of features that the user tried to load? Currently, I cannot replicate the issue.

Sorry - it was in trying to create a MSA for the features in the figfam assigned to that feature.
It worked for me as well, but failed on the netbook.
—bob
On Jul 29, 2015, at 11:26 AM, Harry Yoo <notifications<EMAIL_ADDRESS>wrote:
Bob, this link goes to a single feature. Do you have a list of features that the user tried to load? Currently, I cannot replicate the issue.
—
Reply to this email directly or view it on GitHubhttps://github.com/PATRIC3/patric3_website/issues/361#issuecomment-126007639.

Andrew, would you take a look at this issue? It might be difficult to reproduce without netbook, though.

The entire figfam (92 members) worked fine for me on a chromebook acer c720 with 2Gb of RAM. That is the only netbook I have access to right now.


Trilinear and bary-linear interpolations

Some Christmas lights before the holidays.
Builds on top of #83
This PR adds trilinear interpolation and a "bary-linear" interpolation when points don't satisfy the requirements of trilinear interpolation.

TrilinearInterpolate() first does a long series of checks to make sure the 8 points are indeed vertices of a prism. Then, it implements the trilinear interoplation on Wikipedia
BaryLinearInterpolate() is a custom hybrid approach combining barycentric and linear interpolation that I hope works well. It reuses the functions written for barycenric and trilinear interpolations.
It is called when TrilinearInterpolate() detects the 8 points are not vertices of a prism, which happens when the robot is on the boundaries.
In this case, the 4 points on each z slice are treated as a degenerated tetrahedra, and the 2D overloaded version of BarycentricInterpolate() is called. The result is (x, y, z1), (x, y, z2), where (x, y, z) is the query point, and z1 and z2 are positions of the two z slices.
Then, these two intermediate points are linearly interpolated (along z) to get the data value at (x, y, z).

With the latter, I can finally test simple data reasonably without running into "the algorithm doesn't even finish because the data doesn't satisfy the requirements."
Bookkeeping of the indices of the sub-cloud and sub-sub-cloud and mapping back to the original cloud is a bit crazy tedious. I think I shook out all the bugs.
Test case 1 (easy)
"Normal" use case where the robot's 8 interpolation neighbors are on the vertices of a prism, i.e. satisfies trilinear interpolation requirement.
Robot is exactly on a z slice.
interpolation_prism.csv:

Robot at
      <pose>4 -5 0 0 0 0</pose>

Turn on DEBUG_INTERPOLATE = true to see the result printouts.
Interpolation result is 300, value of all the points on the top z slice robot is on:
[Dbg] [ScienceSensorsSystem.cc:2019] Interpolating chlorophyll
[Dbg] [ScienceSensorsSystem.cc:1070] Trilinear interpolation min vert v000: 3.33958, -6.63446, -2
[Dbg] [ScienceSensorsSystem.cc:1072] Trilinear interpolation max vert v111: 6.67917, -3.31723, -0
[Dbg] [ScienceSensorsSystem.cc:1169] Trilinear interpolation, starting with 8 points: 100, 300, 100, 300, 100, 300, 100, 300
[Dbg] [ScienceSensorsSystem.cc:1192] Trilinear interpolation, 4 intermediate results from 8 points: 100, 300, 100, 300
[Dbg] [ScienceSensorsSystem.cc:1201] Trilinear interpolation, 2 intermediate results from 4 points: 100, 300
[Dbg] [ScienceSensorsSystem.cc:1210] Trilinear interpolation result: 300

Test case 2
More data points.
Robot is in a prism and between two z slices.
interpolation_test.csv:

Robot at
      <pose>4 -5 -1 0 0 0</pose>

Interpolation result is 200, midpoint of 100 and 300:
[Dbg] [ScienceSensorsSystem.cc:1165] Trilinear interpolation, starting with 8 points: 100, 300, 100, 300, 100, 300, 100, 300
[Dbg] [ScienceSensorsSystem.cc:1188] Trilinear interpolation, 4 intermediate results from 8 points: 100, 300, 100, 300
[Dbg] [ScienceSensorsSystem.cc:1197] Trilinear interpolation, 2 intermediate results from 4 points: 100, 300
[Dbg] [ScienceSensorsSystem.cc:1206] Trilinear interpolation result: 200

Test case 3 (hard)
interpolation_test.csv still.
Robot is on the boundary, its nearest neighbors not a prism
      <pose>0 0 0 0 0 0</pose>

Hybrid barylinaer interpolation is activated.
Interpolation result is 250:
[Dbg] [ScienceSensorsSystem.cc:1010] Found 4 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, 1.106, -0), distance 1.10574 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -1.106, -0), distance 1.10574 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, 2.211, -0), distance 2.21149 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -3.317, -0), distance 3.31723 m
[Dbg] [ScienceSensorsSystem.cc:873] Excluding 1st nn z slice. Remaining cloud has 15 points
[Dbg] [ScienceSensorsSystem.cc:1010] Found 1 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (3.34, 0, -2), distance 3.89266 m
[Dbg] [ScienceSensorsSystem.cc:911] 2nd nn (-3.33958, 0, -2), idx 8, dist 3.89266, z slice 15 points
[Dbg] [ScienceSensorsSystem.cc:1010] Found 4 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (3.34, 0, -2), distance 3.89266 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (-3.34, 0, -2), distance 3.89266 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (3.34, -3.317, -2), distance 5.11437 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (3.34, 3.317, -2), distance 5.11437 m
[Dbg] [ScienceSensorsSystem.cc:1913] interpolatorInds1.size(): 4
…
[Dbg] [ScienceSensorsSystem.cc:2015] Interpolating chlorophyll
[Dbg] [ScienceSensorsSystem.cc:1066] Trilinear interpolation min vert v000: -3.33958, -3.31723, -2
[Dbg] [ScienceSensorsSystem.cc:1068] Trilinear interpolation max vert v111: 3.33958, 3.31723, -0
[Wrn] [ScienceSensorsSystem.cc:1152] Trilinear interpolation: Suspect 8 input points not on prism. Vertex 0 (0, 1.106, -0) not within tolerance (1e-06) of any of 8 vertices of rectangular prism. Using hybrid bary-linear interpolation instead.
…
[Dbg] [ScienceSensorsSystem.cc:1399] Barycentric 2D lambda 1 2 3: 0.5, 0.5, 0
[Dbg] [ScienceSensorsSystem.cc:1418] Barycentric 2D interpolation of values 300, 200, 200 resulted in 250
[Dbg] [ScienceSensorsSystem.cc:1618] Hybrid bary-linear interpolation, 2 barycentric interpolations on 2 z slices resulted in: 250 and 250
[Dbg] [ScienceSensorsSystem.cc:1637] Hybrid bary-linear interpolation, linear interpolation of 2 points on two z slices: 250
[Dbg] [ScienceSensorsSystem.cc:1643] Hybrid bary-linear interpolation of 8 values:
[Dbg] [ScienceSensorsSystem.cc:1646] 300
[Dbg] [ScienceSensorsSystem.cc:1646] 200
[Dbg] [ScienceSensorsSystem.cc:1646] 200
[Dbg] [ScienceSensorsSystem.cc:1646] 200
[Dbg] [ScienceSensorsSystem.cc:1646] 100
[Dbg] [ScienceSensorsSystem.cc:1646] 300
[Dbg] [ScienceSensorsSystem.cc:1646] 100
[Dbg] [ScienceSensorsSystem.cc:1646] 100
[Dbg] [ScienceSensorsSystem.cc:1647] resulted in 250

Test case 4 (real data)
Real data
      <data_path>2003080103_mb_l3_las.csv</data_path>

Because real data is ugly, it's hard to tell whether things work by reading numbers.
The standard in this test case is: It doesn't crash, and the interpolation result doesn't look bonkers from the data it's interpolating from.
(For functionality, use test cases 1-3 and the simple test files.)
Robot on boundary (not in prism). Activates hybrid bary-linear.
[Dbg] [ScienceSensorsSystem.cc:692] At time slice 0, populated 295536 spatial coordinates.
[Dbg] [ScienceSensorsSystem.cc:1858] Searching around sensor Cartesian location 0, -0, 0
[Dbg] [ScienceSensorsSystem.cc:1893] Neighbor at (0, -0, -0), squared distance 1.94831e-16 m
[Dbg] [ScienceSensorsSystem.cc:818] 295536 points in full cloud
[Dbg] [ScienceSensorsSystem.cc:826] 1st nn (1.39148e-08, -1.1001e-09, -0), idx 4021, dist 1.39582e-08, z slice 18471 points
[Dbg] [ScienceSensorsSystem.cc:1010] Found 4 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -0, -0), distance 1.39582e-08 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (-1812.03, 0.184, -0), distance 1812.03 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (1812.03, 0.184, -0), distance 1812.03 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -2218.66, -0), distance 2218.66 m
[Dbg] [ScienceSensorsSystem.cc:873] Excluding 1st nn z slice. Remaining cloud has 277065 points
[Dbg] [ScienceSensorsSystem.cc:1010] Found 1 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -0, -5), distance 5 m
[Dbg] [ScienceSensorsSystem.cc:911] 2nd nn (1.39148e-08, -1.1001e-09, -0), idx 4021, dist 5, z slice 18471 points
[Dbg] [ScienceSensorsSystem.cc:1010] Found 4 neighbors.
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -0, -5), distance 5 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (-1812.03, 0.184, -5), distance 1812.04 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (1812.03, 0.184, -5), distance 1812.04 m
[Dbg] [ScienceSensorsSystem.cc:1018] Neighbor at (0, -2218.66, -5), distance 2218.66 m
[Dbg] [ScienceSensorsSystem.cc:1913] interpolatorInds1.size(): 4
...
[Dbg] [ScienceSensorsSystem.cc:1988] Interpolating salinity
[Dbg] [ScienceSensorsSystem.cc:1066] Trilinear interpolation min vert v000: -1812.03, -2218.66, -5
[Dbg] [ScienceSensorsSystem.cc:1068] Trilinear interpolation max vert v111: 1812.03, 0.184071, -0
[Wrn] [ScienceSensorsSystem.cc:1152] Trilinear interpolation: Suspect 8 input points not on prism. Vertex 0 (0, -0, -0) not within tolerance (1e-06) of any of 8 vertices of rectangular prism. Using hybrid bary-linear interpolation instead.
...
[Dbg] [ScienceSensorsSystem.cc:1399] Barycentric 2D lambda 1 2 3: 8.80114e-16, 6.75847e-27, 1
[Dbg] [ScienceSensorsSystem.cc:1418] Barycentric 2D interpolation of values 33.3166, 33.3209, 33.3119 resulted in 33.3119
[Dbg] [ScienceSensorsSystem.cc:1618] Hybrid bary-linear interpolation, 2 barycentric interpolations on 2 z slices resulted in: 33.3119 and 33.3119
[Dbg] [ScienceSensorsSystem.cc:1637] Hybrid bary-linear interpolation, linear interpolation of 2 points on two z slices: 33.3119
[Dbg] [ScienceSensorsSystem.cc:1643] Hybrid bary-linear interpolation of 8 values:
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3166
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3209
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3119
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3125
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3042
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3068
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3028
[Dbg] [ScienceSensorsSystem.cc:1646] 33.3022
[Dbg] [ScienceSensorsSystem.cc:1647] resulted in 33.3119

Future work
It would really help visual debugging to publish Markers marking where the found neighbors are, and a marker at the robot colored by the interpolation result. Currently we have to look at the numbers and think about it in our head, which doesn't scale when the numbers aren't nice.

To make it simpler. we can get two sides of the 4 per plane, use the dot product with that vector to compute the linear interpolation of each line. Then similarly do the dot product to the linear interpolation between the resulting points to compute the appropriate point in each plane. And with two of those done, it's just linear interpolation vertically with the z values.

I believe this is very similar to what the hybrid bary-linear algorithm in this PR does, in BaryLinearInterpolate(). It is called when the prism constraints for the trilinear interpolation are not met.
This way, we offer 2 alternative interpolation algorithms, so that when the data is in a rectangular grid, they get a result from a stricter interpolation method. I haven't compared empirically whether it is better, but right now we have two alternatives in the code that can be tested when we have more data. It is easy to bypass one of them later if we find that it's unnecessary to have two. It's much harder to add the trilinear back, given how much time it's already taken to implement it.

Sorry I accidentially pushed the CreateDepthSlice commit to this branch instead of my other one where I'm rebasing #127 https://github.com/osrf/lrauv/compare/tfoote/interpolation_review_rebase_127?expand=1

Succeeded by #190, #191


Remove test added with revert a1ed4e61748dbdc7962979c04922becd68cbb3ab.

I added a test case from one of the failures that were exposed by the
change that I was reverting in
https://github.com/apple/swift/commit/a1ed4e61748dbdc7962979c04922becd68cbb3ab,
but I was unable to make this test not dependent on CGFloat. We don't
have that available everywhere, and the mock SDK doesn't support
everything we need here, so I'm just going to remove the test since
adding it isn't absolutely necessary at this time.

@swift-ci Please smoke test


Test Agent with global priority setting without team

Dave, could you write the plan for this?

Beginning pylint tests.
See https://cmssdt.cern.ch/jenkins/job/DMWM-CRAB-PR-test/54/ for details


Clarification for exchange rates

I couldn't find a clarification in the API, for which direction it provides, so:
If I want to download exchange rates for converting USD to EUR:
I use /latest?base=EUR.
(Or do I use /latest?base=USD?)
And then I take the value that is returned or USD and multiply my amountInEUR with it to get amountInUSD.
We want to make sure that we take the correct value, because direction matters for exchange rates (exchange rate from EUR to USD, might differ from USD to EUR).

If you want to convert 100 USD to EUR you can use base=USD and multiply the EUR value you get (e.g. 0.9283*100)
You can also use EUR as base and reverse the calculation, e.g. if using EUR as base, USD would return 1.0772, so you'd do:
100 / 1.0772 = 92.833.


Hot reaload issue

Describe the bug
when i use following code ,hot reload not work, button text not change when model.reading has been changed
GFButton(
                    child: model.reading ? Text('Stop') : Text('Continuous'),
                    onPressed: () async {
                      if (!model.reading) {
                        await model.startInventory();
                      } else {
                        await model.stopInventory();
                      }
                    },
                  ),

i must set a key for that to work
GFButton(
                    key: ValueKey(model.reading),
                    //text: model.reading ? 'Stop' : 'Continuous',
                    child: model.reading ? Text('Stop') : Text('Continuous'),
                    onPressed: () async {
                      if (!model.reading) {
                        await model.startInventory();
                      } else {
                        await model.stopInventory();
                      }
                    },
                  ),

is that expected?
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

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

Smartphone (please complete the following information):

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

Additional context
Add any other context about the problem here.

Hi liugangnhm.
Thanks for submitting issue.
We are looking at the issue we will release new version with the fix ASAP possible.

New version has been released. it includes fixes of hot reload issue mentioned above.
Please use version getflutter: ^1.0.8 or above.

thanks. this issue seems to be  fixed  but getting another hot reload issue . I will close this issue and open a new one!


[en] fix [mapping from docker cli to crictl]  link

The "mapping-from-docker-cli-to-crictl" section is moved to https://kubernetes.io/zh/docs/reference/tools/map-crictl-dockercli/ . so it need fix

done @sftim

/lgtm
/approve


[BUGFIX] Fix backward pass for nested CachedOp

Description
MXNet will error out during the backward propagation if CachedOp is present in the computational graph. This blocks the  custom subgraph partitioning #18823 and the dynamic shape ops optimization #19524.
Currently CachedOp is used as the symbol executor (external CachedOp) to run the whole graph. It is also used as individual operator inside the graph (internal CachedOp) that combines with other operators. For backward prop, the external CachedOp should be invoked through CachedOp::Backward() while the internal CachedOp should be invoked through CachedOpBackward(). However, currently both external and internal CachedOps go through CachedOp::Backward(), which causes the issue.
This PR introduces a flag is_bwd_executor to differentiate the way we invoke the two CachedOps. The flag is set to true to Imperative::Backward to invoke the external CachedOp as graph executor, and is default to false to invoke internal CachedOp as individual op. This implementation assumes MXNet always generates external CachedOp for backward prop. However, if the graph meets some inline conditions, the forward will stop recording and hence not generate external backward CachedOP. A flag is_fwd_executor is introduced to MXInvokeCachedOp to ensure the external forward CachedOp get recorded and creates external backward CachedOp.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[ ] Changes are complete (i.e. I finished coding on this PR)

@mseth10 @sxjscience Can you please review? thanks

Could you add a testcase that fails with partition_if_dynamic=True prior to the fix?

@leezu Test case added. Please review, thanks

let's also verify that it's not breaking gluonnlp CI. Can you post the output of the following?
git clone -b master https://github.com/dmlc/gluon-nlp.git
cd gluon-nlp
python3 -m pip install -U -e .
cd tests
python3 -m pip install pytest-forked
python3 -m pytest --forked --device="cpu" test_attention_cell.py

@mxnet-bot run ci [edge]

Result for gluon-nlp tests:

python3 -m pytest --forked --device="cpu" test_attention_cell.py

Setting module np/mx/python random seeds, use MXNET_MODULE_SEED=1825779130 to reproduce.
=================================================================== test session starts ====================================================================
platform linux -- Python 3.6.9, pytest-6.1.2, py-1.9.0, pluggy-0.13.1
rootdir: /home/ubuntu/project/nlp, configfile: pytest.ini
plugins: forked-1.3.0
collected 113 items
test_attention_cell.py .................................................................................................................             [100%]
===================================================================== warnings summary =====================================================================
../../master-mx/python/mxnet/optimizer/optimizer.py:163
/home/ubuntu/project/master-mx/python/mxnet/optimizer/optimizer.py:163: UserWarning: WARNING: New optimizer gluonnlp.optimizer.AdamW is overriding existing optimizer mxnet.optimizer.adamW.AdamW
Optimizer.opt_registry[name].name))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
============================================================= 113 passed, 1 warning in 30.48s ==============================================================

@mxnet-bot run ci [edge]

This PR fixes #18823 and #19524


mvcc: escape keys in Error

It is similar to #3339, escapes raw Vec<u8> to String,

LGTM

Failed tests not relate to this change. Merge anyway.


Error in macOS

Hi !
I'm trying to use node-pcsclite on macOS. I'm having an issue trying to use desfire. I have an error which is : SCardTransmit error: Invalid parameter given.(0x80100004)
The code that fails is this one: return transmit(Buffer.from([0x1a, config.desfire.keyId]), 40, protocol); (I promisified transmit).
Running the code on Linux works.

Hi @gjuchault,
That's strange. There can be some kind of inconsistency in pcsclite implementations on different OS.
It is possible, that there is a buffer size limit on macOS, because of the error is thrown.
Could you please provide me your full working code?
I will try to debug it and find out where the problem is.
Thank you.
Btw. I recommend you my another library for working with NFC – nfc-pcsc.
It is a wrapper around this library which makes working working with NFC cards much easier. And it the newest version (branch led-control-support), it provides full Promise based (async/await compatible) API.

http://pastebin.com/eUMNwHCN
This is the script I used (and also one I got that I need to refactor). I had huge trouble trying to get nfc-pcsc inside Electron, so I went to node for testing and also directly with pcsclite, but nfc-pcsc is the next step

@gjuchault I will look into your script as soon as possible.
I am using nfc-pcsc in a big production Electron app (for startup NFCtron). Our Electron app was successfully deploy to tons of devices.
I can help you to set it up to work correctly in Electron if you want.
You can join here https://discord.gg/bg3yazg and we can chat.

Hi @gjuchault,
as I have written in chat, I have an idea, how to solve your issue.
Because your APDU requests are not PC/SC compliant (and the responses too), you should use ENCAPSULATE instruction for the Contactless slot, see API doc for your reader here, part 3.3.7 http://files.springcard.com/pub/pmd2271-bb.pdf, more about accessing DESFIRE in section 4.2.1.
Let me know if it works.
Thank you.

Indeed, that is implementation/hardware issue we are now fixing without any issue with the library.

@pokusew I'm reopening the issue here as I've raised something in private, I might explain more here if needed


feat: return IServiceCollection from AddGridifyMappers

Description
This is just a small change that allow us to chain AddGridifyMappers with other calls
builder.Services.AddDbContext<MyDbContext>()
    .AddGridifyMappers(Assembly.GetExecutingAssembly())
    .AddAutoMapper(Assembly.GetExecutingAssembly())

Hi @skolmer,
Awesome thanks 💐


crypto/internal/boring: found pointer to free object/found bad pointer in Go heap

While running the Wycheproof test suite to debug #54558, I managed to trigger a fatal error: found pointer to free object and a fatal error: found bad pointer in Go heap panic. In particular this seemed to occur frequently when using rsa.DecryptOAEP (and the internal boring.DecryptOAEP), but I was able to trigger it elsewhere as well (i.e. rsa.SignPKCS1v15 etc). Unfortunately after debugging this for a while the issue managed to magically disappear, and I have been unable to trigger it again.
Opening this issue in case a cause is obvious to anyone. I'll post traces if I'm able to trigger it again.
cc @rsc

@randall77 and I believe that this is probably fixed by https://go.dev/425194, so I'm just going to leave this in WaitingForInfo to see if it shows up again.

Since it's been a week and we're pretty sure this is fixed, I'm going to close it optimistically.


NameError: name 'np' is not defined (2)

$ ipython KrusellSmith.py
Using matplotlib backend: Qt5Agg
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
~/projects/econ-ark/DemARK/notebooks/KrusellSmith.py in <module>
    214     "PermGroFac" : [1.0],                  # Permanent income growth factor
    215 # New Parameters that we need now
--> 216     'MgridBase': np.array([0.1,0.3,0.6,
    217                            0.8,0.9,0.98,
    218                            1.0,1.02,1.1,

NameError: name 'np' is not defined

Do you have the latest master branch?
On Sat, 22 Feb 2020 at 20:58, Sebastian Benthall<EMAIL_ADDRESS>wrote:

$ ipython KrusellSmith.py
Using matplotlib backend: Qt5Agg
NameError                                 Traceback (most recent call last)
~/projects/econ-ark/DemARK/notebooks/KrusellSmith.py in
214     "PermGroFac" : [1.0],                  # Permanent income growth factor
215 # New Parameters that we need now
--> 216     'MgridBase': np.array([0.1,0.3,0.6,
217                            0.8,0.9,0.98,
218                            1.0,1.02,1.1,
NameError: name 'np' is not defined
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/econ-ark/DemARK/issues/98?email_source=notifications&email_token=ABI5RFDAST3VU72G5RATJN3REF7WTA5CNFSM4KZUE6SKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IPQEGJQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI5RFAXXCMUJ5EBCAFTCOLREF7WTANCNFSM4KZUE6SA
.

No, I didn't. Thanks for asking. This issue is invalid.


What is the version of your server?

1.8.8

Do you know exactly when does this error occur?

Do you know exactly when does this error occur?

To be precise, not every time
I will conduct a detailed test on the occurrence of errors when I have time in the next two days

Do you know exactly when does this error occur?

After my testing, it seems that killing directly by the player can cause this error, such as using a sword or a bow to kill, but non direct killing does not result in this error, such as pushing the player down into the void


Adding tests for simple constructions support

@rultor , release tag is 0.0.6

@rultor , release tag is 0.0.6

@bugdea1er OK, I will release it now. Please check the progress here

@rultor , release tag is 0.0.6

@bugdea1er Done! FYI, the full log is here (took me 10min)


Can open atom based tablet's webcam

Hi Frank, thank you for your work.
I'm trying to open webcam of atom based tablets with javacv sarxos driver, but he has not implement open webcam with HD resolution.
This driver can to open atom based wabcam in HD resolution?
Thank you very much.

Hi fanfleto,
I have not tested it on atom based Windows tablets, yet. However, I am confident that this could work. So it would be great if you could give it a try and report back. Opening HD webcam streams on Intel based Windows tablets works without problems.
All the best,
Frank.

Hi fanfleto,
I just checked the Windows tablet that I developed this project on: Yes, it was also an atom based tablet. Therefore: Yes, this driver can open HD resolution webcams on atom based tablets.
All the best,
Frank.


Cache result of EnhancedExactUnmarshal

This is a backport of the unit-test speedup change done in master.

👍