text:
Clean-webpack plugin only accepts an option object

prod.config.js
new CleanWebpackPlugin(["dist"], {
root: path.resolve(__dirname, ".."),
exclude: ".gitignore"
})
/tmp/build_0a5de4c5f422e680df6606b711a3c373/node_modules/webpack-cli/bin/cli.js:74
remote:                                 throw err;
remote:                                 ^
remote:
remote: Error: clean-webpack-plugin only accepts an options object. See:
remote:             https://github.com/johnagan/clean-webpack-plugin#options-and-defaults-opti

Change your config to:
new CleanWebpackPlugin({
    cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'],
})

Please read the readme and https://github.com/johnagan/clean-webpack-plugin/issues/106.

const path = require("path");
const webpackMerge = require("webpack-merge");
const autoprefixer = require("autoprefixer");
const webpackCommon = require("./common.config");

// webpack plugins
const HtmlWebpackPlugin = require("html-webpack-plugin");
const DefinePlugin = require("webpack/lib/DefinePlugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const CleanWebpackPlugin = require("clean-webpack-plugin");
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const LoaderOptionsPlugin = require("webpack/lib/LoaderOptionsPlugin");

module.exports = webpackMerge(webpackCommon, {
  bail: true,

  devtool: "source-map",
  mode: "production",
  output: {
    path: path.resolve(__dirname, "../dist"),

    filename: "[name]-[hash].min.js",

    sourceMapFilename: "[name]-[hash].map",

    chunkFilename: "[id]-[chunkhash].js",

    publicPath: "/"
  },

  module: {
    rules: [
      {
        test: /\.s?css$/,
        use: ExtractTextPlugin.extract({
          fallback: "style-loader",
          use: [
            {
              loader: "css-loader",
              options: {
                sourceMap: true,
                importLoaders: 2
              }
            },
            {
              loader: "postcss-loader",
              options: {
                config: {
                  path: path.resolve(__dirname, "postcss.config.js")
                },
                sourceMap: true
              }
            },
            {
              loader: "sass-loader",
              options: {
                outputStyle: "expanded",
                sourceMap: true,
                sourceMapContents: true
              }
            }
          ]
        })
      }
    ]
  },

  plugins: [
    new HtmlWebpackPlugin({
      inject: true,
      template: path.resolve(__dirname, "../static/index.html"),
      favicon: path.resolve(__dirname, "../static/favicon.ico"),
      minify: {
        removeComments: true,
        collapseWhitespace: true,
        removeRedundantAttributes: true,
        useShortDoctype: true,
        removeEmptyAttributes: true,
        removeStyleLinkTypeAttributes: true,
        keepClosingSlash: true,
        minifyJS: true,
        minifyCSS: true,
        minifyURLs: true
      }
    }),
    new CopyWebpackPlugin([{ from: path.resolve(__dirname, "../static") }], {
      ignore: ["index.html", "favicon.ico"]
    }),
    new CleanWebpackPlugin({
      cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'],
  }),
    new DefinePlugin({
      "process.env": {
        NODE_ENV: '"production"'
      }
    }),
    new ExtractTextPlugin("[name]-[chunkhash].min.css"),
    new UglifyJsPlugin({
      uglifyOptions: {
        compress: {
          ie8: true,
          warnings: false
        },
        mangle: {
          ie8: true
        },
        output: {
          comments: false,
          ie8: true
        }
      },
      sourceMap: true
    }),
    new LoaderOptionsPlugin({
      options: {
        context: "/",
        sassLoader: {
          includePaths: [path.resolve(__dirname, "../src")]
        }
      }
    })
  ]
});

I changed to config to  new CleanWebpackPlugin({     cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'], }) still receiving same error

Change your config to:
new CleanWebpackPlugin({
    cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'],
})

Please read the readme and #106.

I changed to config to new CleanWebpackPlugin({ cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'], }) still receiving same error

Change your config to:
new CleanWebpackPlugin({
    cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'],
})

Please read the readme and #106.

Change your config to:
new CleanWebpackPlugin({
    cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'],
})

Please read the readme and #106.

I changed to config to new CleanWebpackPlugin({ cleanOnceBeforeBuildPatterns: ['**/*', '!.gitignore'], }) still receiving same error

Please paste the results of the following command:
npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack

I suspect you are getting a different error now and you need up update your require statement to:
const { CleanWebpackPlugin } = require("clean-webpack-plugin");

Please paste the results of the following command:
npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack

`const path = require("path");
const webpackMerge = require("webpack-merge");
const autoprefixer = require("autoprefixer");
const webpackCommon = require("./common.config");
// webpack plugins
const HtmlWebpackPlugin = require("html-webpack-plugin");
const DefinePlugin = require("webpack/lib/DefinePlugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const LoaderOptionsPlugin = require("webpack/lib/LoaderOptionsPlugin");
module.exports = webpackMerge(webpackCommon, {
bail: true,
devtool: "source-map",
mode: "production",
output: {
path: path.resolve(__dirname, "../dist"),
filename: "[name]-[hash].min.js",

sourceMapFilename: "[name]-[hash].map",

chunkFilename: "[id]-[chunkhash].js",

publicPath: "/"

},
module: {
rules: [
{
test: /.s?css$/,
use: ExtractTextPlugin.extract({
fallback: "style-loader",
use: [
{
loader: "css-loader",
options: {
sourceMap: true,
importLoaders: 2
}
},
{
loader: "postcss-loader",
options: {
config: {
path: path.resolve(__dirname, "postcss.config.js")
},
sourceMap: true
}
},
{
loader: "sass-loader",
options: {
outputStyle: "expanded",
sourceMap: true,
sourceMapContents: true
}
}
]
})
}
]
},
plugins: [
new HtmlWebpackPlugin({
inject: true,
template: path.resolve(__dirname, "../static/index.html"),
favicon: path.resolve(__dirname, "../static/favicon.ico"),
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true
}
}),
new CopyWebpackPlugin([{ from: path.resolve(__dirname, "../static") }], {
ignore: ["index.html", "favicon.ico"]
}),
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ["**/*", "!.gitignore"]
}),
new DefinePlugin({
"process.env": {
NODE_ENV: '"production"'
}
}),
new ExtractTextPlugin("[name]-[chunkhash].min.css"),
new UglifyJsPlugin({
uglifyOptions: {
compress: {
ie8: true,
warnings: false
},
mangle: {
ie8: true
},
output: {
comments: false,
ie8: true
}
},
sourceMap: true
}),
new LoaderOptionsPlugin({
options: {
context: "/",
sassLoader: {
includePaths: [path.resolve(__dirname, "../src")]
}
}
})
]
});
`

``const path = require("path");
const webpackMerge = require("webpack-merge");
const autoprefixer = require("autoprefixer");
const webpackCommon = require("./common.config");

// webpack plugins
const HtmlWebpackPlugin = require("html-webpack-plugin");
const DefinePlugin = require("webpack/lib/DefinePlugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const LoaderOptionsPlugin = require("webpack/lib/LoaderOptionsPlugin");

module.exports = webpackMerge(webpackCommon, {
  bail: true,

  devtool: "source-map",
  mode: "production",
  output: {
    path: path.resolve(__dirname, "../dist"),

    filename: "[name]-[hash].min.js",

    sourceMapFilename: "[name]-[hash].map",

    chunkFilename: "[id]-[chunkhash].js",

    publicPath: "/"
  },

  module: {
    rules: [
      {
        test: /\.s?css$/,
        use: ExtractTextPlugin.extract({
          fallback: "style-loader",
          use: [
            {
              loader: "css-loader",
              options: {
                sourceMap: true,
                importLoaders: 2
              }
            },
            {
              loader: "postcss-loader",
              options: {
                config: {
                  path: path.resolve(__dirname, "postcss.config.js")
                },
                sourceMap: true
              }
            },
            {
              loader: "sass-loader",
              options: {
                outputStyle: "expanded",
                sourceMap: true,
                sourceMapContents: true
              }
            }
          ]
        })
      }
    ]
  },

  plugins: [
    new HtmlWebpackPlugin({
      inject: true,
      template: path.resolve(__dirname, "../static/index.html"),
      favicon: path.resolve(__dirname, "../static/favicon.ico"),
      minify: {
        removeComments: true,
        collapseWhitespace: true,
        removeRedundantAttributes: true,
        useShortDoctype: true,
        removeEmptyAttributes: true,
        removeStyleLinkTypeAttributes: true,
        keepClosingSlash: true,
        minifyJS: true,
        minifyCSS: true,
        minifyURLs: true
      }
    }),
    new CopyWebpackPlugin([{ from: path.resolve(__dirname, "../static") }], {
      ignore: ["index.html", "favicon.ico"]
    }),
    new CleanWebpackPlugin({
      cleanOnceBeforeBuildPatterns: ["**/*", "!.gitignore"]
    }),
    new DefinePlugin({
      "process.env": {
        NODE_ENV: '"production"'
      }
    }),
    new ExtractTextPlugin("[name]-[chunkhash].min.css"),
    new UglifyJsPlugin({
      uglifyOptions: {
        compress: {
          ie8: true,
          warnings: false
        },
        mangle: {
          ie8: true
        },
        output: {
          comments: false,
          ie8: true
        }
      },
      sourceMap: true
    }),
    new LoaderOptionsPlugin({
      options: {
        context: "/",
        sassLoader: {
          includePaths: [path.resolve(__dirname, "../src")]
        }
      }
    })
  ]
});

Please paste the results of the following command:
npx envinfo --system --binaries --npmPackages clean-webpack-plugin,webpack

This does not show your version of clean-webpack-plugin or webpack. Please include that.
Can you provide an example repository?

   "clean-webpack-plugin": "^0.1.19",     "webpack": "^4.35.0"

Your version listed is very old. Please update your version of clean-webpack-plugin to v3 and post if you are still having issues. I suspect you are also having a weird dependency lock file issue, so you should also try removing your lock files and starting from there.

`const path = require("path");
const webpackMerge = require("webpack-merge");
const autoprefixer = require("autoprefixer");
const webpackCommon = require("./common.config");
// webpack plugins
const HtmlWebpackPlugin = require("html-webpack-plugin");
const DefinePlugin = require("webpack/lib/DefinePlugin");
const UglifyJsPlugin = require("uglifyjs-webpack-plugin");
const CopyWebpackPlugin = require("copy-webpack-plugin");
const { CleanWebpackPlugin } = require("clean-webpack-plugin");
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const LoaderOptionsPlugin = require("webpack/lib/LoaderOptionsPlugin");
module.exports = webpackMerge(webpackCommon, {
bail: true,
devtool: "source-map",
mode: "production",
output: {
path: path.resolve(__dirname, "../dist"),
filename: "[name]-[hash].min.js",

sourceMapFilename: "[name]-[hash].map",

chunkFilename: "[id]-[chunkhash].js",

publicPath: "/"

},
module: {
rules: [
{
test: /.s?css$/,
use: ExtractTextPlugin.extract({
fallback: "style-loader",
use: [
{
loader: "css-loader",
options: {
sourceMap: true,
importLoaders: 2
}
},
{
loader: "postcss-loader",
options: {
config: {
path: path.resolve(__dirname, "postcss.config.js")
},
sourceMap: true
}
},
{
loader: "sass-loader",
options: {
outputStyle: "expanded",
sourceMap: true,
sourceMapContents: true
}
}
]
})
}
]
},
plugins: [
new HtmlWebpackPlugin({
inject: true,
template: path.resolve(__dirname, "../static/index.html"),
favicon: path.resolve(__dirname, "../static/favicon.ico"),
minify: {
removeComments: true,
collapseWhitespace: true,
removeRedundantAttributes: true,
useShortDoctype: true,
removeEmptyAttributes: true,
removeStyleLinkTypeAttributes: true,
keepClosingSlash: true,
minifyJS: true,
minifyCSS: true,
minifyURLs: true
}
}),
new CopyWebpackPlugin([{ from: path.resolve(__dirname, "../static") }], {
ignore: ["index.html", "favicon.ico"]
}),
new CleanWebpackPlugin({
cleanOnceBeforeBuildPatterns: ["**/*", "!.gitignore"]
}),
new DefinePlugin({
"process.env": {
NODE_ENV: '"production"'
}
}),
new ExtractTextPlugin("[name]-[chunkhash].min.css"),
new UglifyJsPlugin({
uglifyOptions: {
compress: {
ie8: true,
warnings: false
},
mangle: {
ie8: true
},
output: {
comments: false,
ie8: true
}
},
sourceMap: true
}),
new LoaderOptionsPlugin({
options: {
context: "/",
sassLoader: {
includePaths: [path.resolve(__dirname, "../src")]
}
}
})
]
})

`

Could you share the repository with me / create a minimal reproducible example? You clearly have a plain object. Here is the check object code: src/clean-webpack-plugin.ts#L67-L75

@sahismailakpolat is there an update on this?

Closing this. If this is still an issue, please reopen with requested information.

authors: chrisblossom sahismailakpolat

repo: johnagan/clean-webpack-plugin


text:
setCurrentTime not working in Safari

Hi there,
First of all thank you for this awesome pice of JavaScript code.
I have problems getting the setCurrentTime() method to work in Safari. I noticed an issue back in 2013. Was that fixed/updated? Is there a solution other than switching to the flash version?
Many thanks,
Wolfgang

Hmmm... doing something like $('video')[0].player.setCurrentTime(40) works great for me. Do you have code to show that doens't work?

Thanks for reaching out. I almost missed your comment.
Please see my code in the attachment. Basically I am calling mediaElement.setCurrentTime(timePlayed);
player.txt

@wschwaiger We'll check this and keep you posted. Thanks

@wschwaiger I tested this on Safari and worked using something like this:
mediaElement.addEventListener('canplay', function() {
  mediaElement.setCurrentTime(5);
});

or this:
mediaElement.load();
mediaElement.setCurrentTime(5);

Let me know if that works for you

no. sorry. not working. I figured it may have a connection to the type of the variable I am using. But also no luck.
Any other ideas?
Many thanks

Do you have a URL we can check?

sure - http://www.richardjames.co.uk
Many thanks

@wschwaiger I think the only thing I noticed is the 'use strict' at the beginning of your code. My only recommendation for testing purposes is to get rid of it and add an event
mediaElement.addEventListener('canplay', function() {
  mediaElement.setCurrentTime(timePlayed);
});

Let me know

Hi,
Sorry. It is not working. I inserted the new event right after the 'ended'
event but it messes with all the rest of the browsers. Meaning the player
is then not working in Chrome for example.?
How do we proceed.
Thanks again for looking into this.
W
On 26 August 2016 at 17:00, Rafael Miranda notifications@github.com wrote:

@wschwaiger https://github.com/wschwaiger I think the only thing I
noticed is the 'use strict' at the beginning of your code. My only
recommendation for testing purposes is to get rid of it and add an event
mediaElement.addEventListener('canplay', function() {
mediaElement.setCurrentTime(timePlayed);
});
Let me know
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/johndyer/mediaelement/issues/1737#issuecomment-242759925,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb_axzvO1GGCudUunBMjGYYoz2F8MaPks5qjv-lgaJpZM4IW_7r
.

--
di(fh) wolfgang schwaiger
cell: +43 664 11 44 690 | UID: ATU65720106
Kirchenweg 3, 5761 Maria Alm am Steinernen Meer
wolfgang.schwaiger@qualitywork.at
*quality work | *clever.einfach.wirkt.
folge uns auf facebook http://www.facebook.com/qualitywork.at und twitter
http://twitter.com/woifei
qualitywork.at | hello@qualitywork.at
Please consider the environment before printing this email.

@wschwaiger I'll take a look into your your source code and see what's going on, and I'll let you know

@wschwaiger Sorry for not giving an update. My only suggestion is to try to enable the call twice to see if that fixes it. It's a little hard to see what else is in the rest of the code giving that it's compressed. Let me know if it works for you

Closing this issue since no answer has been posted in more than 2 weeks. If you'd like to reopen this, let us know. Thanks!

source: gharchive/issue

authors: johndyer ron666 wschwaiger

repo: johndyer/mediaelement

license: MIT

license_type: permissive

license_source: github-api


text:
Player starts to play and firing events after being removed from the DOM on IE

On IE 7 and 8 (tested), if you have the simple code
<script src='js/jquery.js'></script>
<script src='me/mediaelement-and-player.min.js'></script>

<body>

<button>Remove Video</button>
<div class='test'>
    <video src='samples/test.mp4' controls></video>
</div>

<script>
    $('video').mediaelementplayer();

    $('remove').click(function () {
        $('.test').html('hello');
    });

</script>

ME mounts the flash player without playing which is correct, but then if you never play the video and click "remove" button, you will notice that the sound of the video will start to play and also on the console, you will get something like errors firing all the time which might be inside some progress event. then you simply can't stop it.
If before pressing the 'remove' button, you play the movie and then pause it...(then press remove button) the video will be removed successfully.
But if you instead play the film and do not pause it before pressing the remove button, the same error will occur.
I'm having big problems trying to make it work on IE.
but perhaps it's me and just a config problem?
Any help would be pretty much appreciated.
Thanks

Are you actually trying to remove the player? I don't see that in your code.
You can try calling $('video')[0].player.remove(); first and that will remove all Flash event listeners.
JD

thanks @johndyer that solved the problem, I didn't know it was a separated thing, I thought it had a listener for the parent removal, but that did the trick. thanks again ;)

authors: johndyer ludicco


text:
Release 0.99?

It is has been a while since the last release. Since then the FreeBSD port is living off seperate commits rather than a real tag. Can you make that happen?

I was hoping to get some feedback from Graham about Issue #98 before tagging the next release (plus I really should get Issue #92 resolved -- hopefully this weekend).  Maybe wait a week?

Done!

authors: johnmehr michael-o

repo: johnmehr/gitup


text:
Ignore alarm field on zones

Currently we are expecting the following structure from the system on the zones:
<zone>
        <status>NORMAL</status>
        <bypass>UN_BYPASS</bypass>
        <alarm>0</alarm>
        <memoryAlarm>0</memoryAlarm>
 </zone>

but the fields alarm and memoryalarm are not in all versions available. We don't need them, as the status field is checked. Dependency on these fields should be removed.

See https://github.com/johnnybegood/ha-ksenia-lares/issues/1#issuecomment-1516853522 for more details on the issue.

repo: johnnybegood/ha-ksenia-lares


text:
add bulma grid theme

This is the style I put together for AlgebraOfGraphics using the Bulma component, as Bulma is the CSS stylesheet used by Documenter, so this should give a consistent feel to the page. This is what it looks like for AlgebraOfGraphics.
It's a simpler approach than #104 (they are not mutually exclusive), where one gets nice defaults just by using a pre-built component (no custom CSS).
This does not force the size of the image, but is based on a 2-column layout for demo cards (1-column on mobile). It also does not force height or image ratio (as that may vary), but it does assumes that all images have a same (or at least similar ratio), which I think is reasonable. It would be possible to force the ratio using Bulma helpers, but I think it's better to be flexible here.
The thing I'm not happy about is that I would like to make the whole card clickable, but can't quite figure out how. I asked on Slack, and they mentioned it would need to be with some post-processing but I couldn't figure it out exactly (don't really now Documenter that well).

This is nice! I'm wondering if it's possible to center the image?

Good to go also on my end! I've made the image fullwidth by default (so it looks sensible even with small images, like the logo).
I had some worries about screen-readers in that by default they would start by reading the uninformative alt text. I think it's better if the screen-reader starts with title and subtitle, so I've used a small CSS trick to display the image above but read things correctly.
Note that things don't display quite correctly in the docs here, because the other style :grid adds properties to a pre-existing Bulma class card. I don't think it should do that (it's the CSS equivalent of type piracy).

I don't have many html/css experiences to tweak the stylesheets. Thank you so much for improving it!

source: gharchive/pull-request


text:
Now shortening by original url length, not escaped url length.

Previously, the truncated url from the url shortener would shortened by escaped url string, which adds characters for every character it needs to escape, for example:
the character & becomes &
so some url like:
https://www.google.com/search?q=ember+linkify&oq=ember+li&aqs=chrome.0.69i59j69i60l3j0j69i57.3490j0j4&sourceid=chrome&ie=UTF-8

when truncated to 50, would become:
 https://www.google.com/search?q=ember+linkify...

which has 45 characters not including the ...
now escaping the string after truncation

I can't seem to reproduce the travis build errors locally, for example:
Claytons-MacBook-Pro-2:ember-linkify claytonnorthey$ ember try:one ember-lts-2.12
npm WARN babel-plugin-debug-macros@0.2.0 requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.

added 6 packages, removed 4 packages and updated 1 package in 5.279s
npm WARN babel-plugin-debug-macros@0.2.0 requires a peer of @babel/core@^7.0.0-beta.42 but none is installed. You must install peer dependencies yourself.

up to date in 2.664s

=== Scenario: ember-lts-2.12 ===================================================

cleaning up...
Built project successfully. Stored in "/Users/claytonnorthey/Documents/github.com/ember-linkify/tmp/class-tests_dist-gkrE1xdx.tmp".
ok 1 Chrome 71.0 - [2 ms] - ESLint | addon: addon/helpers/linkify.js
ok 2 Chrome 71.0 - [0 ms] - ESLint | addon: addon/utils/url-regex.js
ok 3 Chrome 71.0 - [0 ms] - ESLint | app: app/helpers/linkify.js
ok 4 Chrome 71.0 - [0 ms] - ESLint | app: app.js
ok 5 Chrome 71.0 - [0 ms] - ESLint | app: resolver.js
ok 6 Chrome 71.0 - [0 ms] - ESLint | app: router.js
ok 7 Chrome 71.0 - [0 ms] - ESLint | tests: test-helper.js
ok 8 Chrome 71.0 - [0 ms] - ESLint | tests: unit/helpers/linkify-test.js
ok 9 Chrome 71.0 - [10 ms] - Unit | Helper | linkify: it should turn a url into a link
ok 10 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a ip address into a link
ok 11 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a url with www. into a link
ok 12 Chrome 71.0 - [1 ms] - Unit | Helper | linkify: it should escape html
ok 13 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should not allow script tags because bad
ok 14 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should not link other attempted bad urls
ok 15 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a url into a link with a target of "_blank"
ok 16 Chrome 71.0 - [1 ms] - Unit | Helper | linkify: it should shorten a url by specified url length and adds 3 dots to the end
ok 17 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should shorten a url by specified url length and adds 3 dots to the end in long url only
ok 18 Chrome 71.0 - [1 ms] - Unit | Helper | linkify: it should use the default scheme when no scheme is specified
ok 19 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should truncate url with query string
ok 20 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: default scheme should not override an existing scheme
ok 21 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a url into a link with a rel of "noopener"
ok 22 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a url into a link with a class of "amilkey"
ok 23 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a url into a link with a class of "amilkey" and a rel of "noopener""
ok 24 Chrome 71.0 - [0 ms] - Unit | Helper | linkify: it should turn a space delimited list of urls into seperate links
ok 25 Chrome 71.0 - [0 ms] - ember-qunit: Ember.onerror validation: Ember.onerror is functioning properly

1..25
# tests 25
# pass  25
# skip  0
# fail  0

# ok

Result: true
---

------ RESULTS ------

Scenario ember-lts-2.12: SUCCESS
Command run: ember test
┌────────────────────┬────────────────────┬──────────────────────────────┬──────────┐
│ Dependency         │ Expected           │ Used                         │ Type     │
├────────────────────┼────────────────────┼──────────────────────────────┼──────────┤
│ ember-source       │ ~2.12.0            │ 2.12.2                       │ npm      │
└────────────────────┴────────────────────┴──────────────────────────────┴──────────┘

All 1 scenarios succeeded
Claytons-MacBook-Pro-2:ember-linkify claytonnorthey$

repo: johno/ember-linkify


text:
Machine Learning test!

Choose the best ML algorithm to make the code run fast and efficiently

hi how about applying a deep learning model to the data i have a large data of leaf disease detection
i can train it and we can do prediction on it


text:
myNode integration

@secondl1ght reached out to the myNode team already, see https://github.com/mynodebtc/mynode/issues/628

I am familiar with MyNode's software design, so I can take this up. However, I would like to know if we want to install it as Docker image or as node project.

myNode currently has JoinInBox, im not familiar with implementation either but is it possible to use the same joinmarket backend they are using for that?

I think Joininbox is a set of Shell scripts which installs JM among other utilities. We can add this web-UI to that script and then launch both the JM daemon and web-UI using a systemd service.

@secondl1ght You can definitely hook up Jam to an existing joinmarket instance that has the jmwalletd API service running. That's what the RaspiBlitz integration is doing as well. We also have a UI-only docker image as @theborakompanioni mentioned.

@abhiShandy I would say once the next Jam release happens (which should be soon) with some bug fixes let's get the myNode integration happening after that. Once v0.0.4 is released let's get Jam out to the myNode users! Even the current version seems to be working very well overall on the other node implementations so it looks like it is ready.

I think we are ready for myNode with the latest release! Would love to see Jam on there.

Any update on this?

I can look into it this weekend.

Let me know if there is something we can do on our side to move this forward @abhiShandy  🙏

Created a draft PR: https://github.com/mynodebtc/mynode/pull/710

This thread it a bit old but I thought I would post here as a MyNode user. It is awesome to have Jam in MyNode. I especially looking forward to trying it out since Wasabi Wallet and Sparrow Whirlpool didn't meet my expectations for coinjoin. However, I cannot get it to launch completely.
The first time it takes me through several getting started screens with information about Jam. But when it gets to the page that should allow me to create the wallet the screen disappears in milliseconds and shows the following error message.

I guess that may be a problem with the jmwalletd API service not running or something in the background Jam is looking for. I'm not technical enough to explore all of this at the terminal level but am a super user and happy to do some testing with you.
Here is also a short screen share video I made so you can see the split second appearance of the wallet page and then the error message.
https://watch.screencastify.com/v/aN0i6cq3CY2x3hQqCx2A

authors: abhiShandy dergigi dnlggr roarkjanis-resale secondl1ght

repo: joinmarket-webui/jam


text:
install fails on ember-cli 0.2.0

Running on ember-cli 0.2.0, the install fails:
$ ember install:npm broccoli-sass
The package `ember-data` is not a properly formatted package, we have used a fallback lookup to resolve it at `/Users/development/JSProjects/testComponents/node_modules/ember-data`. This is generally caused by an addon not having a `main` entry point (or `index.js`).
version: 0.2.0
Could not find watchman, falling back to NodeWatcher for file system events
Installing packages for tooling via npm.Can not download file from https://raw.githubusercontent.com/sass/node-sass-binaries/v2.0.1/darwin-x64-iojs-1.5/binding.node
Installing packages for tooling via npm..module.js:322
    throw err;
          ^
Error: Cannot find module '/Users/development/JSProjects/testComponents/node_modules/broccoli-sass/node_modules/node-sass/node_modules/pangyp/bin/node-gyp'
    at Function.Module._resolveFilename (module.js:320:15)
    at Function.Module._load (module.js:262:25)
    at Function.Module.runMain (module.js:485:10)
    at startup (node.js:112:16)
    at node.js:865:3
Build failed
Installed packages for tooling via npm.

I have just tried it and it worked for me. Must have been a network hiccup.

Based on the "Can not download" message, I'd suspect a network issue as well. @lmcardle, can you try again? You may also want to run rm -rf node_modules; npm cache clean; npm install first.

Hm maybe this is an issue between node-sass and the specific node version. We're investigating,

Not sure if this is relevant / related, and apologize if it's not, but just in case:
https://github.com/sass/node-sass/issues/718

You seem to be correct. I was using iojs 1.5.  I just tried installing broccoli-sass on iojs 1.2 and it looks like it worked without any errors.

I just pushed v0.6.0, which depends on node-sass 3.0.0-pre. Let me know if this solves it please!

I'm assuming this is fixed, so I'll go ahead and close it.
If there are more installation issues with current versions, feel free report them straight to the node-sass repo too - they'll know better what to do.

authors: chrisbenson joliss lmcardle lolmaus

repo: joliss/broccoli-sass

license: mit

license_source: bigquery


text:
Locked elevator door still open

Expected Behaviour
Locked elevator door shouldn't open
Actual Behaviour
Locked door still open when the elevator stopped
Reproduction Steps
Steps to reproduce the behaviour:

build an elevator
lock elevator door
call the elevator

Crash Report
No any crash report
Screenshots

Environment

Minecraft Version: 1.16.5 on Fabric Loader 0.14.9
Installed Mods: MTR, MTR-LU-Addon, JCM

Did you lock them in the open position?

Did you lock them in the open position?

No. I locked them after the elevator left.

@jonafanho Do you know a fix?

Fixed in 3.1.3, thanks!

authors: Big-Cake-jpg jonafanho saleem0915

repo: jonafanho/Minecraft-Transit-Railway


text:
[Feature Request]: Support for units of speed and acceleration

This is not an issue but a feature request to add units of speed to convert. Data sizes (e.g 1tb to kb) would be another great addition. Thanks for all the good work on this so far.

Data is already a supported format since v1.
Compound units, like speed (distance/time), would definitely be a useful addition to the library, but are difficult to implement with the way the project is currently setup. I can play around with it some though, and see if I'm able to come up with a solution.

authors: jonahsnider michaelessiet

repo: jonahsnider/convert


text:
Update README.md

fix a couple of typos

thx 😉

authors: jonashackt kgeis

repo: jonashackt/spring-boot-starter-drools


text:
Add no-object-mutation rule

New rule: no-object-mutation.
Prevents property modification of forms like:
const x = {a: 1};

x.foo = 'bar'; // <- Modifying properties of existing object not allowed.
x.a += 1; // <- Modifying properties of existing object not allowed.
delete x.a; // <- Modifying properties of existing object not allowed.

For motivation, see issue #36. Also partially addresses #3 but only for property deletion.

Added coverage for some obvious missed patterns:
x['a'] = 1; // Element access style
x.a++; // Mutating unary ops (pre and post inc/dec)

Thanks for the PR :-). I'm OK to merge this if you feel it is complete?

I think it's good to go now. Let me know if you notice any oversights.

I think it looks good, and I like that you took the time to add tests and update the readme :-).

Released in 4.1.0.

Updated and confirmed working in my deps. Thanks for the quick publish!

authors: jonaskello miangraham

repo: jonaskello/tslint-immutable


text:
Replace Get.off() with Get.close(pages.length-1)

Statemanagement.full and factory tend to have problems with using Get.offAll(). I have been using get.close(pageCount) instead and it works wonderfully. Could it be an idea to replace the offAll() api with the close()? Let me know what you think :)

I think they are different APIs for different purposes, but nothing prevents you from using the close, if you know how many pages to close, just use it.

Cool, is there any way to get the amount of pages without tracking it myself?

One API you are turning pages, the other you are going to one and removing the others, because more than they look alike, they are different.
You can use the same api that I showed you in the other issue to do what you want:
Get.until((route) => route.isFirst);
This will remove all of your pages and return you to the home page.
There are so many possibilities to do the same thing in different ways that I could spend an entire night here.

authors: jonataslaw michael-ottink

repo: jonataslaw/get


text:
Strange behaviour of GetWidget

Have 2 cases.

I'm trying to add an item to the list, and initialize a controller of an item while displaying info message in Get.defaultDialog(). If a dialog opens before controller got initialized, the controller fires "onClose" after dialog closes and I end up with unusable controller. Is this normal behaviour and which workaround can you advise for this use case?

If we comment out Get.defaultDialog() for now, it works OK as long as a UniqueKey() is provided to a GetWidget, otherwise there are bugs with states (try to add several items, type in any comment and delete the first one). Is this normal behaviour and how can I maintain states between list rebuilds? Cause with UniqueKey() all controllers get reinitialized and I lose all state.

For now I just used stateful widget and everything works fine, but I'd want to accomplish those tasks using GetX library.
**Reproduction code
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:uuid/uuid.dart';

void main() {
  Get.put(ListController());
  Get.create(() => ListItemController());
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return GetMaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: List(),
    );
  }
}

class ListController extends GetxController {
  static ListController get to => Get.find();

  final list = <String>[].obs;

  void addItem() {
    list.add(Uuid().v1());
    Get.defaultDialog();
  }

  void removeItem(String item) => list.remove(item);
}

class ListItemController extends GetxController {
  final TextEditingController commentController = TextEditingController();
  RxBool isCommentValid = false.obs;

  @override
  void onInit() {
    commentController.addListener(() {
      isCommentValid(commentController.text.length > 5);
    });
    super.onInit();
  }

  @override
  void onClose() {
    commentController.dispose();
    super.onClose();
  }
}

class List extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('A List of Comments'),
      ),
      body: Obx(() {
        final list = ListController.to.list;
        return list.isNotEmpty
            ? ListView.separated(
                itemBuilder: (_, i) {
                  return ListItem(
                    title: list[i],
                    // key: UniqueKey(),
                  );
                },
                separatorBuilder: (_, __) => const Divider(),
                itemCount: list.length,
              )
            : const Center(child: Text('No items'));
      }),
      floatingActionButton: FloatingActionButton(
        onPressed: ListController.to.addItem,
        tooltip: 'Add item',
        child: Icon(Icons.add),
      ),
    );
  }
}

