Module not found: Error: Can't resolve 'crypto' in  ".../node_modules/@kickstartds/json-schema-viewer/dist"

When trying to install this add-on to storybook, I am getting this error when running up or building
Module not found: Error: Can't resolve 'crypto' in  ".../node_modules/@kickstartds/json-schema-viewer/dist"
There were actually several packages but by installing them in my project node_modules I was able to resolve most of them. However, it looks like this one needs to be polyfilled according to webpack
I am using webpack5, i have installed crypto-browserify  and my storybook main looks like this:
const path = require('path');
const rootMain = require('../../../.storybook/main');
const toPath = (filePath) => path.join(process.cwd(), filePath);

module.exports = {
  ...rootMain,
  typescript:{
    check: false,
    checkOptions: {},
    reactDocgen: 'react-docgen-typescript',
    reactDocgenTypescriptOptions: {
      compilerOptions: {
        allowSyntheticDefaultImports: false,
        esModuleInterop: false,
      }
      // propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
    },
  },
  core: {
    ...rootMain.core,
    builder: 'webpack5',
    enableCrashReports: true, // 👈 Appends the crash reports to the telemetry events
  },

  stories: [
    ...rootMain.stories,
    '../src/app/**/*.stories.@(js|jsx|ts|tsx)',
    '../src/app/**/*.stories.mdx',
  ],

  staticDirs: [
    "../src/assets",
    "../src/public"
  ],

  addons: [...rootMain.addons, '@nrwl/react/plugins/storybook', '@kickstartds/storybook-addon-jsonschema'],
  webpackFinal: async (config, { configType }) => {
    console.log('THIS IS THE STORYBOOK WEBPACK FINAL')
    // apply any global webpack configs that might have been specified in .storybook/main.js
    if (rootMain.webpackFinal)
      config = await rootMain.webpackFinal(config, { configType });
    // add your own webpack tweaks if needed

    //added for material-ui theme font
    config.module.rules.push({
      test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
      use: [
        {
          loader: 'file-loader',
          options: {
            name: '[name].[ext]',
            outputPath: 'assets/'
          }
        }
      ]
    });

    const value = {
      ...config,
      resolve: {
        ...config.resolve,
        fallback: {
          crypto: require.resolve('crypto-browserify')
        },
        alias: {
          ...config.resolve.alias,
          '@emotion/core': toPath('node_modules/@emotion/react'),
          'emotion-theming': toPath('node_modules/@emotion/react'),
        },
      },
    };
    console.log('THIS IS THE WEBPACK FINAL VALUE')
    console.log(JSON.stringify(value, null, 2))
    return value
  },
};

The logs show that the fallback is added to the config.
Im wondering

Why is this complaining about crypto, i dont even see it in the node modules of the project?
Is this something that needs to be resolved in this project  or is there a work around that anyone has found?

Interesting. Just quickly double-checked... we're currently using the addon without further webpack / compiler configuration as part of the Storybook setup (no webpackFinal or such).
My guess as to where crypto comes from would be the json-schema-viewer dependency:
https://github.com/kickstartDS/storybook-addon-jsonschema/blob/main/package.json#L99
I needed to fork that, to make adjustments in a bunch of places to be able to import some stuff for the addon use:
https://github.com/kickstartDS/json-schema-viewer
Do you remember what other dependencies were failing for you? Because you shouldn't have to install anything additionally yourself.
Btw., what Storybook version are you actually on?

Thanks for the quick reply. There were 4 dependency errors in total, logs and package.json dependencies at the bottom

os
path
crypto
@kickstartds/core

I am using storybook 6 and webpack5.
Entrypoint main [big] 11.9 MiB = runtime~main.manager.bundle.js 14.2 KiB 213.manager.bundle.js 11.9 MiB main.manager.bundle.js 2.24 KiB
5050 modules

ERROR in<EMAIL_ADDRESS>12:0-32
Module not found: Error: Can't resolve 'path' in '/Users/<UserName>/Documents/Dev/<ApplicationName>/node_modules/@kickstartds/json-schema-viewer/dist'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }'
        - install 'path-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "path": false }
<EMAIL_ADDRESS>8:0-58 14:249-256 14:300-307
<EMAIL_ADDRESS>9:0-53 16:38-48
<EMAIL_ADDRESS>3:0-33 12:12-17

ERROR in<EMAIL_ADDRESS>13:0-34
Module not found: Error: Can't resolve 'crypto' in '/Users/<UserName>/Documents/Dev/<ApplicationName>/node_modules/@kickstartds/json-schema-viewer/dist'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
        - install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "crypto": false }
<EMAIL_ADDRESS>8:0-58 14:249-256 14:300-307
<EMAIL_ADDRESS>9:0-53 16:38-48
<EMAIL_ADDRESS>3:0-33 12:12-17

ERROR in<EMAIL_ADDRESS>15:0-71
Module not found: Error: Can't resolve '@kickstartds/core/lib/storybook/helpers' in '/Users/<UserName>/Documents/Dev/<ApplicationName>/node_modules/@kickstartds/storybook-addon-jsonschema/dist/esm/components'
<EMAIL_ADDRESS>11:0-46 20:102-114
<EMAIL_ADDRESS>9:0-53 16:38-48
<EMAIL_ADDRESS>3:0-33 12:12-17

ERROR in ./node_modules/decomment/lib/utils.js 4:11-24
Module not found: Error: Can't resolve 'os' in '/Users/<UserName>/Documents/Dev/<ApplicationName>/node_modules/decomment/lib'

BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.

If you want to include a polyfill, you need to:
        - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }'
        - install 'os-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
        resolve.fallback: { "os": false }
 @ ./node_modules/decomment/lib/index.js 4:14-32
<EMAIL_ADDRESS>17:0-34 40:33-42
<EMAIL_ADDRESS>11:0-46 20:102-114
<EMAIL_ADDRESS>9:0-53 16:38-48
<EMAIL_ADDRESS>3:0-33 12:12-17

4 errors have detailed information that is not shown.
 Will have a look, pretty sure it's something to do with the Webpack 4 -> 5 transition. I believe our projects still use Webpack 4 for Storybook itself (we're not using Webpack ourselves, otherwise).

Thank you! My assumption was the webpack4 to 5 as well. If i can help please let me know. I can pull down the repo and try a fix if needed, just wanted to check in before taking that step. I find it odd that the I am seemingly unable to alias/fallback to the necessary dependencies in webpack more than anything else. I wouldnt think that being nested inside this project would be an issue, but perhaps it needs to be resolved in the build by customizing the webpack in your build here? Just spitballing as this one is a bit of a head-scratcher

Wrong button click apologies!

Any news on this topic? I'm running storybook within nx with react 18.2 and I really would like to integrate this addon!

Me too !
Any news on this topic? I'm running storybook within nx with react 18.2 and I really would like to integrate this addon! +1

