Can't run on Debian Wesley

When i try to run music bot this happens
can any one help me please
root@NATroutter:/home/DiscordBot/NAT-MusicBot# ./run.sh
No module named 'aiohttp'
Attempting to install dependencies...
Ignoring cffi: markers 'sys_platform == "win32"' don't match your environment
Collecting discord.py[voice]~=0.12.0 (from -r requirements.txt (line 1))
Using cached discord.py-0.12.0.zip
Collecting youtube_dl (from -r requirements.txt (line 2))
Using cached youtube_dl-2017.4.17-py2.py3-none-any.whl
Collecting aiohttp<1.1.0,>=1.0.0 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached aiohttp-1.0.5-cp35-cp35m-manylinux1_x86_64.whl
Collecting websockets<4.0,>=3.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached websockets-3.3-py33.py34.py35.py36-none-any.whl
Collecting PyNaCl==1.0.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
Using cached PyNaCl-1.0.1.tar.gz
Complete output from command python setup.py egg_info:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc'     to the PKG_CONFIG_PATH environment variable     No package 'libffi' found     Package libffi was not found in the pkg-config search path.     Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing libffi.pc'     to the PKG_CONFIG_PATH environment variable     No package 'libffi' found     Package libffi was not found in the pkg-config search path.     Perhaps you should add the directory containing libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
compilation terminated.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
extra_postargs)
File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/usr/local/lib/python3.5/distutils/spawn.py", line 36, in spawn
_spawn_posix(cmd, search_path, dry_run=dry_run)
File "/usr/local/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
% (cmd, exit_status))
distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/local/lib/python3.5/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 161, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 147, in call_command
    self.run_command(cmdname)
  File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 11, in run
    self.build()
  File "/usr/local/lib/python3.5/distutils/command/install_lib.py", line 107, in build
    self.run_command('build_ext')
  File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 75, in run
    _build_ext.run(self)
  File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 338, in run
    self.build_extensions()
  File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 447, in build_extensions
    self._build_extensions_serial()
  File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 472, in _build_extensions_serial
    self.build_extension(ext)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 532, in build_extension
    depends=ext.depends)
  File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 120, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
    yield saved
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
    return func()
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
    _execfile(setup_script, ns)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-ij3rf228/cffi-1.10.0/setup.py", line 232, in <module>
    package_dir={"": "src"},
  File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1105, in run_setup
    run_setup(setup_script, args)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
    raise
  File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
    saved_exc.resume()
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
    six.reraise(type, exc, self._tb)
  File "/usr/local/lib/python3.5/site-packages/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
    yield saved
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
    yield
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
    DirectorySandbox(setup_dir).run(runner)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
    return func()
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
    _execfile(setup_script, ns)
  File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
    exec(code, globals, locals)
  File "/tmp/easy_install-ij3rf228/cffi-1.10.0/setup.py", line 232, in <module>
    package_dir={"": "src"},
  File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
    raise SystemExit("error: " + str(msg))
SystemExit: error: command 'gcc' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-z93tf5ik/PyNaCl/setup.py", line 259, in <module>
    "Programming Language :: Python :: 3.5",
  File "/usr/local/lib/python3.5/distutils/core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 318, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 375, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 851, in resolve
    dist = best[req.key] = env.best_match(req, ws, installer)
  File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1123, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1135, in obtain
    return installer(requirement)
  File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 443, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 673, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 699, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 880, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1119, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1107, in run_setup
    raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-z93tf5ik/PyNaCl/
You may need to use sudo to install dependencies.
root@NATroutter:/home/DiscordBot/NAT-MusicBot#

Have you followed the guide?  You may need to install external packages:
From the guide:
sudo apt-get install git libopus-dev libffi-dev libsodium-dev -y
sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl -y

I followed the guide but when i try to install Those packages using this command
sudo apt-get install git libopus-dev libffi-dev libsodium-dev -y
this will happen
root@NATroutter:/home# sudo apt-get install git libopus-dev libffi-dev libsodium-dev -y Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package libsodium-dev
and i already installed those packages
sudo apt-get install build-essential libncursesw5-dev libgdbm-dev libc6-dev zlib1g-dev libsqlite3-dev tk-dev libssl-dev openssl -y

What version of debian are you running? Correct me if im wrong but debian wesley does not exist?

I accidentally wrote it wrong
i mean "Debian wheezy"
there's all version information
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

Can some one help me pls

https://github.com/Just-Some-Bots/MusicBot/issues/296

Take out "libsodium-dev" and run the command, if it finishes try to install the package libopus and the try libsodium-dev.

Okay i take out that "libsodium-dev" and it's works but when i run the bot this error comes up
root@NATroutter:/home/DiscordBot/NAT-MusicBot# ./run.sh
Connected!  Musicbot v1.9.5_2
Bot:<PHONE_NUMBER>28217602/NAT-MusicBot#6825
Owner:<PHONE_NUMBER>66211841/NATroutter || Majavapato.fi#1648
Server List:

NATroutter.net Discord

Bound to text channels:

NATroutter.net Discord/komento_kanava

Autojoining voice chanels:

NATroutter.net Discord/▒ Bile Luola ▒

Options:
Command prefix: !
Default volume: 15%
Skip threshold: 4 votes or 50%
Now Playing @mentions: Disabled
Auto-Summon: Disabled
Auto-Playlist: Enabled
Auto-Pause: Enabled
Delete Messages: Disabled
Debug Mode: Disabled
Downloaded songs will be deleted
Deleting old audio cache
Attempting to autojoin ▒ Bile Luola ▒ in NATroutter.net Discord
Attempting connection...
Connection established.
[Download] Started: https://www.youtube.com/watch?v=rYIugazDsUI
[Download] Complete: https://www.youtube.com/watch?v=rYIugazDsUI
Task exception was never retrieved
future: <Task finished coro=<MusicPlayer._play() done, defined at /home/DiscordBot/NAT-MusicBot/musicbot/player.py:221> exception=ClientException('ffmpeg/avconv was not found in your PATH environment variable',)>
Traceback (most recent call last):
File "/usr/local/lib/python3.5/site-packages/discord/voice_client.py", line 427, in create_ffmpeg_player
p = subprocess.Popen(args, stdin=stdin, stdout=subprocess.PIPE, stderr=stderr)
File "/usr/local/lib/python3.5/subprocess.py", line 947, in init
restore_signals, start_new_session)
File "/usr/local/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/home/DiscordBot/NAT-MusicBot/musicbot/player.py", line 256, in _play
after=lambda: self.loop.call_soon_threadsafe(self._playback_finished)
File "/usr/local/lib/python3.5/site-packages/discord/voice_client.py", line 430, in create_ffmpeg_player
raise ClientException('ffmpeg/avconv was not found in your PATH environment variable') from e
discord.errors.ClientException: ffmpeg/avconv was not found in your PATH environment variable
Bot connect to server but when i try to play some music nothing happens
and when i try to install package "libopus" its just says E: Unable to locate package libopus

Can someone help ???

hi did you install ffmpeg yet?

OMG now it works thanks a lot for your all help 👍

It doesn't let me install ffmpeg!
`root@alessiosca:~/musicbotto# apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ffmpeg' has no installation candidate`
How do I install it?


⚠ Bofrost.at has degraded performance

In d00a4c3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1712 ms

Resolved: Bofrost.at performance has improved in 6512e3e after 8 minutes.


Deploying model to specified ACI instance

The below code sample from the doc  is deploying the model to a randomly named ACI instance. For e.g.
from azureml.core.webservice import AciWebservice, Webservice
from azureml.core.model import Model

deployment_config = AciWebservice.deploy_configuration(cpu_cores = 1, memory_gb = 1)
service = Model.deploy(ws, "aciservice", [model], inference_config, deployment_config)
service.wait_for_deployment(show_output = True)
print(service.state)

This creates an aci named as aciservice-jesUTi_FHUyvjSE5wGnoBw instead of just aciservice. How do we specify the exact aci name to be deployed to? I like to use as below.
service = Model.deploy(ws, "aciservice", [model], inference_config, deployment_config, overwrite=True)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 261e56b6-ce2d-e8dd-df5e-fbe5e3bddd4e
Version Independent ID: 6ff4988c-7c44-1bb5-3221-c3a473b9565f
Content: How to deploy models to Azure Container Instances with CLI (v1) - Azure Machine Learning
Content Source: articles/machine-learning/v1/how-to-deploy-azure-container-instance.md
Service: machine-learning
Sub-service: mlops
GitHub Login: @Bozhong68
Microsoft Alias: bozhlin