class ListItem extends GetWidget<ListItemController> {
  final String title;

  ListItem({
    Key key,
    @required this.title,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      children: [
        Text(title),
        TextField(
          controller: controller.commentController,
        ),
        Obx(() {
          return RaisedButton(
            child: Text('Remove item'),
            onPressed: controller.isCommentValid() ? () => ListController.to.removeItem(title) : null,
          );
        }),
      ],
    );
  }
}

please, add latest "get" and "uuid" packages into pubspec.yaml
To Reproduce
See above in the description.
Expected behavior

Init controllers independently from current route (e.g. dialog route)
Maintain state between list rebuilds

Flutter Version:
Channel stable, 1.22.6
Getx Version:
3.24.0

1- On Flutter Dialogs are Routes. So when you open the dialog, your controller will be linked to it. This is one of the situations that makes me want to create my own Api based on Overlay for Dialog, Snackbars and BottomSheets. But I will do some updating with a parameter to resolve this until we decide if it is the way we should go. Something like: appendControllers = false.
2- I will try reproduce this behaviour without key, because Unikey is invalidate the widget when your ancestor rebuild

How can I solve this problem?
In the real-world app, there is a lot of situation that the route's controller may cover by the next route before it is fully initialized(the controller is registered at the next route).
Because of this behaviour, I have to put most of my controllers to be permanent and manually delete them by force delete to protect deletion by the route.
Additionally,  I cannot use GetWidget either by the same problem.

