Dynamic Requires incorrectly treats all luigi.Parameter as strings

As noted by the title, dynamic requirement Parameters are treated as strings (where the required class is expected luigi.Parameter()). DateParameter, IntParameter, etc are treated appropriately.
This issue was found when dynamically requiring an arbitrary number of redshift.S3CopyToTable statements to temporary tables. Columns and queries are passed as lists, but errors were being throw because these lists were being interpreted as strings.
I have written the following luigi code to note this error (I have noted the actual output in both cases - normal requires, as well as dynamic requires):
import datetime

import luigi
from luigi import mock

__author__ = "Dillon Stadther"
__date__ = '2016-03-24'

class TestTask(luigi.Task):
    date = luigi.DateParameter(default=datetime.date(2016, 03, 24))

    tmp_path = luigi.Parameter(config_path=dict(section='path', name='tmp_path'))
    table_path = luigi.Parameter(config_path=dict(section='path', name='table_path'))

    #def requires(self):
    #    yield TestClass(
    #        date=self.date,                # prints "2016-03-24" and "2016-03-17"
    #        string_in='Hello World',       # prints "Hello World" and "H"
    #        list_in=['Hello', 'World'],    # prints "('Hello', 'World')" and "Hello"
    #        tuple_in=('foo', 'bar'),       # prints "('foo', 'bar')" and "foo"
    #        int_in=10                      # prints "10" and "20"
    #    )

    def output(self):
        return mock.MockTarget('test_requires')

    def run(self):
        yield TestClass(
            date=self.date,                 # prints "2016-03-24" and "2016-03-17"
            string_in='Hello World',        # prints "Hello World" and "H"
            list_in=['Hello', 'World'],     # prints "('Hello', 'World')" and "("
            tuple_in=('foo', 'bar'),        # prints "('foo', 'bar')" and "("
            int_in=10                       # prints "10" and "20"
        )
        self.output().open('w').close()

class TestClass(luigi.Task):
    date = luigi.DateParameter()

    string_in = luigi.Parameter(default='')
    list_in = luigi.Parameter(default=[])
    tuple_in = luigi.Parameter(default=())
    int_in = luigi.IntParameter(default=0)

    tmp_path = luigi.Parameter(config_path=dict(section='path', name='tmp_path'))

    def output(self):
        return mock.MockTarget('test_out')

    def run(self):
        print(self.date)
        print(self.date + datetime.timedelta(days=-7))  # should print the date 7 days ago
        print(self.string_in)
        print(self.string_in[0])        # should print first character
        print(self.list_in)
        print(self.list_in[0])          # should print first element
        print(self.tuple_in)
        print(self.tuple_in[0])         # should print first element
        print(self.int_in)
        print(self.int_in * 2)          # should print double the int

        self.output().open('w').close()

if __name__ == "__main__":
    luigi.run(['TestTask', '--workers', '1'])

nice catch. is it simple to fix?

I've identified the result of the error, but not the cause of it.
I'm not sure exactly where to find the execution of dynamic requirements in Luigi Core. Can you point me in the right direction, @erikbern ?

should be somewhere in worker.py (which is a terrible mess unfortunately)

@erikbern  Thanks. I'll take a look and see what i can find.

excellent!

I'm pretty lost when trying to decode what all is happening within worker.py...
I'll spend some more time trying to decipher when I return from PTO next week.

Check out https://github.com/spotify/luigi/blob/master/luigi/worker.py#L104
That is where you'll see the yielded dependencies are put on a multiprocessing Queue and then picked up by Worker class and loaded to be added to scheduler.

I can read through Worker.py and vaguely understand the logic, but am still lost when it comes to how this bug arises.
I see that DictParameter has been added to parameter.py. Would it be worth adding ListParameter and TupleParameter to ensure the type of Parameter being pass (and possibly bypass this dynamic requires bug), @erikbern ?

Do you have any custom parameters?
The Parameter class implements the methods parse and serialize – maybe you need to implement them
I haven't looked at the code

Looks like here it uses task.to_str_params which should serialize each parameter: https://github.com/spotify/luigi/blob/master/luigi/worker.py#L132

I do not have any customer parameters. Presently, Parameter.parse(...) just returns the value and serialize(...) casts the value to a string.
So yes, task.to_str_params calls serialize(...) which casts the list and tuple to a string. Which would then cause iteration over them to return the first character rather than the first element.
So although Parameter notes that it is an untyped Parameter, it assumes it has a StrParameter based on its serialize(...) method.
It then seems necessary to implement a ListParameter and TupleParameter.
If you believe otherwise, I'll go your route.

So to_str_params is called for every task when it is added to scheduler, not just dynamic deps. We may be jumping to conclusions on the issue.

See https://github.com/spotify/luigi/blob/master/luigi/worker.py#L634

With this said I would not expect passing lists to a standard Parameter object to work so I am surprised the requires() case even works...

Ah, dynamic dependencies have load_task called on them before they are added to worker's task cache whereas regular requires() do not.  This requires that a parameter value can be properly serialized/deserialized.

So then, dynamic requires functioned as expected. The issue is that Parameter is often misused (non-string types were declared as Parameter)?

Parameter.serialize(x) returns str(x). However, Parameter.normalize(x) and Parameter.parse(x) just returns x.
Should normalize and parse then cast to string? Or would you prefer the warnings.warn route if x is not a string?

@erikbern , thoughts on
class Parameter(object):
    ....

    def parse(self, x):
        return str(x)

verus
class Parameter(object):
    ....

    def parse(self, x):
        if type(x) != 'str':
            warnings.warn("Parameter is not of type string.")
        return x

?

yes the latter looks good

As issues are solved via PRs, they need to be closed. I just came across the keywords used to reference and auto close issues. Maybe we can try to enforce this more? Keep things clean and organized.

I actually knew that keyword. Please start using it. I think it's hard to enforce as not everybody knows about it. :)


Update GitHub URL for eve

The old git:// URL didn't work anymore.

Using eve-raphael now. Thanks


How can I use autopep8 to code formatting in Jupyter Notebooks?

Feature: Notebook Editor, Interactive Window, Python Editor cells

Description
Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

The same need

If you go to Settings > Python › Formatting: Provider, you should be able to select autopep8. You can also change its default path on Settigns >Python › Formatting: Autopep8 Path.
Let me know if that helps.

If you go to Settings > Python › Formatting: Provider, you should be able to select autopep8. You can also change its default path on Settigns >Python › Formatting: Autopep8 Path.
Let me know if that helps.
Not work for *.ipynb, just work for *.py.

We'll look into it shortly.

Thanks for the feedback! However, we don't have plans on adding this functionality at this time. VS Code is planning on adding native notebook support. This kind of functionality will light up then.


Can someone generate for me a good image?

Hello.
I have a low end graphics card, and I can't generate a 256x256 photo.
I however need a photo with the following requirements:

it should be a face of a man
a non-existant man
256x256
realistic looking
only I get to use the photos so it won't ever be published on the internet or shared by the person who generated it

If someone could send me some pictures which I can select my photo from, I would really apprichiate it!
Thank you.

@symvizan, why not run it on aws ec2.

We will be releasing a face model for anyone to use with the 1.0 release.


Valeu Error for In [10]

I received a Value Error when attempting to run the code. Any Suggestions?
ValueError                                Traceback (most recent call last)
 in
3     Census[key] = Census[key][['State','Population']]
4     Census[key].loc[:,'Population']=Census[key].loc[:,'Population'].apply(
----> 5         lambda s: int(re.sub(r'[.*','', str(s)).replace(',','')))
6     display(Census[key].head(8))
~\Anaconda3\lib\site-packages\pandas\core\series.py in apply(self, func, convert_dtype, args, **kwds)
3846             else:
3847                 values = self.astype(object).values
-> 3848                 mapped = lib.map_infer(values, f, convert=convert_dtype)
3849
3850         if len(mapped) and isinstance(mapped[0], Series):
pandas_libs\lib.pyx in pandas._libs.lib.map_infer()
 in (s)
3     Census[key] = Census[key][['State','Population']]
4     Census[key].loc[:,'Population']=Census[key].loc[:,'Population'].apply(
----> 5         lambda s: int(re.sub(r'[.*','', str(s)).replace(',','')))
6     display(Census[key].head(8))
ValueError: invalid literal for int() with base 10: '101130]'

That's strange - did you parse the data again or did you use the provided data?
It's possible that wikipedia changed their page layout and some modifications are needed.
Did you run all cells in the same order (top to bottom)?

I did parse the data. I will look at it again.
I am still relatively new to Python, so I like to attempt interesting data science projects like yours and use them to learn. So, it could definitely be my lack of knowledge.
Thanks for your help and for the original work you did.

Ok hope it works out! And happy experimenting with Python.


Improve migration logs

Improved logging around migrations:

Notifies in the case when the repover file is missing. (This is the case that starts a new migration so it cannot error.)
(#993) Better handles the out-of-bounds case when a new config is introduced to an old binary.

Coverage decreased (-0.003%) to 33.904% when pulling 36a95f6f403af51b5da19fadeca67695fb0ec815 on migration-logs into 88866ef0b67554bba9e6e2eabef50e0a915b50ee on master.


FileNotFoundError from 'pipenv install requests' when pwd is a symlink

I cd to my project in this directory:
$ pwd
/home/jhartley/docs/code/unfinished/gloopy

But that's actually using a symlink, ~/docs -> ~/Dropbox/jon-data. The actual directory name is:
$ pwd -P # resolves symlinks to give actual directory name
/home/jhartley/Dropbox/jon-data/code/unfinished/gloopy

Note 'Dropbox' has a capital 'D'.
I just installed pipenv for first time ever. No Pipfile is present.
$ pipenv install requests
Gives the traceback below, which includes "Dropbox" spelled incorrectly, with a lower case "d".
pipenv, version 7.6.3.
Ubuntu 17.04.
Pythons 2.7, 3.5 and 3.6 are installed, but 'python' is python2.7.
Using --three doesn't help.
I'm happy to do any more diagnostics if it helps.
Installing requests…
Collecting requests
  Using cached requests-2.18.4-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests)
  Using cached idna-2.6-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests)
  Using cached chardet-3.0.4-py2.py3-none-any.whl
Collecting urllib3<1.23,>=1.21.1 (from requests)
  Using cached urllib3-1.22-py2.py3-none-any.whl
Collecting certifi>=2017.4.17 (from requests)
  Using cached certifi-2<IP_ADDRESS>-py2.py3-none-any.whl
Installing collected packages: idna, chardet, urllib3, certifi, requests
Successfully installed certifi-2<IP_ADDRESS> chardet-3.0.4 idna-2.6 requests-2.18.4 urllib3-1.22

Adding requests to Pipfile's [packages]…
P.S. You have excellent taste! ✨ 🍰 ✨
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Error [Errno 2] No such file or directory: '/home/jhartley/dropbox/jon-data/code/unfinished/gloopy/' while executing command python setup.py egg_info
Traceback (most recent call last):
  File "/home/jhartley/.local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/cli.py", line 1682, in install
    do_lock(system=system, pre=pre)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/cli.py", line 1044, in do_lock
    pre=pre
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/utils.py", line 468, in resolve_deps
    resolved_tree.update(resolver.resolve())
  File "/home/jhartley/.local/lib/python3.5/site-packages/piptools/resolver.py", line 107, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/home/jhartley/.local/lib/python3.5/site-packages/piptools/resolver.py", line 195, in _resolve_one_round
    for dep in self._iter_dependencies(best_match):
  File "/home/jhartley/.local/lib/python3.5/site-packages/piptools/resolver.py", line 262, in _iter_dependencies
    for dependency in self.repository.get_dependencies(ireq):
  File "/home/jhartley/.local/lib/python3.5/site-packages/piptools/repositories/pypi.py", line 145, in get_dependencies
    self._dependencies_cache[ireq] = reqset._prepare_file(self.finder, ireq)
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/patched/pip/req/req_set.py", line 518, in _prepare_file
    abstract_dist.prep_for_dist()
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/patched/pip/req/req_set.py", line 129, in prep_for_dist
    self.req_to_install.run_egg_info()
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/patched/pip/req/req_install.py", line 439, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/home/jhartley/.local/lib/python3.5/site-packages/pipenv/patched/pip/utils/__init__.py", line 667, in call_subprocess
    cwd=cwd, env=env)
  File "/usr/lib/python3.5/subprocess.py", line 676, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.5/subprocess.py", line 1282, in _execute_child
    raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: '/home/jhartley/dropbox/jon-data/code/unfinished/gloopy/'

I'm trying a minimal repro now, from a symlink ~/myproj which points to empty dir ~/MyProj. But no traceback there. I'll keep experimenting and report back...

I can't reproduce it in ~/myproj -> ~/MyProj, not even with a wholesale copy of my entire project in there.
And now that I go back to my original project dir, I can't reproduce it there either now - although I saw it happen six or eight times earlier. It only happened when I deleted Pipfile* and removed the virtualenv, so
that pipenv was working from a clean slate. Darn. If I don't post a reliable minimal repro tonight then feel free to close this. Apologies for the noise.

Back in my original project directory.
If I remove the line "-e ." from my requirements.txt, then it works fine.
With that line present, I get the traceback.
It's late for me. I'll try to put that into a minimal repro over the weekend.

are you using the latest version?

Yes. Installed from PyPI last night.
$ pipenv --version
pipenv, version 7.6.3
$ pip install --user -U pipenv
Requirement already up-to-date: pipenv in /home/jhartley/.local/lib/python3.6/site-packages
[...]

Please share your Pipfile.

cannot reproduce.

This morning, neither can I. Feel free to close, sorry for the noise.
I'm speculating that I got something into a bad state somehow, maybe something like:

When I added ~/.local/bin to my PATH in .profile, I just sourced .profile again rather than logging out/in. That sources in turn .bashrc, and is probably not perfectly idempotent (eg. adding things to PATH.)
When getting started, I was intermingling pipenv commands with my old pip and virtualenvwrapper commands (eg. before I discovered pipenv --rm, I was using rmvirtualenv.)

FWIW, yesterday my Pipfile had the erroneously lower-cased path in it, but today it just reads:
$ cat Pipfile
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]

"0269f63" = {path = "/home/jhartley/Dropbox/jon-data/code/unfinished/gloopy", editable = true}
numpy = "==1.13.0rc2"
pyopengl = "==3.1.0"
"pyopengl-accelerate" = "==3.1.0"
pyglet = "==1.2.4"
requests = "*"

[dev-packages]

great news! yeah we fixed that bug recently :)

\o/

we were lower casing all the things until like yesterday

I hit the lowercasing thing today, with the latest pypi version at the time. I'll check to make sure I'm up to date and everything when I get a chance, but I'm hopeful that you have already fixed my issue.


A problem occurred configuring project ':flutter_local_notifications'.

I was trying to go through this tutorial - https://medium.com/@info_67212/firebase-push-notification-with-action-button-in-flutter-a841da348097. I had added FCM to my application
but i noticed that my default android language was set to kotlin and this tutorial was done on flutter applications which used java. I had to halt my progress after that but now when i run the application, i get this error -
* What went wrong:
A problem occurred configuring project ':flutter_local_notifications'.
> java.lang.NullPointerException

Steps to Reproduce

create androidx flutter project
add   flutter_local_notifications: ^0.9.1 to pubspec.yaml and add FCM for this project.
run flutter