@kiranpradeep
Thank you for bringing this to our attention. I've assigned this issue to the author who will investigate and update as appropriate.

@Bozhong68
Could you please review add comments on this, update as appropriate.

This is explained with an "important" note in the end of below article:
https://learn.microsoft.com/en-us/azure/machine-learning/v1/how-to-deploy-azure-container-instance
We could update the article and move the "important" note to the beginning of the article.

@Bozhong68 I feel that paragraph also needs rewording for clarity. It starts with word "We". The reader is confused which of following falls under "We"

Azure CLI
Azure Portal
ARM/Bicep template
Azure ML SDK
or the core Azure ARM itself

If "We" only means the Azure ML SDK v1, IMHO, that paragraph should more titled as "Known limitation".


[DX-1156] fix: Undecimalise amounts on deposits

Summary
https://immutable.atlassian.net/browse/DX-1156
Update deposit workflows to accept undecimalised amounts to match the behaviour of APIs (and industry norms).
Why the changes
One of the Core SDK TS version 1 proposals: https://immutable.atlassian.net/wiki/spaces/PPS/pages/1950944070/TS+Core+SDK+interface+proposal
Things worth calling out

Tested transfers workflow to make sure that also used undecimalised amounts, which it does.

Nice one!
Question - all other workflows and APIs already work with undecimalised amounts?
@zatlite @CodeSchwert Aung is working on improving the interface of token params, now that we're opinionated about the amount format how about we make it more explicit in the interface, e.g. undecimalizedAmount (or some other term) instead of amount? Or at the very least add comments.

Nice one! Question - all other workflows and APIs already work with undecimalised amounts?
@zatlite @CodeSchwert Aung is working on improving the interface of token params, now that we're opinionated about the amount format how about we make it more explicit in the interface, e.g. undecimalizedAmount (or some other term) instead of amount? Or at the very least add comments.

@Kastet All workflows should work with undecimalised amounts (unless I missed one).
Looks like we could update the interfaces for deposits pretty easily to undecimalizedAmount:

https://github.com/immutable/imx-core-sdk/blob/8a91985ea142685ebed352c1f14da3021a6de7ff/src/types/deposit.ts#L5
https://github.com/immutable/imx-core-sdk/blob/8a91985ea142685ebed352c1f14da3021a6de7ff/src/types/deposit.ts#L12

Changing it for transfer looks a bit trickier since the interface is basically the auto-generated one.

@CodeSchwert https://github.com/immutable/imx-core-sdk/pull/149 is merged


How To collect and print a solution in school_scheduling_sat.py ?

https://github.com/google/or-tools/blob/0027a1a1929aebd33f95d983a3d671c77dfdf5ea/examples/python/school_scheduling_sat.py#L117
shows self.collector = None and there is nothing like LastSolutionCollector in the https://github.com/google/or-tools/blob/master/ortools/sat/python/cp_model.py if one would try to go as advised in the tutorial https://developers.google.com/optimization/scheduling/job_shop

If you just need to access the last solution. Do no use a solution
observer, and just query the values from the solver. (see
gate_scheduling_sat.py).
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le lun. 16 avr. 2018 à 22:31, Diego Kobylkin<EMAIL_ADDRESS>a
écrit :

https://github.com/google/or-tools/blob/0027a1a1929aebd33f95d983a3d671c77dfdf5ea/examples/python/school_scheduling_sat.py#L117
shows self.collector = None and there is nothing like
LastSolutionCollector in the
https://github.com/google/or-tools/blob/master/ortools/sat/python/cp_model.py
if one would try to go as advised in the tutorial
https://developers.google.com/optimization/scheduling/job_shop
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/652, or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17R2Wq0lpwLj9g4Xk85LHZ2WRl9U2ks5tpP-bgaJpZM4TXNPs
.

Just do solver.Value(int_var), or solver.BooleanValue(literal).
See https://github.com/google/or-tools/blob/master/ortools/sat/doc/integer_arithmetic.md#python-code


aiohttp should attempt to calculate FormData's Content-Length

Long story short
It would be convenient if aiohttp tried to calculate length of a form and set Content-Length manually.
Expected behaviour
Requests sending FormData should calculate and set Content-Length whenever possible.
Actual behaviour
Content-Length is left unset.

It appears that multipart uploads can only be sent as chunked. Unfortunately that's not supported by the server. Is there a workaround for that?

If you know size of payload then it is easy. Just specify concern-length

Maybe in some specific use case that makes sense but we assume then payload size is not knowen

@fafhrd91 It drops Content-Length header if present for chunked uploads.

@Kentzo could you provide test case?

@fafhrd91 what kind of test case? an example of a web service that require Content-Length for FormData?

If anyone is interested, it is a HockeyApp service.

@asvetlov What do you think, does this request make sense?

Yes, I think it makes sense.
Unfortunately I have no free time to work on the issue, sorry.
But if you'll produce a PR I'd love to merge it.
Review by @kxepal is very appreciated.

@fafhrd91 I don't believe it's as simple as setting Content-Length header because there are a number of things that are happening internally with the content, for instance, gzip, the boundary etc.. So it's up to aiohttp internally to set this.

The issue is waiting for volunteer.

I'll be having a go shortly - just preparing another PR for a separate issue.

After looking into this further I'm not convinced that aiohttp is doing the wrong thing. It looks to me that this is by design that it's not setting the Content-Length because it's being chunked. However, if we compare this to requests, it does set Content-Length for FormData (at least with file uploads).
So I guess my question to @asvetlov would be, should FormData with a file upload (ie.. multipart=True) always be chunked? Should there be a way of turning off chunk'ing?
I note that requests doesn't automatically chunk when there is FormData and a file - it does the following;
chunked = not (request.body is None or 'Content-Length' in request.headers)

Would something like the above be desirable in aiohttp?
Note, that if you really need to set the Content-Length header you can do so as follows;
content = """
foo bar
"""

with aiohttp.MultipartWriter('form-data') as mpwriter:
    part = mpwriter.append(io.BytesIO(content), {'CONTENT-TYPE': 'text/plain'})
    part.set_content_disposition('form-data', filename='foo.txt', name='file')
body = b''.join(mpwriter.serialize())

async with session.post(
                        'http://awesome-server.com/upload',
                        data=body,
                        headers=mpwriter.headers,
                        ) as resp:
    ...

This will cause the chunking to be turned off.

We may have lazy Content-Length setting by analyzing multipart body(-ies). If we can surely say what content length will be at the serialize call, then set. Otherwise - skip.

Sounds good.

Is it still a problem?

let's discuss all options in #1172


Should cp.ndarray.__getitem__(some_object) check to see if some_object implements __cuda_array_interface__ or DLPack?

Description
Currently, if you do
cupy_array[some_iterable]

CuPy will interrogate some_iterable to see if it implements __array_struct__, __array_interface__, __array__ (in that order) before concluding that some_iterable is not an array and proceed to iterate over it as a Python object.
The Interoperability documentation says that CuPy produces (for Numba) and consumes (from PyTorch) the __cuda_array_interface__ protocol, as well as DLPack. But if some_iterable produces either or both of these protocols, CuPy does not check.
Should it? Is this a feature request or a bug report?
Additional Information
No response

Thanks for the feedback! This feature request looks legit to me for the __cuda_array_interface__ but would like to check how other libraries are handling it, just in case I'm missing something.
As for the DLPack, explicitly using from_dlpack is the standard way of importing foreign arrays, so cupy_array[cupy.from_dlpack(xxx)] is the expected usage.


Insert a line between the lowest track

At the moment, there are lines between tracks but no line to mark the lower end of the lowest track. Please insert a line to mark this lower end of the lowest track.

Looks fine in SWITCHcast-Staging. Thx!


Added VMSS support to Azure MSI Authentication

Fixes #614

Thank you for your contribution. That's merged, polished, and backported now.

Thank you for your contribution. That's merged, polished, and backported now.


Publish Visual Studio Extension task show success even when it fails

