Error on Windows 10 when adding URL: UnicodeEncodeError: 'charmap' codec can't encode: character maps to

[i] [2021-03-27 04:40:48] ArchiveBox v0.5.4: archivebox add https://youtube.com/
    > E:\ArchiveBox

[!] Warning: Missing 6 recommended dependencies
    ! WGET_BINARY: wget (unable to detect version)
    ! SINGLEFILE_BINARY: single-file (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_SINGLEFILE=False to silence this warning

    ! READABILITY_BINARY: readability-extractor (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_READABILITY=False to silence this warning

    ! MERCURY_BINARY: mercury-parser (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_MERCURY=False to silence this warning

    ! CHROME_BINARY: unable to find binary (unable to detect version)
    ! RIPGREP_BINARY: rg (unable to detect version)

[+] [2021-03-27 04:40:52] Adding 1 links to index (crawl depth=0)...
    > Saved verbatim input to sources/E:\ArchiveBox\sources\1616820052-import.txt
    > Parsed 1 URLs from input (Plain Text)
    > Found 1 new URLs not already in index

[*] [2021-03-27 04:40:52] Writing 1 links to main index...
    √ E:\ArchiveBox\index.sqlite3

[▶] [2021-03-27 04:40:52] Starting archiving of 1 snapshots in index...
    ! Failed to archive link: UnicodeEncodeError: 'charmap' codec can't encode character '\u25be' in position 9443: character maps to <undefined>

Traceback (most recent call last):
  File "d:\python\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Python\Scripts\archivebox.exe\__main__.py", line 7, in <module>
    from .cli import main
  File "d:\python\lib\site-packages\archivebox\cli\__init__.py", line 129, in main
    run_subcommand(
  File "d:\python\lib\site-packages\archivebox\cli\__init__.py", line 69, in run_subcommand
    module.main(args=subcommand_args, stdin=stdin, pwd=pwd)    # type: ignore
  File "d:\python\lib\site-packages\archivebox\cli\archivebox_add.py", line 85, in main
    add(
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\main.py", line 592, in add
    archive_links(new_links, overwrite=False, **archive_kwargs)
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\extractors\__init__.py", line 173, in archive_links
    archive_link(to_archive, overwrite=overwrite, methods=methods, out_dir=Path(link.link_dir))
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\extractors\__init__.py", line 95, in archive_link
    write_link_details(link, out_dir=out_dir, skip_sql_index=False)
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\index\__init__.py", line 333, in write_link_details
    write_html_link_details(link, out_dir=out_dir)
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\index\html.py", line 79, in write_html_link_details
    atomic_write(str(Path(out_dir) / HTML_INDEX_FILENAME), rendered_html)
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\system.py", line 47, in atomic_write
    f.write(contents)
  File "d:\python\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u25be' in position 9443: character maps to <undefined>

what the heck

does it want me to create the system environmet variables or something??

You need to change your system write encoding to use UTF-8, are you on a really old system or something?
Can you try setting PYTHONLEGACYWINDOWSSTDIO=utf-8.

You need to change your system write encoding to use UTF-8, are you on a really old system or something?
Can you try setting the PYTHONLEGACYWINDOWSSTDIO=utf-8 environment variable.

How do you do that

I am on latest win 10

@pirate

Try this:
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@debug-toolbar"

Try this:
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@debug-toolbar"

Also there is no need to @ mention me, I already get notified about all issues. This project is free, don't expect instant support.

weired how is it related to the error

0f33ceb01ad941cf37c2583cdabe9e1d26cac4eb

Here
E:\ArchiveBox>archivebox add 'https://youtube.com'
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "d:\python\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Python\Scripts\archivebox.exe_main.py", line 4, in
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli_init.py", line 76, in
SUBCOMMANDS = list_subcommands()
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli_init.py", line 44, in list_subcommands
module = import_module('.archivebox_{}'.format(subcommand), package)
File "d:\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\archivebox_add.py", line 11, in
from ..main import add
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\main.py", line 22, in
from .parsers import (
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\parsers_init.py", line 17, in
from ..system import atomic_write
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\system.py", line 40
encoding = None if if isinstance(contents, bytes) else 'utf-8'
^
SyntaxError: invalid syntax

Run it again.

Ok

E:\ArchiveBox>archivebox add 'https://youtube.com'
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
Traceback (most recent call last):
File "d:\python\lib\runpy.py", line 194, in run_module_as_main
return run_code(code, main_globals, None,
File "d:\python\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Python\Scripts\archivebox.exe_main.py", line 4, in
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli_init.py", line 76, in
SUBCOMMANDS = list_subcommands()
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli_init.py", line 44, in list_subcommands
module = import_module('.archivebox_{}'.format(subcommand), package)
File "d:\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap.gcd_import(name[level:], package, level)
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\archivebox_add.py", line 11, in
from ..main import add
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\main.py", line 22, in
from .parsers import (
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\parsers_init.py", line 17, in
from ..system import atomic_write
File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\system.py", line 40
encoding = None if if isinstance(contents, bytes) else 'utf-8'
^
SyntaxError: invalid syntax

SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
Traceback (most recent call last):
  File "d:\python\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Python\Scripts\archivebox.exe\__main__.py", line 4, in <module>
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\__init__.py", line 76, in <module>
    SUBCOMMANDS = list_subcommands()
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\__init__.py", line 44, in list_subcommands
    module = import_module('.archivebox_{}'.format(subcommand), __package__)
  File "d:\python\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\archivebox_add.py", line 11, in <module>
    from ..main import add
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\main.py", line 22, in <module>
    from .parsers import (
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\parsers\__init__.py", line 17, in <module>
    from ..system import atomic_write
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\system.py", line 40
    encoding = None if if isinstance(contents, bytes) else 'utf-8'
                       ^
SyntaxError: invalid syntax~~~

Give it a min before retrying, it's being cached.

Btw how to set this environment variable i only know how to set binaries environment variable PYTHONLEGACYWINDOWSSTDIO=utf-8

Ok ill wait

I think archive box crashed

cuz here's what i get by archivebox version
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
Traceback (most recent call last):
  File "d:\python\lib\runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "D:\Python\Scripts\archivebox.exe\__main__.py", line 4, in <module>
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\__init__.py", line 76, in <module>
    SUBCOMMANDS = list_subcommands()
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\__init__.py", line 44, in list_subcommands
    module = import_module('.archivebox_{}'.format(subcommand), __package__)
  File "d:\python\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\cli\archivebox_add.py", line 11, in <module>
    from ..main import add
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\main.py", line 22, in <module>
    from .parsers import (
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\parsers\__init__.py", line 17, in <module>
    from ..system import atomic_write
  File "C:\Users\abhia\AppData\Roaming\Python\Python38\site-packages\archivebox\system.py", line 40
    encoding = None if if isinstance(contents, bytes) else 'utf-8'
                       ^
SyntaxError: invalid syntax

i have 32 bit python on windows 64

It's the same error as before, nothing changed which means you didn't reinstall it successfully. Did run the install command I gave?
pip uninstall archivebox
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@debug-toolbar"

its a problem with my python

It's the same error as before, nothing changed which means you didn't reinstall it correctly. Did you run the install command I gave?
pip uninstall archivebox
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@debug-toolbar"
archivebox add ...

Also first result on Google for set Windows environment variable: https://superuser.com/questions/212150/how-to-set-env-variable-in-windows-cmd-line/212153

i did

Really? Please paste the full verbatim output of running it:
pip uninstall archivebox
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@debug-toolbar"
archivebox add https://youtube.com

nope imma reinstall python

I had both 64  and 32 bit

ok same error still ~~~ C:\Windows\System32>archivebox add https://youtube.com
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
←[01;30m[i] [2021-03-27 06:00:43] ArchiveBox v0.5.6: archivebox add https://youtube.com←[00;00m
←[01;30m    > C:\Windows\System32←[00;00m
Traceback (most recent call last):
File "d:\python\lib\logging\config.py", line 564, in configure
handler = self.configure_handler(handlers[name])
File "d:\python\lib\logging\config.py", line 745, in configure_handler
result = factory(**kwargs)
File "d:\python\lib\logging\handlers.py", line 153, in init
BaseRotatingHandler.init(self, filename, mode, encoding=encoding,
File "d:\python\lib\logging\handlers.py", line 58, in init
logging.FileHandler.init(self, filename, mode=mode,
File "d:\python\lib\logging_init_.py", line 1142, in init
StreamHandler.init(self, self.open())
File "d:\python\lib\logging_init.py", line 1171, in _open
return open(self.baseFilename, self.mode, encoding=self.encoding,
PermissionError: [Errno 13] Permission denied: 'C:\Windows\System32\logs\errors.log'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "D:\Python\Scripts\archivebox-script.py", line 33, in
sys.exit(load_entry_point('archivebox==0.5.6', 'console_scripts', 'archivebox')())
File "d:\python\lib\site-packages\archivebox\cli_init_.py", line 133, in main
run_subcommand(
File "d:\python\lib\site-packages\archivebox\cli_init_.py", line 70, in run_subcommand
setup_django(in_memory_db=subcommand in fake_db, check_db=cmd_requires_db and not init_pending)
File "d:\python\lib\site-packages\archivebox\config.py", line 1096, in setup_django
django.setup()
File "d:\python\lib\site-packages\django_init_.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "d:\python\lib\site-packages\django\utils\log.py", line 75, in configure_logging
logging_config_func(logging_settings)
File "d:\python\lib\logging\config.py", line 809, in dictConfig
dictConfigClass(config).configure()
File "d:\python\lib\logging\config.py", line 571, in configure
raise ValueError('Unable to configure handler '
ValueError: Unable to configure handler 'logfile'

Oh wait i had to change the directory

SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
[i] [2021-03-27 06:06:32] ArchiveBox v0.5.6: archivebox add https://youtube.com
    > E:\ArchiveBox

SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
[!] Warning: Missing 4 recommended dependencies
    ! SINGLEFILE_BINARY: single-file (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_SINGLEFILE=False to silence this warning

    ! READABILITY_BINARY: readability-extractor (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_READABILITY=False to silence this warning

    ! MERCURY_BINARY: mercury-parser (unable to detect version)
      Hint: npm install --prefix . "git+https://github.com/ArchiveBox/ArchiveBox.git"
            or archivebox config --set SAVE_MERCURY=False to silence this warning

    ! CHROME_BINARY: unable to find binary (unable to detect version)

[+] [2021-03-27 06:06:34] Adding 1 links to index (crawl depth=0)...
    > Saved verbatim input to sources/E:\ArchiveBox\sources\1616825194-import.txt
    > Parsed 1 URLs from input (Plain Text)
    > Found 0 new URLs not already in index

[*] [2021-03-27 06:06:35] Writing 0 links to main index...
    √ ./index.sqlite3

It worked, there's no error in that output ^.

but

i cant see anything at all

only a index.js file

Not enough info, I need screenshots, log output, etc. What do you mean you cant see anything, where are you looking? What command are you running to access the server? What URLs are you visiting? etc...

[√] [2021-03-27 06:48:53] "youtube.com"
    https://youtube.com
    √ E:\ArchiveBox\archive\1616827623.800644
      > title
SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc
      > favicon
        Extractor failed:
            Exception Failed to chmod: favicon.ico does not exist (did the previous step fail?)
        Run to see full output:
            cd E:\ArchiveBox\archive\1616827623.800644;
            curl --silent --location --compressed --max-time 60 --output favicon.ico --user-agent "ArchiveBox/0.5.6 (+https://github.com/ArchiveBox/ArchiveBox/) curl/curl 7.55.1 (Windows)" https://www.google.com/s2/favicons?domain=youtube.com

      > singlefile
        Extractor failed:
            FileNotFoundError [WinError 2] The system cannot find the file specified
        Run to see full output:
            cd E:\ArchiveBox\archive\1616827623.800644;
            single-file --browser-executable-path=None "--browser-args=[\"--headless\", \"--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36\", \"--window-size=1440,2000\"]" https://youtube.com singlefile.html

      > pdf
    ! Failed to archive link: Exception: Exception in archive_methods.save_pdf(Link(url=https://youtube.com))

Internal Server Error: /admin/core/snapshot/grid/
Traceback (most recent call last):
  File "D:\Python\Lib\site-packages\archivebox\extractors\__init__.py", line 108, in archive_link
    result = method_function(link=link, out_dir=out_dir)
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "d:\python\lib\site-packages\archivebox\extractors\pdf.py", line 61, in save_pdf
    return ArchiveResult(
  File "<string>", line 12, in __init__
  File "d:\python\lib\site-packages\archivebox\index\schema.py", line 47, in __post_init__
    self.typecheck()
  File "d:\python\lib\site-packages\archivebox\index\schema.py", line 58, in typecheck
    assert all(isinstance(arg, str) and arg for arg in self.cmd)
AssertionError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "d:\python\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
    response = get_response(request)
  File "d:\python\lib\site-packages\django\core\handlers\base.py", line 179, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "d:\python\lib\site-packages\django\utils\decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "d:\python\lib\site-packages\django\views\decorators\cache.py", line 44, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "d:\python\lib\site-packages\django\contrib\admin\sites.py", line 233, in inner
    return view(request, *args, **kwargs)
  File "D:\Python\Lib\site-packages\archivebox\core\admin.py", line 173, in grid_view
    rendered_response = self.changelist_view(request)
  File "d:\python\lib\site-packages\django\utils\decorators.py", line 43, in _wrapper
    return bound_method(*args, **kwargs)
  File "d:\python\lib\site-packages\django\utils\decorators.py", line 130, in _wrapped_view
    response = view_func(request, *args, **kwargs)
  File "d:\python\lib\site-packages\django\contrib\admin\options.py", line 1735, in changelist_view
    response = self.response_action(request, queryset=cl.get_queryset(request))
  File "d:\python\lib\site-packages\django\contrib\admin\options.py", line 1402, in response_action
    response = func(self, request, queryset)
  File "D:\Python\Lib\site-packages\archivebox\core\admin.py", line 184, in update_snapshots
    archive_links([
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "D:\Python\Lib\site-packages\archivebox\extractors\__init__.py", line 180, in archive_links
    archive_link(to_archive, overwrite=overwrite, methods=methods, out_dir=Path(link.link_dir))
  File "d:\python\lib\site-packages\archivebox\util.py", line 112, in typechecked_function
    return func(*args, **kwargs)
  File "D:\Python\Lib\site-packages\archivebox\extractors\__init__.py", line 129, in archive_link
    raise Exception('Exception in archive_methods.save_{}(Link(url={}))'.format(
Exception: Exception in archive_methods.save_pdf(Link(url=https://youtube.com))
"POST /admin/core/snapshot/grid/ HTTP/1.1" 500 145
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='cp1252'>
OSError: [Errno 22] Invalid argument

Can you set set PYTHONLEGACYWINDOWSFSENCODING=1, it's still showing that you're not using UTF-8 encoding.

I cant install docker

Its showing a bunch of errors

Wsl stuff HOW DO WE DO THAT

I even maked a issue in oficial docker github months ago about that

wait

can we use docker-toolbox

Hope you reply soon @pirate

Try running this:
pip uninstall archivebox
pip install "git+https://github.com/ArchiveBox/ArchiveBox.git@dev"
archivebox init --setup
archivebox add https://youtube.com


Test builds leave Git workspace on master

Describe the bug
A few recent changes have caused our disk usage on master to increase substantially.

#1838 Use ADOPTOPENJDK_REPO and ADOPTOPENJDK_BRANCH param in job configure. This changed the behaviour of the test job launches to no longer use lightweight checkout. The effect is that we no longer pull the single pipeline script JenkinsfileBase onto master. But rather we clone the entire test Git repo which totals around 175M (as of today).
The compounding factor is the way the parallel tests run. Now that test jobs spawn multiple child jobs, each with a new name, they each leave another copy of the test repo in a workspace on master.

This is where we're at today on one of our internal servers.
PR1838 was merged on June 25. Parallel testing had been running partially for a little while before this if I recall correctly.
June 25th:
2426 Test jobs
Totaling 208GB disk usage on master. This includes both the workspaces and the console log history which we had set at 30.
Today July 15:
1565 Test jobs (we cleaned up alot of stuff)
Totaling 275GB of disk usage only for the workspaces on master (no logs included in calculation).
Given that this instance currently is capped at 500GB storage and we have other builds on it, we have very little room right now.
What are our options?

Revert back to lightweight checkout. This would break being able to use a parameter variable for the scm checkout (see 1838)
Use a custom refspec for the pipeline clones. I'm not sure this would work as we may have multiple use cases which may not all fit into 1 refspec. TBD
Use shallow clone. Ie. Don't clone the history of the repo, just the latest of whatever branch we need. This seems like the best option to start testing in my opinion.

Thanks for this investigation and synopsis @AdamBrousseau - I agree that option 3 looks like the best starting point.

Thanks @AdamBrousseau . I will update the script to do shallow clone.

I am going reopen this issue as git clone shallow does not seem to save much space. I am not sure what exact cmd Jenkins use, but my local git clone only uses 87M vs Jenkins 174M.
Just for the record, I have tried all cloneOptions in the doc. No of them seems to help much. Also, lightweight option was removed because it does not work with build parameters (see open issue)


setup.py is busted

reproducible with pip install, at least 2.7 & 3.4
looks like setup.py is broken
Downloading/unpacking kmeans
Downloading kmeans-0.3.2.tar.gz
Running setup.py egg_info for package kmeans
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip_build_root/kmeans/setup.py", line 2, in
import kmeans
ImportError: No module named kmeans
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 16, in
File "/tmp/pip_build_root/kmeans/setup.py", line 2, in
import kmeans

ImportError: No module named kmeans

Fixed in 00d993c1864eff16b9c51ddebd2ddf3a836f8382
Removed the py_modules line from setup so that it stops complaining about failing to find kmeans.py in 28e9ee8353d24d33615fcbd2772b128df149a6bb


Replace functools cached_property wrapper with django wrapper

lots of test failures, please make sure these are only our indeterminant test 😉


Is the binary release of version 1.5.6 working for you?

We have made the experience that nexrenderl-cli-win64.exe --version does not do anything on version 1.5.6 (whereas it prints the version number in all other releases we tested including 1.5.5). And it does not seem to work with other commands as well. Just checking if we are doing something wrong on our side.

Thank you, going to check it out. Maybe something went wrong in the building pipeline

Indeed, there is an issue with<EMAIL_ADDRESS>reverted back the commit upgrade, and pushed a new build job.

Thanks a lot for checking and fixing this! I will check the new version out asap!
Cheers!
brassel

Hey @brassel, did that fix the issue for you?

I think so, dev ops installed the new version and I did render successfully
On the virtual machine. However, I want to make 100% sure on Monday which
version they installed.
Thanks again for the fast fix!
Vladyslav Hrytsenko<EMAIL_ADDRESS>schrieb am Sa. 13. Juli 2019
um 09:09:

Hey @brassel https://github.com/brassel, did that fix the issue for you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/inlife/nexrender/issues/187?email_source=notifications&email_token=AAAZHDXNHAXPZ7JLZBSHMNTP7F5T3A5CNFSM4ICG6JX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3LPSA#issuecomment-511096776,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAZHDRSZMAQQCVQAHLG4STP7F5T3ANCNFSM4ICG6JXQ
.

We have installed version 1.5.7 and it works fine for us.
Thanks again!


Setup Glitter chat room

Free for open source https://gitter.im/, we should have one for beta testing at least

Check it: https://gitter.im/LanCoreTeam


Enable bazel  rust_test for authorization logic.

/gcbrun

Whoops, didn't see this was a draft, sorry for the early review.

/gcbrun

@markww this is ready for review.
@aferr can you take a look as well?


[FEATURE] Set security plugin 3.0.0 baseline JDK version to JDK-21

Is your feature request related to a problem? Please describe
Set security plugin 3.0.0 baseline JDK version to JDK-21
Describe the solution you'd like
See please https://github.com/opensearch-project/OpenSearch/issues/10745
Related component
Build
Describe alternatives you've considered
N/A
Additional context
See please https://github.com/opensearch-project/OpenSearch/issues/14011

[Triage] Hi @reta, thanks for filing this issue. Sounds good!


Greg branch merge request

Yo there, I did some coding, basically I finished 2.1.3 and 2.1.5 and did the extensions, which are:

You can now see a map of all the stations (opens in browser) using the display_stations(<list of stations to display>) function in the geo.py module
I changed the MonitoringStation class to make the attributes read-only once they've been set initially to prevent accidentally changing them
I added two new attributes to the MonitoringStation class, catchment_name and max_on_record, because I thought they might be helpful when we actually make the flood prediction bit

Let's not merge quite yet, I still need to add demonstration programs for the extensions.

Ready to merge!


TWD currency not supported

Hi
Would it be possible to support TWD (Taiwan) currency?
Thanks

This issue is very similar to #104

If you have a look at the European Central Bank data, that is forwarded using this exchangerates API, you will see that the TWD is not listed there.
It seems not the purpose of this API to support currencies, but rather to convert the ECB data to a neat JSON format. Despite the fact that I would like to see more currencies in this API, I believe this issue should be closed. You may contact the European Central Bank though, as the ECB supplies the data - if they add the TWD or other currencies, https://exchangeratesapi.io will support these too.

I created an API , it does has TWD, it can be access from here:
<EMAIL_ADDRESS>The API is Free & No Rate Limits, with 150+ currencies, rates are updated daily
More info about API is available here:
https://github.com/fawazahmed0/currency-api
Thanks


Could not resolve "export-dirs"

Describe the bug A clear and concise description of what the bug is.
While serving through vite, I get a yarn error about not being able to resolve "export-dirs". The package is extremely deep in the package hierarchy, so I don't really know much more, and it would probably be pretty hard to create a repro repo. Regardless, please let me know how I can help in testing/reproducing.
To Reproduce

Steps to reproduce the behavior:

Install with yarn berry or later, in either pnp or node-modules mode.
Start up a vite server.

Expected behavior A clear and concise description of what you expected to
happen.
No resolution errors.
Screenshots If applicable, add screenshots to help explain your problem.
✘ [ERROR] Could not resolve "@floating-ui/utils/dom"

    node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs:4:262:
       4 │ ...isTableElement, getContainingBlock } from '@floating-ui/utils/dom';
        ╵                                              ~~~~~~~~~~~~~~~~~~~~~~~~

   You can mark the path "@floating-ui/utils/dom" as external to exclude it from the bundle, which will remove this error.

 ✘ [ERROR] Could not resolve "export-dirs"

     node_modules/@floating-ui/utils/lib/index.js:3:25:
       3 │ module.exports = require('export-dirs')(__dirname);
         ╵                          ~~~~~~~~~~~~~

   You can mark the path "export-dirs" as external to exclude it from the bundle, which will remove this error. You can also surround this "require" call with a try/catch block to handle this failure at run-time instead of bundle-time.

Context:

OS: linux alpine 3.18, through docker
Browser: Google Chrome
Versions:
-- @floating-ui/react-dom: 2.0.4
-- @floating-ui/dom: 1.5.3
-- @floating-ui/core: 1.5.2
-- @floating-ui/utils: 0.1.6
-- @mui/base: 5.0.0-beta.26
-- @mui/material: 5.14.20
-- yarn: 4.0.1
-- vite: 4.5.1
-- vite-plugin-ruby: 3.2.0
-- esbuild: 0.18.20

Additional context Add any other context about the problem here.
This error is triggered deep in the package hierarchy, by way of MUI. I have tried to include all transitive dependencies that I thought might be applicable, as well as the builder packages, but I may have missed some.
I think the error is ultimately triggered by esbuild, not vite, but I'm not sure. I'm also not sure if yarn is involved at all, and I haven't tried installing via node.

 node_modules/@floating-ui/utils/lib/index.js:3:25:

The utils package doesn't have a "lib" directory. I don't really know why this would be occurring in general but it's likely a bug that should filed to the relevant tools instead

This is certainly a weird one. It looks like the @floating-ui/utils package is being replaced with the utils package. But not completely, as it expects the original package's dependencies, even though the generic package's dependencies are the ones referenced in the package.json.
This definitely looks like a yarn issue. I just hope that either I can make a good repro case out of this briar patch, or that yarn accepts my paltry repro-less issue.

Actually, I think this is an issue with our internal Artifactory setup. Closing...


blowie, cricketing (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Expose API/attribute to create ArgoCD for cluster config

Signed-off-by: iam-veeramalla<EMAIL_ADDRESS>Support cluster config if cr.Spec.ManagementScope.Cluster is set to true and cr.Spec.ManagementScope.Namespaces is provided
apiVersion: argoproj.io/v1alpha1
kind: ArgoCD
metadata:
  creationTimestamp: null
  name: argocd-clusterconfig-bar
  namespace: bar
spec:
  resourceExclusions: |
    - apiGroups:
      - tekton.dev
      clusters:
      - '*'
      kinds:
      - TaskRun
      - PipelineRun
  server:
    route:
      enabled: true
  managementScope:
    cluster: true
    namespace: bar,foo

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

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


Prow tests are broken, Failed to get Boskos resource

All prow E2E tests are currently failing. Example: https://k8s-gubernator.appspot.com/build/istio-prow/pr-logs/pull/istio_istio/12916/istio-pilot-e2e-envoyv2-v1alpha3/17520
+ echo 'failed to get a Boskos resource'
failed to get a Boskos resource
+ return 1
+ cleanup
+ [[ True == \T\r\u\e ]]
+ unsetup_clusters
++ kubectl config current-context
error: current-context is not set

I do not see anything particularly bad in logs, the clusters are cleaning up and released, we are slowly getting more available resources.

Seems like some of the resources are free now.
https://velodrome.istio.io/dashboard/db/boskos-dashboard?orgId=1&panelId=4&fullscreen&from=1553879782654&to=1553888147207
We have a total of 89 clusters managed by boskos right now and from the past 30days(except today), ~50% of these are free..
https://velodrome.istio.io/dashboard/db/boskos-dashboard?orgId=1&panelId=4&fullscreen&from=1551299260750&to=1553887660750
we can increase the number of clusters if we are seeing this issues again/often as this might be a red herring.

Seems to be fixed

Happening again
https://velodrome.istio.io/dashboard/db/boskos-dashboard?orgId=1

I think we should increase the number of instances + timeout used by test while waiting for boskos resources.

Adding 20 more projects


scaffolder: create component SignedInUserEmail

Create a new component to have access to the user's email
Feature Suggestion
One of the things I needed to develop the templates was to have information on who is running the template.
In my scenario, the idea is to be able to pass this email as a description of the Pull Request.
The idea is to make the field read-only.
Possible Implementation
import React, { useEffect } from 'react';
import { TextField } from '@material-ui/core';
import { FieldExtensionComponentProps } from '@backstage/plugin-scaffolder';
import { useUserProfile } from '@backstage/plugin-user-settings';

/**
 * SignedInUserEmail Picker
 */
export const SignedInUserEmailExtension = (props: FieldExtensionComponentProps<string>) => {
  const {
    required,
    schema: { title = 'User', description },
    rawErrors,
    formData,
    onChange,
    uiSchema: { 'ui:autofocus': autoFocus },
    idSchema,
  } = props;

  const { loading, profile } = useUserProfile();

  useEffect(() => {
    if (!loading) {
      onChange(profile.email);
    }
  }, [onChange, loading]);

  return (
    <TextField
      id={idSchema?.$id}
      label={title}
      required={required}
      value={profile.email ?? ''}
      margin="normal"
      helperText={description}
      error={rawErrors?.length > 0 && !formData}
      inputProps={{ autoFocus, readOnly: true }}
    />
  );
};

Am I understanding it correctly that you technically don't need this value in the frontend as such, but rather want it available in the template itself? In later versions of the scaffolder, this is actually already available as e.g. ${{ user.entity.spec.profile.email }} automatically. Does that achieve what you wanted to do?


No license file is present

Could you please select a license and upload it to the repo? pkg depends on on this package, and this package does not have a valid license, so I cannot use pkg until a valid license is added (MIT, GPLv3, ...) seems like pkg has MIT license so it may make sense to use the same terms.
Thanks!

@leo The same as in pkg?

Yep!

Thanks for pushing the file so fast!


asyncData called twice in developer mode with nuxt-i18n enabled

During development (nuxt dev), if using nuxt-i18n (more specifically vue-i18n) and navigating to a route in another locale, the asyncData of the page component is called twice.
(And also the route object within the asyncData is not set up correctly.)
Versions

nuxt: v2.15.4

Reproduction
https://codesandbox.io/s/nuxtjs-bug-dev-vue-i18n-asyncdata-5fwl7
Steps to reproduce

Set up nuxt-i18n with two locales
Create a page component that defines an asyncData hook
Create nuxt-link that navigates to a route in another locale.
Click the link to navigate to a route in another locale

What is Expected?

The asyncData is triggered once
Checking the context.route.path from asyncData reports the new (target) route path.

What is actually happening?

The asyncData is triggered twice
Checking the context.route.path from asyncData reports a wrong (old) route both times.

Additional details
See also https://github.com/nuxt-community/i18n-module/issues/1160
Here is what is happening:
vue-i18n calls VueComponent.$forceUpdate() on locale change: https://github.com/kazupon/vue-i18n/blob/13f3e618d5a7c3c32fe99f156d1ee2b4e199a5a4/src/index.js#L250-L259
In dev mode, Nuxt implements/overrides $forceUpdate to trigger, amongst others, an asyncData call: https://github.com/nuxt/nuxt.js/blob/8e2cad5a8fd7c4fa731fea92d762b650ee5ce095/packages/vue-app/template/client.js#L740-L746
This is only a problem during development since it's related to "hot reload" which is not enabled otherwise.
That custom $forceUpdate function also does set the route on the context which doesn't seem right in this case as there is a pending transition to another route at that time already.
Maybe the $forceUpdate logic should be skipped entirely if there is a pending route transition? Can't say for sure as I don't know that code but that's the first thing that came to my mind.

I've recently discovered this, too. This is indeed the case for development mode only. What's even more awkward - asyncData on the page is being called when navigating away from that page.

I have a single page app that loads all page contents in asyncData. My vue-i18n locale is updated inside asyncData of the page. That creates an endless http request loop in dev mode until the locale is finally set inside the watcher by $set(): locale changes -> patched $forceUpdate called -> asyncData called again -> locale changes ... and so on.

I believe this is now fixed. Probably by https://github.com/kazupon/vue-i18n/pull/1278


Awakeable identifiers following the new ID scheme

Awakeable identifiers following the new ID scheme
Bonus: s/assumpsions/assumptions/
Server side in https://github.com/restatedev/restate/pull/1120
Test Plan:
Using sample code to generate an awakeable and resolved it with
curl localhost:8080/dev.restate.Awakeables/Resolve -H 'content-type: application/json' -d '{"id": "prom_1NMyOAvDK2CcBjUH4Rmb7eGBp0DNNDnmsAAAAAQ", "json_result": ""}'

[restate] [2024-01-25T18:54:01.682Z] DEBUG: [CheckoutProcess/checkout] [inv_13q6r7rhzaG85fs0bfyqW8cubIUYJFjvBT] : Resuming (replaying) function.
Awakeable is:  prom_1NMyOAvDK2CcBjUH4Rmb7eGBp0DNNDnmsAAAAAQ
Awakeable COMPLETED  prom_1NMyOAvDK2CcBjUH4Rmb7eGBp0DNNDnmsAAAAAQ

Should we bump the protocol version to mark this change as an non-backwards compatible change?

There's no version to bump yet, still need to solve #235 first

For posterity, tests pass locally but we have a full mesh of dependency such that there is no way e2e tests will pass without merging the sdk first.


Default unityVersion to the branch's m_EditorVersion in ProjectVersion.txt

I have working code (pretty simple) to read m_EditorVersion from ProjectSettings\ProjectVersion.txt. I'm using this as the input to with: unityVersion. Something like this could be the default if unityVersion is not specified. Any thoughts on that? Seems to be in keeping with the goal of having things work out of the box, but maybe you want to avoid parsing this file? Maybe in production people want to use a constant version to build binaries, but you'd think they'd be developing with that version too, right? It looks like the ProjectVersion.txt file has been around for a while (at least 2015), and is automatically updated by Unity when you upgrade. What do you think?

Hey @dogboydog,
I think it's an interesting idea.
Currently I think this is not desirable for three reasons:

A change in CI pipeline should always be reflected in the CI configuration. Changing unity version is a major change in workflow. Therefor I would argue that automating version number for unity is semantically incorrect.
Every change of version requires a separate license, which has to be acquired using a manual task (for personal licenses). This task specifically is currently not easy or desirable to automate.
It would make the workflow not simpler but more complex to understand when working with matrices.

I think we should close this issue unless we have specific use cases that would require this.

Okay, I see what you mean and pretty much agree.

A change in CI pipeline should always be reflected in the CI configuration. Changing unity version is a major change in workflow. Therefor I would argue that automating version number for unity is semantically incorrect.

I'm not sure I fully understand this point, though.
In my case, I have a separate CI pipeline that just makes sure the project can be tested and built with the version of Unity that is checked in. Everyone on the team is using whatever version is in ProjectVersion.txt for that branch. So if a developer updates Unity, Unity automatically changes the ProjectVersion.txt file. So either you keep the workflow exactly in step with ProjectVersion.txt (benefits: git history of the workflow file?), or the build is not using the same version you're developing with (may lead to unexpected results). The ProjectVersion.txt file itself is a record of the version for the project and it seems like Unity parses it to check compatibility. So I guess I see it as comparable to needing to re-specify the version of a dependency already declared in  package.json, but I could be wrong.
There's no deployment in this particular workflow, and also we have a non-free license. But I can see how this would be confusing or not useful in some cases like with a free license, so I agree it's probably not appropriate to default the version in this repo.
However, it's easy to achieve without defaulting it in unity-builder anyway for anyone who would want to. Thanks!

Which part did you not understand exactly?

If you commit a change to ProjectVersion.txt, you are updating the Unity project, right?  Everyone that checks out the project will need to update. If you don't automate the version number, your options are to manually update the ./github/workflows/xxx.yml file with the same change, or not update it and have a version mismatch.  So why is semantically incorrect to use that version in automation if the developer's goal is to check that the project builds with the version of Unity that you are using in the project? Like imagine if this was an npm tool, and you used it CI. Would you expect the user to re-specify versions of dependencies that were specified in package.json in the CI code? Maybe you disagree with the comparison

I see.
Yes I think you will find that every production-grade project using nodejs will only change CI the nodejs version in CI when this is proven to work in the pipeline itself, not just when someone installs a different version of node and creates a commit.
Lets continue platform agnostic:
These things are semantically different because:

Your CI pipeline is supposed to work all the time; it is the thing you rely on. A separate pull request is created when upgrading a version, and during this PR also documentation and contribution docs are changed and any incompatible parts will be fixed and from that moment on everyone works with that version. Note that in the review of this PR, people can comment on what is missing. Lastly, production deployment is probably tested right after or even before applying these changes, and from that moment on all features can be based on the new version; everyone rebases on a version that you know that works.
Your development workflow on the other hand should contain as little hiccups as possible and everyone uses the same version. Nobody upgrades it without also performing the other tasks. If instead you would upgrade and implement a feature but conflict with other developers on their features then you have to manage this mismatch on a non-central location. This is where long-living forks and massive deltas start popping up.

The bigger a team is, the more important these differences become and in some cases entirely different teams are responsible for these two things. If you're saying my explanation isn't world-class I fully agree, but I'm not convinced we should change all Unity Actions based on 1 use case that in my opinion mixes concerns. (You'd have to come with objective reasons and why it would work for everyone else too).
If you want to do two semantically different things in the same step, this is possible of course. Nobody is stopping you from reading a file in a step before the build or test step and providing a value (using an output parameter) as the Unity version in Unity Builder and Unity Test Runner.

I'm in complete agreement after your replies that changing the behavior directly in these Unity actions isn't the right call and wasn't trying to argue that point anymore.  I was just curious of your reasoning for not recommending the practice even externally to these actions, which I understand better now. Thanks for taking the time.

You're very welcome


Downgrade dev-dep tokio to support MSRV 1.65

Description

Downgrade dev-dep tokio so that builds on Rust 1.65 still work
Set MSRV in Cargo.toml
Add Cargo.lock so that it is possible to determine what versions of deps are able to build on the MSRV

Checklist

[ ] Formatted code using cargo fmt --all
[ ] Linted code using clippy

[ ] with reqwest feature: cargo clippy --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,reqwest-client-rustls -- -D warnings
[ ] with surf feature: cargo clippy --manifest-path influxdb/Cargo.toml --all-targets --no-default-features --features serde,derive,hyper-client -- -D warnings

[ ] Updated README.md using cargo doc2readme -p influxdb --expand-macros
[ ] Reviewed the diff. Did you leave any print statements or unnecessary comments?
[ ] Any unfinished work that warrants a separate issue captured in an issue with a TODO code comment

I very strongly believe that forcing an exact version of tokio is a grave mistake. It will cause massive incompatibilities with users of this crate when they mix with other libraries. Please never do this

@msrd0 it is a dev-dependency and so does not effect users of this crate.

That is not true. I'm not sure about resolver 2 from edition 2021, but with previous versions the resolver always considered dev dependencies, and e.g. enabled features in release mode only necessary for the dev dependencies. I've ended up with binaries linking to openssl when they were compiled with rustls multiple times.
One can add a Cargo.lock file with older dependencies and/or use nightly's unstable feature to create one with minimal versions to keep compiling with the same msrv. Using '=' in versions is with very few exceptions a mistake.

Can you please re--open this PR.
I can remove the = because there is now a lock file which will keep the dep at an appropriate version to support  MSRV 1.65

We should discuss the approach we take. "Spurious" CI failures, i.e. ones not caused by the PR itself, are very annoying, so the current situation is undesirable. I see the following options, feel free to add ones I might've missed

We go the approach of this PR, i.e. add a Cargo.lock file to the root of the repository. This file would then be used by this repository, CI, maintainers and contributors alike, but not by users of the library. The Cargo.lock file of a library becomes irrelevant when the library is used, so users of the library would combine it with other, newer versions of the dependencies. That shouldn't™ be a problem but breaking semver accidentially isn't that hard and has happened before.

We add a Cargo.lock file but not in the root of the repository, and only use that with CI. That means maintainers and contributors, who usually don't compile using the minimum version of Rust anyways, get the chance to use latest versions, while CI can compile with older versions to keep msrv. This has the drawback that one might inadvertently require updates to the Cargo.lock file with a change and miss updating the hidden file.

We tell CI to use a nightly version of rust to generate a minimal Cargo.lock file before running the msrv compiler. This should™ not be a problem but I've had fun with that in the past as not all libraries manage to set correct minimal versions (and that can easily be missed so I can't even blame maintainers).

I have personally used version 2 and version 3 in the past.
@Empty2k12 what do you think?
(Also, I don't think the current msrv is based on anything other than dependencies, so forcing it in the Cargo.toml without previous testing is probably not ideal)

Regarding the approach in this PR, you write

breaking semver accidentially isn't that hard and has happened before.

How is that relevant to adding a Cargo.lock to this repository, as done by this PR?
cargo publish does not even include the lock file in the artifacts uploaded to crates.io
Another approach is to patch the toml in the MSRV CI workflows, similar to
https://github.com/open-telemetry/opentelemetry-rust/blob/main/scripts/patch_dependencies.sh
That avoids the lock file, and means there is a simple to read definition of how to obtain the MSRV dep tree, for users who need that.
However that isnt as obvious for users of this project.  While a lock file is a little harder to read, anyone who has to deal with old MSRV will see a Cargo.lock in this repo and know that it contains the information they need to reproduce the MSRV in their project.

(Also, I don't think the current msrv is based on anything other than dependencies, so forcing it in the Cargo.toml without previous testing is probably not ideal)

I dont get where you are going with this.  I tested it locally.  And CI is testing it works with this MSRV.  If there are concerns about compatibility with this MSRV, it should be addressed by adding tests.

How is that relevant to adding a Cargo.lock to this repository, as done by this PR?

It means we (maintainers/contributors/ci) won't see the breaking change introduced by dependencies, but lib users will. That can make reproducing bugs harder. Happened to the lsd command line utility recently.

I dont get where you are going with this. I tested it locally. And CI is testing it works with this MSRV. If there are concerns about compatibility with this MSRV, it should be addressed by adding tests.

Setting rust-version=... will make compilers below that version refuse to compile. But if our msrv is based on non minimal dependencies, it might be unnecessarily high. We should test that actually we and not our dependencies need that version before asking compilers to refuse compilation.

Just for reference, the last increase of MSRV seems to have been a PR I made the same day we got another PR, probably to fix unrelated CI failures from that other PR: https://github.com/influxdb-rs/influxdb-rust/pull/135

Hey @jayvdb I tried fixing the MSRV CI step yesterday but I did not manage to fix it. I am not sure committing the Cargo.lock is the best solution. The Check MSRV step I committed yesterday should work without it?
What du you think is the best solution?


Upload to maven central

Would be easier to consume than importing it as a library project.

Please consider this request, it would be very more efficient and easy to use and update.


Is it possible to recall actions from asyncData?

So, I have some axios call in asyncData, after while i would like to recall this action again, is it possible to call asyncData as a one big function again from created hook e.g.? Something like this.asyncData() ?

This question is available on Nuxt.js community (#c2334)

Hi guys,
This works after nuxt generate command??

Well that should be @roqsantacruz


empty result folder(run_exp)

hi,
I run run_all_traces.py in folder run_exp, the result folder includes empty files, i follow the suggested solutions at issue #98,  but still the same problem. I think the problem in URL address which used in run-video code , can you explain how select this link and why use it, and how change it ??
note , the chrom_rerty_log is not includes any error.
thanks for your time.

If you copy over the html files to the apache server folder (done in the setup step here: https://github.com/hongzimao/pensieve/blob/master/setup.py#L44-L47), you should be able to watch the video with your browser. See if you can load the video by typing in the localhost and url to the video in a regular chrome?
The video might only play the first chunk --- this is because the second and future chunks need an ABR decision from the ABR server. In this case, if you run a python ABR server, similar to https://github.com/hongzimao/pensieve/blob/master/run_exp/run_video.py#L54, you should be able to see the ABR server making every ABR decision (you can print it) and the video client receive the bitrate for each chunk (you can log it in javascript) and the video keeps playing.
Hope these help!

Thanks for reply me,
I did what you suggested, and the video is playing but without autoplay, i started the video manually after running the apache server.

This might help: #73

still empty, i check all the software environment, google chroom V56, driver 2.27
and i change the URL to local host , when i change it and run the RL server manually based #98 issue  , i see log file with data in result folder in the RL server folder , but when i run all-traces direct , the result folder is empty in RL server folder and in Run_exp folder.
now  , i do not have any idea how to solve this problem.
please help me,
thanks for your time

So you can watch the video manually (video loads, new chunks are downloaded, ABR server runs nominally, etc.) but when you run everything together with run_all_traces, it doesn't log anything, is that the issue?
So run_all_traces starts a virtual display (with chromium). If you really want to debug, you can ask the virtual display to screenshot to see what's the video state (does it load the first chunk, is it the auto play issue, etc.)
Did #73 not help with the auto play issue?
Also, one thing you can try is this repo https://github.com/park-project/park. Try using the abr environment. This codebase has slightly more robust support for the ABR environment.

here is the screenshot.
and this is the error :
Message: u'timeout: cannot determine loading status\nfrom timeout: Timed out receiving message from renderer: -0.329\n  (Session info: chrome=56.0.2924.87)\n  (Driver info: chromedriver=2.27.440175 (9bc1d90b8bfa4dd181fbbf769a5eb5e575574320),platform=Linux 4.15.0-112-generic x86_64)'
I think the page doesn't load?
thank you.

I did everything in issue 98, And I saw that the video doesn't load even if I bypass mahimahi
So the video didn't start automatically, I pressed the play button, And the video didn't load at all.

@ali1hammoud This is strange. If you bypass mahimahi the video should play at least for the first chunk (it doesn't ask the ABR server for the bitrate). I see you use firefox as the browser. Can you try chrome too? Make sure the chromedriver and selenium version is correct. Can you also try the abr environment in repo https://github.com/park-project/park. This codebase has slightly more robust support for the ABR environment.

I have the same problem. I run the rl_server_no_training.py in /rl_server , then I run the run_all_traces.py in /run_exp. The video can play completely. But /run_exp/results/ is empty .

I experience similar problem here, I changed the video to my own video chunks, the player only request the first 6 chunks and never send any request to the ABR server at localhost:8333 again even the buffer is drained.

@ry4nzhu Did you manage to get the original video to work? If that works, can you try just swapping out the original video with your own video chunks (rename them with the same name), that should load the video.

Yes. I got the original video to work. Does it matter if I use my own mpd file and put all the video chunk in one folder in the apache server?

Sorry for replying late. I think you should swap out the mpd file too. You can put the videos in the apache server, then use the browser to go to the URL https://github.com/hongzimao/pensieve/blob/master/run_exp/run_video.py#L39. You can check if your videos are loading and playing. Hope this helps.

hi
I have  run  https://github.com/hongzimao/pensieve/blob/master/run_exp/run_video.py#L54 ,but it still just plays the first chunk. How can I know whether the ABR  server works？


Allow telemetry to be enabled/disabled through Mission Control

Done in Mission Control. Pending in gateway

done in gateway


Adding support for Ubunt 16.04 and Centos 7. Breaking changes

Looks like mcrouter has changed a lot since 2015, however I tried to make minimal changes.

Added support for Ubuntu 16.04 and CentOS 7
I could not get mcrouter to compile on Ubuntu 14.04, at least with the latest version
New libraries have to built before building mcrouter, I added those (double_conversion and wangle)
I modified the way to get the latest version for mcrouter. I could not get the git resource to get the latest commit from the latest release branch.
Tests need to be improved, but I will like to get that on a follow up PR.
systemd is used by default

Overall the whole build process had to be redone but if you take a closer look, starting and passing variables to the service wasn't modified.

Regarding Folly, even facebook builds it in this weird way where they hard code it into the repo:
https://github.com/facebook/mcrouter/blob/release-36-0/mcrouter/FOLLY_COMMIT
and read it through their build scripts:
https://github.com/facebook/mcrouter/blob/master/mcrouter/scripts/recipes/folly.sh#L8
Which the default is to have the HEAD of master but that doesn't work.
If you download the release package, you don't get those files, FOLLY_COMMIT and WANGLE_COMMMIT, which kind of defeats the purpose of having ark. I'm not saying I want to remove it, it just made sense given how mcrouter project is structured. Looks like there is no correct way to build mcrouter 🤔

@hyeomans that is… very odd. Thanks for tracking down how their releases work! I’ll look into it, as well, but if we need to use the git resource, so be it.

hey @jeffbyrnes I updated addressing almost all comments, I'm missing testing changing from /usr/local to /opt/mcrouter.
Also updated the README.md file with more information, hopefully it makes a little bit of more sense.

Thanks @hyeomans! I’ve gotta take a break from this, as I’ve to finish some Real Work™ things today, and am on holiday until Tuesday, so I’ll return to this next week. I hope that’s alright.
My focus, when I get back, will be to reintroduce testing to this, and see if we can avoid diverging quite so much from the previous model of the cookbook.
I did grok what you were explaining w/ Facebook’s odd release mechanism: they tag a commit (e.g., v0.36.0), then create a release branch from that commit and add the FOLLY_COMMIT and WANGLE_COMMIT files. So perhaps we can just grab an archive of a particular branch, and avoid doing all manner of git things.

I’m going to try & carve out some time this week to work on this.


Added the request body and response body to the tracer

Solved issue https://github.com/hyperf/hyperf/issues/6736 🙂

Really useful, weird that this is not implemented yet. +1


Version bump

If everything looks good can publish this version to crates.io!

@SchrodingerZhu any comments? LGTM

lgtm.

Well this is embarrassing...

Any idea how to solve? The file seems to be there...
~/Projects/lean-sys % ls /home/tekne/.elan/toolchains/leanprover--lean4---nightly-2022-07-24/lib/lean
Init        Init.olean  Lake.ilean  Lean        Lean.olean  libLean.a     libleanrt.a       libStd.a  Std.ilean
Init.ilean  Lake        Lake.olean  Lean.ilean  libInit.a   libleancpp.a  libleanshared.so  Std       Std.olean

Ah, I didn't even read the version number; I just updated to 4.0.0 and got confused, not realizing for some reason I had a lean-toolchain file in the parent folder... this is what I get for trying to get stuff done at 2 AM. OK, fixed!


make sure we've implemented validate_strict everywhere

Might also be worth an experiment to if making strict a runtime switch negatively effects performance.

done


Material's uniform cannot be updated after another material is added

Playground:
https://www.babylonjs-playground.com/#3WN9C6#4
I asked related questions here:
http://www.html5gamedevs.com/topic/32203-custommaterial-updating-custom-uniforms-custom-alpha-and-precision/
Is it considered a bug or not supported? Is there any plan for it?
Is there any way I can work around it, if I really need to update uniforms values for my shader?
Thank you very much!

moving the issue to the extension repo as custom material is an extension: https://github.com/BabylonJS/Extensions/issues/122


Display info that plugin cannot be invoked on elements that doesn't have unique id

#128

If input doesn't have id, plugin randomly assigns one to it


Popover arrow addition

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡
I'm trying to add customize my Menu components by adding an arrow to them, but unfortunately it looks like that may not be possible. I had hoped the issue had been covered in #10772, but despite the title of that issue, it was only solved for Poppers, not Popovers. I would just use a Popper, but Select components use Menus which use Popovers, and there doesn't seem to be an escape hatch to override that. I can't use pseudo elements, since the absolutely positioned element is overflow: hidden, and a pseudo element arrow can't sit outside of it.
Ideally there could be a prop similar to Poppers modifiers={{ arrow: { enabled: true }}} that adds an element adjacent to the Paper in Popover somewhere around here: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/Popover/Popover.js#L398-L406
Examples 🌈
https://material-ui.netlify.com/components/popper/#scroll-playground
Motivation 🔦
Hopefully this further makes Material UI more themeable.

@wbobeirne We have no plan to supper such. If you find a good solution, it would be awesome to share it back :)

Hi ,
I implemented the changes and added arrow enable prop and arrow ref still not able to get the arrow on a popper..
is there some way to do it??
arrow: {
enabled: false,
element: arrowRef,
},

@aneesha2890 Popover does not use Popper.js so it can't receive the arrow props above. (Tooltip can do this with PopperProps) Popover's parent is Modal which is a direct implementation with React DOM stuff.
Replying for anyone else finding this thread. I was hoping to do this too. I'm sure it can be done with other MUI styling props, but I didn't find anything quick.

@tedpennings You can use the source of the tooltip as inspiration:
https://github.com/mui-org/material-ui/blob/763266ec723f6e2d426342d33c48e5fc478e7cdb/packages/material-ui/src/Tooltip/Tooltip.js#L21-L58

Not generic but if you override the paper class you can add an arrow (in this case a down arrow):
const styles = (theme: Theme) =>
    createStyles({
        paper: {
            overflowX: "unset",
            overflowY: "unset",
            "&::before": {
                content: '""',
                position: "absolute",
                marginRight: "-0.71em",
                bottom: 0,
                right: 0,
                width: 10,
                height: 10,
                backgroundColor: theme.palette.background.paper,
                boxShadow: theme.shadows[1],
                transform: "translate(-50%, 50%) rotate(135deg)",
                clipPath: "polygon(-5px -5px, calc(100% + 5px) -5px, calc(100% + 5px) calc(100% + 5px))",
            },
        },
    });

...

<Popover classes={{ paper: classes.paper }} >
  {children}
</Popover>

Not generic but if you override the paper class you can add an arrow (in this case a down arrow):
const styles = (theme: Theme) =>
    createStyles({
        paper: {
            overflowX: "unset",
            overflowY: "unset",
            "&::before": {
                content: '""',
                position: "absolute",
                marginRight: "-0.71em",
                bottom: 0,
                right: 0,
                width: 10,
                height: 10,
                backgroundColor: theme.palette.background.paper,
                boxShadow: theme.shadows[1],
                transform: "translate(-50%, 50%) rotate(135deg)",
                clipPath: "polygon(-5px -5px, calc(100% + 5px) -5px, calc(100% + 5px) calc(100% + 5px))",
            },
        },
    });

...

<Popover classes={{ paper: classes.paper }} >
  {children}
</Popover>

Here is another working demo: stackoverflow


Replace StringBuffer by StringBuilder

Fixes reported warning:
incubator-iceberg/api/src/main/java/org/apache/iceberg/util/UnicodeUtil.java:44: warning:
[JdkObsolete] StringBuffer performs synchronization that is usually unnecessary; prefer StringBuilder.

Is the behavior of setLength the same for both classes? This section is tricky because some of the lengths are measured in bytes, some in chars, and some in codepoints.

I had to do some research there. It looks the same to me. The docstrings are the same:
https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html
https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuffer.html
Also the .length() method is the equal for both of the classes (character count).

Both StringBuffer and StringBuilder invoke setLength in AbstractStringBuilder.

+1
Going to merge this. Thanks for fixing it, @Fokko!

Thanks @ryanb for merging and @aokolnychyi for the insights 👍


Here2 not being detected with PX4 firmware

I recently bought a Pixhawk Cube combo kit (Pixhawk 2.1 Cube with Here2 kit). I have previous experience with this kit and never experienced issues
Now I am not able to detect the Here2 GNSS receiver if I am using PX4 firmware (using newest stable build 1.9). If I flash newest ArduCopter firmware, the GNSS is detected and is working fine
The new Here2 was supplied with the CAN cable attached and I changed this to the serial cable for GPS1 serial port. Also, I've flicked the Serial+I2C switch inside the Here2 kit to Serial+I2C (according to http://www.hex.aero/wp-content/uploads/2019/03/Here2-CAN-Instruction.pdf)
I've tested with a Here2 GNSS which I've bought last year (this one was supplied with the GPS1 port cable). This works perfectly.
Can anyone help me with the next step to solve this issue? It seems like a firmware problem since it works with ArduCopter firmware (but I need to use PX4 flight stack)

solved. problem was not related to px4 firmware, but the Here2 firmware

hi @donbreum !
I have the same issue. Can you tell me how you manage to solve it ?
I have a dropix with here2 GNSS. It is in Serial + i2c and works fine with ardupilot, but is not detected by px4 flight stack.

hi @donbreum !
I have the same issue. Can you tell me how you manage to solve it ?
I have a dropix with here2 GNSS. It is in Serial + i2c and works fine with ardupilot, but is not detected by px4 flight stack.

Actually I solved it by using the guide for updating bootloader. But i did this using the Pixhawk 2.1 Cube. I'm not sure if it's possible to do this using CAN bus with the dropix. Anyways i did the following myself:
I updated the bootloader on the Here2 and update the firmware. I’ve followed the instructions found here: https://docs.cubepilot.org/user-guides/here-2/here-2-instruction .
Afterwards I switched the pin back to I2C and used the serial cable and connected the Here2 to the GPS 1 port on the pixhawk 2.1 module


WebUI - Clicking an edge in the graph view does not open the circle menu

My Environment

ArangoDB Version:        3.6.0
Storage Engine:             RocksDB
Deployment Mode:       Single Server
Deployment Strategy:   Windows service
Configuration:               nothing special
Infrastructure:               own
Operating System:        Windows 10
Total RAM in your machine:        16 GB
Disks in use:        HDD
Used Package:              Official server installation package (ArangoDB3-3.6.0_win64.exe)

Component, Query & Data
Affected feature:
Web interface
Steps to reproduce

Create the simpliest graph consisting of two vertices and one edge.
Open the graph view of the graph.
Click the edge.

Problem:
The circle menu enabling editing or deleting the edge does not appear.
Expected result:
Appearing of the menu enabling editing or deleting the edge. It worked in the 3.5.3 version.

Hi @jspitz-git,
Thanks for reporting this bug. It is easy to reproduce with the reported steps.

Hi @jspitz-git,
Version 3.6.4, which includes a fix for this issue, has been released.
From the Changelog:

Fixed ability to edit graph edge in Graph Viewer of web UI.

Please find the latest release in the download section.


prodution

I'm submitting a ...
[ x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

I´m trying to put an application in prodution (apache server). If I put the application in the root every thing is ok, but if I use another place I have problems with te assets. I´ve changer de base-href
ng build  --env=prod --no-aot   --base-href /orirhportal/ --output-path orirhportal
I´ve the same problem with
npm run build:demo and putting the application in /var/www/html/ng2-admin (in /var/www/html/ng2-admin)

What is the current behavior?

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Browser: [all |

@angular/cli: 1.1.2
node: 6.10.2
os: win32 x64
@angular/animations: 4.1.3
@angular/common: 4.1.3
@angular/compiler: 4.1.3
@angular/core: 4.1.3
@angular/forms: 4.1.3
@angular/http: 4.1.3
@angular/material: 2.0.0-beta.7
@angular/platform-browser: 4.1.3
@angular/platform-browser-dynamic: 4.1.3
@angular/platform-server: 4.1.3
@angular/router: 4.1.3
@angular/cli: 1.1.2
@angular/compiler-cli: 4.1.3

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

I had such kind of error a time ago there we assets folder was located wrong, could you provide the folder structure after exporting ?

The structure is:
/var/www/html/app/assets
                                /favicon.ico

                                  /index.html

                               /…

Has a workaround I´ve created a symbolic link in /var/www/html:
ln -s    app/assets assets
/var/www/html/app/assets
                                 /favicon.ico

                                   / index.html

                                /…

                        /assets -> app/assets

And now it´s working. However its not a final solution, it won´t work if i need to install another app based in ng2-admin.
Cumprimentos,
João Cabral

Rua José Afonso, nº.1,  2º Frt.  2810-237 Almada
Tel: +351 21 258 62 80 Fax: +351 21 258 62 8
<EMAIL_ADDRESS><EMAIL_ADDRESS>De: darklinki<EMAIL_ADDRESS>Enviada: 17 de agosto de 2017 06:02
Para: akveo/ng2-admin<EMAIL_ADDRESS>Cc: joaopcab<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Assunto: Re: [akveo/ng2-admin] prodution (#1250)
I had such kind of error a time ago there we assets folder was located wrong, could you provide the folder structure after exporting ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/akveo/ng2-admin/issues/1250#issuecomment-322969375 , or mute the thread https://github.com/notifications/unsubscribe-auth/AdoWQZvOO4TJBzhiQgGzYpDaBFX3_k1_ks5sY8k2gaJpZM4O46qd .  https://github.com/notifications/beacon/AdoWQSZp6WoheVSzcF4Y5053k_kNPp7Eks5sY8k2gaJpZM4O46qd.gif

Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus

Wouldn´t it be way easier to configure your webspace to point (the url you want) directly to /var/www/html/projectX/
And simply export your files in this folder ?
Or do you want to run multiple projects under the same url. Like test.com/angular1 test.com/angular2

I have my project (app) under  /var/www/html/app.
The problem is that the assets directory is allways accessed with
/var/www/html/assets
and not with
/var/www/html/app/assets
whichever  the app localization
Cumprimentos,
João Cabral

Rua José Afonso, nº.1,  2º Frt.  2810-237 Almada
Tel: +351 21 258 62 80 Fax: +351 21 258 62 8
<EMAIL_ADDRESS><EMAIL_ADDRESS>De: darklinki<EMAIL_ADDRESS>Enviada: 17 de agosto de 2017 10:52
Para: akveo/ng2-admin<EMAIL_ADDRESS>Cc: joaopcab<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Assunto: Re: [akveo/ng2-admin] prodution (#1250)
Wouldn´t it be way easier to configure your webspace to point (the url you want) directly to /var/www/html/projectX/
And simply export your files in this folder ?
Or do you want to run multiple projects under the same url. Like test.com/angular1 test.com/angular2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/akveo/ng2-admin/issues/1250#issuecomment-323023017 , or mute the thread https://github.com/notifications/unsubscribe-auth/AdoWQal6qTDh_prvZD3JC89CxYLp07lgks5sZA08gaJpZM4O46qd .  https://github.com/notifications/beacon/AdoWQf1kjK-SLI-I4Atq2i5d3gRf5pSDks5sZA08gaJpZM4O46qd.gif

Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus

I've reviewd all thecode and I´ve find a pipe (image) referencing "assets/...". I've changed to a relative path("./assets/..") and everything as start working (?).

@joaopcab  can you provide the location of the file where you changed de "assets" reference to use a relative path?


PlayerInteractEvent error

Getting this with latest version, no idea what is causing it or why its happening. Could be nothing, but posting just in case.
https://pastebin.com/Hg2Y63Eq

Pastebin the config and send me the link please.

https://pastebin.com/ft8VY6yJ

Weird, the file looks fine. Try a server restart and see if it still happens.

Still seeing it after a restart.

Can you re pastebin the config and not set a timer on it for me.

Yeah sure https://pastebin.com/uVyt4EwY
Sorry, I didnt know I set one

Not sure why it is happening but I somehow fixed the bug in the next update with out realizing it. So the fix is in the next update when I post it. Not sure when it will be but soon.

 PlayerInteractEvent error


JewelCrafting Update issue?

JewelCrafting updated and is in conflict with AdventureBackpacks.... I think.
Steps to reproduce the behavior:

Go to any wooden chest
Place items in top row and separate items in bottom row of chest
Click "Take All"
The items that were stored in the bottom row of the chest will return to your inventory, the items in the top row will disappear.
Expected behavior
Items from the entire chest to return to my inventory.

New playthrough as of today, haven't gotten the satchel yet to see how the backpack performs.
ModsList.txt

This doesn't sound like something that Adventure Backpacks would conflict with. It does have some inspection of items going INTO the chest, but not out of the chest.  I did try this with just Adventure Backpacks installed, and it seems to work correctly.  I would check to make sure Jewelcrafting hasn't done something, since it seems to have occurred after the last JC update.


Dart Sass v1.80.1 deprecation warning

Testing Dart Sass v1.80.1

WARN  Dart Sass: hugo:vars:0:17: Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.
Use string.unquote instead.

Why we're getting this is unclear at the moment.
Test site/case TBD.

https://sass-lang.com/documentation/breaking-changes/import/

This test fails with Dart Sass v1.80.1.
// Issue #12961
func TestDartSassVars(t *testing.T) {
	t.Parallel()

	files := `
-- hugo.toml --
disableKinds = ['page','section','rss','sitemap','taxonomy','term']
-- layouts/index.html --
{{ $opts := dict "transpiler" "dartsass" "outputStyle" "compressed" "vars" (dict "color" "red") }}
{{ with resources.Get "main.scss" | css.Sass $opts }}
  {{ .Content }}
{{ end }}
-- assets/main.scss --
@use "hugo:vars" as v;
body {color: v.$color;}
`

	b := hugolib.Test(t, files, hugolib.TestOptWarn())

	b.AssertFileExists("public/index.html", true)
	b.AssertFileContent("public/index.html", "body{color:red}")
	b.AssertLogContains("! WARN  Dart Sass: hugo:vars") // failing assertion
}

https://github.com/gohugoio/hugo/blob/e971b7d866d8834022f0038b094dce4352338f74/resources/resource_transformers/tocss/internal/sass/helpers.go#L52-L58
This solves the problem when using the Dart Sass transpiler:
				varsSlice = append(varsSlice, fmt.Sprintf("%s%s: string.unquote(%q);", prefix, k, v))
			}
		}
	}
	sort.Strings(varsSlice)
	varsStylesheet = `@use "sass:string";` + "\n" + strings.Join(varsSlice, "\n")
	return varsStylesheet
}

But the containing function (CreateVarsStyleSheet) is called when using either transpiler, so the changes above need to be specific to dart sass, but I haven't found a way to get the transpiler value ("libsass" or "dartsass") within that function.

But the containing function (CreateVarsStyleSheet)

I guess adding some kind of identifier as the first arg to CreateVarsStyleSheet would solve it.


Node engine version limit

I've got a node package that uses "ng-semenatic": "^1.1.11", however yarn install fails because ng-semantic restricts node versions > 6 in package.json:

"engines": {
"node": ">= 5.4.1 < 6"
},

This error can be circumvented with yarn install --ignore-engines, however I belive current node version to be supported. As far as I am aware npm does not check for this, yarn however does.

Ok, this should be changed.
I saw now that angular team also increased version in their repository, i ll do the same.
https://github.com/angular/angular/blob/master/package.json#L10

I guess this can be closed now?

:+1: correct

I've seen that the pull request for this was merged into master and build successfully. When will this be available via npm?


remaining blog to-dos

[ ] add default image to blog
[ ] add real images from WP to most recent posts
[ ] fix breadcrumb formatting
[ ] move first "in-post" pic to featured image spot

Hey! the github stuff is figured out now - so you should be good to get crackin

It's probably best to add the default image once we have the logo finalized. Otherwise, the other blog todo items are complete! :-)

[ ] resolve missing thumbnail on post.html

submitted a pull request with all the tasks above completed! :heavy_check_mark: (minus the default image)


[PE-D][Tester A] Command prefix summary missing task type.

Command prefix summary does not show any prefixes for task type commands.

Labels: severity.VeryLow type.DocumentationBug
original: Bransonlj/ped#9

Fixed by @bokuanT


Bias mitigation and fairness boosting in multi class classification use case using Autogluon

Is Autogluon support mitigating bias and improving fairness in multi class classification problems?
If so please provide an example of doing the same in a sample multi class classification dataset.

You can refer to the autogluon-fair repo, planned to have its first PyPi release in mid-late Feb.
I'd suggest opening an issue in that repo.

@Innixma  Thanks. Will do it


LW-11610 Increase ws client logging verbosity

Context
Working with @AngelCastilloB on LW-11610 we noticed that the web socket activity can't be inspected in the network tab of devTools.
Proposed Solution
Increased web socket client log verbosity.

Using contextLogger would be a slight improvement

Nice suggestion @mkazlauskas , thank you!
Following the RERO philosophy, I'm going to merge this as is, but I'll keep this in mind for the future.


Update macos 5.1 builds to beta1.

Requires updating the base images on macOS first.

Could you also add 5.1~beta1 to the list of experimental variants? As in https://github.com/ocurrent/ocaml-ci/pull/835.


[flutter_tools] FLUTTER_TOOL_ARGS should be part of prebuilt tool snapshot's stamp file

See the discussion here for more context.
Basically, we should invalidate the pre-built flutter CLI tool snapshot if the FLUTTER_TOOL_ARGS env variable changes. If we add these flags to the //flutter/bin/cache/flutter_tools.stamp file (which currently only contains the framework git revision), changing the flags will cause the bash script to re-build the flutter tool with the new args.

Fixed in https://github.com/flutter/flutter/pull/94951


Make asset loader understand files tailored per scale, theme and possibly other

Describe the solution you'd like
Usage:
Create files:
\Assets\Images\logo.scale-100.png
\Assets\Images\logo.scale-200.png
\Assets\Images\logo.scale-400.png

Reference file in the XAML (or with AssetLoader):
<Image Source="\Assets\Images\logo.png"/>

Asset loader should automatically detect current scaling and choose the correct file.
At minimum should be supported:

scale
theme (dark, light, custom)
layout direction (ltr, rtl)
Optional:
language, should it rely on .NET CurrentCulture?
device type

Describe alternatives you've considered
OnPlatform markup extension will be part of 11.0. Similarly, developers can define their own custom markup extensions.
Media Queries also are planned to solve similar problem.
Gladly, asset loader extension, won't conflict with these other features, and can be used together.

See https://github.com/AvaloniaUI/Avalonia/discussions/9291#discussioncomment-3991602

I'm not quite sure if that's a job of the asset loader. Especially since scaling can be changed by moving a window to a different monitor.

I want to be able to disable or enable this feature. So if I have localized images for example, I want to decide when to show which one.

Some of these features intersect the changes I made for #12107.

Multi-resolution images: IconBitmap. The same technique can be applied to any collection of bitmaps, not just icons.
Theme variant switching: BitmapResourceExtension and the existing theme variant resource system.

We should move toward refactoring bitmap usage to a BitmaoSource like WPF's version. The BitmapSource is then responsible for providing the correct bitmap representation.
AssetLoader just needs to expose a list of assets at given location and we need a way to read bitmap headers without loading the whole bitmap.


Here are my settings:
Awesome theme by the way! I love it.

Display slider by URL settings is invalid for your website.

I just changed it to this but it still seems to not be working. Do you know what I am doing wrong?

I removed the / and now this happens

Replace localhost to your URL website.

It still does not work I replaced localhost with my domain name.

I find bug. Please change Where to display the slider? settings to Everywhere.

Or download new version theme :)

Changing it to everywhere did not work either for me and on the marketplace page is does not say a new version is available :(

Write to me in a private message via the IPS marketplace and provide me with the AdminCP data with the permission to the theme.
I'll take a look at what's wrong.

Should I just delete and redownload the theme from the marketplace?

Deleting the theme and downloading it again from the marketplace worked. Thank you for your help. Keep up the amazing work! :)


[WHLSL] Replace builtin vectors with native structs with operator&.field disabled

Migrated from https://bugs.webkit.org/show_bug.cgi?id=188688:
At 2018-08-17T02:45:24Z<EMAIL_ADDRESS>wrote:
Rather than add a lot of intrinsics for vector types, instead implement them in the language.

At 2018-08-18T21:56:44Z<EMAIL_ADDRESS>wrote:
We could alternatively choose to implement them in the standard library by introducing new syntax to delete default operators:
struct int2 {
int x;
int y;
}
native int operator&.x(int2) = delete;
native int operator&.y(int2) = delete;

At 2018-08-27T22:18:56Z<EMAIL_ADDRESS>wrote:
*** This bug has been marked as a duplicate of bug 189013 ***


stages: add FDO stage

This stage is needed to write down the FDO DIUN pub key root certs
needed to talk to the manufacturer server to grab the device credentials
for provisioning and later onboarding.
Needed by https://github.com/osbuild/osbuild-composer/pull/1884
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

so https://github.com/osbuild/osbuild-composer/pull/1884 is going in hopefully this week and this is needed, can we get this in?

This is so simple I wonder if we should not do it with the inline source the copy stage; or do we gain something to having this a stage? We could maybe verify the format is correct, i.e. a valid PEM in the stage?

@gicmo as you want - when we first discussed this I’ve been told to avoid in-line as we wanted to have specific stages but I’m fine changing it to just inline the thing :)

cool, thx @gicmo lgtm!


Recursive ViewModel support?

Has this been tested? Are there any BKMs?
I would really like to start converting to this clean solution but I have a nested tree of comments/replies that I'm concerned will cause problems. Things like event binding break in Meteor when you use recursive templating.
Has this been tested with a similar pattern? How well does it work?

This is a slightly modified version of the comment system I use for meteorcasts (e.g. https://www.meteorcasts.net/ep/6 )
commentsBlock
You drop this wherever you want comments. It provides the top level textarea to post comments. You can drop it anywhere that has an _id. In my case I put a {{> commentsBlock }} on each episode and also on a help section.
<template name="commentsBlock">

Comments

    <form class="ui reply form" data-bind="if: hasUser">

        Markdown
        <textarea data-bind="value: newComment, focused: newCommentFocused"></textarea>

         Add Comment

    </form>

      Sign in to add a comment...

    {{> comments }}

</template>

Template.commentsBlock.viewmodel
  _id: -> @parent()._id()
  newComment: ''
  newCommentFocused: false
  addComment: ->
    return if !@newComment()
    Comments.insert
      episodeId: @_id()
      parentComment: @_id()
      message: @newComment()
    @newComment ''
  hasUser: -> Meteor.user()?
  onCreated: (t) ->
    that = this
    t.autorun -> t.subscribe('comments', that._id())
, 'notSubscribed'

comments
This is the list of comments directly below the parent.
<template name="comments">
  {{#if hasComments }}

    {{#each commentList}}
      {{> comment}}
    {{/each }}

  {{/if }}
</template>

Template.comments.viewmodel
  commentList: -> Comments.find({ parentComment: @parent()._id() }, { sort: { createdAt: -1 } })
  hasComments: -> Comments.findOne({ parentComment: @parent()._id?() })?
, ['hasComments', 'commentList']

comment
A single comment. Notice how it ends with {{> comments }} to display any comments below this one (recursively).
<template name="comment">

{{#markdown}}
{{message}}
{{/markdown}}

        Reply

      <form class="ui reply form" data-bind="if: showReply">

          Markdown
          <textarea data-bind="value: newComment"></textarea>

           Add Reply

      </form>

    {{> comments }}

</template>

Template.comment.viewmodel ( (data) -> 'comment_' + data._id ) ,((data) -> data),
  date: -> @createdAt()?.toRelativeTime(Client.serverTime.get()) or "Just Now";
  newComment: ''
  addComment: ->
    return if !@newComment()
    Comments.insert
      episodeId: @episodeId()
      parentComment: @_id()
      message: @newComment()
    @newComment ''
    @showReply false
  showReply: false
  hasUser: -> Meteor.user()?
, 'message'

Why does event binding break with recursive templating – because of bubbling? How does ViewModel alleviate this problem, more precisely?

Why does event binding break with recursive templating – because of bubbling?

Yes. Events bubble to all parents. To fix this in normal Blaze I had to rely on jQuery binding during render using selectors with unique ids in them.
I had been hoping that, if each nested element was maintaining its own internal events, that a viewmodel might trigger that event without bubbling up a DOM one.

Why does event binding break with recursive templating – because of bubbling? How does ViewModel alleviate this problem, more precisely?

Yes. Events bubble to all parents. To fix this in normal Blaze I had to rely on jQuery binding during render using selectors with unique ids in them.

With ViewModel, events don't 'bubble up'. You declare the action that needs to execute when an event happens. There's a 1 to 1 link between an element's event and the function that runs. You don't have the Blaze/JQuery situation where an event is fired and then some listener picks it up.

Fantastic.
That feature alone is probably enough to get me to switch, thank you!
On Sat, Aug 22, 2015 at 12:53 PM ManuelDeLeon<EMAIL_ADDRESS>wrote:

Why does event binding break with recursive templating – because of
bubbling? How does ViewModel alleviate this problem, more precisely?
Yes. Events bubble to all parents. To fix this in normal Blaze I had to
rely on jQuery binding during render using selectors with unique ids in
them.
With ViewModel, events don't 'bubble up'. You declare the action that
needs to execute when an event happens. There's a 1 to 1 link between an
element's event and the function that runs. You don't have the Blaze/JQuery
situation where an event is fired and then some listener picks it up.
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/97#issuecomment-133746679
.