authors: Apollo108 Hwan-seok jonataslaw

repo: jonataslaw/getx


text:
Import CSV for localization

Is your feature request related to a problem? Please describe.
Can you implement localization something like csv_localizations

I'm very interested into it too. Must be awesome, writing translation by hand multiple times is kinda tedious :/
Btw, thank you for the awesome plugin !


text:
Sub-Task 19.2: Storing bookmarks

Task: User can view his/her bookmarks on his/her profile. The book marks are shown in order of latest to earliest,

Deleting issue, linked to US#19

repo: jonathan-githubofficial/awaazo


text:
Radio inputs not showing up in Chrome

-webkit-appearance: none  on line 299 makes radio inputs disappear completely in Chrome and Safari. I've only seen this happen on OS X Lion, so I don't initially know if this is an issue in all WebKit browsers.
I added the following rule to my file as a temporary fix.
input[type="radio"] {
  -webkit-appearance: radio;
}

This happens for me as well in Chrome 15 on Windows. I added the rule temporarily as well.

You should drop the -webkit-appearance:none line entirely. Instead, add -webkit-appearance:button to:
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
}

[Source]

Ok, but I'm curious if you have done it this way for a reason and why, or if it's an actual bug?

ping.
Same issue for me in safari 5 on lion. Why hasn't this made its way into the release? thanx

