TypeError: Cannot read property 'forEach' of undefined

Another error
/Users/username/dev/appname/node_modules/uglify-js/tools/node.js:76         files.forEach(function(file){              ^ TypeError: Cannot read property 'forEach' of undefined     at Object.exports.minify (/Users/username/dev/appname/node_modules/uglify-js/tools/node.js:76:14)     at compress (/Users/username/dev/appname/hooks/after_prepare/ionic-minify.js:63:29)     at /Users/username/dev/appname/hooks/after_prepare/ionic-minify.js:119:11     at FSReqWrap.oncomplete (fs.js:95:15) Error: Hook failed with error code 1: /Users/username/dev/appname/hooks/after_prepare/ionic-minify.js     at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/hooks/HooksRunner.js:195:23     at _rejected (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:797:24)     at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:823:30     at Promise.when (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:1035:31)     at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:741:41)     at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:557:44     at flush (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:108:17)     at process._tickCallback (node.js:355:11)

Let me check that one, seems to be a problem while collectin the filenames.

Could you please give me the details of your environment? SO, node -v

Prosenjits-Mac-mini:~ prosenjitmanna$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.10.1
BuildVersion:	14B25
Prosenjits-Mac-mini:~ prosenjitmanna$
Prosenjits-Mac-mini:~ prosenjitmanna$ node -v
v0.12.5
Prosenjits-Mac-mini:~ prosenjitmanna$

Mmm... tested this and not getting any error. Got other information that could be useful to address this issue?

I have the same problem.
Starting minifying your files...
Minifying JS file: app.js
/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:57
        files.forEach(function(file, i){
             ^

TypeError: Cannot read property 'forEach' of undefined
    at Object.exports.minify (/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:57:14)
    at compress (/Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:63:29)
    at /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:119:11
    at FSReqWrap.oncomplete (fs.js:82:15)
Error: Hook failed with error code 1: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js

Could you please share details of your environment?
Just Node version and OS, please.
I'll take a look to this at night.

Luis Rogelio Hernández López
<EMAIL_ADDRESS><EMAIL_ADDRESS>[cid:cm_1447015910087_3] [cid:cm_1447015911011_2] [http://mx.linkedin.com/in/kurtz1993] [cid:cm_1447015911683_1] [https://github.com/Kurtz1993]
Sent using CloudMagic Email
[https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.0.45&pv=5.1.1&source=email_footer_2] On Wed, Nov 11, 2015 at 11:29 am, Michael Amaral <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
I have the same problem.
Starting minifying your files...
Minifying JS file: app.js
/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:57
files.forEach(function(file, i){
^
TypeError: Cannot read property 'forEach' of undefined
at Object.exports.minify (/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:57:14)
at compress (/Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:63:29)
at /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:119:11
at FSReqWrap.oncomplete (fs.js:82:15)
Error: Hook failed with error code 1: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js
—
Reply to this email directly or view it on GitHub
[https://github.com/Kurtz1993/ionic-minify/issues/9#issuecomment-155854767] .[https://github.com/notifications/beacon/AFKWdp_br0ETDFzbw2S_TBWf2-vLU_XBks5pE3KBgaJpZM4GZsxZ.gif]

+1. Running node 0.12.7

OS X El Capitan, Node 5.0.0

Is everyone using OS X El Capitan?
I've tested ionic-minify on OS X Yosemite and worked fine with the following specs.
OS: OS X Yosemite
Node: 0.12.7
NPM: 2.11.3

Also tested with Node 5.0.0 and still no problems. I will upload an update on ionic-minify@next for you to test. I only removed some unnecessary dependencies and update UglifyJS dependency.
If you could test this and give me your feedback, it'd be awesome.
Thanks.

Well, removed all my npm packages, reinstalled them all with your update, and got the error again. Here:
Michaels-iMac:paper_finances michael$ chmod -R 755 hooks
Michaels-iMac:paper_finances michael$ ionic build android --release
Running command: /Users/michael/dev/paper_finances/hooks/after_prepare/010_add_platform_class.js /Users/michael/dev/paper_finances
add to body class: platform-android
Running command: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js /Users/michael/dev/paper_finances
Starting minifying your files...
Minifying JS file: app.js
/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76
        files.forEach(function(file){
             ^

TypeError: Cannot read property 'forEach' of undefined
    at Object.exports.minify (/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76:14)
    at compress (/Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:63:29)
    at /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:119:11
    at FSReqWrap.oncomplete (fs.js:82:15)
Error: Hook failed with error code 1: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js

@ammichael can you show me the contents of your minify-conf.json file, please?

Yeap. Here:
{
    "foldersToProcess": [
        "js",
        "css",
        "lib",
        "img"
    ],
    "jpgOptions":{
      "quality": 50
    },
    "jsOptions": {
        "compress": {
            "drop_console": true
        },
        "fromString": true
    },
    "cssOptions": {
        "keepSpecialComments": 0
    },
    "alwaysRun": false
}

I will try to refactor the way the files are being minified. I'm not getting what's causing the error yet :confused:
Does a previous version of ionic-minify work for you?

Actually, this was my first time trying to use it. I want to release my app securely, but cant minify ;/

fwiw I am on El Capitan.

Btw, this may be useful. If I remove JS folder in minify-conf.json, it gives the same error but in another point. It does minify a lot of JS files.
Sorry, it's a big log, but since I dont know what could be useful for you, I will include all of it. Here it is:
Running command: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js /Users/michael/dev/paper_finances
Starting minifying your files...
Minifying CSS file: animate.css
Minifying CSS file: style.css
 file found, not minifying...
Compressing PNG image: Finances-Logo.png
Compressing JPG image: background.jpg
 file found, not minifying...
Minifying JS file: angular-ios9-uiwebview.patch.js
.json file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-animate.js
.min.js file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-input-masks-debug.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks-dependencies.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks-standalone.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.br.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.us.js
.min.js file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
Minifying CSS file: angular-csp.css
Minifying JS file: angular-locale_pt-br.js
Minifying JS file: angular.js
.min.js file found, not minifying...
.min.gzip file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
Minifying JS file: index.js
.json file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
.md file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-sanitize.js
.min.js file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: gulpfile.js
 file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.yml file found, not minifying...
 file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
Minifying JS file: bowser.js
.min.js file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: index.js
.json file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: firebase-debug.js
Minifying JS file: firebase.js
 file found, not minifying...
.json file found, not minifying...
.txt file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.md file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
Minifying JS file: package.js
 file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.json file found, not minifying...
 file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: gulpfile.js
Minifying JS file: common.js
Minifying JS file: resolve.js
Minifying JS file: state.js
Minifying JS file: stateDirectives.js
Minifying JS file: stateFilters.js
Minifying JS file: templateFactory.js
Minifying JS file: urlMatcherFactory.js
Minifying JS file: urlRouter.js
Minifying JS file: view.js
Minifying JS file: viewDirective.js
Minifying JS file: viewScroll.js
.ts file found, not minifying...
Minifying JS file: angular-ui-router.js
.min.js file found, not minifying...
Finished compressing PNG image:  Finances-Logo.png
Minifying JS file: br-validations.js
Minifying JS file: build.js
.min.js file found, not minifying...
Minifying JS file: bowser.js
Minifying JS file: copyright.js
Minifying JS file: useragents.js
Minifying JS file: test.js
Minifying JS file: angularfire.js
.min.js file found, not minifying...
Minifying JS file: jquery.js
.min.js file found, not minifying...
.min.map file found, not minifying...
 file found, not minifying...
Minifying JS file: ajax.js
Minifying JS file: attributes.js
Minifying JS file: callbacks.js
Minifying JS file: core.js
Minifying JS file: css.js
Minifying JS file: data.js
Minifying JS file: deferred.js
Minifying JS file: deprecated.js
Minifying JS file: dimensions.js
Minifying JS file: effects.js
Minifying JS file: event.js
Minifying JS file: intro.js
/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76
        files.forEach(function(file){
             ^

TypeError: Cannot read property 'forEach' of undefined
    at Object.exports.minify (/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76:14)
    at compress (/Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:63:29)
    at /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:119:11
    at FSReqWrap.oncomplete (fs.js:82:15)
Error: Hook failed with error code 1: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js

Could you please remove lib folder from minify.conf.json and put the js folder
back again and share me your log?
Maybe it has some problems with certain parts of the code or libs.

Luis Rogelio Hernández López
<EMAIL_ADDRESS><EMAIL_ADDRESS>[cid:cm_1447015910087_3] [cid:cm_1447015911011_2] [http://mx.linkedin.com/in/kurtz1993] [cid:cm_1447015911683_1] [https://github.com/Kurtz1993]
Sent using CloudMagic Email
[https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.0.55&pv=5.1.1&source=email_footer_2] On Wed, Nov 18, 2015 at 2:52 pm, Michael Amaral <<EMAIL_ADDRESS><EMAIL_ADDRESS>> wrote:
Btw, this may be useful. If I remove JS folder in minify-conf.json, it gives the
same error but in another point. It does minify a lot of JS files.
Sorry, it's a big log, but since I dont know what could be useful for you, I
will include all of it. Here it is:
Running command: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js /Users/michael/dev/paper_finances
Starting minifying your files...
Minifying CSS file: animate.css
Minifying CSS file: style.css
file found, not minifying...
Compressing PNG image: Finances-Logo.png
Compressing JPG image: background.jpg
file found, not minifying...
Minifying JS file: angular-ios9-uiwebview.patch.js
.json file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-animate.js
.min.js file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-input-masks-debug.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks-dependencies.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks-standalone.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.br.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.js
.min.js file found, not minifying...
Minifying JS file: angular-input-masks.us.js
.min.js file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
Minifying CSS file: angular-csp.css
Minifying JS file: angular-locale_pt-br.js
Minifying JS file: angular.js
.min.js file found, not minifying...
.min.gzip file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
Minifying JS file: index.js
.json file found, not minifying...
file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
.md file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
Minifying JS file: angular-sanitize.js
.min.js file found, not minifying...
.min.map file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: gulpfile.js
file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.yml file found, not minifying...
file found, not minifying...
file found, not minifying...
.md file found, not minifying...
Minifying JS file: bowser.js
.min.js file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: index.js
.json file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: firebase-debug.js
Minifying JS file: firebase.js
file found, not minifying...
.json file found, not minifying...
.txt file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.md file found, not minifying...
file found, not minifying...
.json file found, not minifying...
Minifying JS file: package.js
file found, not minifying...
file found, not minifying...
.json file found, not minifying...
.md file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.json file found, not minifying...
file found, not minifying...
.md file found, not minifying...
.json file found, not minifying...
Minifying JS file: gulpfile.js
Minifying JS file: common.js
Minifying JS file: resolve.js
Minifying JS file: state.js
Minifying JS file: stateDirectives.js
Minifying JS file: stateFilters.js
Minifying JS file: templateFactory.js
Minifying JS file: urlMatcherFactory.js
Minifying JS file: urlRouter.js
Minifying JS file: view.js
Minifying JS file: viewDirective.js
Minifying JS file: viewScroll.js
.ts file found, not minifying...
Minifying JS file: angular-ui-router.js
.min.js file found, not minifying...
Finished compressing PNG image:  Finances-Logo.png
Minifying JS file: br-validations.js
Minifying JS file: build.js
.min.js file found, not minifying...
Minifying JS file: bowser.js
Minifying JS file: copyright.js
Minifying JS file: useragents.js
Minifying JS file: test.js
Minifying JS file: angularfire.js
.min.js file found, not minifying...
Minifying JS file: jquery.js
.min.js file found, not minifying...
.min.map file found, not minifying...
file found, not minifying...
Minifying JS file: ajax.js
Minifying JS file: attributes.js
Minifying JS file: callbacks.js
Minifying JS file: core.js
Minifying JS file: css.js
Minifying JS file: data.js
Minifying JS file: deferred.js
Minifying JS file: deprecated.js
Minifying JS file: dimensions.js
Minifying JS file: effects.js
Minifying JS file: event.js
Minifying JS file: intro.js
/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76
files.forEach(function(file){
^
TypeError: Cannot read property 'forEach' of undefined
at Object.exports.minify (/Users/michael/dev/paper_finances/node_modules/uglify-js/tools/node.js:76:14)
at compress (/Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:63:29)
at /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js:119:11
at FSReqWrap.oncomplete (fs.js:82:15)
Error: Hook failed with error code 1: /Users/michael/dev/paper_finances/hooks/after_prepare/ionic-minify.js
—
Reply to this email directly or view it on GitHub
[https://github.com/Kurtz1993/ionic-minify/issues/9#issuecomment-157860010] .[https://github.com/notifications/beacon/AFKWdry3efILgWJf63i2cs7q3JMCazqkks5pHNyFgaJpZM4GZsxZ.gif]

I pushed another update to the ionic-minify@next to deal with those errors.
The hook won't touch those files that got errors while trying to minify/compress and show you in console which ones failed.
I'm making this change because the only way I found to reproduce the error was trying to minify an invalid javascript/css file.


Hide/Show a NonTiledLayer can break buffering animation

Reproduced on example4 with current code 9af67211d0befceb9e6a49d04ed57ffe5f0999af.
If you add a Control.Layers to this example :
L.control.layers({}, {'test': testTimeLayer}).addTo(map);

Scenario :

Set FPS to ~4,
start animation,
deselect the test layer,
wait 5 steps,
reselect.

:exclamation: Buffer is stuck Waiting until buffer is loaded. 0 of 5 loaded
Manually stepping forward will release the buffer.

_evictCachedTimes was being called with wrong arguments order, so cache management was deleting the buffer.
Now it works for me.

Thanks, sorry I swap backward/forward on this one ;-)

Works for me. Could you release a new version with this correction please .

Done! :-)


add a xml and svg readData

methods exist for a lot of other common types, but not this

sounds like an easy win

splitting read.svg into #241, so renaming this one for just xml


Add a global config option to enable/disable colors in console

We should allow people to disable console colors with one setting. Right now, both the clear text reporter and the log4js logger log with colors. Build servers generally don't support colors.
We should add a global config option allowColors or allowConsoleColors. If that is false, we should not use colors.
I think we should also disable the clear text specific setting for this, or i would like to hear a good use case where colors are desired in the clear text reporter, but not in the log4js output.

use case where colors are desired in the clear text reporter, but not in the log4js output

Sometimes I've found it useful to log a readable format with colors to the console for development, then
a more advanced but non-colored form to a file on disk... but agreed that it definitely doesn't sound like a high priority issue.

then a more advanced but non-colored form to a file on disk

Would you ever want colors to be written to file? I would suggest to never do that, no text editor supports it, right? Right now, the log4js format chosen for file and console is different precisely to not write color codes to files.


npm WARN deprecated<EMAIL_ADDRESS>

npm WARN deprecated<EMAIL_ADDRESS>Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue

Not related to our repo directly.
minimatch is used in many deps we install like glob and babel-core and node-gyp


HTTP 500 on submission.post(flair_id, flair_text) if user is a moderator of said subreddit

HTTP 500 on submission.post(flair_id, flair_text) if user is a moderator of said subreddit
Posting a submission on a subreddit you moderate on with flair_id and flair_text specifies leads to a HTTP 500 error. Using a SubmissionModeration object avoids the error, but is annoying nonetheless and the error message is non-descriptive.
External Report
Traceback
Traceback (most recent call last):
  File "/var/lib/discussion_thread/discussion_service.py", line 28, in <module>
    main()
  File "/var/lib/discussion_thread/discussion_service.py", line 23, in main
    thread.check()
  File "/var/lib/discussion_thread/discussion_thread.py", line 57, in check
    self.schedule.run_pending()
  File "/usr/local/lib/python3.6/dist-packages/schedule/__init__.py", line 78, in run_pending
    self._run_job(job)
  File "/usr/local/lib/python3.6/dist-packages/schedule/__init__.py", line 131, in _run_job
    ret = job.run()
  File "/usr/local/lib/python3.6/dist-packages/schedule/__init__.py", line 411, in run
    ret = self.job_func()
  File "/var/lib/discussion_thread/discussion_thread.py", line 85, in post
    send_replies=False
  File "/usr/local/lib/python3.6/dist-packages/praw/models/reddit/subreddit.py", line 502, in submit
    return self._reddit.post(API_PATH['submit'], data=data)
  File "/usr/local/lib/python3.6/dist-packages/praw/reddit.py", line 431, in post
    params=params)
  File "/usr/local/lib/python3.6/dist-packages/praw/reddit.py", line 472, in request
    params=params)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 179, in request
    params=params, url=url)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 122, in _request_with_retries
    retries, saved_exception, url)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 88, in _do_retry
    params=params, url=url, retries=retries - 1)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 122, in _request_with_retries
    retries, saved_exception, url)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 88, in _do_retry
    params=params, url=url, retries=retries - 1)
  File "/usr/local/lib/python3.6/dist-packages/prawcore/sessions.py", line 124, in _request_with_retries
    raise self.STATUS_EXCEPTIONS[response.status_code](response)
prawcore.exceptions.ServerError: received 500 HTTP response

System Information
PRAW Version: 5.2.0
Python Version: 3.6.3
Operating System: Linux

Both Reddit's API docs and PRAW's docs are confusing about how to use these parameters, and perhaps the PRAW docs could use clarification.
The parameter flair_id doesn't represent the flair's CSS class as you might (and I did) assume it does. Instead, it represents the UUID of the flair template you wish to use (which must be set up by the moderators of the sub).
You can find this UUID by iterating over the flair templates of a subreddit like so:
for f in reddit.subreddit('mysub').flair.link_templates:
    print(f)

This will print a series of dictionaries:
{'text': 'Default text 1', 'text_editable': True, 'id': '9f03b47a-da38-11e7-9d0e-0ef4a05fba1c', 'css_class': 'cssclass1'}
{'text': 'Default text 2', 'text_editable': False, 'id': '07c025d8-da3f-11e7-867f-0ede15afec56', 'css_class': 'cssclass2'}

Then, when you submit your post, you must use one of these UUIDs as the parameter flair_id (and you may use a string as flair_text if the subreddit permits that), like so:
reddit.subreddit('mysub').submit('My Title',
                 selftext='This is the body.',
                 flair_id='9f03b47a-da38-11e7-9d0e-0ef4a05fba1c',
                 flair_text='Click on my post!')

@jarhill0 even if @goldenercobra was using the method incorrectly, under no circumstances should reddit return a 500 error (worst case a 400/403/404) and whatever parameters s/he had should be used to make a post to /r/bugs

@13steinj Well, it's reproducible if you want to file a bug (I reproduced it myself when I was trying to figure out what was going on).
Passing an arbitrary but invalid string to /api/submit as the flair_id parameter results in a 500 response from Reddit:
In [2]: subreddit.submit('Title', selftext='', flair_id='literally anything')
---------------------------------------------------------------------------
ServerError                               Traceback (most recent call last)
<ipython-input-2-4dca00d6eb6b> in <module>()
----> 1 subreddit.submit('Title', selftext='', flair_id='literally anything')

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/praw/models/reddit/subreddit.py in submit(self, title, selftext, url, flair_id, flair_text, resubmit, send_replies)
    500         else:
    501             data.update(kind='link', url=url)
--> 502         return self._reddit.post(API_PATH['submit'], data=data)
    503
    504     def subscribe(self, other_subreddits=None):

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/praw/reddit.py in post(self, path, data, files, params)
    429         """
    430         data = self.request('POST', path, data=data or {}, files=files,
--> 431                             params=params)
    432         return self._objector.objectify(data)
    433

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/praw/reddit.py in request(self, method, path, params, data, files)
    470         """
    471         return self._core.request(method, path, data=data, files=files,
--> 472                                   params=params)
    473
    474     def submission(  # pylint: disable=invalid-name,redefined-builtin

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in request(self, method, path, data, files, json, params)
    177         return self._request_with_retries(
    178             data=data, files=files, json=json, method=method,
--> 179             params=params, url=url)
    180
    181

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in _request_with_retries(self, data, files, json, method, params, url, retries)
    120                             response.status_code in self.RETRY_STATUSES):
    121             return self._do_retry(data, files, json, method, params, response,
--> 122                                   retries, saved_exception, url)
    123         elif response.status_code in self.STATUS_EXCEPTIONS:
    124             raise self.STATUS_EXCEPTIONS[response.status_code](response)

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in _do_retry(self, data, files, json, method, params, response, retries, saved_exception, url)
     86         return self._request_with_retries(
     87             data=data, files=files, json=json, method=method,
---> 88             params=params, url=url, retries=retries - 1)
     89
     90     def _make_request(self, data, files, json, method, params, retries, url):

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in _request_with_retries(self, data, files, json, method, params, url, retries)
    120                             response.status_code in self.RETRY_STATUSES):
    121             return self._do_retry(data, files, json, method, params, response,
--> 122                                   retries, saved_exception, url)
    123         elif response.status_code in self.STATUS_EXCEPTIONS:
    124             raise self.STATUS_EXCEPTIONS[response.status_code](response)

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in _do_retry(self, data, files, json, method, params, response, retries, saved_exception, url)
     86         return self._request_with_retries(
     87             data=data, files=files, json=json, method=method,
---> 88             params=params, url=url, retries=retries - 1)
     89
     90     def _make_request(self, data, files, json, method, params, retries, url):

/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/prawcore/sessions.py in _request_with_retries(self, data, files, json, method, params, url, retries)
    122                                   retries, saved_exception, url)
    123         elif response.status_code in self.STATUS_EXCEPTIONS:
--> 124             raise self.STATUS_EXCEPTIONS[response.status_code](response)
    125         elif response.status_code == codes['no_content']:
    126             return

ServerError: received 500 HTTP response

Using my debugger, PRAW is posting the following data and gets the following response:
# data
[('api_type', 'json'), ('flair_id', 'literally anything'), ('kind', 'self'), ('resubmit', True), ('sendreplies', True), ('sr', 'ttft'), ('text', ''), ('title', 'Title')]

# response
{"message": "Internal Server Error", "error": 500}

I think PRAW's documentation certainly could be improved to help clarify. I also agree that Reddit should not return a 500 error, and doing so indicates it's a bug on their end. Ideally an error response would be returned with InvalidFlairTemplate or something to that extent. However, short of that happening there really isn't anything we should do on PRAW's end and thus I'm going to close this issue.
Perhaps someone can document that as of now a ServerError is raised when an invalid flair template_id is used.


Workflow creation should properly deal with timeout error

Workflow creation should properly deal with timeout error.
Currently, when creation of mutable state timeouts (which can still mean the workflow creation is a success), the first batch of events (maybe along with branch token record) will be deleted. This will cause series issue both on client side as we as cross DC.

#1742


ktouch: fix build failure due to dependecy missing

fixes #56097
Motivation for this change
ktouch failed to build on unstable due to a missing dependency
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@vcunat When I first packaged ktouch I did that for unstable, and back then it actually did build. But whatever, this here should fix it.

@GrahamcOfBorg build ktouch

I can confirm it now builds on both our linux platforms.  I suppose there was some significant change on master between the PR being filed and merged.
Does it run for you?  For me it exits with

can't find resource: "schemata/data.xsd"

but I do know some KDE won't run for me due to not having Plasma installed system-wide.  In any case, this PR seems a strict improvement.

Does it run for you? For me it exits with

can't find resource: "schemata/data.xsd"

KTouch is one of the Qt applications heavily suffering from environment impurities. It needs to be installed into your user/ system environment, e.g. using nix-env. nix-shell alone does not suffice.
I verified that this KTouch build runs correctly when installed using nix-env


Problem with cascading autoselection in MudSelects

Bug type
Component
Component name
MudSelect
What happened?
In step 3, S2 remains selected, althought S1 should be displayed.
Expected behavior
each time H1 is selected, since H1 only has one Site, this site, S1, is autoselected.
and each time H2 is selected, since H2 only has one Site, this site, S2, is autoselected.
Reproduction link
https://try.mudblazor.com/snippet/QYQFPaYFzGqiXTQi
Reproduction steps
1.Select H1
2.Select H2
3.reselect H1
Relevant log output
No response
Version (bug)
5.0.6
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I can confirm the issue on MudBlazor 5.1.5, other browsers and another sample. My guess is that it has something to do with changing the list of a MudSelect. After changing the list several times (usually 2-3 times) MudSelect shows the wrong behaviour.
Reproduction link
https://try.mudblazor.com/snippet/QaGPvkunQrkbhFrC
Reproduction steps

Click "Shuffle" and select a pizza item
Do that several times. Usually I need to re-shuffle 2 or 3 times,

What happens
Details about the wrong behaviour:

MudSelect won't remove an invalid selection (invalid because the previously selected item is not part of the list afterre-shuffling).
It also won't show some manually selected entries. Trying to select other items MudSelect shows inconsistent behaviour. Some items won't be displayed, others do. This wrong behaviour is limited to the first n entries (with n being between 1-3 or -4; hard to say and it changes every time you re-shuffle).
The data binding proves that MudSelect is aware of the correct selection but it does not display it in the field. However, if a selection becomes invalid after changing the list, MudSelect does not recognize that!
Once you observed wrong behaviour it won't go away anymore.

Note: The behaviour is a little erratic. I tried to identify a pattern be repeating it dozens of times but I did not succeed.
Expected Behaviour

When the list changes and a selected item does not exist in the new list, the selection should be removed.
Selected entries should be displayed. The value given by the data binding and the displayed value shall represent an identical selection.

Workaround
Clear the list and the selected entry (use the "Clear" button in the sample). Then MudSelect will display any selected entry. However, clearing and instantly re-populating the list does not work.
Environment
Browser: Firefox 93.0 (64-Bit); Edge Version 94.0.992.47 (Offizielles Build) (64-Bit)
Windows
Code of Conduct

[x] I agree to follow this project's Code of Conduct

Could you say the problem still occurs?

I tried it in the fiddle I posted above. I seems to work well. Thank you for this.
I also have a question. From my point of view, a value binding should be updated, too. The user changes the context of the app. In the sample, a user might want only vegetarian pizzas. The page updates the list accordingly.
Of course, we can expect the app to take care of it and check if the bound value and the list items still match. But I could not think of a case in which I wanted to keep a bound value when it has become invalid after the content of it's source had changed.
What do you think?

I tried it in the fiddle I posted above. I seems to work well. Thank you for this.
I also have a question. From my point of view, a value binding should be updated, too. The user changes the context of the app. In the sample, a user might want only vegetarian pizzas. The page updates the list accordingly.
Of course, we can expect the app to take care of it and check if the bound value and the list items still match. But I could not think of a case in which I wanted to keep a bound value when it has become invalid after the content of it's source had changed.
What do you think?

We planned changes about MudSelect in near future, with this PR we can discuss it again.


Clarify uniqueness constraints of httproutehost.hostname field

What would you like to be added:
This issue is to try and define what, if any, uniqueness constraints should be defined for the httproutehost.hostname field.
The conversation started in service-apis/pull/43/files#r367088840 and seems orthogonal to the question about whether the hostname field should be plural.
Why is this needed:
The decision one way or another will have a potentially significant impact on implementors depending on the necessarily complexity associated with whatever constraints are required by the API.

/remove-lifecycle stale

/remove-lifecycle rotten
This probably still needs some explanatory text.

/remove-lifecycle stale

There seems to be consensus that hostname field is not going to be unique.
There are conflicts possible at the Gateway listeners level and guidance for that has been added already.
Closing this but please re-open if needed.
/close


Fix podman stop --all attempting to stop created ctrs

Fixes #2993
Ignore container state errors when trying to stop all containers. Probably more efficient than trying to filter based on state (less DB lookups, less potential for races)

Hold merge until after lunch, I want to add a test to make sure we don't regress on this

Added some tests, and changed existing stop tests to verify results.

LGTM but tests are not happy.

LGTM assuming happy tests.

Tests are green aside from our known SELinux failures

Needs a rebase to get the SELinux fixes.

Rebased

/lgtm


Terraform modules snowflake-XXX-grant-all should not have OWNERSHIP privileges

All the terraform modules have in their privileges list the OWNERSHIP role, for example on the snowflake-warehouse-grant-all module :
"privileges": [
"MODIFY",
"MONITOR",
"OPERATE",
"OWNERSHIP",
"USAGE"
]
This is incorrect, because the actual result of the Snowflake command GRANT ALL ON WAREHOUSE  TO ROLE  will give the following privileges : MODIFY, MONITOR, OPERATE and USAGE.

What version of the provider are you using? We have gotten rid of the ALL grant because it was too difficult to maintain.

https://github.com/chanzuckerberg/terraform-provider-snowflake/discussions/318

@alldoami I've opened an issue on the cztack repository, as the bug is not on the terraform provider. I am closing this one.


Added Binary Search

#6

Should i change the file name or the folder name?

Hey! Just merged, I didn't get notified about your changes! Sorry!!


Setting an enumflag with no default vaue

Hi,
I wish to use this package for enum value verification for enum typed flags, however I do not wish for these flags to have a default value so that  if the user won't enter a required flag it will throw him an error.
Currently I couldn't figure out a way to do this since it seems that it is necessary to use Var/VarP which cause it to always have a default value.
Is there some way to make this work that I missed out on?
Thanks in advance!

Do you have a concrete example of such a flag? So far, there is no implicit unset value, much in the same way as there is no unset bool or unset int, and so on. The README.md has an example of how to set the default value and I would expect that an explicit "none" default value could do the job?
Otherwise, nullable enums will need some major refactoring and break everything, so something for v2 maybe; or maybe a separate new nullable enum flag.

For example in the following screenshot "directory_service_type" is an enumflag, and I tried setting its default value to "none" as you suggested. It is also a required flag but I did not include it in the command line input, therefore I would wish to see it included in the "required flags ..." error message

Thank you very much for the example, that illustrates it for me very nicely!
This looks like the issue is two-fold:

mandatory flags: not covered by spf13/pflag itself, but only by spf13/cobra, see also issue 502.
the problem of a suppressed default "none" enum value.

I need to drill down further into 2, as I'm unsure to what extent there is support for suppressed default values.

In the process of implementing this feature I will introduce a change that will be in hopefully almost all use cases of scalar enum flags transparent: the next minor release of enumflag will leverage Go generics to provide compile-time type safety. This will require Go 1.18 or later, but please note that we now have 2 Go minor versions with generics support (and I don't support no more than the two most recent minor Go versions anyway).

Thank you very much for looking into this!
If I understood your last comment correctly you anticipate this issue to be fixed with the next release?

Correct; but it will be part of migrating the underlying implementation to Go generics. This ensures compile-time type safety checks and reduces the code basis.

Awesome thank you! Looking forward to it!
Do you by chance have a rough estimate when it might come out?

I've already made excellent progress in refactoring (to be found in the no-default-value-3 branch) to a generics-based implementation. The slice-based unit tests now need to be carried over and the documentation updated, before finishing with the no-default handling. But I'm satisfied with the generics refactoring, as this really allowed me to drop several chunks of reflect-based runtime panicking ("Gotcha!"), so that the compiler now gets you before run.
As there are several downstream projects using enumflag this will become v2 instead of breaking v0.

crackle the Eagle has landed crackle
Please use the semver v2 import path github.com/thediveo/enumflag/v2 and check the documentation, the no default value example in particular.


the rule ‘function-paren-newline’ is not effect？

on my project have a file that name is  .prettier;
i write the content:
{
  "singleQuote": true,
  "rules": {
    "function-paren-newline": "off"
  }
}

but, the param code have a new line  when i use the prettier formater my code;
example:
before:
this.$tow.open(this.$funHandler("order-car-input-reason", {}, {orderCode: this.orderCode}));

// after  use prettier formater;
this.$tow.open(
    this.$funHandler(
        'order-car-input-reason',
        {},
        { orderCode: this.orderCode }
    )
);

now the 'singleQuote' is effect ;
expect  'function-paren-newline' is never;

We don’t support rules like that, unfortunately. You have to use the style Prettier suggests.


Add support for Swift Package Manager

Sample usage package via my fork :
https://github.com/aciidb0mb3r/Pantrie
This will start working on this repo by creating tag from master after this PR is merged

Awesome! Let me review a bit more about the package manager... I may merge this into a package manager branch for now, not sure how likely things are to change at the moment.

It won't "break" the project if swiftpm support is added right now but package might get broken at user side if some breaking change is released on swiftpm though thats unlikely because current swiftpm configurations are very minimal on Pantry.

Can you rebase this on the current master and PR to the swiftpm branch for now? I'd like to do more experimentation on this before pulling it into master.
I'm actually not sure if the package manager can specify branches to grab dependencies from yet but if not, that seems like a nice place to get started contributing to swift :)

This was pulled in with #31

done.
Swiftpm doesn't have feature to grab from a branch right now but I've a proposal going on there which will support custom branches.

Awesome!


Fix Mongoose update deprecation warning

Fixed DeprecationWarning for patch method.
(node:11888) DeprecationWarning: collection.update is deprecated. Use updateOne, updateMany, or bulkWrite instead.
https://mongoosejs.com/docs/deprecations.html
Summary
(If you have not already please refer to the contributing guideline as described
here)

[x] Tell us about the problem your pull request is solving.
[ ] Are there any open issues that are related to this?
[ ] Is this PR dependent on PRs in other repos?

If so, please mention them to keep the conversations linked together.
Other Information
If there's anything else that's important and relevant to your pull
request, mention that information here. This could include
benchmarks, or other information.
Your PR will be reviewed by a core team member and they will work with you to get your changes merged in a timely manner. If merged your PR will automatically be added to the changelog in the next release.
If your changes involve documentation updates please mention that and link the appropriate PR in feathers-docs.
Thanks for contributing to Feathers! :heart:

I'm so sorry, didn't actually realize one could patch multiple records by not providing an id, but satisfying a query!
Saw the TravisCI build failed and checked back with the docs ...

Yes, thanks. :)


already installed tensort not working still

2023-06-17 18:30:01.207852: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
i am working on google collab
i also get an error when i use pipeline.getpipline
says its an attribute error and that the object doesn't have such a method

Did you get any solution for this issue? I am also facing the same issue

2023-06-17 18:30:01.207852: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT i am working on google collab
i also get an error when i use pipeline.getpipline says its an attribute error and that the object doesn't have such a method

Hi that is just a warning, I had to downgrade my transformer version to 4.23 and it started working in my case

hii
(doc) PS D:\docquery> docquery scan "What is the #1 post's title?" website.html

document-question-answering is already registered. Overwriting pipeline for task document-question-answering...
2023-11-17 08:06:58,947 INFO: Loading website.html
Traceback (most recent call last):
File "C:\Users\N_B\Miniconda3\envs\doc\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Users\N_B\Miniconda3\envs\doc\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\N_B\Miniconda3\envs\doc\Scripts\docquery.exe_main.py", line 7, in
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\cmd_main.py", line 61, in main
return args.func(args)
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\cmd\scan.py", line 67, in main
docs.append((p, load_document(str(p), ocr_reader=args.ocr, use_embedded_text=args.use_embedded_text)))
File "pydantic\decorator.py", line 40, in pydantic.decorator.validate_arguments.validate.wrapper_function
File "pydantic\decorator.py", line 134, in pydantic.decorator.ValidatedFunction.call
File "pydantic\decorator.py", line 206, in pydantic.decorator.ValidatedFunction.execute
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\document.py", line 261, in load_document
return WebDocument(fpath)
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\document.py", line 193, in init
self.driver = get_webdriver()
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\web.py", line 128, in get_webdriver
WEB_DRIVER = WebDriver()
File "C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\web.py", line 34, in init
"Web imports are unavailable. You must install the [web] extra and chrome or" " chromium system-wide."
ValueError: Web imports are unavailable. You must install the [web] extra and chrome or chromium system-wide.
(doc) PS D:\docquery>

@shikhasingh1797
Try downgrading the Transformer version to 4.23 and restarting the environment. It worked in my case.
You can also refer to the code in this link as to the situation in which the error is coming so maybe u can correct it from there . https://github.com/impira/docquery/blob/main/src/docquery/web.py

Hello Sir
I implemented above solution but did not worked for me
(doc) PS D:\docquery> python

Python 3.7.16 (default, Jan 17 2023, 16:06:28) [MSC v.1916 64 bit (AMD64)]
:: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.

import transformers
print(transformers.version)
4.23.0

(base) PS D:\docquery> conda activate doc
(doc) PS D:\docquery> docquery scan "What is the #1 post's title?"
website.html

document-question-answering is already registered. Overwriting pipeline for
task document-question-answering...
WARNING:root:Unable to find tesseract: tesseract is not installed or it's
not in your PATH. See README file for more information..
Traceback (most recent call last):
File "C:\Users\N_B\Miniconda3\envs\doc\lib\runpy.py", line 193, in
run_module_as_main
"main", mod_spec)
File "C:\Users\N_B\Miniconda3\envs\doc\lib\runpy.py", line 85, in
run_code
exec(code, run_globals)
File "C:\Users\N_B\Miniconda3\envs\doc\Scripts\docquery.exe_main.py",
line 7, in
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\cmd_main.py",
line 61, in main
return args.func(args)
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\cmd\scan.py",
line 67, in main
docs.append((p, load_document(str(p), ocr_reader=args.ocr,
use_embedded_text=args.use_embedded_text)))
File "pydantic\decorator.py", line 40, in
pydantic.decorator.validate_arguments.validate.wrapper_function
File "pydantic\decorator.py", line 134, in
pydantic.decorator.ValidatedFunction.call
File "pydantic\decorator.py", line 206, in
pydantic.decorator.ValidatedFunction.execute
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\document.py",
line 261, in load_document
return WebDocument(fpath)
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\document.py",
line 193, in init
self.driver = get_webdriver()
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\web.py", line
128, in get_webdriver
WEB_DRIVER = WebDriver()
File
"C:\Users\N_B\Miniconda3\envs\doc\lib\site-packages\docquery\web.py", line
34, in init
"Web imports are unavailable. You must install the [web] extra and
chrome or" " chromium system-wide."
ValueError: Web imports are unavailable. You must install the [web] extra
and chrome or chromium system-wide.
(doc) PS D:\docquery>
Thanks & Regards
Shikha Singh
On Fri, Nov 17, 2023 at 9:55 AM Anurag Kumar Jha @.***>
wrote:

@shikhasingh1797 https://github.com/shikhasingh1797
Try downgrading the Transformer version to 4.23 and restarting the
environment. It worked in my case.
You can also refer to the code in this link as to the situation in which
the error is coming so maybe u can correct it from there .
https://github.com/impira/docquery/blob/main/src/docquery/web.py
http://url
—
Reply to this email directly, view it on GitHub
https://github.com/impira/docquery/issues/67#issuecomment-1815729094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASFO743YCCGWLJL3LR5S3WLYE3RLLAVCNFSM6AAAAAAZKMDKLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJVG4ZDSMBZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I was also facing the same issue but after apply the mentioned solution above To downgrade the Transformer it also worked for me.
Here is the SS of the downgrade Transformer :

And here is the Actual execution of docquery. I know there is still error is showing but the good things is that now doc query is executing successfully.


Add metrics for raw time to connect to Cassandra

This should be removed once we get to production.

Tested this with a local job and it's a trivial number, so not worth adding to master.


Port tests and sbt to support cross compile to 2.13.1

Will now cross compile to 2.13
Tests needed porting
Replaced Stack with List in BatchAVLVerifier as a result of compiler warning
Some compiler warnings need review
Depends on 2.13 cross compile for scorex-util being in place (which it isn't, but the PR is pending).
#72

Can someone please have a look at this? ScorexFoundation/scorex-util#19 has been merged, so it seems like this PR can be merged, too.

Tests fixed and scorex-utils updated in #75 based on this PR. closing this then. @mcsherrylabs thanks a lot for the contributions!


[Transfroms] Fix8579: static property class expression referring to block-scope variable

Fix #8579

This seems somewhat complicated. There may be a simpler approach to fixing this, by calling startLexicalEnvironment in convertIterationStatementBodyIfNecessary before we define loopBody, then calling endLexicalEnvironment after we define loopBody and merging the generated statements into loopBody. This would cause the temps for the class expression to be generated inside of the loop rather than outside of the loop.

Generally we should try to avoid creating a closure just to fix this issue. We may want to look into a way to allow hoistVariableDeclaration to define whether the declaration should be block scoped, and inject hoisted blocked-scoped declarations into the top of the block. I can look at this tonight or tomorrow.

since we merge to master. I will reopen one against master


[flutter_tools] open chrome with unresolved hostname

Description
Still serve to resolved host address, but open chrome with unresolved host name so firebase auth can work.
Fixes https://github.com/flutter/flutter/issues/49614

Is this fix applied to the beta channel?
I'm unable to make firebase auth and debugging tool work at the same time, as well as the hot reload
if i'm open the web through localhost:port instead of [::1]:port

Is it possible to have this merge in beta? Because actually debug version on master is broken for flutter web... (Platform error)

hot-fixing is an extremely risky process, doing so for web or beta channel is not likely. You can always patch this change into your local checkout of flutter and then rebuilt the tool by removing bin/cache/flutter_tools.stamp

so I should open another issue to fix this problem specific on the beta channel?


selectable rows

Can anyone explain how to make selectable rows with example code?
Thanks in advance

Use select extension of DT?
See https://yajrabox.com/docs/laravel-datatables/master/html-builder-parameters, there is also a fluent version for each params but not documented.
    public function html(): HtmlBuilder
    {
        return $this->builder()
                    ->setTableId('users-table')
                    ->columns($this->getColumns())
                    ->selectStyleMulti() // enable multi selection
                    ->ajaxWithFilters()
                    ->orderBy(1)
                    ->buttons($this->getButtons())
                    ->editors($this->getEditors());
    }

selectStyleMulti()
Do I need to use Select extension with this option?
because I tried it but it didn't work

Yes, you need the extensions scripts and css for it to work properly.


Link to user profile

Currently the profileURL is a string literal, so we cannot use it to make a reference to a Chaise Record page.
For example, let's say we have defined a schema:table in our catalog called user:profile and lets say that this profile table has a unique, not-null, column in it called username which is the username returned by webauthn. Then in order to reference that specific user profile record I would need to form a URL like this:
…chaise/record/user:profile?username={username} where {username} is replaced with that username returned by webauthn.
I would like to see an enhancement such that we can define a profileURL based on a simple pattern that would allow us to make Chaise Record page references.
(NOTE I don't know what exactly Webauthn returns so I'm just guessing that its a username value but I suppose it could be a different type of identifier.)

I'm guessing whatever the user object is in this template is the thing that holds the properties we'd need to populate the requested pattern.
https://github.com/informatics-isi-edu/chaise/blob/fb482f5d826a5ffb0818bf5637462f0410197208/common/templates/login.html#L4

This issue is related to the work described in #2118.

We decided to remove this property in #2129 since the same behavior can be replicated with the newly added loggedInMenu property. Please refer to the PR for more information.


target of children query doesn't let me go by even though all children elements are present

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

@saraivenegas Hi, could you please add some more information to your issue description to detail what is going on, and include your code?
It might be that there is some problem in your code that is preventing it from passing the tests. Be sure to visit the Help chat when you are stuck with writing code.

Closing as stale, @saraivenegas if you are still having issues that cannot be resolved in gitter chat, please comment here.


do not allow games where the secret santa can be deterministically deduced

gift_recipient = random_names[c(2:length(random_names), 1)] will fail if length(names) <= 1, however, the secret santa is meaningless for 2 or fewer players, so we should error

banging this into your PR to save nicola some effort


Teams Page for Research has a couple errors

Hey all, I was looking at the teams page for the research team and there seem to be a couple issues:
https://thenewboston.com/teams

Mircea is displayed as on the team, but is not (to my knowledge).  If I am mistaken please have him reach out to me!

Joe Sykes just joined the team, I created an Issue, and it looks like the PR got merged here https://github.com/thenewboston-developers/Website/issues/921 but he does not appear on the website.
He is here in the teams.json - do you know what is going on?
https://github.com/thenewboston-developers/Website/blob/development/src/data/teams.json#L777

Can you please look into these?  Thanks!

@colfax23 That's weird! I can see him on my dev server but not the website. I'll look into it.

Thanks @thesanjeevsharma !

#1013 could fix this since the task is changing a lot of the teams page

@colfax23 Your issue is resolved now! Closing this.


[VOTE] Apache TVM Graduation

Dear Community:
Thanks  to everyone who participated in the discussion about graduation[1]. This is a formal voting thread for Apache TVM’s graduation.
If this vote passes, the next step would be to submit the resolution below
to the Incubator PMC, who would vote on sending it on to the Apache Board.
Vote:
[ ] +1 - Recommend graduation of Apache TVM as a TLP
[ ]  0 - I don't feel strongly about it, but don't object
[ ] -1 - Do not recommend graduation of Apache TVM because...
The VOTE will open for at least 72 hours.
This thread is mirrored to dev@, please vote by replying to this thread

The TVM project has been an Apache incubator project for nearly 1.5 year now. In the past one and half year, the community grew healthily under the Apache way. Some highlights include:

A successful developer conference that we are continuing to host this year
Great community growth, as of now, the community contains 16 PPMC members, 31 committers, from a diverse list of organizations. We are actively growing the list monthly.
Active contributions: ~ 150 PRs merged each month.

The community has produced two formal apache releases. While we could also wait until more releases. We feel that the community is mature enough that we can push for graduation as it is, and continue to push for high quality releases concurrently.
For reference, we also put together a maturity evaluation doc[2] under the Apache maturity model.
Some additional note about the resolution below: the current PPMC will be transitioned to the PMC. We have invited all the mentors in the current PPMC who like to stay involved.

Establish the Apache TVM Project
WHEREAS, the Board of Directors deems it to be in the best interests of
the Foundation and consistent with the Foundation's purpose to establish
a Project Management Committee charged with the creation and maintenance
of open-source software, for distribution at no charge to the public,
related to compilation of machine learning models to run on a wide range of hardware platforms...
NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
(PMC), to be known as the "Apache TVM Project", be and hereby is
established pursuant to Bylaws of the Foundation; and be it further
RESOLVED, that the Apache TVM Project be and hereby is responsible for the
creation and maintenance of software related to compilation of machine learning models to run on a wide range of hardware platforms; and be it further
RESOLVED, that the office of "Vice President, Apache TVM" be and
hereby is created, the person holding such office to serve at the
direction of the Board of Directors as the chair of the Apache TVM
Project, and to have primary responsibility for management of the
projects within the scope of responsibility of the Apache TVM
Project; and be it further
RESOLVED, that the persons listed immediately below be and hereby are
appointed to serve as the initial members of the Apache TVM Project:

Tianqi Chen<EMAIL_ADDRESS>Timothy Chen<EMAIL_ADDRESS>Zhi Chen<EMAIL_ADDRESS>Byung-Gon Chun<EMAIL_ADDRESS>Ziheng Jiang<EMAIL_ADDRESS>Furkan Kamaci<EMAIL_ADDRESS>YiZhi Liu<EMAIL_ADDRESS>Masahiro Masuda<EMAIL_ADDRESS>Thierry Moreau<EMAIL_ADDRESS>Jared Roesch<EMAIL_ADDRESS>Henry Saputra<EMAIL_ADDRESS>Haichen Shen<EMAIL_ADDRESS>Markus Weimer<EMAIL_ADDRESS>Eddie Yan<EMAIL_ADDRESS>Lianmin Zheng<EMAIL_ADDRESS>
NOW, THEREFORE, BE IT FURTHER RESOLVED, that Tianqi Chen be appointed to
the office of Vice President, Apache TVM, to serve in accordance
with and subject to the direction of the Board of Directors and the
Bylaws of the Foundation until death, resignation, retirement, removal
or disqualification, or until a successor is appointed; and be it
further
RESOLVED, that the Apache TVM Project be and hereby is tasked with
the migration and rationalization of the Apache Incubator TVM
podling; and be it further
RESOLVED, that all responsibilities pertaining to the Apache Incubator
TVM  podling encumbered upon the Apache Incubator PMC are hereafter
Discharged.

[1] https://lists.apache.org/thread.html/r91b8f469c6a54769869bb2435b7334a28bcff885ae078ab5612dae00%40<dev.tvm.apache.org>
[2] https://docs.google.com/document/d/18nyAH-fcptVezAxPQe6H3FeTKPRkujOp1tc1YRSPLok/edit?usp=sharing

+1 (binding)
TVM is ready to graduate.
Markus
On Mon, Aug 24, 2020 at 1:51 PM Tianqi Chen<EMAIL_ADDRESS>wrote:

Dear Community:
Thanks  to everyone who participated in the discussion about graduation[1]. This is a formal voting thread for Apache TVM’s graduation.
If this vote passes, the next step would be to submit the resolution below
to the Incubator PMC, who would vote on sending it on to the Apache Board.
Vote:
[ ] +1 - Recommend graduation of Apache TVM as a TLP
[ ]  0 - I don't feel strongly about it, but don't object
[ ] -1 - Do not recommend graduation of Apache TVM because...
The VOTE will open for at least 72 hours.
This thread is mirrored to dev@, please vote by replying to this thread

The TVM project has been an Apache incubator project for nearly 1.5 year now. In the past one and half year, the community grew healthily under the Apache way. Some highlights include:

A successful developer conference that we are continuing to host this year
Great community growth, as of now, the community contains 16 PPMC members, 31 committers, from a diverse list of organizations. We are actively growing the list monthly.
Active contributions: ~ 150 PRs merged each month.

The community has produced two formal apache releases. While we could also wait until more releases. We feel that the community is mature enough that we can push for graduation as it is, and continue to push for high quality releases concurrently.
For reference, we also put together a maturity evaluation doc[2] under the Apache maturity model.
Some additional note about the resolution below: the current PPMC will be transitioned to the PMC. We have invited all the mentors in the current PPMC who like to stay involved.

Establish the Apache TVM Project
WHEREAS, the Board of Directors deems it to be in the best interests of
the Foundation and consistent with the Foundation's purpose to establish
a Project Management Committee charged with the creation and maintenance
of open-source software, for distribution at no charge to the public,
related to compilation of machine learning models to run on a wide range of hardware platforms...
NOW, THEREFORE, BE IT RESOLVED, that a Project Management Committee
(PMC), to be known as the "Apache TVM Project", be and hereby is
established pursuant to Bylaws of the Foundation; and be it further
RESOLVED, that the Apache TVM Project be and hereby is responsible for the
creation and maintenance of software related to compilation of machine learning models to run on a wide range of hardware platforms; and be it further
RESOLVED, that the office of "Vice President, Apache TVM" be and
hereby is created, the person holding such office to serve at the
direction of the Board of Directors as the chair of the Apache TVM
Project, and to have primary responsibility for management of the
projects within the scope of responsibility of the Apache TVM
Project; and be it further
RESOLVED, that the persons listed immediately below be and hereby are
appointed to serve as the initial members of the Apache TVM Project:

Tianqi Chen<EMAIL_ADDRESS>Timothy Chen<EMAIL_ADDRESS>Zhi Chen<EMAIL_ADDRESS>Byung-Gon Chun<EMAIL_ADDRESS>Ziheng Jiang<EMAIL_ADDRESS>Furkan Kamaci<EMAIL_ADDRESS>YiZhi Liu<EMAIL_ADDRESS>Masahiro Masuda<EMAIL_ADDRESS>Thierry Moreau<EMAIL_ADDRESS>Jared Roesch<EMAIL_ADDRESS>Henry Saputra<EMAIL_ADDRESS>Haichen Shen<EMAIL_ADDRESS>Markus Weimer<EMAIL_ADDRESS>Eddie Yan<EMAIL_ADDRESS>Lianmin Zheng<EMAIL_ADDRESS>
NOW, THEREFORE, BE IT FURTHER RESOLVED, that Tianqi Chen be appointed to
the office of Vice President, Apache TVM, to serve in accordance
with and subject to the direction of the Board of Directors and the
Bylaws of the Foundation until death, resignation, retirement, removal
or disqualification, or until a successor is appointed; and be it
further
RESOLVED, that the Apache TVM Project be and hereby is tasked with
the migration and rationalization of the Apache Incubator TVM
podling; and be it further
RESOLVED, that all responsibilities pertaining to the Apache Incubator
TVM  podling encumbered upon the Apache Incubator PMC are hereafter
Discharged.

[1] https://lists.apache.org/thread.html/r91b8f469c6a54769869bb2435b7334a28bcff885ae078ab5612dae00%40<dev.tvm.apache.org>
[2] https://docs.google.com/document/d/18nyAH-fcptVezAxPQe6H3FeTKPRkujOp1tc1YRSPLok/edit?usp=sharing

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-tvm/issues/6332

+1 (non-binding)
Super excited!!

+1 (binding)

+1 (binding)

+1 (binding)

+1 (non-binding)

+1 (binding)

+1 (binding)

+1 (binding)

+1 (non-binding)

+1 (binding)

+1 (non-binding)

+1 (non-binding)

+1 (non-binding)

+1 (non-binding)

+1 (binding)

+1 binding

+1 (non-binding)

+1 (binding)

Apart from being a great project, TVM has an active and growing community. It has a good understanding of the Apache Way [1] which is most important. I think that TVM is ready for graduation.
I am +1 for graduation!
[1] https://www.apache.org/theapacheway/

Thanks everyone. The results are:
+1
Markus
Junru
ziheng
Thierry
Henry
Lily
Jared
Haichen
Masa
Morita
Wuwei
Siju
Gon
Timothy
Chenfan
Siva
Furkan
+0 None
-1 None
The vote has passed. We will now proceed with a followup vote in IPMC.


generate ffi metadata via a proc_macro_attribute

Closes #42.

adds opendp_derive crate that defines a "bootstrap" proc-macro

extracts an AST from constructor definitions

adds opendp_bootstrap crate for constructing bootstrap metadata from an AST

invoked both by the proc-macro and opendp build script

move all json structures into the proc-macro attributes

Rust is now the "source of truth" for all libraries. Even though the proc macro can automatically derive most of the information that used to be stored in the bootstrap jsons, the line count of this PR is longer. This is because the rust library is now documented. 🎉

Closing in favor of https://github.com/opendp/opendp/pull/558


[tool_crash] StateError: Bad state: No context with the running Dart application.

Command
flutter --no-color run --machine --track-widget-creation --device-id=chrome --start-paused --flavor prod_app --debug --dart-define=flutter.inspector.structuredErrors=true lib/prod_main.dart

Steps to Reproduce

...
...
...

Logs
StateError: Bad state: No context with the running Dart application.
#0      RemoteDebuggerExecutionContext.id (package:dwds/src/debugging/execution_context.dart:55:7)
<asynchronous suspension>
#1      AppInspector._getExtensionRpcs (package:dwds/src/debugging/inspector.dart:538:20)
<asynchronous suspension>
#2      AppInspector._initialize (package:dwds/src/debugging/inspector.dart:97:34)
<asynchronous suspension>
#3      AppInspector.initialize (package:dwds/src/debugging/inspector.dart:160:5)
<asynchronous suspension>
#4      ChromeProxyService.createIsolate (package:dwds/src/services/chrome_proxy_service.dart:216:18)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.10.5, on macOS 14.4.1 23E224 darwin-x64, locale en-IN)
    • Flutter version 2.10.5 at /Users/pratikmvyas/fvm/versions/2.10.5
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (2 years, 3 months ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/pratikmvyas/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at<EMAIL_ADDRESS>    • Java version OpenJDK Runtime Environment Homebrew (build 11.0.20+0)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.15.2

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

[!] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

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

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

Flutter Application Metadata
Type: app
Version: 0.86.0+434
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version:<PHONE_NUMBER>7c3a836feee883712c241a5fd22983
Plugins
android_intent_plus-3.1.9
app_settings-4.1.6
appcheck-1.0.6
bluetooth_enable-0.1.1
bonsoir-1.0.1+2
cloud_firestore_web-2.8.10
connectivity_plus-2.3.9
connectivity_plus_linux-1.3.1
connectivity_plus_macos-1.2.6
connectivity_plus_web-1.2.5
connectivity_plus_windows-1.2.2
device_info_plus-4.0.0
device_info_plus_linux-2.1.1
device_info_plus_macos-2.2.3
device_info_plus_web-2.1.0
device_info_plus_windows-2.1.1
esp_blufi
esp_provisioning-1.0.0+6
firebase_core-1.24.0
firebase_core_web-1.7.3
firebase_crashlytics-2.9.0
firebase_dynamic_links-4.3.5
firebase_messaging-13.1.0
firebase_messaging_web-3.2.0
flutter_ble_lib-2.3.2
flutter_email_sender-6.0.1
flutter_exit_app-1.1.2
flutter_image_compress-1.1.3
flutter_inappwebview-5.6.0+2
flutter_mdns_plugin-0.0.3
flutter_native_timezone-2.0.0
flutter_nsd-1.4.0
flutter_plugin_android_lifecycle-2.0.7
fluttertoast-8.2.2
image_picker-0.8.6+1
image_picker_android-0.8.5+5
image_picker_for_web-2.1.10
image_picker_ios-0.8.6+6
image_picker_web-2.1.1
in_app_purchase-3.1.1
in_app_purchase_android-0.2.3+9
in_app_purchase_storekit-0.3.4+1
location-4.4.0
location_web-3.1.1
network_info_plus-2.3.2
network_info_plus_linux-1.1.2
network_info_plus_macos-1.3.0
network_info_plus_web-1.0.1
network_info_plus_windows-1.0.2
nsd-1.5.6
nsd_android-1.2.2
nsd_ios-1.0.3
nsd_macos-1.0.3
package_info_plus-1.4.2
package_info_plus_linux-1.0.5
package_info_plus_macos-1.3.0
package_info_plus_web-1.0.6
package_info_plus_windows-1.0.5
path_provider-2.0.11
path_provider_android-2.0.22
path_provider_ios-2.0.11
path_provider_linux-2.1.7
path_provider_macos-2.0.7
path_provider_windows-2.0.7
pdf_viewer_plugin-2.0.1
permission_handler-8.3.0
qr_code_scanner-0.7.0
share_plus-4.5.3
share_plus_linux-3.0.1
share_plus_macos-3.0.1
share_plus_web-3.1.0
share_plus_windows-3.0.1
shared_preferences-2.0.17
shared_preferences_android-2.0.15
shared_preferences_foundation-2.1.2
shared_preferences_linux-2.1.3
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.3
smart_auth-1.1.1
sqflite-2.0.2+1
uni_links-0.5.1
uni_links_web-0.1.0
url_launcher-6.1.8
url_launcher_android-6.0.23
url_launcher_ios-6.0.18
url_launcher_linux-3.0.2
url_launcher_macos-3.0.2
url_launcher_web-2.0.14
url_launcher_windows-3.0.2
video_player-2.5.1
video_player_android-2.3.10
video_player_avfoundation-2.3.8
video_player_web-2.0.13
wakelock-0.6.2
wakelock_macos-0.4.0
wakelock_web-0.4.0
webview_flutter-2.8.0
webview_flutter_android-2.8.14
webview_flutter_wkwebview-2.7.5

Hi @vyaspm91,
You are on very old version of the framework. The reported issue is already fixed on recent versions, so please upgrade to latest stable and run your scenario again which shouldn't throw the tool crash.
Closing, as this is already fixed.


fadeOut option?

Hi, thanks for the plugin! How about we help each other implement a fadeOut effect where the background doesn't appear while the slides are half through the animation?
Example of the issue: http://jsbin.com/kekaji/2/edit?html,js,output
Cycle2 implements a default 'fade' effect, like Slick, but also a 'fadeOut', which is exactly what I'm looking for. I'd even argue for fadeOut being the default as no one wants to see the background while fading.

I may default this


python310Packages.multitasking: 0.0.10 -> 0.0.11

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.multitasking is: "Non-blocking Python methods using decorators"
meta.homepage for python310Packages.multitasking is: "https://github.com/ranaroussi/multitasking"
meta.changelog for python310Packages.multitasking is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.0.11 with grep in /nix/store/svhks45pyssncfjkkq7c33myvr92kkcp-python3.10-multitasking-0.0.11
found 0.0.11 in filename of file in /nix/store/svhks45pyssncfjkkq7c33myvr92kkcp-python3.10-multitasking-0.0.11

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

8 package rebuild(s)

8 x86_64-linux rebuild(s)
8 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
python310Packages.multitasking
python310Packages.qiskit
python310Packages.qiskit-finance
python310Packages.yfinance
python39Packages.multitasking
python39Packages.qiskit
python39Packages.qiskit-finance
python39Packages.yfinance

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/svhks45pyssncfjkkq7c33myvr92kkcp-python3.10-multitasking-0.0.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.multitasking https://github.com/r-ryantm/nixpkgs/archive/25473f79481f0f9949618019cbd6334349d4de2e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/svhks45pyssncfjkkq7c33myvr92kkcp-python3.10-multitasking-0.0.11
ls -la /nix/store/svhks45pyssncfjkkq7c33myvr92kkcp-python3.10-multitasking-0.0.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

8 packages built:

python310Packages.multitasking
python310Packages.qiskit
python310Packages.qiskit-finance
python310Packages.yfinance
python39Packages.multitasking
python39Packages.qiskit
python39Packages.qiskit-finance
python39Packages.yfinance

Maintainer pings
cc @drewrisinger for testing.

@GrahamcOfBorg eval


Question: About Padding in Band

Hi
I am trying to use padding option into a band function, but it doesn't work.
This is my code:
rpt.band([             {data:' texto: ', width:78, border:{left:1, right: 1, top: 1, bottom: 1}, padding:1}         ]);
Could you tell me what it's wrong?
Thank you.

I did find a height padding issue which is fixed in 1.1.6 -- however; the way to use padding is like so:
var detail = function(r, row) {
    r.fontsize(9);
    r.band([
        {data: row.favorite, width: 70, align: 'left'},
        {data: row.least, width: 70, align: 'right'}
    ],{border: 1, padding: 12});
};```

Padding is a global option that effects all fields, not just a single field.


Outlook Email - Not able to send email

Electron build with commit id https://github.com/gptscript-ai/desktop/commit/56cadbd5779acd6ae9ef9bd4a192b44b8f4d599c
Steps to reproduce the problem:

Create an assistant with outlook calendar, mail and Sys.Time.Now tool.
Start a chat with this assistant and ask  to send an email.

It asks for data type to be set for email content.

Asking for content type to be set to plain text also does not help

Fixed by https://github.com/gptscript-ai/gptscript/pull/805

Tested with gptscript version v0.0.0-dev+a7c8e572
I am able to send emails successfully.


feat(interactive): Provide tutorial about how to development interactive

Currently, we have no such tutorial about how to configure a development environment and contribute code to interactive.

Now available at https://graphscope.io/docs/latest/flex/interactive/development/dev_and_test.html


Crashing on some videos

Hi,
When trying to play this particular video : https://www.youtube.com/watch?v=aA6zYJNPWXI
With this code :
const ytstream = require('yt-stream');

const stream = await ytstream.stream("https://www.youtube.com/watch?v=aA6zYJNPWXI", {
    quality: 'high',
    type: 'audio',
    highWaterMark: 1048576 * 32
});

I get in this in the console :
C:\Users\User\Documents\Bots\Bot1\node_modules\yt-stream\src\stream\createstream.js:65
        var { url } = selectedFormat;
              ^

TypeError: Cannot destructure property 'url' of 'selectedFormat' as it is null.
    at C:\Users\User\Documents\Bots\Bot1\node_modules\yt-stream\src\stream\createstream.js:65:15
    at new Promise (<anonymous>)
    at getStreamURL (C:\Users\User\Documents\Bots\Bot1\node_modules\yt-stream\src\stream\createstream.js:36:12)
    at C:\Users\User\Documents\Bots\Bot1\node_modules\yt-stream\src\stream\createstream.js:88:30
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.0.0

I think that it happens because the video doesn't have audio only as it's an old one and because type: 'audio' is specified in the streaming option it doesn't find the proper format, it's just a matter of playing an arbitrary stream if it doesn't find the proprer format, good luck.
Thanks for reading and have a nice day 👍

Thank you for reporting this issue. I'll look into it as soon as possible. I'll let you know when I solved it and you can install the new version. Have a nice day!

I've just uploaded a new version which should solve this bug. If you find another bug or still are having trouble downloading the video, feel free to re-open this issue or open another one.

It works fine now, thank you so much.
Though i have another problem, i'm unable to play live streams, i will open another issue.


Android Debug Bridge Toggle

This PR is for #34041 (just a milestone for the bounty).
Current list of things required for bounty

[x] Add toggle into developer menu
[x] Make toggle persistent
[x] Enable it during setup
[x] Make ADB work over USB
[ ] Cleanup code and condense it

For the sake of a concise recap, does the bounty require ADB to work over USB?

Sorry, I did not mean to mark it ready for review. Please revert it to the original state.

For the sake of a concise recap, does the bounty require ADB to work over USB?

Yes, that's the whole point. This also requires an accompanying agnos-builder PR to make it all work like SSH.

Ok, I am just checking. I will link a PR for agnos builder soon.

Added experimental ADB over USB functionality
https://github.com/amoghmunikote/GambitDriver/commit/a76d0c726cacac565dd85147dc7959bf37e6636d
Will test it out and commit it to main adbMenu branch

Nice, you got USB working?

I haven't tested it yet, I will in a little bit


RDS - Implement DeletionProtection for Instances/Clusters

Closes #4251

Codecov Report

Merging #4614 (dbe239c) into master (1102e28) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #4614   +/-   ##
=======================================
  Coverage   95.19%   95.19%
=======================================
  Files         527      527
  Lines       59383    59391    +8
=======================================
+ Hits        56532    56540    +8
  Misses       2851     2851

Flag
Coverage Δ

servertests
47.77% <22.22%> (-0.01%)
:arrow_down:

test_responses
32.42% <0.00%> (-0.01%)
:arrow_down:

unittests
95.10% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

moto/rds2/responses.py
99.08% <ø> (ø)

moto/rds2/models.py
85.56% <100.00%> (+0.13%)
:arrow_up:

Continue to review full report at Codecov.

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


[web][HtmlElementView] Embedded videos don't retain state

Steps to Reproduce
Embed a video (YouTube, Google Drive,...) in a page that also contains an AppBar with a back button. Hovering over the back button will cause the embedded iframe to refresh, and lose all state of the video player.
Unlike AndroidView and UiKitView (which are Stateful widgets), HtmlElementView is Stateless, could this be related?
Sample project:
import 'package:flutter/material.dart';
import 'package:stockxit_web/widgets/embedded_video.dart';

void main() {
  runApp(MyApp());
}

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

class MyHomePage extends StatefulWidget {
  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      body: Center(
        child: FlatButton(
          child: Text('Go to embedded video'),
          onPressed: () {
            Navigator.of(context).push(
              MaterialPageRoute(
                builder: (BuildContext context) {
                  return EmbeddedVideo(
                    src: 'https://www.youtube.com/embed/8i-PyOT9WKk',
                  );
                },
              ),
            );
          },
        ),
      ),
    );
  }
}

and
import 'dart:ui' as ui;

import 'package:flutter/material.dart';

class EmbeddedVideo extends StatefulWidget {
  const EmbeddedVideo({Key key, this.src, this.width, this.height})
      : super(key: key);

  final String width;
  final String height;
  final String src;

  @override
  _EmbeddedVideoState createState() => _EmbeddedVideoState();
}

class _EmbeddedVideoState extends State<EmbeddedVideo> {
  GlobalKey _key;

  @override
  void initState() {
    print('initstate of embedded video');
    super.initState();
    _key = new GlobalKey();
    ui.platformViewRegistry.registerViewFactory(widget.src, (int viewId) {
      final video = IFrameElement()
        ..width = widget.width
        ..height = widget.height
        ..src = widget.src
        ..style.border = 'none';
      return video;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(),
      body: HtmlElementView(
        key: _key,
        viewType: widget.src,
      ),
    );
  }
}

Target Platform: MacOS
Target OS version/browser: Chrome Version 77.0.3865.90 (Official Build) (64-bit)
flutter doctor -v output:
[✓] Flutter (Channel master, v1.10.15-pre.51, on Mac OS X 10.14.6 18G103, locale en-US)
    • Flutter version 1.10.15-pre.51 at /Users/thomass/dev/flutter
    • Framework revision 991153ada0 (4 hours ago), 2019-10-10 05:32:43 -0400
    • Engine revision 5a86054441
    • Dart version 2.6.0 (build 2.6.0-dev.0.0 48e93d3d3b)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/thomass/Library/Android/sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/thomass/Library/Android/sdk/
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.2

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

[!] Android Studio
    • Android Studio at /Applications/Android Studio 3.0 Preview 2.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.1.2
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] IntelliJ IDEA Ultimate Edition (version 2018.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] IntelliJ IDEA Community Edition (version 2017.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4700

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

[✓] Connected device (3 available)
    • macOS           • macOS           • darwin-x64     • Mac OS X 10.14.6 18G103
    • Chrome          • chrome          • web-javascript • Google Chrome 77.0.3865.90
    • Headless Server • headless-server • web-javascript • Flutter Tools

! Doctor found issues in 2 categories.

Thanks!

This seems to be a duplicate of https://github.com/flutter/flutter/issues/39980

Hi @yjbanov,
Sorry this is not a duplicate :(
Issue #39980 is about flickering of the VideoElement on Safari (not on Chrome)
This issue is about flickering of the HtmlElementView on all browsers (including Chrome).

We think this is a duplicate because the underlying cause for both is the same, i.e. we put the HTML view inside the layer tree where it gets reparented across frames. At least that's the current hypothesis.


[WIP] [NPU] Add NPU support for unit test

feat: Add npu support for skip_on_arch in tests/unit/util.py
feat: Add npu support for skip_on_cuda in tests/unit/util.py
feat: Add npu support for tests/unit/common.py
feat: Set_device of accelerator before deepspeed.init_distributed in tests/unit/common.py

@microsoft-github-policy-service agree

Please add cuda check in "check_environment" to avoid warning meesage when using NPU as the backend.
Please squash these commits into one(use git rebase -i), and describe all the changes.

@tjruwase Would you be so kind to review this commit, since we have some other commits based on this? Or maybe you can invite other reviewers to do the job? Thank you.

@tjruwase It seems that the CI problem might be fixed by loadams in #4590? If so, would you please launch CI for me again?
Several PRs (#4588, #4585, #4578, etc) have met the same problem as below:
unit/inference/test_inference.py::TestMPSize::test[fp16-bloom] FAILED    [ 91%]

@tjruwase Perhaps #4591 has solved the problem of CI? Cause I see the latest commit #4598 manages to pass. Would you launch CI for me again?

@tjruwase Perhaps #4591 has solved the problem of CI? Cause I see the latest commit #4598 manages to pass. Would you launch CI for me again?

@tjruwase Could you launch CI for me again? The last two commits have already pass.

@tjruwase Would you please launch CI for this PR? We have been waiting for a long time. Thanks :)

@RUAN-ZX, apologies for the delay in merging this PR. We had to push out a scheduled release last week. Unfortunately, I notice a new CI failure https://github.com/microsoft/DeepSpeed/actions/runs/6785863907/job/18445092642?pr=4569.
Can you please take a look? It seems to have been caused by a recent merge. I will play close attention to ensure this PR is merged this week. Thanks for your patience.

@RUAN-ZX, apologies for the delay in merging this PR. We had to push out a scheduled release last week. Unfortunately, I notice a new CI failure https://github.com/microsoft/DeepSpeed/actions/runs/6785863907/job/18445092642?pr=4569.
Can you please take a look? It seems to have been caused by a recent merge. I will play close attention to ensure this PR is merged this week. Thanks for your patience.

Thank you! I found that an assert error: CUDA_HOME does not exist, unable to compile CUDA op(s) from op_builder/builder.py, and eventually it uses cuda_home = os.environ.get('CUDA_HOME') or os.environ.get('CUDA_PATH') to get CUDA_HOME in torch\utils\cpp_extension.py.
There is no code that may change this env param and I don't understand why CUDA_HOME is None :)

@tjruwase I have solved problems raised by pre-commit hooks, please launch CI again :)


Fix BN launching on Windows

Hello!
Over at Bright Nights, we recently changed the name of the executable used to run the game. Thus, Catapult currently fails to launch the most recent release of BN when on Windows (Linux doesn't have this problem because we kept cataclysm-launcher the same). This PR should hopefully fix this issue

To not lose the ability to run older versions, the launcher should first check for cataclysm-tiles.exe then run it if exists, then try to run cataclysm-bn-tiles.exe.


⚠ Bofrost.de has degraded performance

In 0d36a2a, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1061 ms

Resolved: Bofrost.de performance has improved in bea1c61 after 6 minutes.


An afternoon of changes.

Merged my Preamble pull request. I can remove this if necessary. (#273 )

I've gone ahead and merged #163 with this and fixed a couple more spelling errors that have amassed making sure that the British spelling was used. I absolutely missed your reply, my bad.

Added the following new links:

Adobe Master Collector
Adobe Acrobat Pro DC

Checked each existing link in readme.md for availability which prompted the changes below.

Updated old 404 links with the following links:

Google Unlocked
AdGuard Popup Blocker
Chrome: Tusk
Firefox: Tusk
DOGnzb - Didn't really update it, just removed the registration site as it's gone.
HDFlix > 123Movies - The old site forwarded to this one. Assuming it migrated.
iPhone: MiniKeePass > iPhone: KeePassium - MiniKeePass is not being worked on anymore
Destroy-Windows-10-Spying - The actual pull requests for this involved a lot of forks, most of which were down. I am not an expert with this specific script but this looked good. (#204)
wget-noobs-guide Replaced it with the-eye mirror. The-eye.eu is currently under maintenance so you might not be able to laod the site.(#244, #243)
Movie-blog.org - The .to site was a redirect.
File sharing table - Old page moved to root domain.
FilmXY - The .one site was a redirect.
NoScript - Added the extension website as opposed to linking all stores where you can find it. (#272)

Removed the following links (404, could not find alternatives/forks):

BTRACS
mattpalm.com/search
Filer
tvbox
/r/nflstreams - Banned
QQMovies
Rainierland
How to patch Adobe CC 2017 applications on Windows
HOW TO PATCH ADOBE APPLICATIONS ON MAC, WORKING EARLY 2017
Pirating Adobe CC for Dummies
"Ultimate Adobe Guide!"
MangaRock (#249)
TutsGalaxy (#248)

Since I removed some custom Google search engines (404), I replaced the "These all do the same thing" lines with this:

These all do the same thing:

FileChef
The Eye CGS Engine
opendirectory-finder
lumpySoft.com

Some things might've slipped up while writing this, hopefully not.
If there are any issues I'm up to fix them, just let me know.

Most of this seems sensible and/or useful. Thank you very much! 🚀


Create a staging version for all endpoints

Server implementation could have a staging prefix to be used on apps during their development to avoid mixing real sessions and notes with the test ones.
From app point of view, it could be something:

production: http://address/endpoint
staging: http://address/staging/endpoint

Right now, it could be implemented by just using another set of collections on the same firebase account.

After Continuous Deploy was configured in #56 in now have staging running on port 5000 and production running on port 3000.
@rodrigoperazzo do you think we can close this issue?


Added support for required_scope_text

@tesdal Can you look at this PR?

https://github.com/mcash/mcash.loyalty/pull/60 relies on this PR

LGTM


Feature request: Add option to have structured collapsed on page load

When dealing with large JSON data structures it can be useful to have everything collapsed so you can expand just the part you are interested in.  Otherwise, finding the part can be difficult.

+1 on this feature request.
Btw, thank you for creating this extension, it is immensely useful.

+1

+1

@callumlocke any progress on this? As I understand it - everything collapsed as default.

A must have feature.

By the way, you might find this shortcut useful: you can hold your cmd or ctrl key when you click on a triangle to expand/collapse an object, and it will affect that object plus all its siblings too. [ @callumlocke ]

I'm on Windows 10, Chrome 58.0.3029.110, and ctrl clicking the triangle does not collapse as expected. It behaves exactly the same way as a regular click.
Does anyone have a workaround?

Never mind, I figured it out.
The code for the mod key is collapse(parent.parentNode.children)  so I have to click a child node, not the actual node I want to collapse.
I find this weird but OK then!

I'll give this one a +1 as well. Would be a great enhancement!


Hide plugin discovery errors

Description
The Pulumi CLI will no longer display, what look like a duplicate stack traces.
The language host was modified to hide error messages from an optional process
of plugin discovery through classpath introspection.
Also plugin about will no longer display errors from plugin discovery.
To display errors from plugin discovery, use config option runtime.options.v
with a value of 1 or greater.
Part of #817 and #785
Checklist

[ ] I have added tests that prove my fix is effective or that my feature works

[x] I have updated the CHANGELOG-PENDING file with my change

[ ] Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

Implemented by own nits in https://github.com/pulumi/pulumi-java/pull/825

Should be good to merge when tests pass.  Lots of merge commits here but final diff should be smaller.


feat: k8s policies sub types support

feat: k8s policies sub types support

Related https://github.com/aquasecurity/trivy/issues/5679
Related https://github.com/aquasecurity/defsec/pull/1502

@simar7 test and dependencies are updated

@simar7 test and dependencies are updated

Looks the linter is failing.

@simar7 PR is ready

@chen-keinan could you please rebase this again?