Logs
[  +30 ms] executing: [E:\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +74 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 4944622b5d8e7a8ee5dbf658b0d0e8ab94b8efd3
[        ] executing: [E:\flutter\] git describe --match v*.*.* --first-parent --long --tags
[  +79 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.13.2-0-g4944622b5
[   +8 ms] executing: [E:\flutter\] git rev-parse --abbrev-ref --symbolic @{u}
[  +53 ms] Exit code 128 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] fatal: HEAD does not point to a branch
[  +11 ms] executing: [E:\flutter\] git rev-parse --abbrev-ref HEAD
[  +52 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] HEAD
[  +29 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +17 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +136 ms] Recreating project foo...
[ +189 ms]   foo\.gitignore (existing - skipped)
[   +2 ms]   foo\.idea\libraries\Dart_SDK.xml (existing - skipped)
[   +1 ms]   foo\.idea\libraries\Flutter_for_Android.xml (existing - skipped)
[   +1 ms]   foo\.idea\libraries\KotlinJavaRuntime.xml (existing - skipped)
[   +1 ms]   foo\.idea\modules.xml (existing - skipped)
[   +1 ms]   foo\.idea\runConfigurations\main_dart.xml (existing - skipped)
[   +1 ms]   foo\.idea\workspace.xml (existing - skipped)
[   +1 ms]   foo\.metadata (existing - skipped)
[   +1 ms]   foo\android\app\build.gradle (existing - skipped)
[   +1 ms]   foo\android\app\src\main\kotlin\com\example\foo\MainActivity.kt (existing - skipped)
[   +1 ms]   foo\android\build.gradle (existing - skipped)
[   +1 ms]   foo\android\foo_android.iml (existing - skipped)
[   +1 ms]   foo\android\.gitignore (existing - skipped)
[   +1 ms]   foo\android\app\src\debug\AndroidManifest.xml (existing - skipped)
[   +1 ms]   foo\android\app\src\main\AndroidManifest.xml (existing - skipped)
[        ]   foo\android\app\src\main\res\drawable\launch_background.xml (existing - skipped)
[   +1 ms]   foo\android\app\src\main\res\mipmap-hdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-mdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-xhdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\mipmap-xxhdpi\ic_launcher.png (existing - skipped)
[   +1 ms]   foo\android\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png (existing - skipped)
[        ]   foo\android\app\src\main\res\values\styles.xml (existing - skipped)
[   +1 ms]   foo\android\app\src\profile\AndroidManifest.xml (existing - skipped)
[   +1 ms]   foo\android\gradle\wrapper\gradle-wrapper.properties (existing - skipped)
[   +2 ms]   foo\android\gradle.properties (existing - skipped)
[   +1 ms]   foo\android\settings.gradle (existing - skipped)
[   +1 ms]   foo\ios\Runner\AppDelegate.swift (existing - skipped)
[   +1 ms]   foo\ios\Runner\Runner-Bridging-Header.h (existing - skipped)
[   +2 ms]   foo\ios\Runner.xcodeproj\project.pbxproj (existing - skipped)
[   +1 ms]   foo\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[   +1 ms]   foo\ios\.gitignore (existing - skipped)
[   +1 ms]   foo\ios\Flutter\AppFrameworkInfo.plist (existing - skipped)
[   +1 ms]   foo\ios\Flutter\Debug.xcconfig (existing - skipped)
[   +1 ms]   foo\ios\Flutter\Release.xcconfig (existing - skipped)
[        ]   foo\ios\Runner\Assets.xcassets\AppIcon.appiconset\Contents.json (existing - skipped)
[  +12 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\Contents.json (existing - skipped)
[   +1 ms]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\LaunchImage.png (existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[        ]<EMAIL_ADDRESS>(existing - skipped)
[   +1 ms]   foo\ios\Runner\Assets.xcassets\LaunchImage.imageset\README.md (existing - skipped)
[        ]   foo\ios\Runner\Base.lproj\LaunchScreen.storyboard (existing - skipped)
[        ]   foo\ios\Runner\Base.lproj\Main.storyboard (existing - skipped)
[        ]   foo\ios\Runner\Info.plist (existing - skipped)
[   +1 ms]   foo\ios\Runner.xcodeproj\project.xcworkspace\contents.xcworkspacedata (existing - skipped)
[   +1 ms]   foo\ios\Runner.xcodeproj\xcshareddata\xcschemes\Runner.xcscheme (existing - skipped)
[        ]   foo\ios\Runner.xcworkspace\contents.xcworkspacedata (existing - skipped)
[        ]   foo\lib\main.dart (existing - skipped)
[        ]   foo\foo.iml (existing - skipped)
[        ]   foo\pubspec.yaml (existing - skipped)
[        ]   foo\README.md (existing - skipped)
[        ]   foo\test\widget_test.dart (existing - skipped)
[  +43 ms] Running "flutter pub get" in foo...
[   +3 ms] Using E:\flutter\.pub-cache for the pub cache.
[   +1 ms] executing: [E:\flutter apps\todolist_unmodified_dup\foo\] E:\flutter\bin\cache\dart-sdk\bin\pub.bat --verbose get --no-precompile
[ +193 ms] FINE: Pub 2.7.0-dev.2.1.flutter-8b8894648f
[   +5 ms] IO  : Spawning "cmd /c ver" in E:\flutter apps\todolist_unmodified_dup\foo\.
[  +12 ms] IO  : Finished ver. Exit code 0.
[   +1 ms]     | stdout:
[   +1 ms]     | |
[   +1 ms]     | | Microsoft Windows [Version 10.0.18362.535]
[        ]     | Nothing output on stderr.
[ +130 ms] MSG : Resolving dependencies...
[  +21 ms] SLVR: fact: foo is 1.0.0+1
[   +1 ms] SLVR: derived: foo
[  +20 ms] SLVR: fact: foo depends on flutter any from sdk
[   +2 ms] SLVR: fact: foo depends on cupertino_icons ^0.1.2
[   +2 ms] SLVR: fact: foo depends on flutter_test any from sdk
[   +1 ms] SLVR:   selecting foo
[   +1 ms] SLVR:   derived: flutter_test any from sdk
[   +1 ms] SLVR:   derived: cupertino_icons ^0.1.2
[        ] SLVR:   derived: flutter any from sdk
[  +15 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on flutter any from sdk
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on test_api 0.2.11
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on path 1.6.4
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on image 2.1.4
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on quiver 2.0.5
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.9.3
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on vector_math 2.0.8
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on archive 2.0.11
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on args 1.5.2
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on async 2.4.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on boolean_selector 1.0.5
[   +8 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on charcode 1.1.2
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on collection 1.14.11
[   +9 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on convert 2.1.1
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on crypto 2.1.3
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.6
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on meta 1.1.8
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on pedantic 1.8.0+1
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on petitparser 2.4.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on source_span 1.5.5
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.0.0
[   +2 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.0.5
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.1.0
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on typed_data 1.1.6
[   +1 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on xml 3.5.0
[   +1 ms] SLVR:     selecting flutter_test 0.0.0 from sdk
[   +1 ms] SLVR:     derived: xml 3.5.0
[   +2 ms] SLVR:     derived: typed_data 1.1.6
[   +3 ms] SLVR:     derived: term_glyph 1.1.0
[  +12 ms] SLVR:     derived: string_scanner 1.0.5
[   +1 ms] SLVR:     derived: stream_channel 2.0.0
[   +1 ms] SLVR:     derived: source_span 1.5.5
[   +1 ms] SLVR:     derived: petitparser 2.4.0
[   +1 ms] SLVR:     derived: pedantic 1.8.0+1
[   +1 ms] SLVR:     derived: meta 1.1.8
[   +1 ms] SLVR:     derived: matcher 0.12.6
[   +2 ms] SLVR:     derived: crypto 2.1.3
[   +2 ms] SLVR:     derived: convert 2.1.1
[   +1 ms] SLVR:     derived: collection 1.14.11
[   +1 ms] SLVR:     derived: charcode 1.1.2
[   +1 ms] SLVR:     derived: boolean_selector 1.0.5
[   +1 ms] SLVR:     derived: async 2.4.0
[   +2 ms] SLVR:     derived: args 1.5.2
[   +1 ms] SLVR:     derived: archive 2.0.11
[        ] SLVR:     derived: vector_math 2.0.8
[   +4 ms] SLVR:     derived: stack_trace 1.9.3
[   +7 ms] SLVR:     derived: quiver 2.0.5
[   +5 ms] SLVR:     derived: image 2.1.4
[   +1 ms] SLVR:     derived: path 1.6.4
[   +1 ms] SLVR:     derived: test_api 0.2.11
[   +9 ms] SLVR:       selecting cupertino_icons 0.1.3
[   +4 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on collection 1.14.11
[   +1 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on meta 1.1.8
[   +1 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on typed_data 1.1.6
[   +3 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on vector_math 2.0.8
[   +1 ms] SLVR:       fact: flutter 0.0.0 from sdk depends on sky_engine any from sdk
[   +1 ms] SLVR:         selecting flutter 0.0.0 from sdk
[   +3 ms] SLVR:         derived: sky_engine any from sdk
[   +2 ms] SLVR:         fact: xml 3.5.0 depends on petitparser ^2.3.0
[        ] SLVR:         fact: xml 3.5.0 depends on collection ^1.14.0
[        ] SLVR:         fact: xml 3.5.0 depends on convert ^2.1.0
[        ] SLVR:           selecting xml 3.5.0
[        ] SLVR:             selecting typed_data 1.1.6
[   +1 ms] SLVR:               selecting term_glyph 1.1.0
[        ] SLVR:               fact: string_scanner 1.0.5 depends on charcode ^1.1.0
[   +3 ms] SLVR:               fact: string_scanner 1.0.5 depends on meta ^1.1.0
[   +1 ms] SLVR:               fact: string_scanner 1.0.5 depends on source_span ^1.4.0
[   +1 ms] SLVR:                 selecting string_scanner 1.0.5
[   +1 ms] SLVR:                 fact: stream_channel 2.0.0 depends on async >=1.11.0 <3.0.0
[   +1 ms] SLVR:                   selecting stream_channel 2.0.0
[   +1 ms] SLVR:                   fact: source_span 1.5.5 depends on charcode ^1.0.0
[   +2 ms] SLVR:                   fact: source_span 1.5.5 depends on path ^1.2.0
[   +1 ms] SLVR:                   fact: source_span 1.5.5 depends on term_glyph ^1.0.0
[   +1 ms] SLVR:                     selecting source_span 1.5.5
[   +1 ms] SLVR:                     fact: petitparser 2.4.0 depends on meta ^1.1.0
[   +1 ms] SLVR:                       selecting petitparser 2.4.0
[   +2 ms] SLVR:                         selecting pedantic 1.8.0+1
[  +10 ms] SLVR:                           selecting meta 1.1.8
[  +24 ms] SLVR:                           fact: matcher 0.12.6 depends on stack_trace ^1.2.0
[   +3 ms] SLVR:                             selecting matcher 0.12.6
[   +2 ms] SLVR:                             fact: crypto 2.1.3 depends on collection ^1.0.0
[   +2 ms] SLVR:                             fact: crypto 2.1.3 depends on convert >=1.0.0 <3.0.0
[   +2 ms] SLVR:                             fact: crypto 2.1.3 depends on typed_data ^1.0.0
[   +3 ms] SLVR:                               selecting crypto 2.1.3
[   +2 ms] SLVR:                               fact: convert 2.1.1 depends on charcode ^1.1.0
[   +1 ms] SLVR:                               fact: convert 2.1.1 depends on typed_data ^1.1.0
[   +1 ms] SLVR:                                 selecting convert 2.1.1
[  +14 ms] SLVR:                                   selecting collection 1.14.11
[  +10 ms] SLVR:                                     selecting charcode 1.1.2
[   +2 ms] SLVR:                                     fact: boolean_selector 1.0.5 depends on source_span ^1.0.0
[   +1 ms] SLVR:                                     fact: boolean_selector 1.0.5 depends on string_scanner >=0.1.1 <2.0.0
[   +2 ms] SLVR:                                       selecting boolean_selector 1.0.5
[  +14 ms] SLVR:                                       fact: async 2.4.0 depends on collection ^1.5.0
[   +1 ms] SLVR:                                         selecting async 2.4.0
[   +3 ms] SLVR:                                           selecting args 1.5.2
[   +1 ms] SLVR:                                           fact: archive 2.0.11 depends on crypto ^2.0.0
[   +1 ms] SLVR:                                           fact: archive 2.0.11 depends on args ^1.4.0
[   +1 ms] SLVR:                                           fact: archive 2.0.11 depends on path ^1.5.1
[   +1 ms] SLVR:                                             selecting archive 2.0.11
[        ] SLVR:                                               selecting vector_math 2.0.8
[   +1 ms] SLVR:                                               fact: stack_trace 1.9.3 depends on path ^1.2.0
[        ] SLVR:                                                 selecting stack_trace 1.9.3
[        ] SLVR:                                                 fact: quiver 2.0.5 depends on matcher >=0.10.0 <0.13.0
[   +1 ms] SLVR:                                                 fact: quiver 2.0.5 depends on meta ^1.0.0
[   +1 ms] SLVR:                                                   selecting quiver 2.0.5
[  +13 ms] SLVR:                                                   fact: image 2.1.4 depends on archive >=1.0.16 <3.0.0
[   +2 ms] SLVR:                                                   fact: image 2.1.4 depends on xml ^3.2.5
[   +1 ms] SLVR:                                                     selecting image 2.1.4
[   +1 ms] SLVR:                                                       selecting path 1.6.4
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on async ^2.0.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on boolean_selector ^1.0.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on collection ^1.8.0
[        ] SLVR:                                                       fact: test_api 0.2.11 depends on meta ^1.1.5
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on path ^1.2.0
[   +2 ms] SLVR:                                                       fact: test_api 0.2.11 depends on pedantic ^1.0.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on source_span ^1.4.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on stack_trace ^1.9.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on stream_channel >=1.7.0 <3.0.0
[   +1 ms] SLVR:                                                       fact: test_api 0.2.11 depends on string_scanner ^1.0.0
[   +2 ms] SLVR:                                                       fact: test_api 0.2.11 depends on term_glyph ^1.0.0
[   +3 ms] SLVR:                                                       fact: test_api 0.2.11 depends on matcher >=0.12.6 <0.12.7
[   +1 ms] SLVR:                                                         selecting test_api 0.2.11
[   +1 ms] SLVR:                                                           selecting sky_engine 0.0.99 from sdk
[        ] SLVR: Version solving took 0:00:00.346776 seconds.
[        ]     | Tried 1 solutions.
[        ] FINE: Resolving dependencies finished (0.356s).
[  +61 ms] IO  : Writing 4340 characters to text file .\pubspec.lock.
[   +8 ms] FINE: Contents:
[   +3 ms]     | # Generated by pub
[   +1 ms]     | # See https://dart.dev/tools/pub/glossary#lockfile
[   +2 ms]     | packages:
[        ]     |   archive:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: archive
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.11"
[        ]     |   args:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[        ]     |       name: args
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "1.5.2"
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "2.4.0"
[   +1 ms]     |   boolean_selector:
[   +1 ms]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[   +2 ms]     |     source: hosted
[   +1 ms]     |     version: "1.0.5"
[   +2 ms]     |   charcode:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: charcode
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.1.2"
[        ]     |   collection:
[        ]     |     dependency: transitive
[        ]     |     description:
[   +1 ms]     |       name: collection
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +2 ms]     |     source: hosted
[   +1 ms]     |     version: "1.14.11"
[        ]     |   convert:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: convert
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "2.1.1"
[        ]     |   crypto:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: crypto
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.3"
[        ]     |   cupertino_icons:
[   +2 ms]     |     dependency: "direct main"
[   +1 ms]     |     description:
[   +1 ms]     |       name: cupertino_icons
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[   +1 ms]     |     version: "0.1.3"
[   +1 ms]     |   flutter:
[   +2 ms]     |     dependency: "direct main"
[   +1 ms]     |     description: flutter
[   +1 ms]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_test:
[   +1 ms]     |     dependency: "direct dev"
[   +1 ms]     |     description: flutter
[   +1 ms]     |     source: sdk
[        ]     |     version: "0.0.0"
[   +1 ms]     |   image:
[        ]     |     dependency: transitive
[        ]     |     description:
[   +1 ms]     |       name: image
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "2.1.4"
[   +3 ms]     |   matcher:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[   +2 ms]     |       name: matcher
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.6"
[   +2 ms]     |   meta:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: meta
[   +2 ms]     |       url: "https://pub.dartlang.org"
[   +2 ms]     |     source: hosted
[   +2 ms]     |     version: "1.1.8"
[   +1 ms]     |   path:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: path
[   +6 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.6.4"
[   +4 ms]     |   pedantic:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[   +1 ms]     |       name: pedantic
[   +1 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.0+1"
[        ]     |   petitparser:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: petitparser
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.4.0"
[        ]     |   quiver:
[        ]     |     dependency: transitive
[   +1 ms]     |     description:
[        ]     |       name: quiver
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +1 ms]     |     version: "2.0.5"
[   +1 ms]     |   sky_engine:
[        ]     |     dependency: transitive
[        ]     |     description: flutter
[        ]     |     source: sdk
[   +2 ms]     |     version: "0.0.99"
[   +1 ms]     |   source_span:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[   +2 ms]     |       name: source_span
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.5.5"
[        ]     |   stack_trace:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stack_trace
[        ]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.9.3"
[        ]     |   stream_channel:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stream_channel
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: string_scanner
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.5"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[   +7 ms]     |     description:
[   +1 ms]     |       name: term_glyph
[   +2 ms]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   test_api:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[        ]     |       name: test_api
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.2.11"
[        ]     |   typed_data:
[   +1 ms]     |     dependency: transitive
[   +1 ms]     |     description:
[        ]     |       name: typed_data
[   +1 ms]     |       url: "https://pub.dartlang.org"
[   +1 ms]     |     source: hosted
[        ]     |     version: "1.1.6"
[        ]     |   vector_math:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: vector_math
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.8"
[        ]     |   xml:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: xml
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[   +2 ms]     |     version: "3.5.0"
[   +3 ms]     | sdks:
[   +1 ms]     |   dart: ">=2.4.0 <3.0.0"
[   +1 ms] IO  : Writing 2339 characters to text file .\.packages.
[   +1 ms] MSG : Got dependencies!
[        ] FINE: Contents:
[   +1 ms]     | # Generated by pub on 2019-12-23 16:55:21.979991.
[   +1 ms]     | archive:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/
[        ]     | args:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/
[        ]     | async:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/
[        ]     | boolean_selector:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5/lib/
[   +1 ms]     | charcode:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
[   +5 ms]     | collection:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
[   +1 ms]     | convert:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
[   +1 ms]     | crypto:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3/lib/
[   +1 ms]     | cupertino_icons:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
[   +4 ms]     | flutter:file:///E:/flutter/packages/flutter/lib/
[   +1 ms]     | flutter_test:file:///E:/flutter/packages/flutter_test/lib/
[   +2 ms]     | image:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.4/lib/
[   +1 ms]     | matcher:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6/lib/
[   +3 ms]     | meta:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/
[   +1 ms]     | path:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4/lib/
[   +1 ms]     | pedantic:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1/lib/
[        ]     | petitparser:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0/lib/
[        ]     | quiver:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5/lib/
[        ]     | sky_engine:file:///E:/flutter/bin/cache/pkg/sky_engine/lib/
[   +1 ms]     | source_span:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5/lib/
[        ]     | stack_trace:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
[   +1 ms]     | stream_channel:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
[   +1 ms]     | string_scanner:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
[   +1 ms]     | term_glyph:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
[   +1 ms]     | test_api:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11/lib/
[   +1 ms]     | typed_data:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
[   +3 ms]     | vector_math:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
[        ]     | xml:file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0/lib/
[        ]     | foo:lib/
[   +1 ms] IO  : Writing 5484 characters to text file .\.dart_tool\package_config.json.
[   +1 ms] FINE: Contents:
[   +1 ms]     | {
[   +1 ms]     |   "configVersion": 2,
[   +1 ms]     |   "packages": [
[   +2 ms]     |     {
[   +2 ms]     |       "name": "archive",
[   +2 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "args",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "async",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.0"
[        ]     |     },
[        ]     |     {
[   +2 ms]     |       "name": "collection",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "convert",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1",
[        ]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "1.17"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "crypto",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.1"
[   +2 ms]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "cupertino_icons",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///E:/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///E:/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.2"
[   +1 ms]     |     },
[        ]     |     {
[        ]     |       "name": "image",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.4",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +2 ms]     |     {
[   +1 ms]     |       "name": "matcher",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.2"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "meta",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8",
[   +3 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "1.12"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "pedantic",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1",
[        ]     |       "packageUri": "lib/",
[   +5 ms]     |       "languageVersion": "2.1"
[   +8 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "petitparser",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.4"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "quiver",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.0"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///E:/flutter/bin/cache/pkg/sky_engine",
[   +1 ms]     |       "packageUri": "lib/",
[   +2 ms]     |       "languageVersion": "1.11"
[  +17 ms]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "source_span",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.8"
[   +1 ms]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "stack_trace",
[   +2 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3",
[        ]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "1.23"
[   +3 ms]     |     },
[   +3 ms]     |     {
[   +1 ms]     |       "name": "stream_channel",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0",
[        ]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5",
[   +3 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "term_glyph",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0",
[   +1 ms]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "1.8"
[        ]     |     },
[   +1 ms]     |     {
[   +1 ms]     |       "name": "test_api",
[   +5 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11",
[   +2 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.2"
[   +1 ms]     |     },
[        ]     |     {
[   +1 ms]     |       "name": "typed_data",
[   +1 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6",
[   +1 ms]     |       "packageUri": "lib/",
[   +4 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +1 ms]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.0"
[   +1 ms]     |     },
[   +1 ms]     |     {
[   +2 ms]     |       "name": "xml",
[  +16 ms]     |       "rootUri": "file:///E:/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0",
[   +1 ms]     |       "packageUri": "lib/",
[   +1 ms]     |       "languageVersion": "2.3"
[   +2 ms]     |     },
[   +6 ms]     |     {
[   +1 ms]     |       "name": "foo",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.1"
[        ]     |     }
[   +1 ms]     |   ],
[        ]     |   "generated": "2019-12-23T11:25:22.122736Z",
[   +1 ms]     |   "generator": "pub",
[   +1 ms]     |   "generatorVersion": "2.7.0-dev.2.1.flutter-8b8894648f"
[        ]     | }
[  +17 ms] Running "flutter pub get" in foo... (completed in 1.4s)
[ +213 ms] Generating E:\flutter apps\todolist_unmodified_dup\foo\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +38 ms] Wrote 3 files.
[   +1 ms]
           All done!
[  +19 ms] executing: E:\android studio\jre\bin\java -version
[ +111 ms] Exit code 0 from: E:\android studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[ +142 ms] executing: [E:\flutter\] git -c log.showSignature=false log -n 1 --pretty=format:%ar
[  +78 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%ar
[   +1 ms] 11 days ago
[  +75 ms] executing: E:\flutter\bin\cache\artifacts\engine\android-arm-profile\windows-x64\gen_snapshot
[+1179 ms] Exit code 255 from: E:\flutter\bin\cache\artifacts\engine\android-arm-profile\windows-x64\gen_snapshot
[   +1 ms] At least one input is required
           Usage: gen_snapshot [<vm-flags>] [<options>] <dart-kernel-file>

           Common options:
           --help
             Display this message (add --verbose for information about all VM options).
           --version
             Print the VM version.

           To create a core snapshot:
           --snapshot_kind=core
           --vm_snapshot_data=<output-file>
           --isolate_snapshot_data=<output-file>
           <dart-kernel-file>

           To create an AOT application snapshot as assembly suitable for compilation
           as a static or dynamic library:
           --snapshot_kind=app-aot-assembly
           --assembly=<output-file>
           [--obfuscate]
           [--save-obfuscation-map=<map-filename>]
           <dart-kernel-file>

           To create an AOT application snapshot as an ELF shared library:
           --snapshot_kind=app-aot-elf
           --elf=<output-file>
           [--strip]
           [--obfuscate]
           [--save-obfuscation-map=<map-filename>]
           <dart-kernel-file>

           AOT snapshots can be obfuscated: that is all identifiers will be renamed
           during compilation. This mode is enabled with --obfuscate flag. Mapping
           between original and obfuscated names can be serialized as a JSON array
           using --save-obfuscation-map=<filename> option. See dartbug.com/30524
           for implementation details and limitations of the obfuscation pass.
[  +92 ms] executing: E:\android studio\jre\bin\java -version
[  +91 ms] Exit code 0 from: E:\android studio\jre\bin\java -version
[   +1 ms] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
           OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[   +6 ms] java -version
[ +189 ms] executing: C:\Users\Praneeth1\AppData\Local\Android\Sdk\tools\bin\sdkmanager --licenses
[+4569 ms] executing: C:\Users\Praneeth1\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[  +35 ms] Exit code 0 from: C:\Users\Praneeth1\AppData\Local\Android\Sdk\platform-tools\adb.exe devices -l
[   +1 ms] List of devices attached
           ce0118218af134390c     device product:dreamltexx model:SM_G950F device:dreamlte transport_id:1
[  +10 ms] C:\Users\Praneeth1\AppData\Local\Android\Sdk\platform-tools\adb.exe -s ce0118218af134390c shell getprop
[ +147 ms] ro.hardware = samsungexynos8895
[   +5 ms] [√] Flutter: is fully installed. (Channel unknown, v1.13.2, on Microsoft Windows [Version 10.0.18362.535], locale en-US)
           [!] Android toolchain - develop for Android devices: is partially installed; more components are available. (Android SDK version 29.0.2)
           [√] Android Studio: is fully installed. (version 3.5)
           [√] IntelliJ IDEA Community Edition: is fully installed. (version 2019.2)
           [!] VS Code: is partially installed; more components are available. (version 1.38.1)
           [√] Connected device: is fully installed. (1 available)

           Run "flutter doctor" for information about installing additional components.

[  +25 ms] In order to run your application, type:

             $ cd foo
             $ flutter run

           Your application code is in foo\lib\main.dart.

[   +4 ms] "flutter create" took 9,029ms.

[√] Flutter (Channel unknown, v1.13.2, on Microsoft Windows [Version 10.0.18362.535], locale en-US)
    • Flutter version 1.13.2 at E:\flutter
    • Framework revision 4944622b5d (11 days ago), 2019-12-12 18:43:58 +0000
    • Engine revision 12bf95fd49
    • Dart version 2.7.0 (build 2.7.0-dev.2.1 8b8894648f)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Praneeth1\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = C:\Users\Praneeth1\AppData\Local\Android\Sdk
    • Java binary at: E:\android studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    X Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[√] Android Studio (version 3.5)
    • Android Studio at E:\android studio
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] IntelliJ IDEA Community Edition (version 2019.2)
    • IntelliJ at E:\IntelliJ IDEA Community Edition 2019.2.2
    • Flutter plugin version 42.1.3
    • Dart plugin version 192.7761

[!] VS Code (version 1.38.1)
    • VS Code at C:\Users\Praneeth1\AppData\Local\Programs\Microsoft VS Code
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[√] Connected device (1 available)
    • SM G950F • ce0118218af134390c • android-arm64 • Android 9 (API 28)

! Doctor found issues in 2 categories.
Process finished with exit code 0

Hi @AnuragVadd
if you are experiencing issues with a FlutterFire plugin,
please open the issue in the dedicated github;
same for issues with the 3rd party plugin flutter_local_notifications [github].
Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
thank you


[LIVY-866] Optimizing Yarn GetApplications Query to prevent additional load on Yarn and Livy

What changes were proposed in this pull request?
Currently Livy queries Yarn applications by applicationType : Spark. This will put heavy load on Yarn clusters if there are thousands or more Spark application in all states (running, finished, failed, queued etc.).
A better approach would be to query the applications by tags in addition to job type since Livy only needs to track application with certain application tags. However, YarnClient does not expose any API to query applications by tags.
As part of this imlementation, extending the YarnClientImpl and implementing getApplications method which can take GetApplicationRequest as paramter. Instead of querying all SPARK application, query SPARK application with required tags to avoid load on Yarn and Livy servers.
JIRA: https://issues.apache.org/jira/browse/LIVY-866
How was this patch tested?
Verfied in a local Yarn cluster. Checked in the trace logs that the request is sent with the applicationTags and the response returns the application report. Please see the logs below.
Verified that other calls to Yarn client such as getApplicationAttemptReport, getContainerReport are successful.
Updated existing tests to use the new YarnClientExt.
21/09/07 15:38:50 TRACE YarnClientExt: getApplications called in YarnClientExt with GetApplicationsRequest, calling rmClient to get Applications
21/09/07 15:38:50 TRACE ProtobufRpcEngine: 75: Call -> <IP_ADDRESS>/<IP_ADDRESS>:8032: getApplications {application_types: "SPARK" applicationTags: "livy-batch-5-osefkl7m"}
21/09/07 15:38:50 DEBUG Client: IPC Client (72154307) connection to <IP_ADDRESS>/<IP_ADDRESS>:8032 from Administrator sending #28
21/09/07 15:38:50 DEBUG Client: IPC Client (72154307) connection to <IP_ADDRESS>/<IP_ADDRESS>:8032 from Administrator got value #28
21/09/07 15:38:50 DEBUG ProtobufRpcEngine: Call: getApplications took 8ms
21/09/07 15:38:50 TRACE ProtobufRpcEngine: 75: Response <- <IP_ADDRESS>/<IP_ADDRESS>:8032: getApplications {applications { applicationId { id: 2 cluster_timestamp:<PHONE_NUMBER>715 } user: "Administrator" queue: "default" name: "SparkBatchJobTest-8" host: "N/A" rpc_port: -1 yarn_application_state: ACCEPTED trackingUrl: "http://MININT-AHVKP1D:8088/proxy/application_1631009244715_0002/" diagnostics: "[Tue Sep 07 15:38:50 +0530 2021] Application is Activated, waiting for resources to be assigned for AM.  Details : AM Partition = <DEFAULT_PARTITION> ; Partition Resource = <memory:14336, vCores:8> ; Queue\'s Absolute capacity = 100.0 % ; Queue\'s Absolute used capacity = 0.0 % ; Queue\'s Absolute max capacity = 100.0 % ; " startTime:<PHONE_NUMBER>477 finishTime: 0 final_application_status: APP_UNDEFINED app_resource_Usage { num_used_containers: 0 num_reserved_containers: 0 used_resources { memory: 0 virtual_cores: 0 3: "\n\tmemory-mb\020\000\032\002Mi \000" 3: "\n\006vcores\020\000\032\000 \000" } reserved_resources { memory: 0 virtual_cores: 0 3: "\n\tmemory-mb\020\000\032\002Mi \000" 3: "\n\006vcores\020\000\032\000 \000" } needed_resources { memory: 0 virtual_cores: 0 3: "\n\tmemory-mb\020\000\032\002Mi \000" 3: "\n\006vcores\020\000\032\000 \000" } memory_seconds: 0 vcore_seconds: 0 8: 0x00000000 9: 0x00000000 10: 0 11: 0 12: "\n\tmemory-mb\020\000" 12: "\n\006vcores\020\000" 13: "\n\tmemory-mb\020\000" 13: "\n\006vcores\020\000" } originalTrackingUrl: "N/A" currentApplicationAttemptId { application_id { id: 2 cluster_timestamp:<PHONE_NUMBER>715 } attemptId: 1 } progress: 0.0 applicationType: "SPARK" applicationTags: "livy-batch-5-osefkl7m" 21: 1 22: 0 23: "\b\000" 24: "<Not set>" 25: "<DEFAULT_PARTITION>" 26: "\b\001\022\030\b\001\022\tUNLIMITED\030\377\377\377\377\377\377\377\377\377\001" 27: 0 }}

@jerryshao @zjffdu @alex-the-man Could you kindly help in reviewing this PR? Thanks.


simplify meta introspection

The various methods on lake/api.Interface that scan data structures should be restructured as a query to the same meta-data thereby unify the query model with the lake introspection.

@mccanne confirmed that this one is a duplicate of #2935, so, closing this one.


acceptLabel doesn't work on confirm dialog simple syntax

Describe the bug
In the simple syntax of confirm dialog, the acceptLabel doesn't work and only the cancel button appears.
With the full syntax work fine
To Reproduce
$this->dialog()->confirm([
            'title'       => 'Are you Sure?',
            'description' => 'Save the information?',
            'acceptLabel' => 'Yes, save it',
            'method'      => 'save',
            'params'      => 'Saved',
        ]);

Sorry for delay i think was a browser cache problem


KERNEL: Add pattern to resolve layout confliction

https://github.com/openxla/iree/pull/16379 for this.

This is done.


Add More Resolutions

Can you also add higher resolutions than 1080p, H264 can play 4k videos

?

Sorry, this is not possible. Youtube removed the 4k and 1440p h.264 streams a few months ago. 4k streams are only available with VP9.

Maybe you could update the extension with a fix to bypass that, H264 codec does support 4k videos
https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC

H.264 does support 4k but Youtube does not encode video in h.264 4k anymore: http://www.streamingmedia.com/Articles/News/Online-Video-News/YouTube-Stops-H.264-4K-Encoding%3B-Will-Apple-Get-on-Board-115970.aspx

Maybe you could add a fix in the extension to bypass that

It is not possible to bypass, because the 4k h.264 video does not exist. The only 4k videos on youtube are vp9 encoded. This is disappointing because many users don't have the hardware to properly decode vp9.
As a possible workaround, you can try downloading the 4k vp9 video using youtube-dl https://rg3.github.io/youtube-dl/ and playing it offline with something like MPC-HC or VLC.
Offline video players may give you better performance than Chrome's built in decoder.

Buy maybe you could add the 4k video quality on YouTube with the extension

And also you could add the color correction for the H264 codec like the VP9 codec has

?

Don't expect an instant reply.

?

This would be great if you could find a workaround so that we can play H264 videos in 4k

It is not possible to bypass, because the 4k h.264 video does not exist. The only 4k videos on youtube are vp9 encoded. This is disappointing because many users don't have the hardware to properly decode vp9.
As a possible workaround, you can try downloading the 4k vp9 video using youtube-dl https://rg3.github.io/youtube-dl/ and playing it offline with something like MPC-HC or VLC.
Offline video players may give you better performance than Chrome's built in decoder.

Hi erkserkserks, could you please make the h264ify extension switch to VP9 when streams higher than 1080p are available? Thanks for your great work btw!

This would be great if you could find a workaround so that we can play H264 videos in 4k
He doesn't work for Youtube. He cannot make Youtube provide this.

It is not possible to bypass, because the 4k h.264 video does not exist. The only 4k videos on youtube are vp9 encoded. This is disappointing because many users don't have the hardware to properly decode vp9.
As a possible workaround, you can try downloading the 4k vp9 video using youtube-dl https://rg3.github.io/youtube-dl/ and playing it offline with something like MPC-HC or VLC.
Offline video players may give you better performance than Chrome's built in decoder.

Hi erkserkserks, could you please make the h264ify extension switch to VP9 when streams higher than 1080p are available? Thanks for your great work btw!

This would be great. Force h.264 only for resolutions where it is available but still allow and display VP streams for resolutions it isn't.

Ok you can close the issue now


No warning to users whose staging deployment does not match their production deployment when they set a new deployment

Is your feature request related to a problem? Please describe.
As an app developer, when I set a new deployment with a different scale than the existing deployment, there is no warning that tells me that I am about to reduce the number of instances or vCPU/memory which will be in production.
When this feature was shown to a Spring expert with PaaS experience, he expressed frustration that the system is not making sensible default scaling choices for the user when switching deployments.
Describe the solution you'd like
When I set a new deployment with different scale than the existing deployment, I want to see a warning that my deployments are not at the same scale, and I may want to scale my staging deployment first before setting it as the production deployment.
"Warning: Your two deployments are not equally scaled. You may want to scale your staging deployment before setting it as the production deployment"
Describe alternatives you've considered
Another way to remedy this issue would be to automatically scale up the staging deployment before initiating the deployment switch. It would be reasonable to assume that the user wants their new production deployment to operate at the same level of scale as their existing production deployment. However, this would probably require more work than simply printing a warning, so I recommend simply printing a warning to the user as a first step.
Additional context

@zmssp is this still valid?

This is the current design which can tell the desired instance count used by theh deployment


Possible issue validating JSON Schema instances against metaschemas

Forgive me if I'm doing something wrong here.
I've got json-schema working fine for validating arbitrary JSON instances against a schema. In my case the instances are OAS documents and the schema is the published OAS 3.0 schema.
When I try to validate the published OAS schema as the instance, using the JSON Schema metaschema as the schema, I get the following error:-
TypeError: Cannot read property 'compile' of undefined
      at compileSchema (/home/mike/node/openapi-specification/node_modules/@hyperjump/json-schema-core/lib/core.js:122:55)
      at compileSchema (/home/mike/node/openapi-specification/node_modules/@hyperjump/json-schema-core/lib/core.js:110:35)
      at process._tickCallback (internal/process/next_tick.js:68:7)
      at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
      at startup (internal/bootstrap/node.js:283:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)

If I change any character in the id value of the metaschema so it doesn't collide with the actual id of the published metaschema, the error goes away and both positive and negative validations work correctly.

Can you link me to the OAS schema. I can't seem to find it.

https://raw.githubusercontent.com/OAI/OpenAPI-Specification/master/schemas/v3.0/schema.json

I figured it out. It's getting confused about getting a meta schema as a schema. I didn't think to test that because it's always validating against the meta schema. Turns out the order matters. I should have it fixed soon.

I just pushed some fixes for this an a couple other things. Give it another try and let me know if you notice anything else that doesn't seem right.

Can confirm this is fixed in 0.4.2. Many thanks!


Snow level

Adds support for Snow to the relevent .level tags and mechs.
Also contains general file and meta cleanup, for maintainability.

I think i did it,

:D


Do not destroy the Map object directly

Destroying the Map object directly can cause the main thread to hang in case we need to cancel a request.
When we make NodeFileSource a request, we invoke a callback that is set on the JavaScript code that is likely to map to some network request or read a file on the filesystem asynchronously. If we destroy the Map object before the request gets answered, the Map object will ask the NodeFileSource to cancel the request and wait.
This will never happen because since the Map object destruction is synchronous and is initiated from the main thread, the NodeFileSource will never have a chance to return to cancel the request, because it is also living on the main thread (that is now blocked).
Letting the GC decide when it is fine to destroy these objects is probably a better option because it will take of these dependencies.
Effectively, filesource.cancel is never called.

@mikemorris please take a look. On my tests, the GC was destroying ~NodeMap consistently and I ran the tests in a loop for 1k times just fine.

Argh, I named this branch with the wrong prefix. This supposedly will fix #129.

Letting the GC decide when it is fine to destroy these objects is probably a better option because it will take of these dependencies.

I am skeptical that nondeterministic destruction of ~Map is going to work out. Map holds on to so many memory and non-memory resources that it needs to have deterministic finalization. There must be a way to ensure, from the JS side, that all Map resources have been deallocated.

I am skeptical that nondeterministic destruction of ~Map is going to work out. Map holds on to so many memory and non-memory resources that it needs to have deterministic finalization. There must be a way to ensure, from the JS side, that all Map resources have been deallocated.

We can probably release the Map object earlier if the refcount drops to zero (so it would be gc'ed anyway in the future), but we would be doing the destruction synchronously blocking the main thread while we could do some useful computation. My assumption is that the GC will run (or try to) when the main thread is idle waiting for the workers.
One thing that I noticed is that previous to this patch, the ~NodeMap is never called when running the test cases on my desktop but after adding this low mem hint, it gets called consistently.
BTW, I realized that even with my patch, we might hit some problems in the future with these requests to the FileSource. @mikemorris (please correct me): I noticed that they do not increase the NodeMap refcount that originated the call even though they will ultimately get back to it, so we have a hidden dependency.

I was thinking of a way of fixing this issue:

We could simplify the node-js bindings a lot by getting rid of NodeFileSource and merging it with NodeMap.
NodeMap would also be a mbgl::FileSource, so the user of the API would have to set a request callback like in map.request = function() {}.
This way, we can increase the NodeMap refcount correctly every time we make a request.
If we really choose to go the map.release() way, we can cancel the requests correctly because we control the callback queue.

Going to close this one and open a new one because the PR doesn't really reflect what was initially proposed here.


Input forms have inconsistent styling

@gnehapk
Input forms seem to have inconsistent styling, i.e. the input fields sometimes have rounded edges, and sometimes straight edges.  Per PatternFly, they should all be straight edges.
The Next button in the Create Pool workflow should not be the blue cyan color but rather the other grey color like the "Cancel" button, which is enabled (per the design).
I've added screenshots from Create Pool and Create RBD workflows to highlight these styling inconsistencies:

-- see Type and Cluster fields have rounded edges
-- note the color of the Next button.  See https://redhat.invisionapp.com/share/2T9LPMEEB#/screens/228811305.

-- see Cluster name (label probably should be "Cluster" to be consistent with the Create Pool workflow) and Target size spinner have rounded edges

@julienlim @sankarshanmukhopadhyay This Issue reports 3 inconsistency in UI:

Related to the round edges.
Related to the color of "create pool" button.
Cluster Name should be Name in Create RBD.

Issue[1]: I am not able to reproduce it. I think you are using a MAC OS X and the user-agent stylesheet for Chrome with MAC OS gives a default border-radius of 5px to all the corners. Will mark this Issue as Enhancement and will try to solve it.
Issue[2]: Ack! I mark this issue as Bug.
Issue[3]: I can see Cluster Name written in UX of Create RBD(https://redhat.invisionapp.com/share/EHAC6S0N4#/screens/217735641). Please Acknowledge and will mark this Issue as Enhancement.


watchdog_kick: non-allocating

Should we just write the 4 bytes of the uint64 timestamp in the watchdog file and struct.unpack it on the python side?

~25% of the QUIState::update()'s time is spent on  watchdog_kick when onroad. think it's better not to  waste any cpu on unnecessary things even just a tiny bit.

We also don't need to kick the watchdog on every update() call. Maybe that got changed in one of the refactors? The timeout is 5 seconds, so it's fine to only call kick every second.

Good to merge?

yes


Adding DC/OS configuration for authorization token

adding headers interceptor for authorization token

adding refresh scope for autoconfigured client beans

adjusting tests for refresh scope

Resolves #26

For testing against secured DC/OS cluster use:
dcos auth login
export SPRING_APPLICATION_JSON={"\"spring.cloud.deployer.mesos.dcos.authorization-token\":\"$(dcos config show core.dcos_acs_token)\""}

before running tests

LGTM, merging.


[New architecture] Composer sometimes not expanding at all even when the content is too long.

If you haven't already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

This issue is related to the ongoing new architecture adoption. It was reported on the build with new architecture enabled on the relevant PR.

Version Number: 1.4.42-1
Reproducible in staging?: no
Reproducible in production?: no
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @ishpaul777 here
Slack conversation:
Action Performed:
Break down in numbered steps
Expected Result:
Composer expanding properly.
Actual Result:
Composer sometimes not expanding how it should.
Workaround:
Not investigated yet.
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Available in the linked comment.

View all open jobs on GitHub

Will be tested once the PR is deployed.


Error running tutorial

Following the tutorial I got this error
WARN[2017-11-02T23:26:38-05:00] Failed to find matching request from simulation  destination=time.jsontest.com error=No match found method=GET path=/ query=map[]
ERRO[2017-11-02T23:26:38-05:00] There was an error when matching              error=Could not find a match for request, create or record a valid matcher first! mode=simulate request=&map[headers:map[Accept:[*/*] Proxy-Connection:[Keep-Alive] User-Agent:[curl/7.54.0]] body: method:GET scheme:http destination:time.jsontest.com path:/ query:map[]] response=&map[error:nil response]

Version: v0.14.2
I got the error at step 3: curl --proxy http://localhost:8500 http://time.jsontest.com
Ports are available

Hi @eddumelendez, I have run through the tutorial, and I couldn't reproduce the error. Could you confirm which version of hoverfly you are using? Which part of the tutorial triggered that error? You can do hoverctl logs --follow to follow the logs. Make sure you don't have other process using the port 8500 and 8888 as well.

Hi @tommysitu I have updated the issue's description with the information required

I have tried both mac and linux version of hoverfly, and I didn't see any problems. Here is my screenshot:
tommysitu@DESKTOP-CC5TOD1:~$ ./hoverctl version

+----------+----------+
| hoverctl | v0.14.2  |
| hoverfly | v0.14.2  |
+----------+----------+
tommysitu@DESKTOP-CC5TOD1:~$ ./hoverctl start
Hoverfly is now running

+------------+------+
| admin-port | 8888 |
| proxy-port | 8500 |
+------------+------+
tommysitu@DESKTOP-CC5TOD1:~$ ./hoverctl mode capture
Hoverfly has been set to capture mode
tommysitu@DESKTOP-CC5TOD1:~$ curl --proxy http://localhost:8500 http://time.jsontest.com
{
   "time": "10:09:06 PM",
   "milliseconds_since_epoch":<PHONE_NUMBER>342,
   "date": "11-03-2017"
}
tommysitu@DESKTOP-CC5TOD1:~$ ./hoverctl logs
INFO[2017-11-03T22:08:44Z] Default proxy port has been overwritten       port=8500
INFO[2017-11-03T22:08:44Z] Default admin port has been overwritten       port=8888
INFO[2017-11-03T22:08:44Z] Using memory backend
INFO[2017-11-03T22:08:44Z] Proxy prepared...                             Destination=. Mode=simulate ProxyPort=8500
INFO[2017-11-03T22:08:44Z] current proxy configuration                   destination=. mode=simulate port=8500
INFO[2017-11-03T22:08:44Z] Admin interface is starting...                AdminPort=8888
INFO[2017-11-03T22:08:44Z] serving proxy
INFO[2017-11-03T22:08:47Z] Mode has been changed                         mode=capture
INFO[2017-11-03T22:09:06Z] request and response captured                 mode=capture request=&map[query:map[] headers:map[User-Agent:[curl/7.35.0] Accept:[*/*] Proxy-Connection:[Keep-Alive]] body: method:GET scheme:http destination:time.jsontest.com path:/] response=&map[error:nil response]
tommysitu@DESKTOP-CC5TOD1:~$ ./hoverctl status

+------------+----------+
| Hoverfly   | running  |
| Admin port |     8888 |
| Proxy port |     8500 |
| Mode       | capture  |
| Middleware | disabled |
+------------+----------+
tommysitu@DESKTOP-CC5TOD1:~$

If you follow the Creating and exporting a simulation tutorial, the third step is to curl a URL with hoverfly in capture mode, so it shouldn't complain about matching error. Can you use hoverctl status to confirm it is on CAPTURE mode?

It's running ok now. I guess it was in a wrong mode despite to set the capture mode. Thanks @tommysitu

no worry @eddumelendez


epinio cli should check server version

Until we have a more stable API, we should add a check in the cli that it's matching the server version (for now exact match). If they don't match, a warning should be printed and exit the command with an error.
In the future, we can be more flexible with versions and allow small differences between the client and the server.

Duplicate of https://github.com/epinio/epinio/issues/1153


windows drive letters not correctly recognized for input data

it's no bug. NNNN-metafile extension needs a url with file:///C:/xxxx
use 3 /// of no host is given...


Renamed OpenXmlPackage to OpenXml::Package...

Extracted BasePart from Rocx and Xlsx and introduced it as OpenXml::Part

@genebot, I added OpenXml::Parts::Rels and had OpenXml::Package parse them.
I renamed global_rels to just rels — which might or might not be a good idea. (I renamed [local] rels to xl_rels in the xlsx gem since it's at "xl/_rels/workbook.xml.rels" (I suppose workbook_rels might be a better choice)
I built the gem on this branch and pushed it to ruby gems so you can try ROCX on "open_xml_package", "0.1.0.beta1".
Here's what changed in the xlsx gem
And here's, essentially, how Xlsx::Package is defined:
module Xlsx
  class Package < OpenXml::Package
    attr_reader :xl_rels,
                :shared_strings,
                :stylesheet,
                :workbook

    content_types do
      override "/xl/workbook.xml", TYPE_WORKBOOK
      override "/xl/worksheets/sheet1.xml", TYPE_WORKSHEET
      override "/xl/sharedStrings.xml", TYPE_SHARED_STRINGS
      override "/xl/styles.xml", TYPE_STYLES
    end

    def initialize
      super

      # OpenXml::Package expects there to be a `_rels/.rels`
      # which refers to the main thing going on in this package;
      # but that content of that object gets assigned here.
      #
      # I wonder: does `_rels/.rels` always contain only one
      # relationship? Just the main document? We might invent
      # a class method to assign that.
      rels.add_relationship REL_DOCUMENT, "xl/workbook.xml"

      # I suppose Rels constructor could take a block (optionally)
      # and instance_eval it to put a mini DSL here.
      @xl_rels = OpenXml::Parts::Rels.new([
        { "Type" => REL_SHARED_STRINGS, "Target" => "sharedStrings.xml" },
        { "Type" => REL_STYLES, "Target" => "styles.xml" }
      ])
      @shared_strings = Xlsx::Parts::SharedStrings.new
      @stylesheet = Xlsx::Parts::Stylesheet.new
      @workbook = Xlsx::Parts::Workbook.new(self)

      # These four lines might be combined with the previous four assignments
      add_part "xl/_rels/workbook.xml.rels", xl_rels
      add_part "xl/sharedStrings.xml", shared_strings
      add_part "xl/styles.xml", stylesheet
      add_part "xl/workbook.xml", workbook
    end

  end
end


[CSDiag] Improving the fix-it for defining computed variables

This PR offers an improvement when the user is trying to define a computed property that is initialised with a closure. For example:
class Foo {
  var something: Int = { return 0 }
}

We currently emit an error diagnostic for the above, with a fix-it to add ():

Function produces expected type 'Int'; did you mean to call it with '()'?

In case of extensions, we emit:

Extensions must not contain stored properties

With this change, we will offer another fix-it to convert it into a computed property, by removing the = and if the property is immutable, then also changing the let to a var.
Resolves SR-9267.

cc @xedin

@xedin For this specific case, it does go through the fix, but there are other cases where it doesn't go through the fix.

@theblixguy I think it would be great to factor this logic into a separate diagnostic which could be used from both places if possible...

@xedin I have extracted the fix-it code into a separate method in ContextualFailure. Is that what you meant?

@swift-ci please smoke test

Build failure on OSX looks unrelated to me.

20:48:07 Fatal error: 'try!' expression unexpectedly raised an error: Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "kind", intValue: nil), Swift.DecodingError.Context(codingPath: [_JSONKey(stringValue: "Index 0", intValue: 0)], debugDescription: "No value associated with key CodingKeys(stringValue: "kind", intValue: nil) ("kind").", underlyingError: nil)): file /Users/buildnode/jenkins/workspace/swift-PR-osx-smoke-test/branch-master/swiftpm/Sources/SPMLLBuild/llbuild.swift, line 186

@swift-ci please smoke test macOS platform

Same error in SwiftPM. @aciidb0mb3r could you take a look?

Should be fixed now, try rerunning the CI

I don't have the permission to run the CI, could you run the smoke test on macOS?

@swift-ci please smoke test macOS platform

@swift-ci please smoke test macOS platform

Thanks, all tests are passing now 🎉

@xedin Can I cherry pick this to the 5.1 branch?

@theblixguy please do!


Add LoopWarning constraint family

It prevents a nasty mistake, but at what cost?

Closing because I already incorporated this into the master branch, after becoming more satisfied with the tradeoffs.


Add License

Hey all, wanted to reach out regarding a license for this template.
Currently, with no license it's by default "All right reserved" see https://github.com/sveltejs/template/issues/78 and https://github.com/sveltejs/template/pull/201 for more info on a similar situation - project with a public template on github and no license. Copy pasting from Svelte issue #78:

From the GitHub guidance on licensing:

You're under no obligation to choose a license. However, without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work. If you're creating an open source project, we strongly encourage you to include an open source license. The Open Source Guide provides additional guidance on choosing the correct license for your project.

If you don't want to restrict things you can Use the 0BSD license - https://opensource.org/licenses/0BSD, alternatively you can go the path of Gorm and Gin, which both use the MIT license - https://opensource.org/licenses/MIT. These are just suggestions, of course, and the decision is ultimately up to you
Created https://github.com/dipeshdulal/clean-gin/pull/32 for 0BSD and https://github.com/dipeshdulal/clean-gin/pull/33 for MIT License. Feel free to merge either of them if you like those choices

Thank You. 🙇


Add the option to disable the node module related plugins

As suggested by @sokra, we're supposed to have an option for node module related plugin, and we can use that option to disable shims about node.module

Add a test or the CI build will fail...

@shivawu, still interested in finishing this PR?


[Bug]: doesn't render anything when using lazyCompilation

System Info
System:
OS: macOS 14.5
CPU: (10) arm64 Apple M1 Max
Memory: 10.52 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.4 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/node
Yarn: 3.8.1 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/yarn
npm: 10.7.0 - ~/.local/state/fnm_multishells/68940_1723172287866/bin/npm
bun: 1.1.24 - /opt/homebrew/bin/bun
Browsers:
Chrome: 127.0.6533.120
Safari: 17.5
Details

Reproduce link
https://github.com/backstage/backstage/pull/25953/files#diff-de40b39bd698be14c4aeaf0dcd1632014902ef074c355630cce0809205e15c2dR428
Reproduce Steps
git clone https://github.com/JounQin/backstage.git
git checkout feat/rspack
yarn install

Remove !useRspack &&  at
https://github.com/JounQin/backstage/blob/551abf6d55e3b62f24375ef48ee7ea4d7cb791af/packages/cli/src/lib/bundler/config.ts#L428
Then run yarn dev

Is this expected ?

@JSerFeng Yes! Is there a version for testing?

But actually I didn't change anything but follow your reproduce steps

I guess you are using custom client entry ?
If disable lazy compilation for entries, it works, Im still investigating it

I tried {entries: false} but it seems does not work as expected still.

nope

Sorry I almost forget this 🥲, I'll see if I can repro later


Error when running sh make.sh

It fails here:
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’      struct is_convertible         ^~~~~~~~~~~~~~ /usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<<anonymous>, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool <anonymous> = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
The full error log can be found here
Does anyone know what the problem is?

Solved by downgrading/upgrading to CUDA Version 10.2.89.


Screen sharing from local stream

Package Name: communication-calling
Package Version: 1.3.2

Is there is any possibility to share some local stream (like second camera) as screen sharing?

SDK was updated with new capabilities that include injecting custom MediaStream's as a source of video - https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-raw-media-access?pivots=platform-web
@andriinuts please check above and let us know if that satisfies the requirement


Fix -static builds on master

Pull in Todd Short's fix cfd7225fbb from 1.1.1, which moves the disabling
of pic, threads and statics to before they are checked.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

24 hours has passed since 'approval: done' was set, but this PR has failing CI tests.  Once the tests pass it will get moved to 'approval: ready to merge' automatically, alternatively please review and set the label manually.

Merged to master, thanks for back porting this.


Pack more files

Hello!
My Question is that: How to pack more files into your executable (images and stuff like that). Now it just packs the .rb files only.
Here is an image for comparison

(Left one is source and right one is the release)
So anyone know a solution? To pack all the other files as well? (.vs, .fs, .dlls, .jpg, .png), in a way that I obtain just the executable?
Anyway, the outcome is nice and working! (By following learnopengl.com) :

Thank you in advance!
Greetings,
Samuel from Budapest 😁

Okay, eventually I got my project working. 😏
A little demo what Ruby can achive with Opengl:

Okay, eventually I got my project working. 😏
A little demo what Ruby can achive with Opengl:

@samuelintheforest ruby 3.x?


EMPTY TODO COMMENT

Issue created from code comment with imdone.io

TODO  id:1
extensions/git/src/commands.ts:164
@imdone - Efficiently manage your project's technical debt. imdone.io

Issue closed by removing a comment.

TODO  id:1 gh:3
extensions/git/src/commands.ts:164
@imdone - Efficiently manage your project's technical debt. imdone.io


Error when run "realreaction.py"

Hi I have a problem to run "realreaction.py" and would appreciate any help.
I did run "lets_start.py" script with with default config.json  and created model . But I am getting error message every time I run "realreaction.py"
ValueError: Variable multi_input_rnn/proj/proj_weight already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
If I am changing config.jsom  to have "reuse": true then I am getting error
ValueError: Trying to share variable lstm_3/w_gates, but specified shape (256, 512) and found shape (134, 512).
originally defined at:
File "", line 107, in main
reuse=config.reuse)
File "/home/jupyter/vtest/chemopt/rnn.py", line 87, in init
self.cell = cell(**kwargs, name="lstm")
File "/home/jupyter/vtest/chemopt/rnn.py", line 157, in init
create_scope_now_=True)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/template.py", line 154, in make_template
**kwargs)

@testpilot0 I just did a quick test on my computer and it worked just fine. Could you please check

Are you using tensorflow 1.2? I am not sure whether it will work on other tf versions.

Did you change config.json between running lets_start.py and real reaction.py? The config.json needs remain unchanged.

I am running tensor flow 1.13.1 let me install 1.2 and try again. And yes, I am changing config.json before running lets_start.py and do not change it before realreaction.py

@testpilot0 Sry I was using 1.12

I will try 1.12 then. When I run in 1.13 "lets_start.py" works fine and save model but produce warning
[WARNING] From /usr/local/lib/python3.5/dist-packages/tensorflow/python/training/saver.py:966: remove_checkpoint (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to delete files with this prefix.
But "realreaction.py" generate Error. If I restart Kernel then Error goes away.
ValueError: Variable multi_input_rnn/proj/proj_weight already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at:
File "/home/jupyter/vtest/chemopt/rnn.py", line 107, in call
w = tf.get_variable('proj_weight', [hidden_size, tot_dim])
File "/home/jupyter/vtest/chemopt/model.py", line 58, in step
new_x, new_state = self.cell(x, fx, state)
File "/home/jupyter/vtest/chemopt/model.py", line 71, in make_loss
swap_memory=True

@testpilot0 Are you using Jupiter?Did you reset the graph before running realreactions.py?

It does work after reset. Thank you