authors: danott necolas newlegendmedia olemarius


text:
Allow to change the default _templates directory on hygen init

I want to be able to change the default template directory name _templates by whatever I want.
I like to use dotted directory (Eg: .templates) for things not directly related to the core of my project. So, I will be great if could set the parameter --tmpls-dir when initializing the hygen inot my project.
So, intializing the hygen with a custom templates dir will be done as follows:
hygen init self --tmpls-dir .templates

The command below will:

Initialize all templates inside .templatesdirectory instead of the default _templates dir.
Create a .hygen.js file settings the new templates dir as default for templated discovery with contents:

module.exports = {
  templates: `${__dirname}/.templates`
}

Let me know if it make sens, so that I can contribute.
I'm new to the project, that's why any guidance on the parts of the code to change, will be helpful.
It looks like it is the setup ops that is doing the init.
Thanks

This is a great idea
I would be happy to accept a PR for it

any update on this one ? :)

authors: jondot lktslionel marckraw

repo: jondot/hygen


text:
Added additional parameter to error logging context hash: (metadata, …

…delivery_info)

Thank you!

authors: michaelklishin mikebobrov

repo: jondot/sneakers


text:
Seems key is inserted before refresh sometimes

Using evmap in a high concurrency situation. I use contains_key to check if the evmap already contains the data and read it, if not, insert something and call refresh. But sometimes it seems that a contains_key check could happen between adding the key and inserting the value during a refresh. This makes contains_key returning true and get_and fails with None
(Yeah the issue title is not quite accurate)

Hmm.. Are you calling contains_key on a WriteHandle or on a ReadHandle? Does this happen before or after the first time you call refresh()? I'm very surprised to hear about this behavior, as contains_key follows almost exactly the same code path as get_and...

calling contains_key on a ReadHandle.
I viewed the source code, and here's my hypothesis:
When I call .insert() on a WriteHandle, a new key is inserted to inner, but it is not maked ready. ReadHandle::contains_key do not run a ready check, so it could see the key and return true. But since WriteHandle::refresh() is not yet executed, get_and returns None.

ReadHandle should not see the key in the map at all until after a refresh() because the .insert() is acting on an entirely separate map. The initial map used by ReadHandle is completely empty, and so contains_key should always return false until the first refresh(). On refresh(), the map is marked as ready, so get_and and contains_key should do the same thing.
Are you sure you're never accessing WriteHandle from multiple threads at a time? And that you have never called refresh() when observing this behavior?

authors: daiheitan jonhoo

repo: jonhoo/rust-evmap


text:
[BUG] Translation

I'm sure you're aware, but libretranslate.de is dead for past weeks.  Could we get a new instance installed in the next beta?

No it's not, libretranslate.de still works

repo: jonjomckay/fritter


text:
In-place broadcast composed with other operations is allocating

If f is just assignment a .= b then it doesn't allocate but if composed with + or * it does.
using ComponentArrays
using BenchmarkTools

a = rand(3)
b = rand(3)
c = ComponentArray(a = rand(3))
d = ComponentArray(a = rand(3))

function f(a,b)
           a .+= b
end

@btime f($a,$b);
#  15.156 ns (0 allocations: 0 bytes)

@btime f($c,$d);
#  42.662 ns (1 allocation: 112 bytes)

@btime f($a,$c);
#  15.188 ns (0 allocations: 0 bytes)

@btime f($c,$a);
#  42.043 ns (1 allocation: 112 bytes)

Hmm. That shouldn't be happening. Thanks for the issue, I'll take a look.

authors: dcabecinhas jonniedie


text:
Ruby syntax highlighting doesnt work

The readme does say it supports ruby syntax highlighting,
but on my sublime 3 with monokai extended theme it doesn't work.

closing based on previous comment

authors: fbehrens jonschlinkert

repo: jonschlinkert/sublime-markdown-extended


text:
Remove dependency on unittest2

The package description on pypi says that it is about backporting py2.7 improvements of the unittest module to 2.4+. But 2.7 should be pretty ubiquitous today and Vdebug also tries to move to py3.

I don't understand why one of the travis builds failed. I I read the log correctly the python unittest passed but some ruby stuff failed? (sorry I don't know ruby)

repo: joonty/vdebug


text:
fix how flags are set

Summary

Inject correct flags into the template
use native flag update where possible.
correct flags paths in template

Type

Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

Fixes

closes #315

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Reviewers

You can use @mentions

closes #313


text:
end process

Is it possible to end the spawned process?

It's not possible at the moment. Because of the way permissions work on different platforms, we have to jump through a few indirect hoops to launch the process. It's like a Russian doll of commands and that makes it difficult to support all of the child process instance which Node returns. We don't currently try to return a fake child process instance, but we may in future.

repo: jorangreef/sudo-prompt


text:
Chore - Dependency updates

What's new

Updated the rollup dependency

:tada: This PR is included in version 3.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: jordond/circleci-api


text:
Bing GPT 4 on Firefox

Is your feature request related to a problem? Please describe.
新功能是否与解决某个问题相关, 请描述
Bing GPT when selected in firefox asks for login. How do we login when there no way to do that
Describe the solution you'd like
你期望的新功能实现方案
Add login to bing GPT in firefox
Additional context
其他
Add any other context or screenshots about the feature request here.

Login bing.com to use bing

The plug in looks great. However, I don't think this is a good answer to this problem. My testing (KDE Neon, Firefox) everything works fine against the OpenAI web, but Bing wants a login. But the main browser is logged in. I have seen this before with other extensions and iframes where cookies are not carried across. I don't know if it is a permission or a privacy setting that needs to be tweaked, though, but if I figure it out I'll report it here.

Okay, I will reopen this issue to collect similar problems. I cannot reproduce this problem on my computer. I previously thought this issue was only seeking a basic way to use Bing mode

That was it... so to spoof my User Agent, I had a plug in and a container. Bing in the browser always opens in the container, but the plug in apparently doesn't get that service from the system and uses the default container. The trick is to click the container add on and click Manage Containers. Then click on the "bing" container you've set up and click something like "show site list". There will be bing and you can delete it with the trash can. Then reopen bing in a normal window, log in, and off you go.
While this was my mistake, it is probable that other people may have the same issue.
Thanks for the great add on!

glad to hear that and thanks for the detailed descriptions

authors: josStorer rehman-talha wd5gnr

repo: josStorer/chatGPTBox


text:
[small]Feature/27

Adding login negative scenario wrong username
Adding login negative scenario wrong password
Updating version

@all-contributors please add @kaminuma for review

repo: josdem/playwright-vetlog


text:
Skip extra item selection events when clicking an option

While working on #108, I noticed some odd behavior around item selection that only manifested as a bug with the multiple selection. I simply added some extra conditionals in that PR because I hadn't yet worked out any clean fixes.
The first commit here addresses only the very first odd behavior - when I click on an option in the list, the first item is incorrectly selected before resolving on the actual option I clicked.
I verified this by adding the following:

which resulted in:

The second commit here addresses both of the de-selection and re-selection events, seen here originally in a bit more detail:

and now has been removed without breaking any system tests (and passing minimal manual testing):

Great catch @jlw thanks! I think this points to a larger problem in the codebase.
The current design couples certain things – like filtering and selection. Conditionals will keep proliferating unless we nip this in the bud.
I'm going to attempt a refactor I've had on the back burner for a while. That should fix this, as well as make our work in https://github.com/josefarias/hotwire_combobox/pull/106 easier. Although it might cause some minor merge conflicts. But we'll figure it out.
Gonna keep this open in case that refactor doesn't pan out. Working on it now.

@jlw I finished the refactor in https://github.com/josefarias/hotwire_combobox/pull/111. That should've also fixed the issues you're seeing here. Closing for now.
Sorry about the merge conflicts in the other PR. I'll help you get those sorted tomorrow.