First thanks a lot for Publish Visual Studio Extension task #109 !
My CI build generates an artifact file which includes a release number in it e.g. GitDiffMargin_<IP_ADDRESS>.vsix
I tried to include a wildcard in the Publish Visual Studio Extension / VSIX file but it did not work!
Then I tried with an env variable like GitDiffMargin_$env:BUILD_BUILDNUMBER.vsix, and it did not work neither.
2019-02-23T09:44:09.3109263Z ##[section]Starting: Publish Visual Studio Extension
2019-02-23T09:44:09.3113748Z ==============================================================================
2019-02-23T09:44:09.3113845Z Task         : Publish Visual Studio Extension
2019-02-23T09:44:09.3113906Z Description  : Publish Visual Studio extension to the Visual Studio Marketplace
2019-02-23T09:44:09.3113992Z Version      : 1.2.14
2019-02-23T09:44:09.3114037Z Author       : Microsoft Corporation
2019-02-23T09:44:09.3114117Z Help         : [More Information](https://marketplace.visualstudio.com/items?itemName=ms-devlabs.vsts-developer-tools-build-tasks)
2019-02-23T09:44:09.3114186Z ==============================================================================
2019-02-23T09:44:09.6116280Z Logging in as 'LaurentKempe'
2019-02-23T09:44:10.5628353Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" login -personalAccessToken *** -publisherName LaurentKempe
2019-02-23T09:44:24.9671466Z VSSDK: error VsixPub0031 : An error occurred while attempting to authenticate: VS30063: You are not authorized to access https://marketplace.visualstudio.com.
2019-02-23T09:44:24.9672311Z Login successful.
2019-02-23T09:44:24.9672692Z Searching for manifest file 'extension-manifest.json' in 'D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin'
2019-02-23T09:44:24.9731861Z Found manifest file: D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin\extension-manifest.json
2019-02-23T09:44:24.9732181Z Publishing 'D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin\GitDiffMargin_$env:BUILD_BUILDNUMBER.vsix' to Visual Studio marketplace
2019-02-23T09:44:24.9741805Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" publish -payload "D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin\GitDiffMargin_$env:BUILD_BUILDNUMBER.vsix" -publishManifest "D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin\extension-manifest.json" -ignoreWarnings ""
2019-02-23T09:44:26.7700418Z VSSDK: error VsixPub0001 : Cannot find payload at specified path: 'D:\a\r1\a\_GitDiffMargin CI\GitDiffMargin\GitDiffMargin_$env:BUILD_BUILDNUMBER.vsix'.
2019-02-23T09:44:26.7701365Z Published successfully.
2019-02-23T09:44:26.7701897Z Logging out publisher 'LaurentKempe'
2019-02-23T09:44:26.7709137Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" logout -publisherName LaurentKempe -ignoreMissingPublisher
2019-02-23T09:44:27.4316331Z VSSDK: information VsixPub0042 : Publisher 'LaurentKempe' has been logged-out.
2019-02-23T09:44:27.4316789Z Logout successful.
2019-02-23T09:44:27.4316954Z All done
2019-02-23T09:44:27.4326440Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4326743Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4326980Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4327140Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4327366Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4327542Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4327734Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4328109Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4328295Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4328473Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4328652Z (node:4948) Warning: Use Cipheriv for counter mode of aes-256-ctr
2019-02-23T09:44:27.4465401Z ##[section]Finishing: Publish Visual Studio Extension

But the release status was Succeeded! And I would expect a failure.

Is there a way in Publish Visual Studio Extension task to specify a file which name changes on each release?

I just realized that in the logs it is also shown that I cannot login
2019-02-23T10:07:37.7350877Z Logging in as 'LaurentKempe'
2019-02-23T10:07:38.2501321Z [command]"C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VSSDK\VisualStudioIntegration\Tools\Bin\VsixPublisher.exe" login -personalAccessToken *** -publisherName LaurentKempe
2019-02-23T10:07:44.9736570Z VSSDK: error VsixPub0031 : An error occurred while attempting to authenticate: VS30063: You are not authorized to access https://marketplace.visualstudio.com.

I am seeing the same behavior in a Release of mine. The release task succeededs, but there extension is not published and the following line is in the log:
VSSDK: error VsixPub0003 : Encountered an exception when reading the publisher manifest: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.


Execution continues even in an error state

I've written a few simple scripts against this gem, and noticed some false positives where the script continues to execute even with an failure API return. It seems that if the API doesn't return at all (HTTP Timeout) then the script halts execution, but if it returns with a 503, it continues:
{
    :body => {
         "cache-control" => [
            [0] "no-cache"
        ],
          "content-type" => [
            [0] "text/html"
        ],
                  "date" => [
        ],
            [0] "Thu, 24 Mar 2016 20:44:26 GMT"
        ],
                "server" => [
            [0] "nginx"
        "content-length" => [
            [0] "107"
        ],
            "connection" => [
            [0] "Close"
        ]
    }
    :response => 503
},

Non-OK HTTP returns should raise a rescue'able error, and halt execution.

@VxJasonxV I started working on this here: https://github.com/djhopper01/twitch-rb/commit/1a07fb5770ba5dfe1a976f4b77664a07f0a6bf55. Once I add a spec for it, I'll open up a PR.


Note for later: Qt has a PauseAnimation that allows for transitions to be delayed in sequential animations.

It would be useful to delay buttons returning to their default scale and stuff after unpressing them, which is apparently what WP did with a delay of 200, according to this line in the WPToolkit: https://github.com/drewnaylor/WindowsPhoneToolkit/blob/master/Microsoft.Phone.Controls.Toolkit/Effects/TiltEffect.cs#L50
Hopefully just using this number is fine, because it's not necessary translating actual code and more just "oh, so that's a part of it" as I don't really care about how Microsoft implemented it, just that it's a thing that was done that wasn't too obvious.
https://doc.qt.io/qt-6/qml-qtquick-pauseanimation.html
(I named my file containing tilt code "TiltEffect.qml", but apparently it was also named the same there but with .cs and I didn't notice; this is an accidental coincidence.)

I need to figure out how to only apply the delay when it tilts back; maybe I can use the down property to check?

Actually, I'm checking to see if the current scale and axis are not 0 in both ButtonBase and TiltEffect, respectively, and if they aren't, then they do the pause. Otherwise, the pause is set to 0.

It seems ok kinda, but for some reason the tilt goes to what it should be when pressed, but then it immediately snaps back when it goes back to 0.

I think this requires proper animations, so it can go from 0 to the new axis, and the new axis to 0 when the button is unpressed. It can probably stay closed though, as the PauseAnimation thing is now implemented. Next on the list is #37, whenever I decide to work on this in particular again.


ws: Use reconnecting websocket

Signed-off-by: Ryan Northey<EMAIL_ADDRESS>

Codecov Report

Merging #47 (a906c2e) into main (620f939) will decrease coverage by 1.69%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #47      +/-   ##
==========================================
- Coverage   27.33%   25.64%   -1.70%
==========================================
  Files          40       40
  Lines         834      858      +24
==========================================
- Hits          228      220       -8
- Misses        606      638      +32

Impacted Files
Coverage Δ

ui/src/app/socket.js
9.78% <100.00%> (-2.88%)
:arrow_down:

ui/src/app/index.js
44.44% <0.00%> (-12.70%)
:arrow_down:

ui/src/app/store.js
16.94% <0.00%> (-10.17%)
:arrow_down:

ui/src/cloud/index.js
32.00% <0.00%> (+6.02%)
:arrow_up:

ui/src/utils/index.js
22.22% <0.00%> (+7.93%)
:arrow_up:

Continue to review full report at Codecov.

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


Update UI for Offramp from USDC (Assethub)

User Story
As an Asset Hub user, I want to off-ramp my USDC from Assethub to the off-ramping currencies available on Vortex
Requirements
This ticket contains all the UI changes related to the Asset Hub addition to Vortex. This includes:

Showing the Asset Hub logo and network in the network dropdown
Showing the Asset Hub USDC with the correct icon in the 'From' asset dropdown
Updating the Progress screen steps

Assumption: switching between networks / wallets will be implemented in #271
Note

icon - https://drive.google.com/file/d/1yIS4NVYSyRvg8v_03d3J6XILmUOBbvrS/view?usp=drive_link

Open questions

How should the EVM vs Polkadot wallet connection be split up?
Default to Asset Hub i.e. Substrate wallet connect. Choosing an EVM chain enables the connection of EVM wallet e.g. Metamask.

@pendulum-chain/devs should there be one more ticket to implement the automation between Assethub and Pendulum?

I think we need another ticket for adding the Assethub USDC to Nabla or a different instance of the deployment, however we want to achieve it.
I would understand that the automation between Assethub and Pendulum is the goal of this very ticket so there is no other needed IMO.

I created a separate ticket that defines only the business logic of the new offramping flow: https://github.com/pendulum-chain/vortex/issues/283
I propose that we use this ticket here only for UI changes. Usually we should do logic + UI in one ticket but I think in this case splitting this makes sense.
So what are the required UI changes? Assume that the switch between networks/wallets will be implemented in https://github.com/pendulum-chain/vortex/issues/271
We would need to specify that USDC will be (the) one of the input assets that can be used with Asset Hub. The rest of the UI will then already work out of the box.
Another change is the progress screen where the current progress needs to be determined differently as there will be a different number and order of steps for each kind of flow (from EVM via Moonbeam or from Asset Hub).

I updated the ticket to reflect only UI changes expected with this epic. The solution for #271 is also now different than initially planned based on internal feedback.

Showing the Asset Hub USDC with the correct icon in the 'From' asset dropdown

I think we should first clarify this. I notice that some team members take inspiration from Uniswap, but I think that we should either emulate Uniswap behavior almost 100% or do it our way, otherwise the UX will be inconsistent.
What I mean are consistent answers to these questions: (1) do we also want to show assets that  don't belong to the currently selected network and (2) do we want to show particular icons for assets dependent that include their network?
For uniswap the answers are: (1) yes and (2) yes. We decided to answer (1) with "no". But I think then it is more consistent to also answer both questions with no and don't show the network icon in the asset icon.
(We already started doing so for Polygon USDC but I would roll this back for consistency).

Showing the Asset Hub logo and network in the network dropdown
This is already part of https://github.com/pendulum-chain/vortex/issues/271

Hence, my opinion the only thing left to do in this ticket here is the point

Updating the Progress screen steps

(1) do we also want to show assets that don't belong to the currently selected network and

I don't see the benefit of this. The only pro - the user sees which other assets they could off ramp from other networks. Con - choosing the asset not linked to the network would stop the user from going ahead, potentially adding confusion. My suggestion  - NO.
(2) do we want to show particular icons for assets dependent that include their network?
This is not a hard requirement, but given each asset is unique on each network, the same could be also shown at the UI level, to indicate to the user the network they are on. My suggestion - YES.

If the answer to (2) is yes, shall we not do it consistently then? In that case we should always add the current network logo to the asset logo (only talking about input tokens of course).

Yes, we should be consistent in that case for all networks. For Polygon it's already there, let's continue in the same way.

I changed the description accordingly and consider this ticket Ready.

should we close this ticket as the assethub epic is now merged?


[Mobile] When you open the new example on edit.html the example button and other fields can glitch through

STR: Open the new example
You can scroll in the background without closing it
The example button will clip as well as some fields

Fixed in commit 7388426


Helm: RBAC generation fixes

Description of the change:

Fail e2e test if RBAC generation fails
Fix RBAC version parsing to handle OCP versions
Return role scaffold immediately upon rule generation failure

Motivation for the change:
This is a follow-on to #1456, which fixed a regression in the Helm RBAC rule generation.
In CI, the RBAC rule generation is currently failing and falling back to the default rule set when using the OCP cluster in Travis. In OCP, the kubernetes version number is reported as 1.11+ (in minikube and upstream kubernetes, it is reported as 1.11). Helm's libraries to generate manifests fail to parse the kubernetes version when it contains the plus sign, so Helm e2e testing has fallen back to the default non-generated rules ever since RBAC generation was added.
The reason that the regression made it through CI is that the changes from #1434 affect only the code path for successful RBAC generation. Since that code path is not running in Travis, it was never tested, and the e2e tests continued to pass because the default non-generated RBAC rules are sufficient for the helm chart used in the e2e tests.
This PR fixes the underlying issue with kubernetes version parsing and improves the e2e test so that future regressions in RBAC rule generation are caught more easily.

This also needs to be backported to the v0.8.x branch right?

Yes, I think we should backport both. I'll make those PRs after I merge this.


Check-canvas-instance-in-another-window

Description of change
Currently, when creating root and checking if target is HTMLCanvasElement we check it with target instanceof HTMLCanvasElement
It will break in quite rare-use case, when rendering content into another window (created with const newWindow = window.open() using React portal.
In this case - created canvas is instance of newWindow.HTMLCanvasElement, not global HTMLCanvasElement (or technically window.HTMLCanvasElement). As a result - the app will crash.
Use case for such a scenario is eg. creating multi-window Electron applications, when child windows are created using window.open(). I described this architecture in detail here: https://pietrasiak.com/creating-multi-window-electron-apps-using-react-portals

Fixes:
I added getIsCanvasElement function that is checking for this case and modified createRoot function to use it when checking if target is canvas.
Pre-Merge Checklist

[x] Tests and/or benchmarks are included
[x] Documentation is changed or added
[x] Lint process passed (npm run lint)
[x] Tests passed (npm run test)

Great find! I think there's some weirdness on the branch, tho. Can you grab the latest beta branch, cherry-pick your commit onto there, and update this PR? Once you do it should be a pretty quick merge.

@pie6k bumping this, as I'd love to get it merged soon. 😁


Refs #26445 -- Used app config to lookup user model in _create_user.

I rebased from masted and finished patch 6578.
Original description:
"Ticket comment.
Even though the UserManager is available to the user model in
migrations, one cannot use create_superuser() or create_user() due to
them using the attached model to set the password.
Since model managers used in migrations will ALWAYS refer to their
current implementation and will have to work with the migration state
model and the "real" model, using the global app_registry to lookup
the user model is not a problem."

@MarkusH yeah I also still think the mixin approach would be the best. Unfortunately I think it is still blocked by the incapacity of the migration framework to detect bases alteration.

Feel free to reopen if you resume this.


Add GArray, GByteArray and GPtrArray support

Add pango to tests.

So G_PARAM_DEPRECATED is... deprecated and useless. Since we're defining it as a constant, might use the blacklisting facility.

You sure about this? IMHO it marks parameter as deprecated. But may be really useless for us.

Bah! You're right. I'll continue investigating the enum sizes then

By way can you change test.sh that it scans *.toml? So we don't need update LIBS

And about bitfields, IMHO it always unsigned, so better just convert all to u32

By way can you change test.sh that it scans *.toml? So we don't need update LIBS

Good idea but won't the generator fail because of missing src directories? It may need to create them on demand.

Unsigned bitflags seems logical. I guess we'll have to convert rare negative values (G_LOG_LEVEL_MASK) to positive representations.

@homu r+

:pushpin: Commit 9af78f7 has been approved by gkoz

:hourglass: Testing commit 9af78f7 with merge 505abd7...

:sunny: Test successful - status

You create src in script, creating also can be added to gir, if you know how to check file existence. I found no stable method.

If the script just globs over the toml files, it won't know which directories to create.
PathExt::exists seems unstable but we still have options. For example always create the directory ignoring the AlreadyExists error.


110353 add windows testing to python agent

What does this pull request do?
Adds additional tests for windows on different versions of python
Why is it important?
Resolves potential flakiness from Appveyor tests by deprecating them
Related issues
closes

Great stuff? This is in no way required, but would it be possible to always install the newest version of a certain major.minor release train? That way, when e.g. a new 3.8 patch version comes out, we don't need to update the Jenkinsfile.
I did a quick search for defining version ranges with Chocolatey, and from what I can tell it doesn't seem to be supported. So the answer to this might very well be "not possible" :)

I did a quick search for defining version ranges with Chocolatey, and from what I can tell it doesn't seem to be supported. So the answer to this might very well be "not possible" :)

It is more a not in an easy way, we can open a follow-up issue to investigate if install the edge version is not complicated.

@kuisathaverat OK, thanks for the update. If it isn't easily solvable, I don't think it's worth the needed effort. I think hardcoding the exact version numbers in Jenkinsfile is fine for now.

@beniwohli, @kuisathaverat and @ElWPenn , regarding installing the latest version for the given major.minor I did code something similar for the Node.js for the major version using chocolatey, see:
https://github.com/elastic/apm-agent-nodejs/pull/1393/files#diff-860c4fe077b91b560f207db63e491a6a
I guess something like the above script could be modified potentially to search for <major>.<minor>.

@ElWPenn any chance you could set your git email to your elastic.co email to keep down the CLAchecker noise? Thanks :)

This PR has been superseded with https://github.com/elastic/apm-agent-python/pull/746


Wrong logic in Analytics rule "Suspicious Login from deleted guest account"

Describe the bug
The analytics rule "Suspicious Login from deleted guest account" looks for successful logons after an account has been deleted. However, the logic in the query will trigger when the timestamp of the delete event is "bigger" than the timestamp of the login event.
To Reproduce
Steps to reproduce the behavior:

Go to Sentinel> Analytics
Search for "Suspicious Login from deleted guest account"
Scroll down to query.
See error on line 21 | where Delete_TimeGenerated > SigninLogs_TimeGenerated

Expected behavior
| where Delete_TimeGenerated < SigninLogs_TimeGenerated
Screenshots
Example from actual alert thrown. Delete event happened after successful login event. Delete time was at 6/27/2023 whereas login was at 6/25/2023.

Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
N/A
Additional context
We have currently just updated the alert in our own environment.

Hi @Aeven-elnr  in this query we are trying to get that just before deletion of the account, was there any successful sign-ins and what were the associated activities, and since sign-ins are not possible from deleted accounts, deleted account signin timestamp can never be smaller than signin timestamp. I hope this resolves your issue, thanks!

Hello @v-vdixit , thank you for the quick answer! A login before an account is deleted is in itself not suspicious. Can you elaborate as to what suspicious activity this alert is attempting to detect? Is it that someone logs on within a day of the account being deleted? If so, why is this suspicious?

Hello @v-vdixit, so the alert is triggered when the deleted account, has logged in (before deletion) and created 2 new user accounts? Can you help me understand where in the query, this lookup is done? I only see that is looks for "Delete user" operation and then looks for signinlogs for this account.

Hi @Aeven-elnr this is just an instance of use case of this query, basic working of this query suggests that it is looking for suspicious activity from any of the accounts right before they were deleted.

Hey @v-vdixit, thanks for the clarification. I have changed the alert back to what it was before.


Incompatible version Azure Data Studio > Minimal Requirement Azure Data Studio?

Azuredatastudio MySQL not compatible with Azure Data Studio 1.34.0
Is it somewhere mentioned what the minimal requirement version for Azure Data Studio is?

Updated to latest Azure Data Studio (1.39.1)
With this version, it clearly shows the minimal version of Azure Data Studio

@chris-larsen @jordi00113 once you are using the insider build, you should be able to see the mysql extension in the extension list and install directly., you don't have to download it manually.

I guess we should close this issue since it is by design at the moment.


Remove Dart WIP header from finished pages

Dart work has been finished for this pages in previews PRs, yet WIP warning was still enabled

Preview is available here:http://developers-pr295.previews.kube001.services.stellar-ops.com


Config file parser chokes on comments

See below:
<EMAIL_ADDRESS>cat /etc/pyltc.profiles
[4g-sym]
clear
iface eth0
dclass tcp:443:512kbit
dclass tcp:8080:512kbit
dclass tcp:8082:512kbit
dclass udp:10000-35000:512kbit

; vi: ft=dosini

<EMAIL_ADDRESS>pyltc profile 4g-sym -v
Args: (config=None, ingress=None, profile_name='4g-sym', subparser='profile', verbose=True, version=False)
Using config file '/etc/pyltc.profiles'
Profile args: ['tc', '--clear', '--iface', 'eth0', '--dclass', 'tcp:443:512kbit', '--dclass', 'tcp:8080:512kbit', '--dclass', 'tcp:8082:512kbit', '--dclass', 'udp:10000-35000:512kbit', '--;', 'vi:', 'ft=dosini']
usage: pyltc [-h] [-V] {profile,tc} ...
pyltc: error: unrecognized arguments: --; vi: ft=dosini

Also tried a comment with a leading #, which resulted in the same error.

Yep, this is a known issue. As this is NOT a standard .ini format, we may decide what to support - semicolon or a hash sign, or maybe both?

I'd say support both, if it's not too hard.

curious what you're using to parse the current config file format? i would think python has some built in parsing library. i'm really not attached to any specific config file format, just something simple that works.

There's the standard libary .ini ConfigParser but it does not support repeating keys (like dclass in our case) so I wrote a custom one. It's not hard to get that working (the comments), will do that at first convenience.

Resolved with 45d9c8743d561858bc6d3f4680bb1ace2895126b, closing.


[SW-563] perf(fungible-tokens): speed up tokens loading on middleware initialization

Tested, LGTM.


How to set evil normal state cursor color

What would you like to know?
How to change cursor color?
I tried:
(set-cursor-color "#FF6F65")

(evil-set-cursor-color "#FF6F65")

(setq +evil--default-cursor-color "#FF6F65")

(setq +evil--emacs-cursor-color "#FF6F65")

(custom-set-faces '(cursor ((t (:background "#FF6F65")))))

None of them works.

I've found ```elisp
(setq evil-normal-state-cursor '(box "light blue")
evil-insert-state-cursor '(bar "medium sea green")
evil-visual-state-cursor '(hollow "orange"))
To work for me


Anaconda not launching Spyder, jupytrlab, notebook on Win10

Description of your problem
I installed Anaconda 1.6.9 on Win10.
I tried launching Spyder, but it would just show me the loading bar at the bottom for sometime, but Spyder won't launch.
(same for the other two as well)
But I am able to launch Spyder directly by clicking on the spyder.exe file in the Program Data folder.
What steps will reproduce the problem?

Install Anaconda1.6.9 on WIN10 v1709 (OS build 16299.125)
Launch Anaconda1.6.9
Launch Spyder from within

What is the expected output? What do you see instead?
Spyder should launch
Please provide any additional information below
Versions and main components

Spyder Version: 3.2.4
Python Version: 3.6.3
Qt Version: 5.6.2
PyQt Version: 5.6.0
Operating system: WIN10 v1709 (OS build 16299.125)

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
Description of your problem
I installed Anaconda 1.6.9 on Win10.
I tried launching Spyder, but it would just show me the loading bar at the bottom for sometime, but Spyder won't launch.
But I am able to launch Spyder directly by clicking on the spyder.exe file in the Program Data folder.
What steps will reproduce the problem?

Install Anaconda1.6.9 on WIN10 v1709 (OS build 16299.125)
Launch Anaconda1.6.9
Launch Spyder from within

What is the expected output? What do you see instead?
Spyder should launch
Please provide any additional information below
Versions and main components

Spyder Version: 3.2.4
Python Version: 3.6.3
Qt Version: 5.6.2
PyQt Version: 5.6.0
Operating system: WIN10 v1709 (OS build 16299.125)

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=4.0    :  6.1.0 (OK)
cython >=0.21    :  0.26.1 (OK)
jedi >=0.9.0     :  0.10.2 (OK)
nbconvert >=4.0  :  5.3.1 (OK)
numpy >=1.7      :  1.13.3 (OK)
pandas >=0.13.1  :  0.20.3 (OK)
pycodestyle >=2.3:  2.3.1 (OK)
pyflakes >=0.6.0 :  1.6.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.7.4 (OK)
qtconsole >=4.2.0:  4.3.1 (OK)
rope >=0.9.4     :  0.10.5 (OK)
sphinx >=0.6.6   :  1.6.3 (OK)
sympy >=0.7.3    :  1.1.1 (OK)

I saw you posted this error also in the Anaconda issues repo, which was the right thing to do. Please wait until you get an answer there.


click with option

Hi there, thank you for the amazaing plugin. I'm wondering if you could add the function that when one holds down the mouse and drag and hold option at the same time, the cursor will choose the scope that the mouse chooses, just like what we can do in sublime.

Can you provide any links to documentation from Sublime (or elsewhere) with more details on how this works please? I'm not familiar with the feature and couldn't find any information on it.


StatusSource() ?

Where's StatusSource() coming from  in ITunes.scala and Foursquare.scala ?  Not published in the public scalding repo yet ?

Thanks, thought it was some other zany input abstraction.


Confirm contract events are materialized

Overview
create and write methods call smart contract methods (with or without relay) which eventually materialize into table state in Validators within Tableland.  As a developer, you are currently forced to roll your own way to discover when those changes had been consumed and materialized by Validators.  The changes in this PR make thewrite and create methods default to waiting to resolve until the SDK's connected Validator has materialized the transaction's sql statements.
This is accomplished through simple(dirty) polling the Validator via the receipt method until the receipt exists or a timeout is reached.  The polling rate is calculated with exponential backoff, and then once more at the after expiration of the timeout.
More Details
As well as defaulting to waiting for materialization, this introduces the ability to set behavior via options.
The write method now takes an optional second argument that is an options Object.
The create method is now polymorphic.  The second argument can still be a String to be used as a table name prefix, or it can be an options Object.
Available options:

skipConfirm: Default is false, and if set to true the method returns as soon as it gets the smart contract transaction hash.  If set to true, the method waits for the Validator to confirm materialization up to timeout
prefix:  Only available to the create method.  Default is ""
timeout: Default is 120000 (2 minutes). The maximum amount of time in milliseconds the caller is willing to poll the Validator waiting to confirm the materialization of the changes.

Notes and Thoughts
The skipConfirm option being set to true will probably make sense for SDK users who are on L1 mainnets.  I considered having the default value be set differently for each Tableland network, but I feel that might not make sense for devs who are working in a testnet as a way to test (literally) a future mainnet application.
Ref to the Objective:  https://www.notion.so/textile/Handle-receipt-confirmations-in-JS-SDK-82da86b6184f4472a42d697b5ef91f9f

This was rebased into #79 no longer needed


Behavior changed incompatibly between 0.18.3 and 0.18.6?

Before going into this issue, I can confess I am very confused by the api, particularly around context propagation, having to cast to specific implementations to maybe get a root span and all the docs telling to use functions that are deprecated.
As an open source maintainer I know it is hard to keep docs up to date, but a simple realistic example test would be really helpful.

But since 0.8.5 or 6, it returns a span with parent 00000000
I dont know how to convince it not to. I'm also unsure how to create an inner span.
final outer = tracer.startSpan("outer");
final inner = tracer.startSpan("inner")

doesn't work, but how to make it work?
I dont really want to use global things, especially as global tracer prover doesn't seem to allow itself to be reset (required for tests that might need to access it)
Sorry if this sounds like a complaint, it isn't! I'd really appreciate a real example.
The examples given seen to use a completed span as a parent (end is called before passing it down) so I don't quite get what that is doing.
Thank you!!
James

Not quite, sure but this might be related to a problem I'm running into too

@dankhan-helmet I am using honeycomb, and that's how I noticed this issue.. no more root spans.
I reverted to 0.18.3 temporarily.


PL-157 - Cross-references components refactor

Done:
-Removed then syntax and used async/await

In ReferenceComponent class documentation types of properties are not really correct. aslo solveReference has small typo in documentation.
Also, SidePageComponent has nothing to do really with cross references and it has been refactored to work with logic of closing/opening reference in side page. That updated version is already on main...

on main cross reference not works, if you open a reference on the side (entire page) you can't open another one


Type mismatch - unable to implement gRPC server.

What version of protobuf and what language are you using?
libprotoc 3.6.1
What did you do?

Generate grpc from .proto file,
Implement server in another package,

What did you expect to see?
Working server.
What did you see instead?
Bunch of errors, described bellow.
Anything else we should know about your project / environment?
I was following tutorial and everything worked fine, until today. I had to reinstall my environment, and there appeared error while generating code from Proto files:
$ protoc \
--proto_path=pkg/proto \
--go_out=plugins=grpc:. \
pkg/proto/*.proto
--go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPC

So I changed it to:
protoc \
    --proto_path=pkg/proto \
    --go_out=. \
    --go-grpc_out=. \
    pkg/proto/*.proto

which generated code successfully.
But my server was implemented inside other package which now causes this error:
cmd/server/main.go:27:30: cannot use umServ (type *service.UserManagementServer) as type pb.UserServiceServer in argument to pb.RegisterUserServiceServer:
        *service.UserManagementServer does not implement pb.UserServiceServer (missing pb.mustEmbedUnimplementedUserServiceServer method)

Also, after doing go get -u github.com/golang/protobuf/protoc-gen-go I got the following:
protoc \
--proto_path=pkg/proto \
--go_out=plugins=grpc:. \
pkg/proto/*.proto
protoc-gen-go: program not found or is not executable
--go_out: protoc-gen-go: Plugin failed with status code 1.

Hi, I recommend filing this at https://github.com/grpc/grpc-go/issues, as that repository is responsible for designing and maintaining the grpc framework.


Include .pxd files in sdist

Nice catch, thanks!

Is this preventing builds from the source tarball from working? If so, we need a 2.0.2 release.
Merging now...

I would think so. I agree with the 2.0.2 release. 👍


[pcl] Fix PCLConfig.cmake for debug configuration

Fix https://github.com/microsoft/vcpkg/issues/29913

Add the missing lib path for debug.

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Convert to draft.

Closing this PR. Feel free to open a new PR if you are still working on this. Thanks!


Code info can be covered by scroll bar

Hoping fix the bug : )

PreviewHovered

Thanks for the report 👍
I've already pushed a fix which will be merged into the next release version.

So it's not released now?

@neilsustc Sorry, I've been busy. I'll try to deploy it on the weekend.

?

Sorry for the delay!
🚢 Finally shipped with extension release version 🏷 0.3.0.
Closes #22
/cc @Phlicess @isidorn @Livven @GreatDanton @ajitid @neilsustc @nomenon


led: separate "exists" and led count functionality

Added the "led_check" function as command 0. The led_count was moved to (now calls)
command 4.
I have also submitted a PR for the led capsule in tock regarding issue #3375.

Closing per https://github.com/tock/tock/pull/3397#issuecomment-1440655938


Write a Java program to find surface area of a sphere

Description
Write a Java program to find surface area of a sphere
Surface area of sphere = 4 × π × Radius^2
Radius : 2

Surface area : 50.26548245743669

How to contribute

Save the solution in program/FindSurfaceAreaOfASphere.java file
Add FindSurfaceAreaOfASphere.java file in find-surface-area-of-a-sphere folder

!assign

Hey @niteshbhaiya4224,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Bluemix is referenced

There are at least 2 instances of "Bluemix"

https://github.com/IBM/snap-and-translate#2-create-language-translation-and-natural-language-understanding-service-with-ibm-cloud
https://github.com/IBM/snap-and-translate#included-components

Change that to IBM Cloud.

updated in PR #6


The Colab Script need update

First of all, thank you for your work. However, I encountered some errors when using the colab jupyter script. It might be that you have not updated the script. Could you please update the latest script if it is convenient for you?

If you have specific edits in mind feel free to submit a PR

I keep encountering this error on the colab:

Which I assume is caused by this code not finishing:

Also the colab has the argument written as --vicuna-weights instead of --vicuna_weights.

I updated the colab and am testing it now, thanks for the feedback!

Didn't fix it, I uninstalled tensorflow to clear the error, for some reason colab is ctrl+c the cell.

It's the system memory I'm pretty sure won't work on the free version.

Yeah, you have to have high mem instance

nope, colab pro+ I guess

Yeah you need a colab+ or maybe connect a local instance

I've updated the colab with the requirements.


feat: introduces NamespaceVersionMaxValue const

Overview
Although we already have a constant NamespaceVersionSize, the comparison of the max value of the namespace version of the incoming Blobs is currently hardcoded to math.uint8. While this aligns with the current value of NamespaceVersionSize which is 1 byte, it would be safer (and also easier to debug and maintain the code) to derive the maximum value from the original constant instead of manually hardcoding it. This  PR incorporates this modification.
cc: @rootulp @evan-forbes please let me know if this change also makes sense to you.
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user-facing features like CLI or documentation updates
[x] Linked issues closed with keywords

Codecov Report

Merging #1893 (65bfd84) into main (376a1d4) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head 65bfd84 differs from pull request most recent head be4094e. Consider uploading reports for the commit be4094e to get more accurate results

@@           Coverage Diff           @@
##             main    #1893   +/-   ##
=======================================
  Coverage   21.85%   21.85%
=======================================
  Files         117      117
  Lines       13304    13304
=======================================
  Hits         2907     2907
  Misses      10107    10107
  Partials      290      290

Impacted Files
Coverage Δ

x/blob/types/blob_tx.go
14.73% <0.00%> (ø)

x/blob/types/payforblob.go
71.42% <0.00%> (ø)

[nit] you may change the conventional commit prefix of this PR to refactor:


Caffe2 on GPU gets a great performance, but on CPU it gets a very bad perfromance

Hello, I have a simple benchmark to test caffe2 on GPU and on CPU. Te program for GPU is
from caffe2.python import brew, workspace, model_helper, core, utils
from caffe2.proto import caffe2_pb2
import numpy as np
import time

def get_network_2_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    pred = brew.fc(model, fc1, 'pred', 128, 2)
    return pred

def get_network_4_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    fc2 = brew.fc(model, fc1, 'fc2', 128, 64)
    fc2 = brew.relu(model, fc2, fc2)
    fc3 = brew.fc(model, fc2, 'fc3', 64, 32)
    fc3 = brew.relu(model, fc3, fc3)
    pred = brew.fc(model, fc3, 'pred', 32, 2)
    return pred

def get_network_6_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    fc2 = brew.fc(model, fc1, 'fc2', 128, 128)
    fc2 = brew.relu(model, fc2, fc2)
    fc3 = brew.fc(model, fc2, 'fc3', 128, 64)
    fc3 = brew.relu(model, fc3, fc3)
    fc4 = brew.fc(model, fc3, 'fc4', 64, 64)
    fc4 = brew.relu(model, fc4, fc4)
    fc5 = brew.fc(model, fc4, 'fc5', 64, 32)
    fc5 = brew.relu(model, fc5, fc5)
    fc6 = brew.fc(model, fc5, 'fc6', 32, 32)
    fc6 = brew.relu(model, fc6, fc6)
    pred = brew.fc(model, fc6, 'pred', 32, 2)
    return pred

def performance(model, vector_size, batch_size, num_batches, x_train, init_net):
	skip = 100  # skip this number of batches before measuring
	x_train = np.random.rand(batch_size, vector_size)
	x_train = x_train.astype(np.float32)
	for i in range(num_batches):
		if i == skip:
			start = time.clock()
		workspace.FeedBlob("x_train", x_train, device_opts)
		workspace.RunNet(model.net, 1)
		result = workspace.FetchBlob("pred")
	lapse = time.clock() - start
	speed = (num_batches - skip) * batch_size / lapse
	return speed  # vectors / second

model_names = ['1', '3', '6']
models = [get_network_2_layer, get_network_4_layer, get_network_6_layer]
listas=[]
repeats = 10
num_batches = 500
device_opts = caffe2_pb2.DeviceOption()
device_opts.device_type = caffe2_pb2.CUDA
device_opts.cuda_gpu_id = 0
f = open('result.txt', 'w')
for model_name, model in zip(model_names, models):
	print('model:',model_name)
	for vector_size_log in range(6,10):   # 2^4 to 2^8
		for batch_size_log in range(10,27-vector_size_log):
			speeds = []
			vector_size = 2 ** vector_size_log
			batch_size = 2 ** batch_size_log
			x_train = np.random.rand(batch_size, vector_size)
			x_train = x_train.astype(np.float32)
			workspace.FeedBlob("x_train", x_train, device_opts)
			model_h = model_helper.ModelHelper(name="train")
			model(model_h, "x_train", vector_size)
			model_h.param_init_net._net.device_option.CopyFrom(device_opts)
			model_h.net._net.device_option.CopyFrom(device_opts)
			workspace.RunNetOnce(model_h.param_init_net)
			workspace.CreateNet(model_h.net, overwrite=True)
			for i in range(repeats):
				speeds.append(performance(model_h, vector_size, batch_size, num_batches, x_train, model_h.param_init_net))
			speed_mean = np.mean(speeds)
			speed_std = np.std(speeds)
			for i in range(repeats):
				print("NumLayers {} Vector {} Batch {} Speed {:.2f}".format(
					model_name, vector_size, batch_size, speeds[i]))
				f.write("NumLayers {} Vector {} Batch {} Speed {:.2f}\n".format(
					model_name, vector_size, batch_size, speeds[i]))
f.close()

And the program for CPU is the same only removing device_opts variable
from caffe2.python import brew, workspace, model_helper, core, utils
from caffe2.proto import caffe2_pb2
import numpy as np
import time

def get_network_2_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    pred = brew.fc(model, fc1, 'pred', 128, 2)
    return pred

def get_network_4_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    fc2 = brew.fc(model, fc1, 'fc2', 128, 64)
    fc2 = brew.relu(model, fc2, fc2)
    fc3 = brew.fc(model, fc2, 'fc3', 64, 32)
    fc3 = brew.relu(model, fc3, fc3)
    pred = brew.fc(model, fc3, 'pred', 32, 2)
    return pred

def get_network_6_layer(model, data, vector_size):
    fc1 = brew.fc(model, data, 'fc1', vector_size, 128)
    fc1 = brew.relu(model, fc1, fc1)
    fc2 = brew.fc(model, fc1, 'fc2', 128, 128)
    fc2 = brew.relu(model, fc2, fc2)
    fc3 = brew.fc(model, fc2, 'fc3', 128, 64)
    fc3 = brew.relu(model, fc3, fc3)
    fc4 = brew.fc(model, fc3, 'fc4', 64, 64)
    fc4 = brew.relu(model, fc4, fc4)
    fc5 = brew.fc(model, fc4, 'fc5', 64, 32)
    fc5 = brew.relu(model, fc5, fc5)
    fc6 = brew.fc(model, fc5, 'fc6', 32, 32)
    fc6 = brew.relu(model, fc6, fc6)
    pred = brew.fc(model, fc6, 'pred', 32, 2)
    return pred

def performance(model, vector_size, batch_size, num_batches, x_train, init_net):
	skip = 25  # skip this number of batches before measuring
	x_train = np.random.rand(batch_size, vector_size)
	x_train = x_train.astype(np.float32)
	for i in range(num_batches):
		if i == skip:
			start = time.clock()
		workspace.FeedBlob("x_train", x_train)
		workspace.RunNet(model.net, 1)
		result = workspace.FetchBlob("pred")
	lapse = time.clock() - start
	speed = (num_batches - skip) * batch_size / lapse
	return speed  # vectors / second

model_names = ['1', '3', '6']
models = [get_network_2_layer, get_network_4_layer, get_network_6_layer]
listas=[]
repeats = 10
num_batches = 75
f = open('result.txt', 'w')
for model_name, model in zip(model_names, models):
	print('model:',model_name)
	for vector_size_log in range(6,10):   # 2^4 to 2^8
		for batch_size_log in range(10,27-vector_size_log):
			speeds = []
			vector_size = 2 ** vector_size_log
			batch_size = 2 ** batch_size_log
			x_train = np.random.rand(batch_size, vector_size)
			x_train = x_train.astype(np.float32)
			workspace.FeedBlob("x_train", x_train)
			model_h = model_helper.ModelHelper(name="train")
			model(model_h, "x_train", vector_size)
			workspace.RunNetOnce(model_h.param_init_net)
			workspace.CreateNet(model_h.net, overwrite=True)
			for i in range(repeats):
				speeds.append(performance(model_h, vector_size, batch_size, num_batches, x_train, model_h.param_init_net))
			speed_mean = np.mean(speeds)
			speed_std = np.std(speeds)
			for i in range(repeats):
				print("NumLayers {} Vector {} Batch {} Speed {:.2f}".format(
					model_name, vector_size, batch_size, speeds[i]))
				f.write("NumLayers {} Vector {} Batch {} Speed {:.2f}\n".format(
					model_name, vector_size, batch_size, speeds[i]))
f.close()

The performance for 256 vector size can be seen in the next figure

If i compare it with other frameworks, caffe2 gets the best performance for GPU execution (only one GPU) and the worst performance for CPU execution. I think it is a strange behaviour

Notice this kind of situation as well. However in my case, if I trained with CPU the result is better...
My network uses 5 convolutional layers with 3 fc layers to perform classification. relu and batch norm are used along with every layer.


Added a don't care state to xService resource

Added a don't care state to xService resource. Providing an empty string now means ignore the current state. This value is used in Test-TargetResource and Set-TargetResource functions.

This change is

Hi @zjalali, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Zia Jalali). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

@zjalali Please fix test failures.

@zjalali - unfortunately this PR will need to be tweaked a little to work with the HQRM version of xService that was just merged. It shouldn't require too much rework though. Sorry about that.

Closing this PR since the issue is fixed in #246 (Added an 'Ignore' State rather than an empty String)


Monthly ESMValTool meeting - July

The next monthly ESMValTool meeting will be in July. The result of the poll is that it will be on
Thursday July 9 at 13:00 CET (12:00 BST).
The duration will be one hour. Join the zoom meeting here.
@ESMValGroup/esmvaltool-developmentteam
Format and agenda

We start the meeting by doing a round where everyone gets one minute to introduce themselves and tell what they will be working on in the next month or what they are struggling with
Using the input from the introduction round, we can decide to talk about specific topics with the entire group or make smaller breakout groups to continue the discussion there.
If you already know that you would like to bring up a particular topic in the meeting, you can link the GitHub issue to this issue so it's easy to find for other people in the meeting and we can already start discussing there before the meeting. Just create a new GitHub issue if there is no open issue yet.
GitHub issues are our preferred way to communicate outside the meeting and keep track of work, so any feature requests/action items/etc discussed in the meeting should ideally result in a GitHub issue.

Notes from the previous meeting can be found here: https://github.com/ESMValGroup/ESMValTool/issues/1658#issuecomment-638203056

@ESMValGroup/esmvaltool-developmentteam Just a few days left to fill the doodle

@ESMValGroup/esmvaltool-developmentteam The meeting will take place on Thursday July 9 at 13:00 CET (12:00 BST).

@ESMValGroup/esmvaltool-developmentteam reminder meeting is today.

Please note that the zoom link has been updated.

Hi Bouwe,
Sorry I can’t make it today.
Alistair
From: Bouwe Andela<EMAIL_ADDRESS>Sent: 09 July 2020 09:53
To: ESMValGroup/ESMValTool<EMAIL_ADDRESS>Cc: Sellar, Alistair<EMAIL_ADDRESS>Team mention<EMAIL_ADDRESS>Subject: Re: [ESMValGroup/ESMValTool] Monthly ESMValTool meeting - July (#1670)
Please note that the zoom link has been updated.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/ESMValGroup/ESMValTool/issues/1670#issuecomment-656000758, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD3CZ75BJLSQTTHPZEXNBTTR2WAOLANCNFSM4NRWCZFQ.

Thanks for attending everyone!
Here is a short summary

We will postpone the deadline for submitting new features for ESMValTool v2.0.0 (e.g. recipes, diagnostics, cmorizers, anything that isn't a bugfix) to July 22nd. This will allow us to test the pull requests with the released version of ESMValCore v2.0.0, which will be released on July 20.
We discussed about why we are using the released version of ESMValCore with the ESMValTool repository. The reason for doing this is to provide diagnostic developers with a stable and better-tested version of ESMValCore to develop their diagnostics against. For diagnostic developers who like to work with the latest features from ESMValCore, there is the option of installation from source. We have to make sure that we make ESMValCore releases often enough that diagnostic developers can use the latest features, but not so often that their are disturbed by breaking changes.
@SarahAlidoost will organize a short meeting to plan finalizing the tutorial to the point where it can be given to a test audience.
We would like to plan a first meeting with the future technical lead development team to look at how we could better share work like pull request reviews and making releases among team members


MINOR: runtime: add ssl crt-list/cert support

Hi haproxy maintainers,
as mentioned in PR haproxytech/client-native#52 I created this PR to add new models.
Please let me know if something is missing or wrong.
Thanks and Regards,
Thomas

@thomas-kaltenbach sry for the delay, merged, models should be available soon after


"Vlădeni", "Brehuiești", "Hrișcani", "Huțani" and "Mândrești" are listed in the drop-down menu

Description:
"Vlădeni", "Brehuiești", "Hrișcani", "Huțani" and "Mândrești" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Vlădeni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Vlădeni, Botoșani (Vlădeni)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Brehuiești" in the search bar.

Expected results
The location is listed in the drop-down menu as "Brehuiești, Botoșani (Vlădeni)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Hrișcani" in the search bar.

Expected results
The location is listed in the drop-down menu as "Hrișcani, Botoșani (Vlădeni)".

Step 6
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 7
Type "Huțani" in the search bar.

Expected results
The location is listed in the drop-down menu as "Huțani, Botoșani (Vlădeni)".


fix: change onyxFocused state on umount instead of deleteDraft

Details
Change onyxFocused state when umounting instead of in deleteDraft
Fixed Issues
$ https://github.com/Expensify/App/issues/32218
PROPOSAL: https://github.com/Expensify/App/issues/32218#issuecomment-1833149898
Tests

Open ND and log in with any account
Navigate to any chat
Send a message
Switch the message into edit mode and add some changes
Tap outside the edit composer to blur the composer input
Tap the green tick mark to save
Verify that the main composer doesn't disappear

[x] Verify that no errors appear in the JS console

Offline tests

Open ND and log in with any account
Navigate to any chat
Send a message
Switch the message into edit mode and add some changes
Tap outside the edit composer to blur the composer input
Tap the green tick mark to save
Verify that the main composer doesn't disappear

QA Steps

Open ND and log in with any account
Navigate to any chat
Send a message
Switch the message into edit mode and add some changes
Tap outside the edit composer to blur the composer input
Tap the green tick mark to save
Verify that the main composer doesn't disappear

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/126839717/4d76bc8f-ec94-4d6f-9cc2-5cf5199cbcd5

Android: mWeb Chrome
https://github.com/Expensify/App/assets/126839717/5f91498e-c47a-4ca3-87e7-e356e60744fd

iOS: Native
https://github.com/Expensify/App/assets/126839717/7d292ec3-c3ae-4c13-8c55-93ae9265d9d8

iOS: mWeb Safari
https://github.com/Expensify/App/assets/126839717/0b3452f9-7b36-41da-9146-7fc51eeb187f

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/126839717/90d3b130-02b7-413f-851b-a73b289804ea

MacOS: Desktop
https://github.com/Expensify/App/assets/126839717/f9867385-0e91-494f-9fbd-21a4df6a2cb6

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

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

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/59907218/a3d5a043-3587-4759-bfe2-2b3d8424fe64

Android: mWeb Chrome
https://github.com/Expensify/App/assets/59907218/e6a23cb0-bd4b-4b71-b058-ffe513b54ba9

iOS: Native
https://github.com/Expensify/App/assets/59907218/37c6bb71-ac5b-4f81-b13b-7e245c8fe8fe

iOS: mWeb Safari
https://github.com/Expensify/App/assets/59907218/1d24ddba-1015-406b-80dd-23460ebac472

MacOS: Chrome / Safari
https://github.com/Expensify/App/assets/59907218/04f08096-86d1-4ec6-9daf-28b9edfcfd97

MacOS: Desktop
https://github.com/Expensify/App/assets/59907218/dcb4519b-f0ea-4b71-8af2-0e1316c93b8c

@tylerkaraszewski
Can you please review the PR?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/tylerkaraszewski in version: 1.4.15-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.15-5 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Close event channels

After stream.Events closed, it should close the returned channel too.

Hey, @vrgakos - Thanks a ton for this sweet PR! 😄
Would you please shoot me an email when you get a chance?
mcowley at digitalocean dot com 🎉


botfront up fails on projects with space in folder path

Describe the bug
If there is a space in the path to the project folder, botfront up will give an error.
Example: If the project is in the folder '~/Área de Trabalho/bot', botfront will error with the message "No such command: de". The "de" is interpreted as a command, it comes from "Área de Trabalho".
To Reproduce
Steps to reproduce the behavior:

botfront init on a folder with a space in its path
botfront up

Expected behavior
botfront up should start the project
Desktop (please complete the following information):

OS: Linux Ubuntu
Version 19.10

Additional context
I'm creating this issue just to document that botfront doesn't work well with spacebars because I took some time to realize it.

Thanks for reporting. In terms of priority, do you see this as blocking or you can just pick a name without space?

Id say it's non blocking. All I did was change the folder I'm working on and it got fixed. Just sharing so more people can find about it.


Add support for Azure Automanage

Azure Automanage is a new service that is currently in public preview. We plan to have a GA launch date in October. Automanage is located in the Schema list here.
I've tested and verified that the ARM deployments do work with Automanage, however, there seems to be no support with the VSCode extension. Is there a way we can implement snippets for automanage and autocomplete for the Automanage properties?
You can find an example of how to deploy the ARM template here: ARM deployment
Thank you for all the help!

@AndrewCS149 We would love to have you submit snippet PRs.  The snippets files are in https://github.com/microsoft/vscode-azurearmtools/tree/main/assets/resourceSnippets.  Look at the existing ones for examples, and feel free to ask any questions, thanks!

Thank you @StephenWeatherford ! Ive created a PR there: https://github.com/microsoft/vscode-azurearmtools/pull/1508


Add allowOnStandbyMasters option for version grpc endpoint

What changes are proposed in this pull request?
Add a rejectOnStandbyMasters on version grpc endpoint
Why are the changes needed?
We added a PR to make standby master return unavailable on this version service endpoint
https://github.com/Alluxio/alluxio/pull/16854
However, in addition to the polling master inquire client, the AbstractMasterClient also needs this endpoint.
https://github.com/Alluxio/alluxio/blob/master/core/common/src/main/java/alluxio/AbstractClient.java#L172
When a client makes a request to standby master, such check will constantly fail and resulted in failures.
So we want the logic done in #16854 only applies to PollingMasterInquireClient and hence we added this boolean field to bypass the check.
Does this PR introduce any user facing changes?
N/A

alluxio-bot, merge this please


Upgrade Linux Kernel for main from 6.6.8 to 6.6.9

Subject says it all.

Closing in favor of https://github.com/flatcar/scripts/pull/1558