Oh snap... totally lost sight of this one. Sorry!
We're actually in the process of updating the plugin to Storybook 7, which includes updating all dependencies (which also means our fork of json-schema-viewer that's the culprit for all those packaging / transpilation problems.
It was working with Storybook before (at least for us) because of their Webpack 4 config doing some of the heavy lifting / shimming. This is not the way to do it for Storybook 7, though, because we can make even less assumptions of the builder config of Storybook instances consuming this addon.
I think we should be able to push a fix for this in the next 2-3 weeks (we're launching a small tool on tuesday, and will focus on the Storybook 7 migration after that: https://www.producthunt.com/products/kickstartds).
As we'll change to Vite / esbuild with that, it will be a mandatory fix for us anyways!

Thank you very much for your answer julrich !

You can also track the progress here:

https://github.com/kickstartDS/kickstartDS/pull/1292
https://github.com/kickstartDS/kickstartDS/issues/1316

Hey thank you for the update ! What you do is amazing.
My dream goal is to have my hosted storybook linked with figma and his jsonSchema.
That's why i wanna use your jsonschema addon.


Last modification date for all files is changed to the latests date during deployment

Describe the bug
When I deploy my site. The last modification date for all files is updated to the current date of the deployment. It is working fine when I am building the site locally
Currently, I build my site locally, and push the public to Cloudflare to bypass this issue
To Reproduce
Steps to reproduce the behavior:

Source Code
Live Site

Expected behavior
The last modification for all files shouldn't change during deployment. So the notes can be sorted nicely based on their last modification date
Screenshots

The last modification date is changed for all files

Desktop (please complete the following information):

Device: Macbook Pro 2022
OS: MacOS
Browser: Firefox

This isn't a bug, https://github.com/xy-241/CS-Notes/blob/v4/quartz.config.ts#L50 make sure your notes have either a date field in the frontmatter or you add git as a source from which Quartz can pull date information from. Note that on Cloudflare Pages you'll need to change your build command to be git fetch --unshallow && npx quartz build to get the appropriate date information.
If you do end up using git, you also need to set https://github.com/xy-241/CS-Notes/blob/v4/quartz.config.ts#L14 to be modified instead of created


Selenium Driver Upstream Tab-Close Failure

This is a linkage to an upstream issue, where the generic Selenium WebDriver is unable to close tabs at this time.
Issue #10345
This impacts the tab: close expression directly making it unusable until Selenium is patched.

Closed with Issue #10348 in Selenium upstream.


Error on port 5500

When I try to go live I get the error "Error on port 5500" and I've tried to change the port but I get the same message again but with the new port. Am I doing something wrong?
And I've tried unistalling the extension and VS Code, but the error remains.

I solved this problem.
First, open the setting.json file.
Next to Default User Settings
In User Setting, override your setting.
I override the following by adding the following and using port 5501 was the solution.
"libServer.Settings.port": 5501

This is probably a simple question to answer, but I am just starting to get into development and I don't know how to get into that settings.json file.  Where is it located and how do I access it? I've been looking for it and checked multiple articles, but I can't find it.


Open URL in Mobile Browser if open_in_device_browser Flag Is True

Utilizes WKWebView's createWebViewWith method to detect if a url opened via window.open() contains open_in_device_browser query and determine if link should be opened on device browser app.

Could you test it in oauth flow?

WFM:
https://github.com/magiclabs/magic-ios/assets/13407884/347e4e44-e48a-4930-9ff9-306bcfc031df

Could you test it in oauth flow?

WFM! 👍


Translation interval with the variable not working

🐛 Bug Report
Translation where the variable directly succeeds the { in the interval does not work.
To Reproduce
In the example below the name wont be replaced when the count is 1 but it will fallback to the plural version.
Translation:
  "hosts_interval": "(0){your hosts};(1){{{name}}};(2-inf){your hosts};",

Code:
  const hostsText = t('hosts_interval', {
    name: 'John',
    postProcess: 'interval',
    count: 1,
  });

Expected behavior
The variable should be parsed correctly and replaced.
Your Environment

i18next version: i.e. 19.8.4
i18next-intervalplural-postprocessor version: i.e. 2.0.2

v3.0.0 BREAKING changes regex from /\((\S*)\).*{((.|\n)*)}/ to /\((\S*)\).*?\[((.|\n)*)\]/ -> from (condition){value} to (condition)[value] to fix #206 and #221

v3.0.0 BREAKING changes regex from /\((\S*)\).*{((.|\n)*)}/ to /\((\S*)\).*?\[((.|\n)*)\]/ -> from (condition){value} to (condition)[value] to fix #206 and #221


feat: add hooks before

Description

Add support of hook generate:before

Tested with an example of hook from authoring.md and java-spring template
Related issue(s)
Resolves: #308

Thanks, suggestions committed.


terminate called after throwing an instance of 'char const*'

请问，当我在cpp_infer运行ppTSMv2模型时，出现这个错误：
terminate called after throwing an instance of 'char const*'
怎么解决呢？

我也遇见了同样的问题，请问你解决了吗


Install TagBot as a GitHub Action

You're receiving this pull request because the now-deprecated Julia TagBot GitHub App is installed for this repository. This pull request installs TagBot as a GitHub Action.
If this PR does not belong in this repository for any reason, feel free to close it.
See this Discourse thread for more details and to ask questions.
Please do not comment on this pull request, because it is unlikely that I (@christopher-dG) will see it.

Codecov Report

Merging #28 into master will decrease coverage by 0.95%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
- Coverage   94.81%   93.85%   -0.96%
==========================================
  Files           8        7       -1
  Lines         559      456     -103
==========================================
- Hits          530      428     -102
+ Misses         29       28       -1

Impacted Files
Coverage Δ

src/circuit.jl
84.37% <0%> (-1.34%)
:arrow_down:

src/pso_model.jl
92.53% <0%> (-0.97%)
:arrow_down:

src/blackbox.jl
95% <0%> (-0.75%)
:arrow_down:

src/admittance_model.jl
91.07% <0%> (-0.6%)
:arrow_down:

src/ansys.jl
100% <0%> (ø)
:arrow_up:

src/circuit_components.jl
100% <0%> (ø)
:arrow_up:

src/AdmittanceModels.jl

src/linear_algebra.jl
98.85% <0%> (+0.27%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b235d5...eb787d4. Read the comment docs.


install_operator - add operator ns

Allow passing explicit ns for the operator

/cherry-pick v4.13


The difference between theme and colorize?

This might be a trivial question but the difference between colorize and theme is not immediately clear to me.
What are the differences between those two settings?

The ball dropped. Sorry for the unnecessary issue. :)

: )


chore(deis): Allow users to disable the deis output plugin

Some users may want to disable the deis output plugin completely. This allows them to do so.
To test:

clone pr
make build run upgrade
tail the fluentd pod logs

By default you should see the following lines -
  <match **>
    @type copy
    <store>
      @type "deis"
    </store>
  </match>

Now add the environment variable - DISABLE_DEIS_OUTPUT and reinstall the pod. Tail the log file and you should not see the above xml in the log output.

@bacongobbler done


Make radio and checkbox labels inline blocks

Make radio and checkbox inline blocks so that the effective click area only extends to the label. Without this change, the labels extend to the full width of the container which means the clicks apparently in space on the right hand side activate the inputs.
Before

After

Testing
Tested in:

[X] Internet Explorer 8
[X] Internet Explorer 9
[X] Internet Explorer 10
[X] Internet Explorer 11
[X] Edge 16
[X] Google Chrome 65 (Mac)
[X] Mozilla Firefox 59 (Mac)
[X] Safari 11 (Mac)
[X] Internet Explorer, Windows Phone 8.1
[X] Safari, iOS 9 (Simulated, iPhone 6S)
[X] Safari, iOS 11.3 (Physical, iPhone X)
[X] Android Google Chrome (Simulated, Samsung Galaxy S8)
[X] Samsung Internet (Simulated, Samsung Galaxy S8)

Fixes #543

I think on larger screen sizes its definitely a bug - you can trigger a radio button with a seemingly unrelated click. Also it's not how Elements works, so it's a change we'd need to do consciously.
On smaller screens it could possibly be ok, but I wonder if it's worth adding the complexity of it being different at different screen sizes for something that may or may not be helpful. I'd say no.
In user research the large majority of people try to click/tap the circle, which is why we made it really big.

@nickcolley if you're happy with this can you approve it?


Serverside Rendering?

Is it possible to use this package with serverside rendering? I am getting an id mismatch using NextJS

I'm in the GatsbyJS camp myself, and SSR is at least working there. Any more info you can provide? I'd love to get support for both frameworks.

I'm also seeing mismatch warnings in Next.js:
Warning: Text content did not match. Server: "
        .rsme-spinner-1ff0c2d0-9a4b-4a11-aab3-b5230b7416aa {
          border: 6px solid rgba(0, 0, 0, 0.1);
          border-top: 6px solid #000000;
          border-radius: 50%;
          width: 18px;
          min-width: 18px;
          max-width: 18px;
          height: 18px;
          min-height: 18px;
          max-height: 18px;
          animation: rsme-spinner-1ff0c2d0-9a4b-4a11-aab3-b5230b7416aa-spin 1s linear infinite;
        }

        @keyframes rsme-spinner-1ff0c2d0-9a4b-4a11-aab3-b5230b7416aa-spin {
          0% {
            transform: rotate(0deg);
          }
          100% {
            transform: rotate(360deg);
          }
        }
      " Client: "
        .rsme-spinner-0b46c6db-1f0f-44ba-9d11-220b66c7dad5 {
          border: 6px solid rgba(0, 0, 0, 0.1);
          border-top: 6px solid #000000;
          border-radius: 50%;
          width: 18px;
          min-width: 18px;
          max-width: 18px;
          height: 18px;
          min-height: 18px;
          max-height: 18px;
          animation: rsme-spinner-0b46c6db-1f0f-44ba-9d11-220b66c7dad5-spin 1s linear infinite;
        }

        @keyframes rsme-spinner-0b46c6db-1f0f-44ba-9d11-220b66c7dad5-spin {
          0% {
            transform: rotate(0deg);
          }
          100% {
            transform: rotate(360deg);
          }
        }
      "
    at style
    at Spinner (webpack-internal:///./node_modules/react-social-media-embed/dist/components/placeholder/parts/Spinner.js:23:11)
    at div
    at div
    at a
    at div
    at PlaceholderEmbed (webpack-internal:///./node_modules/react-social-media-embed/dist/components/placeholder/PlaceholderEmbed.js:25:11)
    at TwitterTweetEmbed (webpack-internal:///./node_modules/react-twitter-embed/dist/index.modern.js:299:58)
    at div
    at TwitterEmbed (webpack-internal:///./node_modules/react-social-media-embed/dist/components/embeds/TwitterEmbed.js:48:11)

Let me know what other info would be helpful to debug this!

Same here,
Unhandled Runtime Error
Error: Hydration failed because the initial UI does not match what was rendered on the server.
`Warning: Text content did not match. Server: "
.rsme-spinner-419f1362-e745-4984-993c-873a580d1298 {
border: 6px solid rgba(0, 0, 0, 0.1);
border-top: 6px solid #000000;
border-radius: 50%;
width: 18px;
min-width: 18px;
max-width: 18px;
height: 18px;
min-height: 18px;
max-height: 18px;
animation: rsme-spinner-419f1362-e745-4984-993c-873a580d1298-spin 1s linear infinite;
}
    @keyframes rsme-spinner-419f1362-e745-4984-993c-873a580d1298-spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
  " Client: "
    .rsme-spinner-7391b887-a02f-41f2-9e2d-a1ded7d35d81 {
      border: 6px solid rgba(0, 0, 0, 0.1);
      border-top: 6px solid #000000;
      border-radius: 50%;
      width: 18px;
      min-width: 18px;
      max-width: 18px;
      height: 18px;
      min-height: 18px;
      max-height: 18px;
      animation: rsme-spinner-7391b887-a02f-41f2-9e2d-a1ded7d35d81-spin 1s linear infinite;
    }

    @keyframes rsme-spinner-7391b887-a02f-41f2-9e2d-a1ded7d35d81-spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
  "

style
Spinner
div
div
a
div
PlaceholderEmbed
blockquote
div
InstagramEmbed
section
_classCallCheck
_classCallCheck
PureComponent
ReactDevOverlay
_classCallCheck
AppContainer`

Closing for now. Please reopen if the issue persists.

Hello,
Seems issue is still present when using the instagram embed? I'm also using the Twitter embed and do not get this error.
Thanks
next-dev.js?b74a:20 Warning: Prop `id` did not match. Server: "e52e0d5e-6009-4a1e-a42c-fbd40001166f" Client: "b05477e1-8ea5-4316-b788-3c6f83cc4eaa"
    at div
    at blockquote
    at div
    at InstagramEmbed (webpack-internal:///../../.yarn/__virtual__/react-social-media-embed-virtual-9e0b9d17bb/0/cache/react-social-media-embed-npm-2.3.4-a3f1d7d687-3e4c7f5b32.zip/node_modules/react-social-media-embed/dist/components/embeds/InstagramEmbed.js:62:11)
    at div
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at Component (webpack-internal:///./components/content/content-schema-render/blockquote/index.tsx:150:27)
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at ContentSchemaRender (webpack-internal:///./components/content/content-schema-render/index.tsx:125:20)
    at section
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at ContentBody (webpack-internal:///./components/content/content-body/index.tsx:96:27)
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at div
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at div
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at GenericArticle (webpack-internal:///./components/article/article-render/generic-article/index.tsx:11:26)
    at Gallery (webpack-internal:///../../.yarn/__virtual__/react-photoswipe-gallery-virtual-853e3f501f/0/cache/react-photoswipe-gallery-npm-2.2.3-86d64e4935-4fd3ff1622.zip/node_modules/react-photoswipe-gallery/dist/gallery.js:49:3)
    at Gallery (webpack-internal:///./components/image-gallery/gallery.tsx:156:27)
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at ImageGallery (webpack-internal:///./components/image-gallery/index.tsx:25:26)
    at ArticleImageGallery (webpack-internal:///./components/article/article-image-gallery/index.tsx:17:26)
    at InnerThemeProvider (webpack-internal:///../../.yarn/__virtual__/@mui-system-virtual-6e6758e2ea/0/cache/@mui-system-npm-5.11.7-dfbb6a04e7-00dbd8e7c6.zip/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js:21:70)
    at ThemeProvider (webpack-internal:///../../.yarn/__virtual__/@mui-private-theming-virtual-bd08fac33b/0/cache/@mui-private-theming-npm-5.11.7-191c5b3c42-2ffcec8313.zip/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js:43:5)
    at ThemeProvider (webpack-internal:///../../.yarn/__virtual__/@mui-system-virtual-6e6758e2ea/0/cache/@mui-system-npm-5.11.7-dfbb6a04e7-00dbd8e7c6.zip/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js:40:5)
    at div
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at ArticleRender (webpack-internal:///./components/article/article-render/index.tsx:103:26)
    at article
    at eval (webpack-internal:///../../.yarn/__virtual__/@emotion-react-virtual-5518eba2c0/0/cache/@emotion-react-npm-11.10.5-98e2cdb553-32b67b28e9.zip/node_modules/@emotion/react/dist/emotion-element-6a883da9.browser.esm.js:57:66)
    at ArticlePage (webpack-internal:///./pages/article/index.page.tsx:155:32)
    at WiredComponent (webpack-internal:///../../.yarn/__virtual__/relay-nextjs-virtual-f445afa764/0/cache/relay-nextjs-npm-1.0.2-3f28710788-2bf6eb1f12.zip/node_modules/relay-nextjs/wired/component.js:61:33)
    at div
    at VisualElementHandler (webpack-internal:///../../.yarn/__virtual__/framer-motion-virtual-fe212daa13/0/cache/framer-motion-npm-9.0.1-9e4447cfee-e4e47bad60.zip/node_modules/framer-motion/dist/es/motion/utils/VisualElementHandler.mjs:8:1)
    at MotionComponent (webpack-internal:///../../.yarn/__virtual__/framer-motion-virtual-fe212daa13/0/cache/framer-motion-npm-9.0.1-9e4447cfee-e4e4

Same error for me... :(

With the latest version 2.3.5, this issue still persists.

I think it's because you're using generateUUID at here https://github.com/justinmahar/react-social-media-embed/blob/master/src/components/embeds/TikTokEmbed.tsx#L59C48-L59C48 which will cause the server side generated value is different when the page is in hydration stage

The error still persist in my case (NextJS)
For those who might end up here with the same issue, here is what I did :
"use client";

import { InstagramEmbed } from "react-social-media-embed";
import { useEffect, useState } from "react";

export function FixedInstagramEmbed({ children }) {
  const [isClient, setIsClient] = useState(false);

  useEffect(() => {
    if (typeof window !== "undefined") {
      setIsClient(true);
    }
  }, []);

    return isClient ? (
        <InstagramEmbed url={children[0]} />
    ) : null;
}

This way, it only renders in the client and never in the server so there is no id missmatch.


A-Basin Scraper is Broken

When I hit the scraping endpoint to run the scraper in production (Fly.io), I am seeing an error in the logs when the A-Basin scraper is run. The error is as follows:
2022-11-08T05:18:41Z app[7bfeab2d] den [info]java.net.SocketTimeoutException: Read timeout
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.internal.ConstrainableInputStream.read(ConstrainableInputStream.java:58)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.io.InputStreamReader.read(InputStreamReader.java:184)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.io.BufferedReader.fill(BufferedReader.java:161)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.io.BufferedReader.read1(BufferedReader.java:212)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.io.BufferedReader.read(BufferedReader.java:286)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.CharacterReader.bufferUp(CharacterReader.java:81)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.CharacterReader.current(CharacterReader.java:129)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.TokeniserState$1.read(TokeniserState.java:12)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.Tokeniser.read(Tokeniser.java:57)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.TreeBuilder.runParser(TreeBuilder.java:65)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:47)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.parser.Parser.parseInput(Parser.java:35)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.helper.DataUtil.parseInputStream(DataUtil.java:175)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at org.jsoup.helper.HttpConnection$Response.parse(HttpConnection.java:835)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.doc$lzycompute$1(JsoupBrowser.scala:76)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.doc$1(JsoupBrowser.scala:76)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.processResponse(JsoupBrowser.scala:78)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.$anonfun$executePipeline$4(JsoupBrowser.scala:85)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scala.Function1.$anonfun$andThen$1(Function1.scala:85)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.get(JsoupBrowser.scala:35)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at net.ruippeixotog.scalascraper.browser.JsoupBrowser.get(JsoupBrowser.scala:29)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scrapers.BaseScraper.<init>(BaseScraper.scala:42)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scrapers.EpicScraper.<init>(EpicScraper.scala:14)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scrapers.ScraperFactory$.initializeScraper(BaseScraper.scala:24)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at controllers.HomeController.$anonfun$generateFuture$1(HomeController.scala:67)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:678)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:467)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1402)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
2022-11-08T05:18:41Z app[7bfeab2d] den [info]   at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)

Update on this, it seems that now whenever I try to scrape, I hit my memory limit and the machine kills the java process running the app. I'm guessing I will have to solve this issue first before addressing the issue above (if it is still occurring),

First steps to trying to debug this will probably be to see what the memory profile is on my local machine, and see if there is anything I can do in my app to clamp down on memory. Not sure if there is a way in Scala/Java to tune the JVM to use up less memory if possible. It looks like you can monitor the JVM instance using jvisualvm. Need to find out where that lives on my machine.

To debug the above issue, I used both VisualVM and EclipseMAT to do some analysis on the heap stack that my application is using. I couldn't find anything out of the ordinary accept that when running my app in production, it has a much smaller memory footprint than when it runs on fly.io. I am creating a new issue for this here.


Figure out how to make Constraints more readable

Constraints are an important step ahead from the status quo in HLO/MHLO where figuring out whether an op is valid or not requires wading through code. Overall, I am very proud of how they turned out.
One minor gripe that I have about Constraints though is that for ops with a lot of constraints, e.g. GatherOp is a good example, they are not very readable. The reader is presented with a wall of text that doesn't have clear structural parts. I think that #614 will help address that, but I also think that we might want to do more.

Moving https://github.com/openxla/stablehlo/issues/289#issuecomment-1275549075 by @burmako here:
How do we order constraints? Following the order in which underlying inputs/outputs are defined in ODS? What about constraints for the same inputs? Which ones go first?


Expose gemini as global

Current code with explicit var gemini = require('gemini'); has following problems:

requires local gemini installation.
requires gemini to run from local installation.

This can be solved if we'll expose gemini as global. We should also try to keep current API with explicit require working.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/2343561-expose-gemini-as-global?utm_campaign=plugin&utm_content=tracker%2F467695&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F467695&utm_medium=issues&utm_source=github).

+1

fixed in gemini v4.0.0


JsRuntime is too restrictive

Is your feature request related to a problem? Please describe.
.razor file allow view and code to be wrapped in a component but not the JavaScript part.
In addition, only one method exists for JsRuntime and this presumes calling a global JS function
Describe the solution you'd like
Since we cannot touch the DOM directly in server side Blazor, we have to continue to use CSS and JavaScript. We can add

I had not exactly same issue but there is shared idea.
Look at my issue: #12604
Also in some issue is mentioned that <script> is not allowed in .razor by design.

Excellent. JS injection would be great.
Thanks

Thanks for contacting us, @genifycom.
This question comes up from time to time and this is not an area that we planned to implement anything for. We will tackle the documenting work as part of https://github.com/aspnet/AspNetCore/issues/12880

I am not happy about this. I believe that Server Side Blazor will be much bigger than you expect.
I have long regarded that being able to run a headless web browser on a server, determine the changes necessary to broadcast and then broadcasting the diff is a very effective way to manage dynamic web sites for a large number of users.
This is very much inline with the Server Side Blazor approach.

The problem here is that since a script cannot be inserted in a .razor page, we have to go back to a .cshtml page.
This means that we have to put ALL script references in something like _Host.cshtml
You cannot use the shared razor layouts, so that whole component structure seems to be compromised.
Having being building out an app now, even with a dozen pages this quickly becomes extremely difficult. I am just trying something simple e.g. changing css variables in the razor page.
Maybe I am missing something?

Thanks for your feedback, @genifycom.
/cc @danroth27, here is more feedback on this topic.


raw link 'broken' when filename contains spaces

Gogs version (or commit ref): <IP_ADDRESS>6
Git version: any
Operating system: Server -> Archlinux, Debian // Client -> Archlinux, Windows
Database:

[ ] PostgreSQL
[ ] MySQL
[X] SQLite

Can you reproduce the bug at http://try.gogs.io:

[X] Yes  -> https://try.gogs.io/scnet/linkTest
[ ] No
[ ] Not relevant

Log gist:

Description
When adding a binary file with a name containing spaces, the RAW link generates a wrong filename, e.g. EMPTY.zip for "EMPTY with spaces.pptx"
Also the mimetype appears to be zip for office files.
https://try.gogs.io/scnet/linkTest

Hi, I can't reproduce on Chrome.

I'm using Firefox, maybe it's a problem of this browser.
On March 16, 2016 9:06:20 PM GMT+01:00, "无闻"<EMAIL_ADDRESS>wrote:

Hi, I can't reproduce on Chrome.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/gogits/gogs/issues/2842#issuecomment-197523026

--
Sascha Lüdecke
+49<PHONE_NUMBER>

Thanks, I'll take a look.

I tested with other browsers, all are working: MSIE 11, Safari, rekonq and the Android Marshmellow built-in browser.  Only firefox fails on the filename

firefox exhibits semi-broken behavior in my option.
if you copy-paste a URL with spaces from the address bar it is escaped with %20, but if you click a link with spaces it's not escaped. what chrome and other browsers do is that when a link is clicked it becomes escaped. chrome also always escapes a URL once you navigate to it.
it's probably a safe bet to pre-escape all generated URLs just in case, with something like this:
http://stackoverflow.com/a/28407928
2c

This is claimed to be fixed by merging https://github.com/gogits/gogs/pull/2883, you can test on demo site.

the issue in original user report is not fixed:

When adding a binary file with a name containing spaces, the RAW link generates a wrong filename, e.g. EMPTY.zip for "EMPTY with spaces.pptx"
Also the mimetype appears to be zip for office files.

because it looks to be a Firefox issue:
https://bugzilla.mozilla.org/show_bug.cgi?id=221028
the bugreport talks about "Content disposition" and "quoting" the filename, no idea what that's all about.
a Bitbucket developer says that they have a fix:
https://jira.atlassian.com/browse/BSERV-4985
so not a Gogs bug, but possibly Gogs can be adapted to work around this Firefox issue.

I tested with Firefox developer edition and works, which version are you in?

Windows 7, with a slightly older Firefox - 43.0.
More info about the "Content disposition" part:
http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

So sad...

I tested with Firefox developer edition and works, which version are you in?

just updated to 45.0 and the issue is still present, at least on Windows.

So what to do next then?

the "quotes" solution proposed here supposedly works:
http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download

@neolit123 please test the demo link again.

File name is now correct with demo link (Ubuntu 15.10, Firefox 45.0).

works properly for Firefox 45.0 (Windows 7); nicely done.

Works with firefox 45.0.1 on Linux (arch) -> no longer an issue


💡 Feature Request - DDoS IP protection as option for public ips

Describe the solution you'd like
Currently we have the option of creating a DDOS networking protection plan and attaching it to the hub vnet. Has there been any thoughts on adding DDoS IP protection as an alternative for DDoS Network Protection for customers with few public ips? In combination with Azure/ALZ-Bicep#411 Azure Firewall Basic this would be a nice addition to make ALZ more reachable for all organization sizes.
Describe alternatives you've considered
Reference existing ALZ public ips outside of ALZ bicep and add IP protection property.
Additional context
Since we have the public ip module with an properties object, adding support for ip protection on the connectivity public ips would be  to add this as optional:
ddosSettings: {
protectionMode: 'Enabled'
}
https://learn.microsoft.com/en-us/azure/ddos-protection/manage-ddos-ip-protection-template?tabs=PowerShell

Thanks @stalejohnsen I have moved to the ALZ repo.
Good insights and thanks for sharing. Nothing to disagree with there. And as I say this helps in the planning phase for the feature we have on the backlog for the DDoS IP protection SKU 👍
An additional point we need to consider is how/what azure policies do we change/add/assign to enforce DDoS IP protection if a customer chooses that instead of a plan.

Just looked and there is an alias for it Microsoft.Network/publicIPAddresses/ddosSettings.protectionMode however it isn’t modifiable as the current DDoS policy we have in ALZ is today.

Just looked and there is an alias for it Microsoft.Network/publicIPAddresses/ddosSettings.protectionMode however it isn’t modifiable as the current DDoS policy we have in ALZ is today.

Should we check with PG or is audit policy sufficient?

We will investigate with PG when getting to the spike for this new feature 👍


[Question]: For the content length reason,it stopped, continue.

Describe your problem
When I use the API, due to the excessive length of the text, the response in data.answer always includes the message For the content length reason, it stopped, continue. Is there a way to adjust this length limit and make it longer?

same question ,how to extent the length or continue...?

same question ,how to extent the length or continue...?

Set Max Tokens


[BUG] grayskull fails to recognise poetry entrypoints?

Describe the bug
No entry point is defined for py2puml even though it is specified in the pyproject.toml
[tool.poetry.scripts]
py2puml = 'py2puml.cli:run

To Reproduce
grayskull pypi py2puml

Expected behavior
The recipe should have a py2puml entry point defined:
build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0
  entry_points:
    - py2puml = py2puml.cli:run

Outputs
Actual result:
{% set name = "py2puml" %}
{% set version = "0.7.2" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/py2puml-{{ version }}.tar.gz
  sha256: d655c5a5267677225d225297abde6df883d87551cb853426a502e2d4143609b3

build:
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv
  number: 0

requirements:
  host:
    - python >=3.8,<4.0
    - poetry >=0.12
    - poetry-core
    - pip
  run:
    - python >=3.8.0,<4.0.0

test:
  imports:
    - py2puml
  commands:
    - pip check
  requires:
    - pip

about:
  home: https://github.com/lucsorel/py2puml
  summary: Generate PlantUML class diagrams to document your Python application.
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - dhirschfeld

Environment:
❯ grayskull --version
2.3.0

that is indeed missing, gonna put this on my backlog

It is fixed with #489
it generated the following recipe:
{% set name = "py2puml" %}
{% set version = "0.8.0" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/py2puml-{{ version }}.tar.gz
  sha256: a6d126e9d964be9375f7837430b3f56320c5a33e067082d2a0b4fc071b710103

build:
  entry_points:
    - py2puml = py2puml.cli:run
  noarch: python
  script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
  number: 0

requirements:
  host:
    - python >=3.8,<4.0
    - poetry-core
    - pip
  run:
    - python >=3.8.0,<4.0.0

test:
  imports:
    - py2puml
  commands:
    - pip check
    - py2puml --help
  requires:
    - pip

about:
  home: https://github.com/lucsorel/py2puml
  summary: Generate PlantUML class diagrams to document your Python application.
  license: MIT
  license_file: LICENSE

extra:
  recipe-maintainers:
    - marcelotrevisani


Helpful error when artifactory credentials are not found

Fixes #36 ("fixes" in the very broad sense that it should stop people rediscovering and complaining about the problem that Travis encrypted vars are not injected into pull requests from forks).

Coverage increased (+1.5%) to 75.637% when pulling 3d93531b668c931751e102ead2de9c1f1f38f3d4 on helpful-error into d758be1377ec68c3c941fc2926f26ed8cdb39655 on master.


optimize, remove option verbose

Codecov Report

Merging #166 (ba02244) into master (fb93718) will decrease coverage by 3.28%.
The diff coverage is 84.00%.

@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
- Coverage   87.50%   84.21%   -3.29%
==========================================
  Files          36       36
  Lines         400      380      -20
  Branches       17       14       -3
==========================================
- Hits          350      320      -30
- Misses         50       60      +10

Impacted Files
Coverage Δ

...ols/src/main/scala/org/bitlap/tools/LogLevel.scala
100.00% <ø> (ø)

...g/bitlap/tools/macros/AbstractMacroProcessor.scala
94.11% <ø> (-1.54%)
:arrow_down:

...ain/scala/org/bitlap/tools/macros/applyMacro.scala
100.00% <ø> (ø)

.../org/bitlap/tools/macros/javaCompatibleMacro.scala
100.00% <ø> (ø)

...ala/org/bitlap/tools/macros/constructorMacro.scala
88.88% <80.00%> (-11.12%)
:arrow_down:

...ala/org/bitlap/tools/macros/jacksonEnumMacro.scala
90.00% <80.00%> (-10.00%)
:arrow_down:

...g/bitlap/tools/macros/equalsAndHashCodeMacro.scala
92.59% <83.33%> (-7.41%)
:arrow_down:

.../scala/org/bitlap/tools/macros/toStringMacro.scala
94.44% <85.71%> (-5.56%)
:arrow_down:

.../main/scala/org/bitlap/tools/macros/logMacro.scala
75.00% <100.00%> (-25.00%)
:arrow_down:

... and 4 more


Create .prettierrc

Solves https://github.com/openstreetmap/id-tagging-schema/issues/333.
Adds a config so users of https://prettier.io/ use the same formatting that does not change too much.

Are you sure this works? As far as I can see, prettier is only meant to format javascript code and doesn't do anything with .json files. See https://github.com/prettier/prettier/issues/322#issuecomment-283432929. Am I overlooking something here?
What we could do pretty easily is to instead add a .editorconfig file to define indentation and newline properties. Something like this should work.
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[**.json]
indent_style = space
indent_size = 4

[{package.json,.package-lock.json}]
indent_style = space
indent_size = 2

It doesn't support more advanced formatting rules, like bracketSpacing for example. :thinking:


Thank you Tweets not going out

Core contributors of opencollective.com/solidus report that they have connected their Twitter, but thank you Tweets are not going out.

We connected our Twitter account but we are not seeing tweet being published, although we activated all the possible options. Let me attach a screenshot of the current configuration that we did on 3/4/19 so we expected our last donation ($250 from https://opencollective.com/modded-euros, happened on 3/5/19) to be published on Twitter.

I've checked everything and could not fined anything obvious. I added some extra debugging in production, next time there is a new backer in this collective, we can check the data.

I requested the user to test again
--
Alanna Irving
<EMAIL_ADDRESS>https://alanna.space
On Wed, 13 Mar 2019 at 01:50, François Hodierne<EMAIL_ADDRESS>wrote:

I've checked everything and could not fined anything obvious. I added some
extra debugging in production, next time there is a new backer in this
collective, we can check the data.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/opencollective/opencollective/issues/1800#issuecomment-471986883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFPn_oTUohMSBt-urDeOf0j9ebXvv9NPks5vV6KogaJpZM4bmLzd
.

@alannallama All they need is a new backer.

Thanks! I'll let you know here next time there is a new backer.

Hey there, we just had a new backer (5/9/2019) and no tweet has been sent. Here's a screenshot of our current configuration:

Monthly stats and updates tweets work well instead.
Hope it helps to debug!

Cool. According to the logs, things went almost as expected:
{ newBacker:
    { active: true,
      tweet:
       '{backerTwitterHandle} thank you so much for supporting #Solidus and its community.❤Your {amount} donation help us keep growing!\n\n👁🗨Visit solidus.io or watch Solidus on GitHub to stay up to date.' },
   monthlyStats:
    { active: true,
      lastTweetId: '1123550562740514818',
      lastTweetSentAt: '2019-05-01T11:31:43.000Z' },
   updatePublished: { active: true } }

@_KarmaCreative thank you so much for supporting #Solidus and its community.❤Your $750 donation help us keep growing!

It seems, this was rejected by the Twitter API, not sure why yet.

@kennyadsl The tweet wen out actually: https://twitter.com/SolidusIO/status/1126460472583184384
Is there anything wrong with it?

Sorry. The tweet starts with @ so we didn't see it in the timeline. 🤦♂
We'll change the content of the tweet, thanks and sorry again.


@distube/ytdl-core is out of date

What's happening?
@distube/ytdl-core is out of date warning that a dependency is out of date.
The line here references it: https://github.com/museofficial/muse/blob/6ec6bb8aaef484b0101377b5454ed4b4a6165784/package.json#L92
Logs

WARNING: @distube/ytdl-core is out of date! Update with "npm install @distube/ytdl-core@latest".

Screenshots

Additional context
Just rolled out the bot.
Runtime
I'm running Muse:
On a Kubernetes Cluster with MetalLB and Calico.
Versions

Muse: 2.10.0 built on 11/4/2024 (commit 716d6d9f4f2cd1a6872e463e9877203a259478a3)
OS: Debian 12

I noticed this when going through my server logs earlier today.

Or just: docker run -it
-v "$(pwd)/data":/data
-e DISCORD_TOKEN='MTE3OTkyMzI4MzE2NTA1Mjk2OQ.Gn8rZo.uxfTq4JniCx6ge3bj99SM3ayN4oDbHlXplJCus'
-e SPOTIFY_CLIENT_ID=''
-e SPOTIFY_CLIENT_SECRET=''
-e YOUTUBE_API_KEY='AIzaSyAUooiQojkMZcWVkWj4HWr-7Ujaqg6lHQs'
--entrypoint sh
ghcr.io/museofficial/muse:latest -c "npm install @distube/ytdl-core@latest && node dist/scripts/migrate-and-start.js"

Yes if there is no penalty we can also create a PR and get it into main. Then it would be fixed for all.

Yes if there is no penalty we can also create a PR and get it into main. Then it would be fixed for all.

Did you ever find out if there's a penalty for it? Or does it work? Because I have thought about doing the update as it's minorly annoying to see an "error" at the end of all the pretty text saying it works fine.

Or just: docker run -it -v "$(pwd)/data":/data -e DISCORD_TOKEN='MTE3OTkyMzI4MzE2NTA1Mjk2OQ.Gn8rZo.uxfTq4JniCx6ge3bj99SM3ayN4oDbHlXplJCus' -e SPOTIFY_CLIENT_ID='' -e SPOTIFY_CLIENT_SECRET='' -e YOUTUBE_API_KEY='AIzaSyAUooiQojkMZcWVkWj4HWr-7Ujaqg6lHQs' --entrypoint sh ghcr.io/museofficial/muse:latest -c "npm install @distube/ytdl-core@latest && node dist/scripts/migrate-and-start.js"

Might wanna edit your reply to remove your actual Discord Token and YT API Key from being viewable by anybody who visits this thread. It's the equivalent of leaving your car unlocked and hoping nobody steals it or damages it when you're not looking.


Game doesn't end in certain instances when tower get killed

Perhaps it only ends when hero kills tower?

Fixed in f260b982ff43ee9a0f6d872b912b35a5e8da410a


ESP-12F (esp8266) Soft WDT after Joined to network and Sending: Counter-x

OK, so my gateway are back .. and now i have similar yield() problem after joining.
Problem:
Joining...
Joining...
NwkSKey: 1D44CE4BDF7626A7F1B4E469D7EXXXXXX
AppSKey: B4F11F8372451ACB874CEB98XXXXXX
Joined to network
Sending: Counter-0
in the gateway i did get UPLINK DOWNLINK from node
after some seconds.. ESP8266 reset
ESP reset and try to join again..
then DevNonce are invalid .. its probably try to use the same nonce after another join OTAA
type:"OTAA"
error:"validate dev-nonce error"

myconfig (ESP-12F)
const sRFM_pins RFM_pins = {
  .CS = 15,
  .RST = -1,
  .DIO0 = 5,
  .DIO1 = 4,
  .DIO2 = -1,
  .DIO5 = -1,
};

--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Soft WDT reset

stack>>>

ctx: cont
sp: 3ffffd00 end: 3fffffc0 offset: 01a0
3ffffea0:  3ffee6f0 3ffee69c 3ffee740 402022e1
3ffffeb0:  3ffee6f0 3ffee69c 3ffee6a4 4020196c
3ffffec0:  e6b38240 00010001 9c2d2901 65b75c5e
3ffffed0:  00000000 4bc6a7f0 010624dd 00000000
3ffffee0:  00000000 00000000 4bc6a7f0 00000000
3ffffef0:  277d6ebc 182ee9b7 40100200 000232bd
3fffff00:  3ffffec0 00000000 00000001 3ffefb01
3fffff10:  028aaa89 00000000 1a28000a f9e3f1f1
3fffff20:  3ffe8800 3ffffec0 00000016 000007cf
3fffff30:  3ffee69c 3ffee6f0 3ffee770 40201b7c
3fffff40:  00022aed 3ffee728 3ffee6a4 00000005
3fffff50:  40202e64 3ffee7a4 3ffee614 3ffee7a4
3fffff60:  00000001 3ffee714 3ffee614 4020280c
3fffff70:  3ffee740 3ffee614 3ffee7a4 3ffee7a4
3fffff80:  3ffee60c 3ffee614 3ffee4d9 402011a6
3fffff90:  3fffdad0 00000000 3ffee7d0 3ffee810
3fffffa0:  3fffdad0 00000000 3ffee7d0 402037d4
3fffffb0:  feefeffe feefeffe 3ffe84ec 40100c29
<<<stack<<<
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

i use example scketch

Test in all frequencies of US_915 band

 Using SUB BAND 1 [ 903.9 - 905.3 Mhz] see config.h

 channel [0 - 7]

 data rate [0 - 3]

Class A and C devices with OTAA activation

OK.. so this one was quick FIX.
ESP8266 dont like while() very mutch...
so to fix problem:
add yield() in LORA_Cycle() function in LoRaMAC.cpp
void LORA_Cycle(sBuffer *Data_Tx, sBuffer *Data_Rx, RFM_command_t *RFM_Command, sLoRa_Session *Session_Data,
 									sLoRa_OTAA *OTAA_Data, sLoRa_Message *Message_Rx, sSettings *LoRa_Settings)
{
(...)
	// wait rx1 window
  while((digitalRead(RFM_pins.DIO0) != HIGH) && (millis() - prevTime < Receive_Delay_1))
    { yield();  //<--- ESP8266 problem
    };

(...)

after that..
Joining...
NwkSKey: F963C7B1270A0D4A3334CF74XXXXX
AppSKey: EDA497598C6F4B564B663DD1XXXXX
Joined to network
Sending: Counter-0
Sending: Counter-1
Sending: Counter-2
Sending: Counter-3

i will ask for pullrequest


Remove the timezone in log format as the default is always UTC

Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 482884034

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 34.078%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/util/logger.go
0
1
0.0%

Totals

Change from base Build 480952989:
0.05%

Covered Lines:
1388

Relevant Lines:
4073

💛  - Coveralls

Pull Request Test Coverage Report for Build 482884034

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 34.078%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/util/logger.go
0
1
0.0%

Totals

Change from base Build 480952989:
0.05%

Covered Lines:
1388

Relevant Lines:
4073

💛  - Coveralls


Fix CheckCollision(link1,link2) bug when links are part of the same kinbody

This adds (1) a new unit test and (2) an associated bugfix for the CheckCollision(link1,link2) when both links are a member of the same kinbody.  The self_enabled_pairs argument to RunCheck was not being correctly populated in this case.  See issue #15.

I think I fixed Travis. Waiting for this to rebuild now.


Intelligibility detection algorithm is flaky

PR #55 added an algorithm but it generates false Unintelligible signals multiple times a day

Does "Intelligibility" mean the audio data as a zero-amplitude signal, i.e. the data files are being created and uploaded but the hydrophone signal is absent in the time series?
If so, a possible short term solution would be to define a "no signal" status as a .ts segment where the standard deviation of the RMS amplitude is zero (not under some threshold).
A longer-term solution would be to wait until shipnoise.net or a https://github.com/orcasound/orca-action-workflow deployed for all nodes is generating a recent time series of the sound pressure levels for short-term means, like by hour, minute, or second. Then use those time-series to detect zero standard deviation periods.

Point Robinson isn't 0 amplitude, it seems to be a microphone hum with no actual signal but not just silence.  That makes it trickier to distinguish between a hum and normal steady state.

Fixed by PR #137


Added API Hubs File bindings support (don't merge)

I'm just sending this out for a code review but I don't want to merge this until Ibiza is finished deploying.

looks good


Execution time

I  wanted to ask how long the expected execution time for e.g. 1333 Proteins across e.g. 3 replicates is to be expected.

Hi Tom,
I would expect it to be shorter than 2 minutes. Most of the time probably going into formatting and writing the table.
Best
Constantin

It was an issue with my pc. After restarting it is in this time range again! Thanks :)


Aurelia Server-Side Rendering: Use Cases

We need to determine use cases for server-side rendering and plan the SSR featureset accordingly. Currently, featureset must include:

Aurelia-based routing - loading the correct view and viewModel for the given route.
Support for pushState-based routes.
View and viewModel state at server creation time.
Binding and rendering handoff to client after server render.
Server-only and client-only instructions (via a global flag, or contexts, or decorators, etc).

Nice to have:

Multi-server support - node middleware, .NET core middleware, etc.

I think we've got most of this now :)


flux provider not inheriting correctly ssh section when flux provider is passed via module

Hi, I just experienced the following problem:
We created a Terraform module that is launched by another Terraform project, we're passing the "flux" provider to the module that is responsible of creating the flux_bootstrap_git  resource. Before using a module and having in all one single place (not in a separate module) it was all ok, now we're receiving the following error message:
│ Error: Git Client
│
│   with module.fluxcd.flux_bootstrap_git.fluxcd,
│   on .terraform/modules/fluxcd/infrastructure/terraform/google/fluxcd/main.tf line 15, in resource "flux_bootstrap_git" "fluxcd":
│   15: resource "flux_bootstrap_git" "fluxcd" {
│
│ ssh scheme cannot be used without private key

Here's the code snippet to help you understand our configuration
module "fluxcd" {
  source     = "..."
  depends_on = [module.gke, module.iam, tls_private_key.fluxcd, gitlab_deploy_key.fluxcd]

  cluster_name = module.gke.gke_0.name
  gcp_location = module.gke.gke_0.location
  gcp_project  = module.gke.gke_0.project
  environment  = local.environment

  fluxcd_git_repo_installation_path = "dev/infrastructure/fluxcd/flux-files"
  flux_git_repo_branch              = local.fluxcd_git_repo_branch

  gitlab_deploy_key_private_key_pem = tls_private_key.fluxcd.private_key_pem
  gitlab_fluxcd_project_id          = data.gitlab_project.fluxcd.id

  providers = {
    kubernetes = kubernetes.fluxcd
    flux       = flux.fluxcd
  }
}

provider "kubernetes" {
  alias = "fluxcd"
  host  = "https://${module.gke.gke_0.endpoint}"
  cluster_ca_certificate = base64decode(
    module.gke.gke_0.master_auth[0].cluster_ca_certificate,
  )
  token = data.google_client_config.provider.access_token
}

provider "flux" {
  alias = "fluxcd"
  kubernetes = {
    host = "https://${module.gke.gke_0.endpoint}"
    cluster_ca_certificate = base64decode(
      module.gke.gke_0.master_auth[0].cluster_ca_certificate,
    )
    token = data.google_client_config.provider.access_token
  }
  git = {
    url    =<EMAIL_ADDRESS>    branch = local.fluxcd_git_repo_branch
    ssh = {
      username    = "git"
      private_key = tls_private_key.fluxcd.private_key_pem
    }
  }
}

provider "gitlab" {
  # Token downloaded from Vault belonging to<EMAIL_ADDRESS>user
  token    =<EMAIL_ADDRESS>  base_url = "https://${local.gitlab_host}/api/v4/"
}

# fluxcd
resource "tls_private_key" "fluxcd" {
  algorithm = "ED25519"
}

resource "gitlab_deploy_key" "fluxcd" {
  project  = data.gitlab_project.fluxcd.id
  title    = "fluxcd-${local.environment}"
  key      = tls_private_key.fluxcd.public_key_openssh
  can_push = true
}
## END - fluxcd

Switching to http by populating the http block in flux provider works.
Provider version: "1.0.1"

Hello @igenius-code ,
I hope you're doing well! I'm the newest contributor to this repository, and I'm currently in the process of issue grooming to ensure that all concerns are addressed promptly and efficiently.
I noticed this issue you reported and wanted to check in with you to see if it's still affecting your work. Your feedback is invaluable to us, and any additional insights or updates you can share would be greatly appreciated to help us understand and solve the problem more effectively.
If this issue has been resolved, could you please share how it was fixed? This information could be incredibly helpful to others in the community facing similar problems. It would also allow us to close this issue with a clear resolution.
In case the issue is still open and troubling you, let's work together to find a solution. Your satisfaction and the smooth functioning of our project are our top priorities.
Thank you for your time and contributions to our community. Looking forward to your response!
Best regards,
Steve

I am closing this issue due to over 3 weeks of inactivity.
If you feel the issue should not have been closed, you can always open a new one.


Custom styling of TextInput and result list

Great job with this plugin.
I don't know whether custom styling is possible in this yet or not? If yes it would be pretty helpful if you can put this in documentation on how to do it.
i simply tried to put autoCorrect to false by putting "autoCorrect:false," into textInput style but got the invalid props.style key autoCorrect supplied to TextInput.

It is possible. Ready through the source code, he has prop hooks for the styles you can pass. I agree, there should be better documentation on this but not too hard to find if you try.

I just went in the source and edited it myself...was too lazy to add custom props!

We can also help with the documentation whenever possible, its part of our contribution to the lib. 👍

Hi @dimonge @kvieira90 !
Sure! If you could add a little snippet to the documentation, it'd be awesome!
I'll gladly merge it.

@myaskevich  added documentation for styling the component here PR

Thanks a lot @nak1b


Hot restart while keyboard is up leaves the keyboard up

This is likely related to the question of teaching plugins about hot-restart/hot-reload https://github.com/flutter/flutter/issues/10437

@wmleler and @LarkAscending  just ran into this.

Not only that, but the left-up keyboard doesn't work (typing on it doesn't put characters into the input field.  In addition, I'm seeing hot reload fail. I am going to add a new bug with instructions on how to duplicate this. So this bug will be redundant. The new bug is #11011

I've updated the title/labelling to clarify that this is an issue on both Android and iOS. The general issue is that the engine itself doesn't currently have any means of cleaning up on hot restarts. A general solution would also include support for signalling plugins that a hot restart has occurred.

In the https://github.com/flutter/plugins/blob/master/packages/video_player/lib/video_player.dart video player plugin I send an "init" message in the initializer of the field holding the MessageChannel to the plugin.
final MethodChannel _channel = const MethodChannel('flutter.io/videoPlayer')
  // This will clear all open videos on the platform when a full restart is
  // performed.
  ..invokeMethod("init");

When the plugin receives the "init" message it resets its state.
  switch (call.method) {
      case "init":
        for (VideoPlayer player : videoPlayers.values()) {
          player.dispose();
        }
        videoPlayers.clear();
        break;

I believe this pattern could work for the keyboard as well.

This is still an issue on
Flutter (Channel beta, v1.3.8, on Mac OS X 10.14.3 18D109, locale en-US)
Android Studio (version 3.3)
Very annoying when testing on iOS.

This is still occurring in 1.18

Issue replicable on latest stable (1.20.3). Keyboard remains open after hot restart.

code sample
body: Center(
          child: TextField(
            decoration: InputDecoration(
              hintText: 'Enter here'
            ),
          )
        )

flutter doctor -v
Flutter 1.20.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 216dee60c0 (2 days ago) • 2020-09-01 12:24:47 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.2 19C57, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

Same feature request
Flutter 1.24.0-10.2.pre:)

Well, for us this is one of the major time wasters - having to fully restart the app (and it's a big one), especially when debugging flows with forms.

This is probably patchable with a little plugin which listens for the hot reload and hides the keyboard if open?  e.g.
https://stackoverflow.com/questions/55281077/how-to-detect-hot-reload-inside-the-code-of-a-flutter-app
I'm not sure if that's the best way to fix it, but might be a workaround while other members of the core team are busy with other issues?  Or someone should feel empowered to dive into the framework code an attempt a more sustainable fix?

I suppose, that flutter should try to invoke dispose()  before hot restart.

I'm not sure that it's good for each case, but I solved by adding this before super.initState().
  SystemChannels.textInput.invokeMethod('TextInput.hide');

Do we know what is the status of this issue? I have the same problem running Flutter 2.2.3.
Any help ?

@eseidelGoogle do you know the specific detail that's preventing this issue from being resolved?
A hot restart will re-run the entrypoint, which will execute runApp(). Is there any reason not to instruct the IME to reset in runApp()? Or is there any other aspect of that change that would be a problem?

This is an issue for app restarts (the green circular arrow on the debug toolbar in VS Code), not just for hot reload.
I tried adding the following to a ReassembleListener in the widget tree, and also tried adding it to main, but neither solved the problem:
FocusManager.instance.primaryFocus?.unfocus();

@matthew-carroll I do the following in main, before runApp, and it seems to work fine.
  SystemChannels.textInput.invokeMethod('TextInput.hide');

@lukehutch I will have more hair this evening than I would have done, many thanks!

The issue persists on the latest Flutter stable and master.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.8, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.8 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 67457e669f (27 hours ago), 2024-01-16 16:22:29 -0800
    • Engine revision 6e2ea58a5c
    • Dart version 3.2.5
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 120.0.6099.234

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.19.0-7.0.pre.19, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.0-7.0.pre.19 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 00032569a1 (23 minutes ago), 2024-01-17 18:53:33 -0800
    • Engine revision 73a2de5da5
    • Dart version 3.4.0 (build 3.4.0-24.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.80.0

[✓] Connected device (3 available)
    • iPhone (mobile) • d9a94afe2b649fef56ba0bfeb052f0f2a7dae95e • ios            • iOS 15.8 19H370
    • macOS (desktop) • macos                                    • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome                                   • web-javascript • Google Chrome 120.0.6099.234

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.


Artwork page

Closes #1162
@ry Should this be linked to from anywhere other then the footer?

Thanks! Looks good - except can you make the json file a flat structure? Just to keep things dead simple for now.
For example I think this would be sufficient for now
    {
      "image": "/images/deno_logo.png",
      "alt": "a hand drawn deno logo",
      "artist": "https://github.com/ry",
      "license": "MIT"
    },

can you make the json file a flat structure?

done

I have a couple of artists who are not on Github. Maybe setting up profile pics is going to be hard for them

The fields, github, twitter, web and profile_image are optional. If they are not specified for an artist, it is gracefully handled by the UI. Also the profile_image can be a link to any image you want - it is not dependant on GitHub ID (I just happen to use the GitHub avatars for the artists currently on the page).

I've added some more artwork. One thing I came across is that sometimes the artwork itself has a website - like in the case of the 3d logo I want to link to https://github.com/MasterJames/high-res-deno-logo (cc @MasterJames) but there doesn't appear to be a way to do that.
Also maybe "title" instead of "alt" is more appropriate?

I've added some more artwork. One thing I came across is that sometimes the artwork itself has a website - like in the case of the 3d logo I want to link to https://github.com/MasterJames/high-res-deno-logo (cc @MasterJames) but there doesn't appear to be a way to do that.

Good point. I'll add something for that in a minute.

Also maybe "title" instead of "alt" is more appropriate?

"alt" is the accessibility description. It's not actually displayed in the UI - it's just for screen readers. I think it would make sense to also have a title though. I'll add it that.

What's the ordering? I think it would make most sense to order these chronologically - I can probably figure out approximate dates for most of these...

In order to add the links to the 3D stuff I've contributed that pull request has to be merged first I guess.
If it is accepted and merged then I can add/link it to the website2 too if you prefer.
Let me know how it is best for me to help with that if needed.

I was wondering where I should possibly repost the 3D version's Pull Request I made? https://github.com/denolib/high-res-deno-logo/pull/3

@MasterJames
How about here?
https://github.com/denolib/3d-deno-logo


cmd/compile: internal compiler error: cannot export CLOSURE (34) node

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go tip under Travis CI
$ go version
go version devel +7a9aa06 Tue Mar 14 02:34:38 2017 +0000 linux/amd64)

What operating system and processor architecture are you using (go env)?
$ go env

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/travis/gopath"
GORACE=""
GOROOT="/home/travis/.gimme/versions/go"
GOTOOLDIR="/home/travis/.gimme/versions/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build447196172=/tmp/go-build"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?
Ran go fmt, updated a godoc, and sent a PR to github.com/Harvey-OS/ninep. The test failed on tip with the error:

protocol/types.go:41:0: internal compiler error: cannot export CLOSURE (34) node
==> please file an issue and assign to gri@

and the following stack trace:
goroutine 1 [running]:
runtime/debug.Stack(0x0, 0x0, 0x0)
	/home/travis/.gimme/versions/go/src/runtime/debug/stack.go:24 +0x79
cmd/compile/internal/gc.Fatalf(0xad5c17, 0x47, 0xc421b17468, 0x2, 0x2)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/subr.go:175 +0x230
cmd/compile/internal/gc.(*exporter).expr(0xc421b178d8, 0xc42067c500)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1423 +0x392
cmd/compile/internal/gc.(*exporter).expr(0xc421b178d8, 0xc420a8f440)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1341 +0x8a1
cmd/compile/internal/gc.(*exporter).exprList(0xc421b178d8, 0xc42035efc0)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1141 +0xd1
cmd/compile/internal/gc.(*exporter).expr(0xc421b178d8, 0xc4209eb050)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1367 +0x979
cmd/compile/internal/gc.(*exporter).stmtList(0xc421b178d8, 0xc42035efe0)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1120 +0x14b
cmd/compile/internal/gc.(*exporter).stmt(0xc421b178d8, 0xc4209eaf30)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1505 +0x6c4
cmd/compile/internal/gc.(*exporter).stmtList(0xc421b178d8, 0xc42055d040)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:1118 +0xf5
cmd/compile/internal/gc.export(0xc4217c1000, 0x0, 0x0)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/bexport.go:391 +0x8d4
cmd/compile/internal/gc.dumpexport()
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/export.go:185 +0x8a
cmd/compile/internal/gc.dumpobj1(0x7ffea186208f, 0x3c, 0x3)
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/obj.go:93 +0xa56
cmd/compile/internal/gc.dumpobj()
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/obj.go:49 +0x61
cmd/compile/internal/gc.Main()
	/home/travis/.gimme/versions/go/src/cmd/compile/internal/gc/main.go:524 +0x1fd0
main.main()
	/home/travis/.gimme/versions/go/src/cmd/compile/main.go:50 +0x101

The failing build is at https://travis-ci.org/Harvey-OS/ninep/jobs/210962148. I'm not really sure what else would be useful, I'm just doing what I was told.
What did you expect to see?
Rainbows and unicorns.
What did you see instead?
Fire and brimstone.

Thanks! This is useful. Can you provide a link to the PR itself, or wherever is easiest for us to find the code for reproducing locally?
cc @griesemer

Assigning to @griesemer per:

==> please file an issue and assign to gri@

Also, if you see either rainbows or unicorns coming out of the compiler, please file a bug. Yikes.

The PR that's failing on tip is:
https://github.com/Harvey-OS/ninep/pull/22/
But it's not doing anything other than comments and formatting, so the problem is with the code that's already in Harvey-OS/ninep (which I'm not very familiar with, which is why I was trying to get a better grasp on it by adding docs..), not the change itself.

Appears to be fixed now, probably as a dup of #19705.


Add Clean Cuts

Added Clean Cuts, a website that provides League of Legends game data in a human-friendly format. :3
URL: https://blossomishymae.github.io/clean-cuts/
Repo: https://github.com/BlossomiShymae/clean-cuts
What is viewable:

Champions
Items
Runes
Summoner icons
Ward skins
Summoner emotes

:3


ValueError: smpp_command: submit_sm cannot be sent to SMSC when the client session state is: OPEN

ValueError: smpp_command: submit_sm cannot be sent to SMSC when the client session state is: OPEN
How to reproduce.

have a queue full of messages ready to be sent out to SMSC.
start naz with condition 1(above) holding true.

diagnosis:
naz-cli starts and the send_forever loop: https://github.com/komuw/naz/blob/b19744b4efcc803058f7b27e7386ba480e95ac82/naz/client.py#L1333-L1335
is executed before naz has connected and sent bind_transceiver request.
We need to do the same thing we do in enquire_link loop(sleep): https://github.com/komuw/naz/blob/b19744b4efcc803058f7b27e7386ba480e95ac82/naz/client.py#L721-L733

while we are at it, we shoul also fix the receive_data loop; https://github.com/komuw/naz/blob/b19744b4efcc803058f7b27e7386ba480e95ac82/naz/client.py#L1477-L1495

Something to be mindful of;

what if naz-cli loses connection while it was previously running
and now we come to the send_forever loop and session state is CLOSED
and now we have to sleep forever since session state will always be closed.

ie maybe we need a way to re-connect broken connection

ie maybe we need a way to re-connect broken connection

this was implemented in https://github.com/komuw/naz/pull/113


[http-client-csharp] adopt http\resiliency\srv-driven

fixes: https://github.com/microsoft/typespec/issues/3983

API change check
API changes are not detected in this pull request.


[FEATURE REQUEST] Create build location variable for ansible roles

Is your feature request related to a problem? Please describe.
We would like to have seperated variable in ansible which should indicate to cluster's build directory in order to store there some files such as kubeconfig etc.. Right now, we have to use location_vault variable what is not so good in some cases.
Describe the solution you'd like
We would like to have  build_location variable in ansible vars: build/cluster_name/ansible/group_vars/all.yml:
....
key_path: /home/vscode/.ssh/id_rsa
**build_location: /....**
validate_certs: true
offline_requirements: ''
wait_for_pods: false
is_upgrade_run: false
roles_with_generated_vars:

Describe alternatives you've considered
Additional context

variable inventory_dir is enough ;)

We have a case where inventory_dir fact cannot be used. In PR #1683.
Documentation (https://docs.ansible.com/ansible/latest/inventory/implicit_localhost.html) states:

The inventory_file and inventory_dir magic variables are not available for the implicit localhost as they are dependent on each inventory host.


Use VCS_REF and Jenkins BUILD_NUMBER to uniquely tag images

Jenkins sets BUILD_TAG. This was resulting in images being created with a tag like 3.5.0-20220516.jenkin s-logdna-logdna-agent-v2-3.5-27-amd64. This PR changes things such that the first 16 characters of the sha256sum of the concatentation of the git short rev and the Jenkins branch build number to ensure uniqueness

There doesn't seem to be a built in "make me a random string derived from other strings" function, which surprised me too

Oh I mostly meant the embedded shell bits and ifs and execs and all that.  But also what you said.


Suppression of Rabit output in xgboost4j

I've found that the logging of the performance from every training round fills up my screen and prevents me from spotting important messages that happen elsewhere in my code. This is particularly severe in problems where I train multiple boosters (e.g. for K-fold cross validation). I have not discovered any option that suppresses this output at present, and inspection of Booster.java suggests that no option does so (since the Rabit.trackerPrint is not wrapped in any test, nor does it get passes the parameter map, so there's no way it can be doing any test internally).
Further, the "silent" -> "1" entries in the scala tests suggest that being able to suppress this output is intended. I've open a PR (#4262) with a fix for this, allowing either silencing of output or limiting it to once every n training iterations.

fixed by https://github.com/dmlc/xgboost/pull/4262


Upgrade Node.js Version

Latest Node.js version is 14 for LTS.
Do check if our code works as expected for v14. If so, request all developers to use v14.
Switching to LTS sooner will be easier than down the line when some things may break
https://nodejs.org/en/about/releases/
Feel free to close this with a comment if all works good

@roshankshaw close the pull request if you have upgraded to Node 14, I am already at Node 14.

@roshankshaw close the pull request if you have upgraded to Node 14, I am already at Node 14.


Honour contributors in README

Maybe https://github.com/all-contributors can be of use to automate this.

@all-contributors
please add @jwedel for bug.
please add @aalmiray for promotion.
please add @jreleaser for tool.
please add @maddingo for ideas.
please add @Ocirina for bug.
please add @hannotify for code.
please add @shaikhu for code.
please add @Giovds for code.
please add @beo1975 for code.
please add @martinbonnin for ideas.
please add @bot_bkcd for code.

@all-contributors
please add @jwedel for bug.
please add @aalmiray for promotion.
please add @jreleaser for tool.
please add @maddingo for ideas.
please add @Ocirina for bug.
please add @willemvanlent for bug.
please add @hannotify for code.
please add @shaikhu for code.
please add @Giovds for code.
please add @beo1975 for code.
please add @martinbonnin for ideas.
please add @bot_bkcd for code.

@all-contributors please add @aalmiray for promotion.

@all-contributors please add @jreleaser for tool.

@all-contributors please add @Ocirina for bug.

@all-contributors please add @hannotify for code.

@all-contributors please add @shaikhu for code.

@all-contributors please add @Giovds for code.

@all-contributors please add @beo1975 for code.

@all-contributors please add @martinbonnin for ideas.

@all-contributors please add @bot_bkcd for code.

@all-contributors please add @maxandersen for ideas.

@all-contributors please add @dhinojosa for ideas.

@all-contributors please add @aalmiray for promotion.

@all-contributors please add @jreleaser for tool.


illegal hardware instruction

Just to confirm, when I tried to run the software, returned the following error.

python3 eagle-eye.py
[1]    2090 illegal hardware instruction  python3 eagle-eye.py
running on vmware 12

it means that my hardware does not support this software

cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 23
model name	: Pentium(R) Dual-Core  CPU      E5700  @ 3.00GHz
stepping	: 10
microcode	: 0xa07
cpu MHz		: 2992.415
cache size	: 2048 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss syscall nx lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf pni ssse3 cx16 x2apic tsc_deadline_timer xsave hypervisor lahf_lm pti tsc_adjust dtherm
bugs		: cpu_meltdown spectre_v1 spectre_v2
bogomips	: 5984.83
clflush size	: 64
cache_alignment	: 64
address sizes	: 42 bits physical, 48 bits virtual
power management:

This problem seems to be caused by a set of instructions that are not hardware implemented in some older processors (AVX instruction set). Since they are not implemented in hardware, there's no real fix for this problem.
If I understood it correctly, and a workaround is to downgrade tensorflow from 1.6.0 to 1.5.0, this also applies to the GPU version.
So uninstall tensorflow and install tensorflow==1.5.0
Alternatively try to enable AVX instructions in VMware (if your CPU supports it)

@hr4dw4y  Did that fix your Issue?


Localization

Is it possible to localize the email editor?

The current version does not support.
Future versions will be disassembled in the form of plug-ins and you can write simple plug-ins to overwrite the UI.

Thank you for the answer, looking forward to the version that introduces this, please feel free to close the issue.


fix: fromId parse error

修复web协议解析群消息中的发送人id问题

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


[MembersJS] Add members API/SSR handling util

Part of TryGhost/Team#261 Epic
Members sigin/signup/signout/checkout actions need API calls to members admin-api/ssr endpoints. Adds a small util that wraps all such external requests for use in CRA UI based on user action -

[x] Sigin/Signup/Subscribe - Use /members/send-magic-link/ admin API to send magic link to member's email
[x] Signout - Use members/ssr endpoint to delete member's session
[x] Checkout Plan - Use members/ssr endpoint to get signed-in member's identity and initiate a stripe checkout session
[ ] Update lib structure

@ErisDS Have added the small api util here which takes care of member requests for session management and api calls.
Haven't extracted out a separate method for making API call as it seemed pretty straightforward with fetch here, but lmk if you think we should still add one.
Also the main thing here is we need values for adminUrl and blogUrl too setup API calls, which we are currently passing down hardcoded from theme during data initialization here, which probably will need a better way to be passed down or read in theme as well.

This is covered by https://github.com/TryGhost/membersjs/issues/6#issuecomment-611506544

Closed in favor of https://github.com/TryGhost/members.js/issues/6


Tentative - Random forest new feature: Choosing candidate features at each node via weighted sampling

Currently scikit-learn random forest implementation only allows sampling (splitting) candidate features for each node with equal weights. here
However, in some cases it would be desirable to be able to do weighted sampling (splitting) of candidate features at each node. The weighted sampling technique for random forest has been used in several papers and would be essential for high dimensional data in biology.

D. Amaratunga, J. Cabrera, and Y.S. Lee. Enriched random forests. Bioinformatics, 24(18):2010-2014, 2008. here
B. Gregorutti, B. Michel, P. Saint-Pierre, Correlation and variable importance in random forests, Statistics and Computing, 27(3)  659–678, 2017. here
S. Basu, K. Kumbier, J.B. Brown, B. Yu, Iterative Random Forests to detect predictive and stable high-order interactions, arXiv:1706.08457, 2017. here

We have implemented the weighted sampling version in a branch here as an implementation of this paper. The specific lines changed in the splitter are here.
If we pass in the default argument for weighted splitting as None, it will not break any scikit learn code. This proposal will only enhance scikit-learn splitting features for all users.
Is it possible to add this as a new feature in scikit-learn?

@stefanv @shamindras @Runjing-Liu120 I am going to raise this issue in scikit-learn to propose this new feature. How does it look? And if possible, could I tag you guys when I raise this issue?
Best,
Yu(Hue)

@shifwang : Nice work! I've updated your comment above and added some quick suggestions for you. Could you please add those?
I am happy to be tagged.
@stefanv - could you please flag this with core scikit-learn folk that you know so that this could be fasttracked?

@shamindras  Thanks! I have updated the links.

Instead of filing a PR or issue against scikit-learn, it may be worth posting to the mailing list to discuss.  If you've already made an issue, let me know the URL and I'll take a closer look.

@stefanv I haven't posted it anywhere yet. We could post it to the mailing list first if you think this is more appropriate.


Error: Cannot read properties of undefined (reading 'charAt')

Describe the bug
Getting Error: Cannot read properties of undefined (reading 'charAt') when using https://webcrack.netlify.app/ to deobfuscate
Expected Behaviour
Deobfuscate
Code
https://abs.twimg.com/responsive-web/client-web/ondemand.s.d0ac096a.js

Logs
No response

Full error/stack:
DeobfuscateContext.tsx:55 Error: Cannot read properties of undefined (reading 'charAt')
    at c.onmessage (index.js:235:53)
(anonymous) @ DeobfuscateContext.tsx:55

Which seems to correspond to this section of the code:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/apps/playground/src/context/DeobfuscateContext.tsx#L48-L56
Specifically that error seems to come from evalCode:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/apps/playground/src/sandbox.ts#L11-L17
At a bit of an informed guess, I believe that is being triggered by this section of sandbox code as passed into the main webcrack function:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/apps/playground/src/webcrack.worker.ts#L26-L54
With options.sandbox passed to applyTransformAsync here as part of options.deobfuscate:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/packages/webcrack/src/index.ts#L158-L159
And applyTransformAsync is defined here:
https://github.com/j4k0xb/webcrack/blob/404a331efd1fb48b2b3080dd1d0b5b6f0f874854/packages/webcrack/src/ast-utils/transform.ts#L7-L21

As a naive guess, I think this may be caused by one of the 'deobfuscate' rules that relies on eval'ing the code; and presumably that code doesn't execute properly in eval in whatever state it is when it's being run (eg. maybe because it relies on not being unminified/etc at that point)
It looks like when this error is hit, the whole deobfuscate process may bail out. I haven't looked too deeply, but I wonder if it would be possible to skip the eval part when it errors out, or return the partially decrypted code at that point or similar?


Sidecar containers support

Description
I propose to consider adding the containers section. This section will allow users to inject additional containers, e.g., a reverse proxy, GRPC API adapter, or even a database.
values.yaml
# containers:
# - name: proxy
#   image: nginx:1.19.6
#   resources:
#     requests:
#       cpu: 10m
#       memory: 32Mi

Additional info
Adding the initContainers section can also be useful for preparing config, certificates, or other assets.

I would put a hold on this until we have a strong operational use case that we can't solve otherwise (eg. a database or even a gRPC adapter can certainly be a separate service, there is no strong reason to keep that inside of the Dex boundary)

In my opinion, the main reason people may want to use a sidecar container is to protect dex. For example:

Dex listens on localhost (direct connections from pod network to dex are not allowed).
Auth proxy listens on a pod IP address.

With this, other pods can't interact with dex bypassing authorization. I do something like this in my helm-charts, though they are very opinionated. Of course, you can use network policies or service mash, or whatever instead.
So, I have no objections to wait and let users decide about the value of this feature.

Not specifically a sidecar, but my use-case is to inject the LDAP connector BINDPW via Vault agent. So ideally being able to specify a different command using the values.yaml. E.g: https://www.vaultproject.io/docs/platform/k8s/injector/examples#environment-variable-example
For now I've just copied this helm chart and added the corresponding command in the deployment.yaml.

@saamalik I'd suggest using a mutating webhook for that.

Would be nice to support an initContainer to allow for custom template/style with out having to maintain a custom image.
We'd previously used an initContainer to unzip our styling ( from a config map ) into a volume that was mounted onto the dex pod..
The feature was available here previously ( old helm2 pile-o-charts repo...) :
https://github.com/helm/charts/blob/f4f301ae450101b981805bd045451f08c0d74afa/stable/dex/templates/deployment.yaml#L46

IMHO a custom built image is much safer, because there are less moving parts at runtime.


Ids based on id_fields

When creating a DataEntry object, you can now add an optional field, id_fields, which has a default value of ['source', 'text'] currently, and which will use the elements of the id_fields list (concatenated) to create the string that will then be hashed to yield the DataEntry's id. This means that stampy, for example, has the dataentry section changed to:
return DataEntry({
    "source": self.name,
    "source_type": "markdown",
    "url": url,
    "title": question,
    "authors": ['Stampy aisafety.info'],
    "date_published": self._get_published_date(entry),
    "text": answer,
}, id_fields=['url'])

Which means stampy now uses the 'url' only for id_fields. All sources are then easy to modify this way. One glaring problem is that the 'url' in fact does not uniquely describe stampy entries, since some entries have the same url (something to investigate)

I'm very much not certain this is the best way to do it, having an extra optional field in the initialization of DataEntry, so open to suggestions / alternatives, but this seems to work surprisingly well


Updating VSO build version to 1705

@jasonsandlin,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


How to remove the vnode that created by createVNode and render method?

Vue version
3.4.30
Link to minimal reproduction
none
Steps to reproduce
I create a vNode like:
//my vnode
let vnode = createVNode(Form, {
message: 'hello',
});
let ele = document.body;
render(vnode, ele);
What is expected?
I want to remove the vnode that created by createVNode and render. Is there a corresponding removal api? thx!
What is actually happening?
none
System Info
No response
Any additional comments?
No response

render(null, ele);

thanks!!


UseLambdaForFunctionalInterface should remove unused imports afterward

I identified and added a few related details along the way, which the new test cases should explain.
I did touch TypesInUse, which I expect has pretty broad reach, but the change didn't cause any test failures.
#1844

yeah, it's unrelated, I am going to go ahead and merge this.