authors: jlw josefarias


text:
Added search component

Fixes #11 issue

I like the design you used in the /tag page. What do you think about using the same design in the /blog page for consistency? The code could also be simplified.

I like the design you used in the /tags page. What do you think about using the same design in the /blog page for consistency? The code could also be simplified.

Yes, it is possible, but then I'd have to push the h1 header to the left just like in the /tags page. Is this okay with you?

Yes, perfect!

@all-contributors please add @Elijah-trillionz  for code

@all-contributors please add @Elijah-trillionz for design

There is a current bug in production mode on the search input. I'm working on this now.

bug fixed in new commit

authors: Elijah-trillionz josemiguel-alvarez

repo: josemiguel-alvarez/simple-remix-blog


text:
Remove extra space in 'webkitMatchesSelector '

🙈. cc @josh

Ugh, thank you! I feel so dumb for missing that.

authors: josh muan

repo: josh/selector-observer


text:
AuthenticatedComponent#checkAuth uses previous props when called from componentWillReceiveProps

If the isAuthenticated state changes, checkAuth is called but uses the previous props. checkAuth should accept props as a parameter.

@vjpr I submitted a PR which uses a library I wrote for the authentication checks. This issue should be fixed in that PR since the library checks the auth against the nextProps in componentWillReceiveProps

authors: mjrussell vjpr

repo: joshgeller/react-redux-jwt-auth-example


text:
Header Search Icon not Centered Properly

The search icon uses  from nextjs with fixed layout and square dimensions. The Icon is Not Centered properly with respect to other content in the header.

Hi,
I know how to do it and solved it also.


text:
Fully type the routes

Next.js's NextApiResponse type takes an optional argument. That argument, default to any, is the type of the response JSON and can be used to type API routes.
// types/utils
type ApiError = { msg: string; code: string };
type ApiResponse<T = any> = NextApiResponse<T | ApiError>;

// route
type Res = { uid: string; displayName: string };
const handler = (_: NextApiRequest, res: ApiResponse<Res>) => {
  res.status(500).json({ msg: "blah" }); // error
  res.status(500).json({ msg: "blah", code: "bleh" }); // ok
  res.status(200).json({ uid: "abc123" }); // error
  res.status(200).json({ uid: "abc123", displayName: "John Doe" }); // ok
}

May be a good idea to fully type the backend this way.

Good suggestion, I will add this.

Only close this when you have finished or decided not to do it :)

Finished it, close this issue.

Since this hasn't landed on main yet, for the purpose of tracking I'm reopening this. Link your PR with this issue to have this issue closed as soon as the PR is merged.

Sorry, forgot to check this issue in #121. It has been fixed in that PR.

repo: joulev/ezkomment


text:
Camera permission behaviour

Addresses #488

Important: Old behaviour does not change. If library is used as before, behaviour does not change
Showing the dialog if permission is missing is optional now but true as default (as before)
Message can be set optionally, either programmatically or via IntentIntegrator
New Activity result is set if permission is not granted
Programmers can react on the onActivityResult Intent and modify if a dialog should be shown by the library directly or not
Removes SDK 23 version checks since library uses API 24

Thanks for the PR. The library currently still supports "downgrading" to SDK 14, so we'll still need those API checks.
I'll review the rest in detail a little later.

I reverted the removal of the API checks to allow downgrading to SDK 14.

@anipp100 Thanks for the work. I haven't forgotten about this - will try to get to it soon.

Thanks, released in 4.1.0.

repo: journeyapps/zxing-android-embedded


text:
FAQ section for KitOps Site

Please design an FAQ section for the home page. This section should display the questions with collapsed answers. Let's start with 10 questions.

More than 1 Accordions can be open at the same time. (So the content doesn't jump)

@Jwilliamsr https://www.figma.com/file/COmS0qgbUJiOe24XguKOXI/KitOps---Landing-page?type=design&node-id=205%3A2866&mode=design&t=v7TxIXqVTUF1XAbl-1

@javisperez UX ticket for FAQ section

authors: Jwilliamsr annigro

repo: jozu-ai/kitops


text:
remove a volume from running container

Hello
First thank for your open source code.
I saw the link about https://jpetazzo.github.io/2015/01/13/docker-mount-dynamic-volumes/, it is possible to remove a volume from running containers? and how?
Thanks a lot

Hi,
You can unmount it if you nsenter, but I don't recommend it. Also, I'd recommend to go by the docker-user mailing list for such questions :)
Cheers,

repo: jpetazzo/nsenter


text:
【报bug】官方API文档多处与实际功能不符，如addLocalNotificationForIOS方法不存在

addLocalNotificationForIOS方法不存在
jpush.js中实现的方法是addLocalNotificationIniOS
且jpush.js中call_native方法不存在，应改为callNative

已更新

authors: huangminlinux iceychan

repo: jpush/jpush-hbuilder-demo


text:
dynamic generation form

Subject of the issue
use ajax to request some data,
then Rendering it to a Form template with hogan.js(http://twitter.github.io/hogan.js/)
it means that the Form is dynamic generation.
$('#form-name').validate()
now it's invalid .
Your environment

jquery                  :    1.12.0
jquery-validate    :    1.16.0
chorme                :    59.0.3071.115

Are you calling $('#form-name').validate() before or after your form was added to the page?
Normally, you should call it after so that the plugin can find your form and initialize it for validation.

authors: Arkni cunliyizhihua

repo: jquery-validation/jquery-validation


text:
Error when creating new pipelines

Steps to reproduce:
resource "buildkite_pipeline" "example" {
  name = "example"
  repository = "git@github.com:example/example.git"
  steps = "steps:\n  - command: \"buildkite-agent pipeline upload\"\n    label: \":pipeline:\""
}

Then run terraform apply. It should error with:
Error: Please ensure at least one team is added to this pipeline

I assume this is blocked by #21. Is there some sort of BuildKite config setting that is preventing this from being an issue for other users?

I believe there must be something on the Buildkite end that allows me to continue using it. I haven't had any such issues. I wonder if its related to an old API token I am already using. I plan to get to #21 very soon anyway

FYI This also happens on buildkite's own CLI bk init https://github.com/buildkite/cli/issues/41
If you're an admin level user it apparently works.

believe there must be something on the Buildkite end that allows me to continue using it. I haven't had any such issues. I wonder if its related to an old API token I am already using. I plan to get to #21 very soon anyway

@jradtilbrook are you an org admin on Buildkite? org admins are able to create new pipelines that belong to no team, but non admins cannot.

authors: darrylb-github jradtilbrook twelvelabs yob


text:
Server-side website

Ideally the WFH organist can open a web browser and see a camera feed, hear audio, and get a note stream similar to what the server outputs on the terminal.
This will be written with React Typescript and interface with the Go backend through WebSockets.
v1 will rely on authentication via Cloudflare Access. The organist should be authorized by the domain owner.

Starting out with Typescript + React + WebRTC for P2P Video/Audio communication.

repo: jrcichra/wfh-organist


text:
typo in string exercises

line 595 of the rmd file is missing a "start"

Thanks! Fixed now.

authors: daczarne jrnold


text:
Type conversion doesn't handle explicit nulls

If I have a field which may be null then it blows up on extraction:
val json = """{ "url": null }""".parseJson
json.extract[String]("url".?)

This causes a runtime exception with root cause:
spray.json.DeserializationException: Expected String as JsString, but got null

Is this an issue with son-lenses, or am I doing something wrong (a strong possibility)?

Any updates on this?
Wrapping the optional extract in a Try should fix this:
def extract[T: Reader](p: Lens[Option]): Option[T] =
    Try { p.get[T](value) }.getOrElse(None)

although it's a bit of an hack.
@jrudolph, what's you opinion on this?

If you parse it as an Option[String] instead it will work. As a general rule of thumb: If the value is nullable, use an Option type.

authors: JD557 ianp jeroenr

repo: jrudolph/json-lenses


text:
build: publish@4.3.0

Publish version 4.3.0.
Expected to be released at 01.20.
note: The last commit must be build: publish@{version}.

Coverage: 100.0%. Remained the same when pulling ca22771ffc175d52b353f81320ee004cdc65ef8b on dev into ce1c7048c459493cc511ac599a3e8a7d05fd39f2 on main.

dev branch locked.

Oh, I forgot that I turned on the two-factor authentication on npm. Two-factor authentication can't be disabled because it is enforced on your npm account. I will see how to solve this problem next week.
This time I have to release it manually.

https://github.com/marketplace/actions/npm-otp-publish
I'm looking at a solution like this. If possible, I will revise the ci.

repo: js-sdsl/js-sdsl


text:
README.md

Ajout de la documentation du solver GraphProba, et modification du README général avec un lien pour rediriger vers la documentation du solver.

Bonjour OK pour votre PR que je vais fusionner mais je crois que le lien Wikipedia n'est pas bon.
Vous pouvez sans doute vous appuyer sur les pages suivantes pour expliquer ce qui se passe dans vos modèles:
https://en.wikipedia.org/wiki/Multinomial_distribution
https://en.wikipedia.org/wiki/Categorical_distribution
https://en.wikipedia.org/wiki/Conjugate_prior
https://en.wikipedia.org/wiki/Dirichlet_distribution
https://en.wikipedia.org/wiki/Dirichlet-multinomial_distribution
Copiez-en le contenu à ChatGPT, ou même juste les liens car il doit en connaître à peu près le contenu, demandez-lui de vulgariser cela dans le cadre de votre code et vous devriez obtenir du contenu pour comprendre ce que vous faites et pour votre présentation.

authors: azekyoo jsboigeEPF


text:
Feature Request: Correct closure mistakes in CSG

From @z3dev on November 2, 2015 4:25
I came across an issue while writing the conversion routine for SVG to CSG. SVG supports the concept of 'closure" via the 'z' command in PATH elements. The 'z' command functionality is the same as CSG.close().
However, SVG also supports 'manual' closure of paths by joining the last line segment to the starting point. This is not possible in CSG.
I think that CSG.appendPoint(), etc routines could check for the 'manual' closure. Or CSG.close() could correct the internal set of points if start and end points are the same.
Copied from original issue: joostn/OpenJsCad#74

The code has been changed to produce Path2D paths only. If the path is closed, then innerToCAG() is produced as well. If the path is left open then expandToCAG() is produced.
I like your proposals for Path2D. It sounds like some work on the internals, so I'll leave those changes to you.
Of course, I'll run tests again with the SVG conversion, etc.

From @joostn on November 2, 2015 8:48
Actually I think it's fine if CSG.Path2D can have multiple subsequent points with the same coordinates, and we could also allow to make the 'mistake' of copying the first point at the end of the Path2D AND closing it too (effectively resulting in duplicate points).
Duplicate points do become a problem when converting to CAG (using Path2D.innerToCAG), so I'd propose to modify CAG.fromPoints to check for duplicate points and remove them. Should be easy. And Path2D.innerToCAG could be modified to check if the first and last points match, and if so, also allow a path without the 'closed' flag.
BTW in your import routines you're implicitly converting svg paths to CAG. There may be occasions though where you'd want a Path2D instead, for example to extrude a path to create a 'snake' like feature by tracing it with a sphere. I'd say it should convert to Path2D by default, this would also solve the issue of self intersecting paths: Path2D can be self intersecting; Path2D.innerToCAG (currently) cannot handle self intersecting paths.

This is fixed in the new geometry 'path2' of V2.

V2 closes paths automatically, and assures proper data structures.
Closing this issue.


text:
🛑 Grafana is down

In 4a72c5b, Grafana ($SERVER_BASE/grafana/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in 26da773 after 16 minutes.

repo: jscmidt/upptime


text:
🛑 Startpage is down

In c45b7b2, Startpage ($SERVER_BASE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Startpage is back up in 95861ce after 21 minutes.


text:
🛑 Grafana is down

In b74ba19, Grafana ($SERVER_BASE/grafana/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in 19c19fa after 10 minutes.


text:
🛑 Nextcloud is down

In 9b4ca6c, Nextcloud ($SERVER_BASE/nextcloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in d366bc4 after 45 minutes.


text:
🛑 Nextcloud is down

In 575354b, Nextcloud ($SERVER_BASE/nextcloud/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud is back up in c4f6521 after 10 minutes.


text:
🛑 Linus-Wordpress is down

In 8661101, Linus-Wordpress ($SERVER_BASE/wordpress/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Linus-Wordpress is back up in c2dfeca after 1 hour, 8 minutes.


text:
Experimental support for async functions

Proposal: https://github.com/tc39/ecmascript-asyncawait
Advanced to stage 2 on July 30, 2015 https://github.com/tc39/ecma262
Depends on gh-2601

:+1:

#2077 may be of use

I commented on #2601, but this seems like the right place to comment specifically for async/await.
async/await is now finished, merged into the ES2017 specification, and shipping in chrome and ff.
Maybe it's time to dust off #2077 ?

Ok, so now that node 8 is live. Async/Await is officially supported.
Will it be available soon on jsHint ?
Thanks,

I'll just leave this here: http://eslint.org/

I'll just leave this here: https://github.com/eslint/eslint#what-about-experimental-features

You just lost my interest in jshint. Sorry, to slow.

Node.js supports async/await. Every modern browser supports async/await. JSHint does not support it. This topic is 2 years old.
Thank you JSHint. It was good while it lasted.
Switched to ESLint.

Hi team,
The async spec has reached stage 4, when can we expect to see support?

RIP Jshint

That is not a helpful comment. Please submit a patch, rather than being negative.

I was a fan of jshint, but have now decided to move to eslint. The goal of ECMAs new release cycle — and the creation of transpilers — is to allow people to use the lastest-greatest features of JavaScript early. Async/await has been at stage 4 for over a month now (and baked into Node and many mainstream browsers for longer), but jshint has yet to add support.
I used jshint daily, so thank you for creating something that was more flexible than jslint. I now need a more powerful and up-to-date tool with support for the latest ES features as well experimental ones.
All the best.

We have hundred of thousands code lines validated with jshint.  All code uses Promises thoroughly.  6 months ago we decided to intruduce async/await to simplify the server side code (promises causes problems similar to callbacks when functions are not trivial: await will change naturally our code to a more readable/maintainable one).
The problem was, OMG, jshint.  Migrating to eslint is not trivial and we just decided to wait some time to JSHINT.
Thanks for the good job and for saving our code of errors this last 3 years, but we can't wait.

We're hard at work on support for the next minor release. I'll remove the word "experimental" from the issue title to help avoid confusion.

+1 for this!

We're using the newest version of JSHint in @jsfiddle, thanks for the great tool!
We got a few complaints about the linter complaining about async and await.
@jugglinmike since your comment was made 3 months ago, do you think this will get patched anytime soon?

Wich is the current status of async/await support ?

Good luck with the async/await feature, its a must for this awesome plugin

async/await are now supported as of version 2.10.1. Simply update your .jshintrc to use "esversion": 9.
See the CHANGELOG.md.

@nodesocket The esversion: 8 flag is apparently sufficient for async and await (though, as the change log states, there is an esversion: 9 flag).
In any case; thank you to the people that finally made this happen.

@nodesocket's got it right--support for async functions can be enabled in JSHint as o 2.10.0. Closing this issue as resolved.

authors: Grafluxe SeregPie Simobain bterlson caitp carldunham cikasfm colxi ddcovery johansyd jugglinmike lolmaus lukeapage nodesocket oskarkrawczyk patrickdark rDr4g0n tifDev tomaszkunicki

repo: jshint/jshint


text:
[[TEST]] Improve lexer test coverage

This adds two test cases that were uncovered: numbers that appear to be the beginning of identifiers, and multi-line comments between ignore directives.

Coverage increased (+0.08%) to 94.82% when pulling 7760962bad2209e004845bb1a6a2d3eb9d2211c3 on leebyron:testcoverage into 083ca4b58d63dd3d01e2ff72d3ec5070a7f89671 on jshint:master.

It looks like appveyor just timed out for unknown reasons. Doesn't seem related to this at all.

i restarted it, the no build log looked flaky

authors: caitp coveralls leebyron


text:
Support for custom Valves

Hi,
I created a custom Tomcat Valve and configured it in context.xml. I tried putting the Velve implementation class in classpath when launching, but I'm getting java.lang.ClassNotFoundException:
java -cp .jar -jar webapp-runner.jar --context-xml context.xml --port 8888 theWar.war
When the Valve implementation is added into the webapp-runner.jar, everything is working as expected.
Is there a way to specify jar(s) where custom Valves are implemented so they can be used by Tomcat?
Thank you.

Can you try:
java -cp webapp-runner.jar:yourapp.jar webapp.runner.launch.Main --context-xml context.xml --port 8888 theWar.war

Yes, this works! Thank you.

authors: htutman jkutner

repo: jsimone/webapp-runner


text:
Shareable Config

Related to #2 are there any plans to include an extends type property to support shareable configs?

@adam-moss, I'm not exactly sure what you mean by shareable configs. licensee currently loads any .licensee.json for configuration. You can produce that JSON file however you like.

So what I mean here is the
{
    extends: [ "moduleA", "moduleB" ]
}

Type of pattern.  i.e. the project .licensee.json essentially imports its config from one or more other modules, so that a common baseline of whitelisted packages can be shared.
Does that make sense?

@adam-moss, thanks for clarifying.
I'm open to input from others, but I don't expect I'll putt any time on that kind of configuration.
Figuring out how to do that kind of system correctly may be a bigger and harder problem than licensee otherwise tries to solve. And I know from experience that programs with support for that kind of configuration---eslint comes to mind---cause all manner of headaches, in terms of making sure modularized configs are properly installed, reading from disk, etc. It's often a real pain to get them configured, and even when you do, and come back to a project later, it's pretty common for something to have shifted, creating a break.
I would much rather keep licensee as small and focused as possible, and let folks do whatever they want to do to compose the JSON or command line flag arguments for the configuration they want.
{
  "scripts": {
    "prelicense": "node compose-config.js > .licensee.json",
    "license": "licensee"
  }
}

I might change my tune if someone managed to package up the functionality you're describing in a lean and focused package that we could rely on. But even then, I'm loathe to bring anything more in scope than I have to.

authors: adam-moss kemitchell


text:
titleMap with tabs not working and could not able to find example with titleMap with tabs

I am trying to use titleMap with tabs but can not able to do it. it throws js error.
TypeError: Cannot read property 'key' of null
at {{sitename}}/angular-schema-form/dist/schema-form.js:1334:16
I am also not able to find the suitable demo for this over internet.

The error indicates that you have not set a valid form definition, what is your form and schema?
Not sure what you mean by titleMap with tabs, you mean titleMap on a select inside tabs?

repo: json-schema-form/angular-schema-form


text:
feat: add eqJson

I found the eqJson function in the training guide to be quite useful https://github.com/jsonnet-libs/jsonnet-training-course/blob/master/_gen/lesson6.md, so I made this PR to add it to the library.
I wonder if the output can show the diff between the expected and actual rather than just print both object. If I have some time I might try to implement it. In the mean time, this should be useful enough.

I've just made a PR with an attempt to diff two JSON inputs here: https://github.com/jsonnet-libs/xtd/pull/11
We can use that for another expect method.

authors: Duologic zephyros-dev

repo: jsonnet-libs/testonnet


text:
@weakify/@strongify in nested blocks

Hi,
I have been looking through the library documentation in order to find some guidance on how to use @weakify and @strongify in nested blocks, but cannot find any. For example, which is correct?
1. @weakify once and subsequently @strongify in blocks
- (void) test {
      @weakify(self)
      id block = ^{
        @strongify(self);
        [self doSomething];
        nestedBlock = ^{
          @strongify(self);
          [self doSomethingElse];
        }();
      };
      block();
}

2. Alternate @weakify/@strongify
- (void) test {
      @weakify(self)
      id block = ^{
        @strongify(self);
        [self doSomething];
        @weakify(self)         // @weakify again before the nested block?
        nestedBlock = ^{
          @strongify(self);
          [self doSomethingElse];
        }();
      };
      block();
}

Would be great to get some guidance on what is appropriate here.
Many thanks,
J

What about for "parallel" blocks (blocks at the same level of scope)?
[UIView animateWithDuration: kMapButtonsAnimationDuration
delay: 0
options: UIViewAnimationOptionCurveEaseOut
animations:^{
@strongify(self)
[self superMan];
}
completion:^(BOOL finished){
[self completionMan];
}];

http://stackoverflow.com/questions/27019676/is-it-necessary-to-use-unowned-self-in-closures-of-uiview-animatewithduration

@trant, you should write @strongify in completion too.

And don’t need @strongify In animation block.

Also aware access class members directly without specifying self this way: self->xxx

And don’t use super Key work in asynchronous blocks. Wrap calls in separate methods, which will be called by strongified self access.

repo: jspahrsummers/libextobjc


text:
Dense feature learning

Hello, thank you for your excellent work. I use the FeatNet network to learn dense features, but I cannot get a feature map with structural information like the PCA processing in your paper. The network outputs H×W×32-dimensional feature maps, which are processed by PCA into H×W×3 and displayed in RGB. Can you give your suggestions? Thank you again.

Hi, thanks for your interest! As far as I can tell, those feature visualizations look okay. Please remember that these visualizations aren't entirely representative of the learnt features (since we are throwing away a lot of information), and should jut be viewed as a qualitative evaluation.
Thank you

Okay thanks for your suggestions.

authors: jspenmar sdpscnc

repo: jspenmar/DeFeat-Net


text:
[jss] add possibility to change rule selector

required by jss-isolate

Learned: not every browser has implemented a setter for CSSRule#selectorText ... I need to do a feature detection, if this is supported, use it, if not - rerender the entire rule.

For e.g. firefox has an issue about it since 15 years https://bugzilla.mozilla.org/show_bug.cgi?id=37468

done

repo: jsstyles/jss


text:
update to Swift 3

update code to swift 3

Thanks @dimohamdy much appreciated!

authors: dimohamdy jstart

repo: jstart/EHFAuthenticator-Touch-ID


text:
[Fix] prefer-read-only-props: Add TypeScript Support

Fixes #3535
Adds TypeScript support to prefer-read-only-props rule.

@HenryBrown0 Thank you so much for this! You're a legend!

@greypants const is about reassignment; this is about mutation.

authors: HenryBrown0 ljharb mmckenziedev

repo: jsx-eslint/eslint-plugin-react


text:
[Bug] allow components to be async functions

React introduced server components, now async functions can be components.
Closes #3653

@ljharb
I am not familiar with the AST, but we could indeed make a stricter check.
One thing that comes to my mind is checking the return statement of the function, since it should return null or a JSX Element to be valid, but I have no idea how feasible this is.
As you mentioned, async generator functions (async function*) are not valid as React components. This is a clear exclusion criterion.

As long as the proper test cases are in the PR, it's ok if they're failing; I can try to bring it over the finish line.

Note that react components as of v16 can return almost anything - including an array of renderable things - so checking the return statement is no longer a disqualifier.

Note that react components as of v16 can return almost anything - including an array of renderable things - so checking the return statement is no longer a disqualifier.

Okay, I updated the PR to allow only async generators.

Hello @ljharb
I see that 1 check is failing, if I am not mistaken due to a lower code coverage percentage.
I'am not sure what test should be added for this to be honest, but I can try to implement some if you have suggestions

Hello @ljharb Hope you're doing well!
I was wondering when do you think the next release including this changes would be?
Is there ongoing work you're waiting for and where I could help?

@pnodet i don't have a timeline, but I'll try to do it soon.

authors: ljharb pnodet


text:
What about the ESP32/ESP8266

These two chips cost ~3$ in china and can be programmed in arduino.
What do you think of adding ESP32 support (Bluetooth or wifi).

First issue :) 3.3v vs 5v but my cable is ready.

It would be easy to use an ESP32 instead of an Arduino, but I don't see the advantage in this application. Arduinos can be also very cheap in AliExpress.
The purpose of this project is to substitute the original telescope hand controller while maintaining the compatibility with its protocol. Existing software should keep working without modification.
If you need a wireless link you can use a serial-to-bluetooth module like the HC-06, which can be attached to the Arduino.

The esp32 is small and has wifi and bluetooth. Its easy to connect to esp32 via bluetooth. However it is 3.3 volts. The tiny arduino has 5v but does not have wifi  or bluetooth without adding it. So either way you have to do something.  I was able to get the project to run on esp32 wroom or ESP-32S  but you would need that part to convert 3.3v ttl to 5v ttl (74AHCT125).
Personally I would like to see the project converted. It would give you so much more flexibility to for instance build a website to control the mount, then you have your own Gui. or you could connect via Bluetooth and be wireless. for now I am ordering  the mini arduino since all I really need is to control the mount at the moment. that may change later.

authors: gabrielklein genehunter29009 juanmb

repo: juanmb/NexStarAdapter


text:
Generate a minified version of the JS

Hello,
This PR allows to generate both dist/gameboy.js (205.8 kB) and dist/gameboy.min.js (61.2 kB) JavaScript files. :)

Thank you @flozz

authors: flozz juchi


text:
Using Markup input class causes error

Hi @juergenweb, here I am again with a bug report :)
I believe in one of newer than 2.2.3 versions Markup element stopped working:

As I understand it get's called a method as any other input, but it doesn't have that method implemented, so it errors out.
My quick and dirty fix was to make Markup class extend TextElements or Element class and that makes the error go away, as it gets recognised as not an input then.
class Markup extends Element {...
// or
class Markup extends TextElements {...

But an official bugfix would make sure it's properly done.
Have a great day!

Hello @donatasben
Thanks for reporting another issue. I have fixed it now and it will be included in the next update (changelog.md), so I close this issue now.

authors: donatasben juergenweb

repo: juergenweb/FrontendForms


text:
0.5.0-RELEASE

SpringBoot 1.5.X
Other dependency updates

Coverage remained the same at 100.0% when pulling 6dfae748750c9a677f1790cbf839db6090abc881 on 0.5.0-SNAPSHOT into 09cb198c7e78af0a4792da77e97505ddb9dcc719 on master.

Coverage remained the same at 100.0% when pulling 2b87f3fb0b38f6bb01049b2a7be889be17df013d on 0.5.0-SNAPSHOT into 09cb198c7e78af0a4792da77e97505ddb9dcc719 on master.

authors: coveralls julian-eggers

repo: julian-eggers/spring-rabbitmq-actuator


text:
Issue with the TXT files

The txt file of the full conversation (1442610555311722509_conversation_full.txt) from the first twitter zip-file is missing some tweets which are included in the excel file (1442610555311722509_conversation_full.xlsx). E.g. tweets with IDs 1073, 1075 and some others. I don't know if there is the same issue for other txt files.

The problem lies in the way the conversation tree is constructed in Twitter. Responses are defined as "reply to author x". However, if someone posts more then one post, the correct interpretation might be "reply to last post by author x". But that is just an assumption. The twitter api is not clear on that. Basically, there are multiple ways of reconstructing the tree. Currently, I have no solution.

authors: ZlataKikteva juliandehne

repo: juliandehne/delab


text:
Training nodule detector is slow. 16 hours for an epoch

Hi,
I'm running step2_train_nodule_detector.py in Linux machine with TitanX GPU.
It's taking close to 16 hours for completing a single epoch, where as in Readme.MD it's mentioned the total time for 12 epochs is 8 hours. I'm using anaconda2 python environment.
Can you please help me with this ? What am I missing ?

Hi,
Found the issue. This is because of the steps_per_epoch value given in line number 387(fit_generator function). I changed the value from len(train_files) / 1 to len(train_files) / batch_size. Now it's taking approximately an hour for an epoch.
This issue can be closed.


text:
Scanner returns different values from the same barcode

When scanning barcodes, each time it returns a different value.
Plugin mobile_scanner 3.4.1 on flutter_windows_3.10.2-stable
Code:
             MobileScanner(
                fit: BoxFit.fitWidth,
                controller: MobileScannerController(
                  detectionSpeed: DetectionSpeed.noDuplicates,
                  torchEnabled: false,
                ),
                onDetect: (capture) async {
                  if (!_inProcess) {
                    _inProcess = true;
                    final List<Barcode> barcodes = capture.barcodes;
                    if (barcodes.isNotEmpty) {
                      var barcode = barcodes[0];
                      String serial = barcode.rawValue ?? '';
                      print(serial);
                    }
                    _inProcess = false;
                  }
                },
              )

Barcode:

results:
987654321098
981654327098

reading off paper or a screen? I notice sometimes it will return some wrong numbers when reading off a digital screen of some sort, usually while its still kind of farther away. I was thinking it was just noise from the movement of the code into a "good spot".  I found it to be far more accurate off of real printed barcode.

It's happening on both paper and screen
I get couple of different values by scanning  below barcode on a real product:

My device is Galaxy A51 but also tested on another android device and still happening

Maybe this is related to the image quality given to ML Kit. This package seems to give to ml Kit an image of 640/480 as default resolution...

Try setting sessionPreset to AVCaptureSession.Preset.medium and it will be recognized

authors: AliEasy EArminjon gigafunk plkgq


text:
Add exclusive mode to an NPC

Introduces exclusive-mode (opposite functionality, basically), wherein an NPC can be created and is hidden from Players by default. Players will then need to be explicitly included to be seen, vs managing an "all-but-one" exclusion list.
This works in my local testing, though the verbage and naming of things is a bit hard to understand. I tried to keep with the API concepts so as not to break anything.
It seemed wise to make an NPC immutably exclusive since, once you choose to do exclusive, you have to use the opposite calls for checking visibility, but if you wish to make exclusive a mutable concept on an NPC, go for it.

I just looked over the PR an it looks a little bit weird to me. First of all there are now 2 sets which are used instead of one. That makes no sense as your code always checks and writes only against one of the sets. The other is redundant and can be removed - this might require some other changes. I think it might be a good thing if you can specify a predicate which decides wether a player should be included (or excluded based on the mode) instead of letting the user always call one of the methods instead (but it might be stuff we can introduce in another PR). On the other hand this change makes it more difficult for developers to work with npcs, especially if they dont know if a npc is exclusive or not - there should be one shared method which either in- or excludes the player.
Overall a good impression tho.

I believe I may've added the second list mostly to not break API as one list would've involved creating a lot of strangely "inverse" method calls. All for a different idea on how this should work, but mostly just wanted to take a stab at it.
I agree for simplicity it should be one list/calls, but wasn't quite yet willing to rewrite most of the logic to support it. Feel free to close if you'd like to tackle this with a different methodology.

@Cryptite I'm closing this for v2 now. In v3 I added the possibility to define a tracking rule which allows you to define (per npc) which players should get tracked. The api still has the possibility to force track a player, if you only want to track players added by the api.
I hope that resolves this pull request and the general issue you had in v2.

authors: Cryptite derklaro

repo: juliarn/NPC-Lib


text:
bump mima previos version to 2.0.0

I am trying to verify binary compatibility for https://github.com/julien-truffaut/Monocle/issues/794
I don't understand why mima reports lost of changes in monocle.std.nev. As far as I can tell, we haven't changed that file: https://github.com/julien-truffaut/Monocle/compare/v2.0.0...master
here is an example:
[error]  * method vectorToNev()monocle.PPrism in object monocle.std.nev has a different signature in current version, where it is <A:Ljava/lang/Object;>()Lmonocle/PPrism<Lscala/collection/immutable/Vector<TA;>;Lscala/collection/immutable/Vector<TA;>;Lcats/data/NonEmptyVector<TA;>;Lcats/data/NonEmptyVector<TA;>;>; rather than <A:Ljava/lang/Object;>()Lmonocle/PPrism<Lscala/collection/immutable/Vector<TA;>;Lscala/collection/immutable/Vector<TA;>;Lscala/collection/immutable/Vector<TA;>;Lscala/collection/immutable/Vector<TA;>;>;
[error]    filter with: ProblemFilters.exclude[IncompatibleSignatureProblem]("monocle.std.nev.vectorToNev")

I've seen this before. The problem is that Scala 2.13.1 is boxing the value class for some weird reason, while 2.13.0 didn't:
sbt:monocle> ++2.13.0
[info] Setting Scala version to 2.13.0 on 22 projects.
[info] Reapplying settings...
[info] Set current project to monocle (in build file:/home/travis/code/projects/Monocle/)
sbt:monocle> coreJVM/mimaReportBinaryIssues
[info] Updating coreJVM...
[info] Done updating.
[info] Compiling 86 Scala sources to /home/travis/code/projects/Monocle/core/jvm/target/scala-2.13/classes ...
[info] Done compiling.
[success] Total time: 12 s, completed Jan 9, 2020 10:04:27 AM

But:
sbt:monocle> ++2.13.1
[info] Setting Scala version to 2.13.1 on 22 projects.
[info] Reapplying settings...
[info] Set current project to monocle (in build file:/home/travis/code/projects/Monocle/)
sbt:monocle> coreJVM/mimaReportBinaryIssues
[info] Updating coreJVM...
[info] Done updating.
[info] Compiling 86 Scala sources to /home/travis/code/projects/Monocle/core/jvm/target/scala-2.13/classes ...
[info] Done compiling.
[error]  * method pNevToOneAnd()monocle.PIso in object monocle.Monocle has a different signature in current version, where it is <A:Ljava/lang/Object;B:Ljava/lang/Object;>()Lmonocle/PIso<Lcats/data/NonEmptyVector<TA;>;Lcats/data/NonEmptyVector<TB;>;Lcats/data/OneAnd<Lscala/collection/immutable/Vector;TA;>;Lcats/data/OneAnd<Lscala/collection/immutable/Vector;TB;>;>; rather than <A:Ljava/lang/Object;B:Ljava/lang/Object;>()Lmonocle/PIso<Lscala/collection/immutable/Vector<TA;>;Lscala/collection/immutable/Vector<TB;>;Lcats/data/OneAnd<Lscala/collection/immutable/Vector;TA;>;Lcats/data/OneAnd<Lscala/collection/immutable/Vector;TB;>;>;
// Lots more here...

Formatted the error:
[error]  * method pNevToOneAnd()monocle.PIso in object monocle.Monocle has a different signature in current version, where it is

<A: Ljava/lang/Object; B: Ljava/lang/Object;> () Lmonocle/PIso<
  Lcats/data/NonEmptyVector<TA;>;
  Lcats/data/NonEmptyVector<TB;>;
  Lcats/data/OneAnd<Lscala/collection/immutable/Vector; TA;>;
  Lcats/data/OneAnd<Lscala/collection/immutable/Vector; TB;>;
>; rather than

<A: Ljava/lang/Object; B: Ljava/lang/Object;> () Lmonocle/PIso<
  Lscala/collection/immutable/Vector<TA;>;
  Lscala/collection/immutable/Vector<TB;>;
  Lcats/data/OneAnd<Lscala/collection/immutable/Vector; TA;>;
  Lcats/data/OneAnd<Lscala/collection/immutable/Vector; TB;>;
>;

The value was always boxed, that just wasn't reflected in the java signature until https://github.com/scala/scala/pull/8127.
There is an enhancement in MiMa which aspires to spot this so users aren't thrown by it: https://github.com/lightbend/mima/issues/423
Note we recently added this piece of doc to the readme about IncompatibleSignatureProblem: https://github.com/lightbend/mima#incompatiblesignatureproblem.  That's part of the error message in a future release: https://github.com/lightbend/mima/pull/435/files.

Ha, I totally forgot that I had reported this.

authors: dwijnand julien-truffaut travisbrown

repo: julien-truffaut/Monocle


text:
fish: cd - doesn't work after changing directory using ALT-C

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[x] macOS

Shell

[x] fish

Problem / Steps to reproduce
After #2799, under Fish sell, I can no longer switch back to the previous directory using cd - after ALT-Cing to a directory in the first place. It is working fine under Bash, but not under Fish.

fzf --version: 0.33.0 (e03ac31)
fish --version: fish, version 3.5.1

To confirm that it wasn't my environment screwing things up, I did the following:
fish --no-config
source /usr/share/fish/vendor_functions.d/fzf_key_bindings.fish
fzf_key_bindings
fzf-cd-widget
# change to some directory ...
cd -

I can reproduce the problem with fish only, without fzf, like so.
builtin cd /tmp
cd -
# Not going back
pwd

builtin cd -
  # cd: The directory '-' does not exist

Looks like builtin cd of fish does not implement - for going back. If fish maintainers don't have a plan to implement it, I'm not sure what we should do.

May be we could do one of the following:

Allow a user-defined change-directory command that defaults to the current builtin cd.
Set the current directory in a session variable before changing directories, so we have a target to change back to if we want.

What do you think?
Thank you!

Set the current directory in a session variable before changing directories, so we have a target to change back to if we want

With cd -?

According to their doc, it looks like cd - is not going to be a built-in feature of fish.

Fish also ships a wrapper function around the builtin cd that understands cd -

(https://github.com/fish-shell/fish-shell/blob/master/doc_src/cmds/cd.rst#description)
So, I'm just going to remove builtin from fish version of ALT-C. It was added along with the bash/zsh version, but maybe it's not necessary for fish.
https://github.com/junegunn/fzf/commit/54841248e7a26ffe545220df2a444e11c96ec757

authors: junegunn psevdaisthisi

repo: junegunn/fzf


text:
Allow posting anonymous or logged in gists

This is the right spot for https://github.com/jupyter/tmpnb/issues/37 now.
Use @minrk's notebook extension for sharing a gist, a la https://github.com/jupyter/tmpnb/pull/70. The extension needs an update to do anonymous gist posting. Since you can't update an anonymous gist, we'd want to make it at least a little awkward to post an update so we're not filling GitHub up. :wink:

@rgbkrk @parente Can this be closed?

I think we can reasonably say we're not about to do this anytime soon. We can close it and re-open if we re-visit. We've got architectural things to solve with the frontend before we can deploy this safely.

authors: rgbkrk willingc

repo: jupyter/docker-demo-images


text:
Adding license (with new language)

Updating (creating) the appropriate license to reflect correct copyright year and attribution to Jupyter community. (Submitting a subsequent PR)

Fixed by #10.

authors: josephofiowa ryanlovett

repo: jupyterhub/nbrsessionproxy


text:
Switch cell type from the cell menu

Iteration towards https://github.com/jupyterlab/retrolab/issues/259
Update the menus to:

Rename the top-level Run to Cell like in the current classic notebook v6
Add submenu to change the cell type

RetroLab

Notebook v6

TODO: this should not affect the JupyterLab menus:

Reported upstream in https://github.com/jupyterlab/jupyterlab/issues/11754

A temporary workaround would be to add the menu items programmatically in the plugin instead of using the settings system.

Let's merge, and we can investigate how to properly use the settings system as a follow-up (https://github.com/jupyterlab/jupyterlab/issues/11754).

@meeseeksdev please backport to 0.3.x

repo: jupyterlab/retrolab


text:
Fix installing Qt6 6.8.0 on Windows

Qt switched to MSVC 2022
Fixes #250

Thanks, should probably update the arch section of the README.md too. Cheers.

@jurplel

@jurplel Ping - Can we get a release with this PR?
Official Qt 6.8.0 is almost ready for GA
Also note, there's an option for msvc2022 in Qt 6.7.3 too
https://download.qt.io/online/qtsdkrepository/windows_x86/desktop/qt6_673_msvc2022/

Qt 6.8.0 has been officially released now.

Qt 6.8 LTS Released!
Qt 6.8.0 Release Note
What's New in Qt 6.8

Run jurplel/install-qt-action/action@v4
  with:
    dir: C:/install/QT6/
    version: 6.8.0
    host: windows
    target: desktop
    arch: win64_msvc2019_64
    install-deps: true
    modules: qtwebengine
    cache: false
    cache-key-prefix: install-qt-action
    add-tools-to-path: true
    set-env: true
    no-qt-binaries: false
    tools-only: false
    aqtversion: ==3.1.*
    py7zrversion: ==0.20.*
    source: false
    documentation: false
    examples: false

WARNING : Specified Qt version "6.8.0" did not exist when this version of aqtinstall was released. This may not install properly, but we will try our best.
Qt 6.8.0 seems to be not detected.
https://github.com/nelson-lang/nelson/actions/runs/11260113018/job/31310597174
Qt 6.8.0 was released

    arch: win64_msvc2019_64

@Nelson-numerical-software arch should be win64_msvc2022_64 for Qt 6.8.

    arch: win64_msvc2019_64

@Nelson-numerical-software arch should be win64_msvc2022_64 for Qt 6.8.

Thanks but with win64_msvc2022_64 same trouble:
https://github.com/nelson-lang/nelson/actions/runs/11260751912/job/31312668886

Thanks but with win64_msvc2022_64 same trouble: https://github.com/nelson-lang/nelson/actions/runs/11260751912/job/31312668886

That helped a little; if you notice the error about packages not found, qt_base was resolved on your newer run. Unfortunately the qtwebengine issue is an upstream problem with aqtinstall I believe.

Seems like the owner of this repo has abandoned it.

Thanks but with win64_msvc2022_64 same trouble: https://github.com/nelson-lang/nelson/actions/runs/11260751912/job/31312668886

That helped a little; if you notice the error about packages not found, qt_base was resolved on your newer run. Unfortunately the qtwebengine issue is an upstream problem with aqtinstall I believe.

Confirmed with webengine QT6.8 installed  (Thanks for your help)

webengine related issue from upstream aqt -> https://github.com/miurahr/aqtinstall/issues/833

arm64 is borked

arm64 is borked

There is indeed an issue trying to cross-compile ARM64 from an X64 host but it's not install-qt-action's fault. I submitted a PR upstream to aqtinstall.
And I can use my forked repo via install-qt-action's aqtsource parameter so I got an ARM64 project building with just these changes. Note that I had to create a tag w/ a fake version (anything >= 3.0.0) in order to make install-qt-action add the --autodesktop parameter like it's supposed to.
As for compiling from a Windows ARM64 host, no idea, but that's not really a thing yet with GitHub's runners.

lease, everyone. This PR is about fix installing Qt6 6.8.0 on Windows using install-qt-action.
It fixes the issue mentioned in the first post.
Please don't discuss unrelated things here.
If you have an issue discuss elsewhere.
Thanks.

Thank you for the contribution and sorry for the delay.

authors: Edgars-Cirulis MehdiChinoune Nelson-numerical-software jdpurcell jurplel pcolby xavier2k6

repo: jurplel/install-qt-action


text:
chore: disable mixpanel SDK

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

Motivation and Context

How did you test it?

Checklist

[x] I ran npm run re:build
[x] I reviewed submitted code
[ ] I added unit tests for my changes where possible

Already merged with some other branch.

repo: juspay/hyperswitch-control-center


text:
[REFACTOR] : [Nuvei] Error Message For Connector Implementation

:memo: Feature Description

In terms of errors, we are currently throwing a 'not supported' message, which shouldn't be the case as we are yet to decide on the implementation.

:hammer: Possible Implementation

In order to manage payment methods that are not implemented by Hyperswitch or yet to be implemented, the connector transformers file should make use of the NotImplemented ConnectorError enum variant.
By doing so, we will throw same error message for all the Connector Implementation
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2831

:bookmark: Note: All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

@swangi-kumari I would like to work on this issue, can you please assign it to me.
I understand this issue as, we have to change the error message from Not supported to Not implemented

Sure @HeetVekariya ,
I have assigned this you.  Let us know If you need any help.

@swangi-kumari I have made the PR, can you please review it.

Sure @HeetVekariya

authors: HeetVekariya swangi-kumari

repo: juspay/hyperswitch