0123 - Best Time to Buy and Sell Stock III

Description of the Problem
Say you have an array for which the ith element is the price of a given stock on day i.
Design an algorithm to find the maximum profit. You may complete at most two transactions.
Note: You may not engage in multiple transactions at the same time (i.e., you must sell the stock before you buy again).
Code
class Solution:
    def maxProfit(self, prices: List[int]) -> int:
        max_profit = 0
        pass
        return max_profit

Link To The LeetCode Problem
LeetCode 123

Please assign it to me.

I want to write a code in C++ can you assign it to me?

Hey, @TobiSan5 can you please assign this issue to me. This problem seems interesting and I would like to work on it.

Hey @TobiSan5, Can I do this task?

@TobiSan5 Do you work on that issue on your own?
@Sayantan-world NO, this Repo is Python only!

@TobiSan5 Do you work on that issue on your own?

Yes, I've got a solution.

@TobiSan5 Do you work on that issue on your own?

Yes, I've got a solution.

Great! Make sure to link this issue when creating a PR.

Failed to pass, dropping this issue
I met difficulties when trying to validate my solution with Leetcode. My solution was based on iteration, and it is not effective enough when the algorithm gets validated with a list of 1000 items. Due to time-restraints, I will not pursue a solution to this problem, and it should be assigned to someone else.

@Deepak2417 You are the next one in line - would you still like to work on this issue?

Yeah, sure.

Hey @vJechsmayr , it seems I can work on this issue. If it is open, assign it to me.


Convert sub-command should support SBOM output to stdout

This should be the standard approach for any sub-command that supports output to a file. And should be the default if an output filename isn't specified.
This is in support of automation scenarios to allow piping the output from CycloneDX CLI to other tools.

Included in v0.1.0


Adding the limitation on the number of recommendation results.

Adding the limitation on the number of recommendation results.

Hi @LuisCabrer, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (luisca). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Sync eng/common directory with azure-sdk-tools for PR 9179

Sync eng/common directory with azure-sdk-tools for PR https://github.com/Azure/azure-sdk-tools/pull/9179  See eng/common workflow

/check-enforcer override
Unrelated test failures.


HTTP to HTTPS redirection does not work

More than 24 hours and the rule is not applied
http://www.lorenzobrito.com/ is not moving to
https://www.lorenzobrito.com/
https://lorenzostaticsite.blob.core.windows.net/images/ruleengine.PNG?sp=r&st=2019-12-02T15:59:18Z&se=2022-04-09T22:59:18Z&spr=https&sv=2019-02-02&sr=b&sig=6eB5wSd%2Fl19b%2FqiNGvUeVH%2FUZHbXcjJh1LIfwvuL0Js%3D

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

ID: 9f47edbf-1950-9f33-7032-74a9bfb902e2
Version Independent ID: 6628e477-733b-ee95-1c85-48586022bb67
Content: Use Azure CDN to access blobs with custom domains over HTTPS
Content Source: articles/storage/blobs/storage-https-custom-domain-cdn.md
Service: storage
Sub-service: blobs
GitHub Login: @normesta
Microsoft Alias: normesta

@lorenzobrito Thanks for the feedback! We are currently investigating and will update you shortly.

@lorenzobrito  I'd recommend posting your question in https://social.msdn.microsoft.com/forums/azure/en-US/home?forum=windowsazuredata since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

You should not closed this, it is a documentation issue. i follow the step and still not working


[FIX] MailReceptionCheck do not send the mail before we actively list…

…en to the results
Why : Sometime mail reception checks fails without reason
I suspect we do actually on busy envs receives the mail BEFORE we actively listen on the listener

(caused some unecessary pod reboots and forced us to us less meaningfull livenessProbes in K8S)


Documented few template pages

Change description
Provide a concise overview of the issue or rationale behind the proposed changes.
->added comments for add-item.html
->added comments for dept-create.html
->added comments for add-user.html
->added comments for login.html
->added comments for logout.html
Checklist

[x] This PR targets the main branch.
[x] The commit message is written in past tense.
[x] I have added or updated relevant tests.
[x] I have added or updated relevant docs, including release notes if applicable.
[ ] For UI changes, I have attached screenshots

@all-contributors please add @AqsaMoin for code


peer access is not supported between these two devices

When upgrading from sglang 0.1.16 to 0.1.17 I get the following error when loading a model with tp=2 on a 2xT4 machine (kaggle). The same code used to work on 0.1.16
Error:
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.

Failed: Cuda error /home/runner/work/vllm/vllm/csrc/custom_all_reduce.cuh:307 'peer access is not supported between these two devices'
Failed: Cuda error /home/runner/work/vllm/vllm/csrc/custom_all_reduce.cuh:307 'peer access is not supported between these two devices'

[rank1]:[W CudaIPCTypes.cpp:16] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]
[rank0]:[W CudaIPCTypes.cpp:16] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors]

[...]

Code:
runtime = sgl.Runtime(model_path=model_name, tp_size=2)

This used to run fine in 0.1.16 on the same machine. The model loaded is deepseek-7b, so llamaforcausal family. Let me know if you want me to test with other models.

See this PR for a temporary fix. You can disable custom allreduce for your setup. If you got it fixed, please contribute a PR.
https://github.com/sgl-project/sglang/pull/531

@gmonair Add the --enable-p2p-check option to server args, so the older GPU can also support tp=2.
This #599 fixes your issue.


Cryogenic Pods UI let you scan players inventory

Description
Click on cryogenic, you will see the list of players. You can scan inventory of everyone, yet you cannot take items.
It seems that you can see items of disconnected players, or ones who were disconnected before.
Reproduction
Can not do reproduction steps alone, I played a round and have seen items of active players, even asked them over comms, and they were online.

I think these players disconnected once, and reconnected later.

Discord thread:
https://discord.com/channels/310555209753690112/1196866801603182903


No VNET-internal DNS resolving

Dear Azure Team,
I have followed the following guidelines to setup a p2s VPN connection to a VNET containing only a Private Endpoint of a Blob Storage Account, by following the instructions on these pages:
https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-create-gateway-portal
https://docs.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-tenant
https://docs.microsoft.com/en-us/azure/vpn-gateway/openvpn-azure-ad-client
I'm able to connect to the vnet, but the DNS resolving doesn't seem to work.
Screenshot of the client:

Output of nslookup:

DNS-setting of the VNET:

Is there anything that I'm missing. I'm expecting that DNS names within the VPN to be resolved from my laptop when I'm connected via VPN.
Thank you in advance!

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

ID: e9ef898a-0b72-e018-8a3d-6f14f62e1119
Version Independent ID: b62b5b8f-bc88-0868-a2f6-1020a5097460
Content: Configure VPN clients for P2S OpenVPN protocol connections: Azure AD authentication - Azure VPN Gateway
Content Source: articles/vpn-gateway/openvpn-azure-ad-client.md
Service: vpn-gateway
GitHub Login: @cherylmc
Microsoft Alias: cherylmc

Thanks for the feedback! We are currently investigating and will update you shortly.

@Christian-e-S Can you provide the entire output from the Get-DnsClientNrptPolicy command? Thanks!

@Christian-e-S Any update?

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Installation Problem

I'm having trouble installing packages due to version conflicts. Can you suggest the right Python version for compatibility with the required packages?

Hi Elif, thanks for your interest in our work. We were using Python 3.8.0 - can you install the packages using this version? If not, it would be nice if you could show the compatibility error.

Thanks for your quick response. I'm currently facing an issue while installing the required packages. Here's the error I encountered:
  Using cached torch-1.8.0-cp38-cp38-manylinux1_x86_64.whl (735.5 MB)
Collecting torch-scatter==2.0.9 (from -r requirements.txt (line 23))
  Using cached torch_scatter-2.0.9.tar.gz (21 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-i5657kpa/torch-scatter_035b5d25850b4a7eab3221ea047703d4/setup.py", line 8, in <module>
          import torch
      ModuleNotFoundError: No module named 'torch'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
WARNING: There was an error checking the latest version of pip.```

How can I resolve this issue? I haven't found a solution yet. Could it possibly be related to the CUDA version?

I see... Yes, this might be related to the CUDA version. In the past, I've also run into installation issues with torch-scatter. Perhaps you could try manually installing Pytorch first followed by torch-scatter?
According to the torch-scatter documentation, if pytorch >= 1.8.0 is installed then you should be able to install torch-scatter as conda install pytorch-scatter -c pyg (or if you are using pip: pip install torch-scatter -f https://data.pyg.org/whl/torch-1.8.0+${CUDA}.html)


docs: Readme in repository missing isar_generator

Just a quick heads up 👋🏻, in the readme the dev dependency for isar_generator is missing.
https://github.com/isar/isar/blob/04886f692d6e1935e695ae993f77848b023dfb80/packages/isar/README.md?plain=1#L73C1-L75C4
On https://isar.dev/tutorials/quickstart.html#_1-add-dependencies it's complete

That was in preparation for Isar v4: https://github.com/isar/isar/commit/41988e4fd6810c43d0a21fa9a6d3423b6f017916#diff-e69b3925547c4557b2e4a8db5f49880cd11e18f636d0997bd3c11ebaa0d1c72bL72-L74
For v4 that package is included in Isar, and does not have to be specified anymore.

Would recommend to check out the community fork, as the maintainer of this package is currently absent.
The community fork mainly provides updated dependencies.
See some related to community fork: #1604, https://github.com/isar/isar/discussions/1590#discussioncomment-9022412, https://github.com/isar/isar/discussions/1587#discussioncomment-8932294


When will the new patch be supported?

I downloaded the program, but I can't run it because the latest version of Tekken is not supported. But the DLL Injection is fine, maybe I can use it in its current version, even if some framedate is incorrect? If not, when is the update planned?

update to support 1.04 version pplease 🙏

Arghhhhhhhh save us KulaGGin

Hopefully it's sooner than later.

My eyes are bleeding at 60fps.

how long does it usually take to update?

how long does it usually take to update?

3 days

I thought I was the only one super bummed to not have this mod active

:（  I couldn't use paypal to dontate in my region. Hope there would have a patreon.

:（ I couldn't use paypal to dontate in my region. Hope there would have a patreon.

You can donate via PayPal?  Mind telling me how? I've always struggled navigating github

:（ I couldn't use paypal to dontate in my region. Hope there would have a patreon.

You can donate via PayPal? Mind telling me how? I've always struggled navigating github

Yes the paypal donate button is on the bottom of the readme
https://github.com/TekkenOverlay/TekkenOverlay
scroll all the way down here

I just donated 10eur.

So uh, any updates?

@KulaGGin RELEASE THE UPDATE ASAP PLEASE !!!!!

Kinda need an update of some sort. Thanks in advance @KulaGGin

https://github.com/TekkenOverlay/TekkenOverlay/releases/tag/7.5.11-<IP_ADDRESS>-0
Finally!! Thank you KulaGGin ^.^


Untranslated label for default Workload type in "Deploy Workload" page sometimes.

Rancher server - 2.0 build from master - Feb 28
Steps to reproduce the problem:
Deploy a workload.
Incorrect label for default Workload type in "Deploy Workload" page.

Version - 2.0 master 3/1
Verified fixed


Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Using worker: threads
Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13891] [INFO] Booting worker with pid: 13891
if i use curl localhost:8443/authorized_keys i have this
an 18 10:57:03 raspberrypi gunicorn3[13872]: [2021-01-18 10:57:03,387] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise err
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     sock.connect(sa)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     chunked=chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.send(msg)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.connect()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     conn = self._new_conn()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     timeout=timeout
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     response = self.full_dispatch_request()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     rv = self.handle_user_exception(e)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     reraise(exc_type, exc_value, tb)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise value
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     rv = self.dispatch_request()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return self.view_functionsrule.endpoint
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return request('get', url, params=params, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     r = adapter.send(request, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise ConnectionError(e, request=request)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused'))

and one thing i dont undestand
service tezos-signer-wrapper.service if run show this
an 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Starting gunicorn 19.9.0
Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Listening at: http://<IP_ADDRESS>:8443 (13872)
Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13872] [INFO] Using worker: threads
Jan 18 10:55:49 raspberrypi gunicorn3[13872]: [2021-01-18 10:55:49 +0000] [13891] [INFO] Booting worker with pid: 13891
if i use curl localhost:8443/authorized_keys i have this
an 18 10:57:03 raspberrypi gunicorn3[13872]: [2021-01-18 10:57:03,387] ERROR in app: Exception on /authorized_keys [GET]
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     (self._dns_host, self.port), self.timeout, **extra_kw)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise err
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     sock.connect(sa)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: ConnectionRefusedError: [Errno 111] Connection refused
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     chunked=chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     conn.request(method, url, **httplib_request_kw)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1244, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self._send_request(method, url, body, headers, encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.endheaders(body, encode_chunked=encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self._send_output(message_body, encode_chunked=encode_chunked)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.send(msg)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3.7/http/client.py", line 966, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self.connect()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     conn = self._new_conn()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     self, "Failed to establish a new connection: %s" % e)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     timeout=timeout
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     _stacktrace=sys.exc_info()[2])
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise MaxRetryError(_pool, url, error or ResponseError(cause))
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused'))
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: During handling of the above exception, another exception occurred:
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: Traceback (most recent call last):
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     response = self.full_dispatch_request()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     rv = self.handle_user_exception(e)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     reraise(exc_type, exc_value, tb)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise value
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     rv = self.dispatch_request()
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return self.view_functionsrule.endpoint
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/tezos-signer-wrapper/signerWrapper.py", line 115, in catch_all
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     signer_response = requests.get('http://localhost:%s/%s' % (LOCAL_SIGNER_PORT, path) )
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 75, in get
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return request('get', url, params=params, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     return session.request(method=method, url=url, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     resp = self.send(prep, **send_kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     r = adapter.send(request, **kwargs)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:   File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
Jan 18 10:57:03 raspberrypi gunicorn3[13872]:     raise ConnectionError(e, request=request)
Jan 18 10:57:03 raspberrypi gunicorn3[13872]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442): Max retries exceeded with url: /authorized_keys (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f94fe9198>: Failed to establish a new connection: [Errno 111] Connection refused'))

and where does this port come from if i set 8443 "Jan 18 10:57:03 raspberrypi gunicorn3[13872]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442)"

and where does this port come from if i set 8443 "Jan 18 10:57:03 raspberrypi gunicorn3[13872]: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8442)"

Thanks for the detailed logs, the connection between the server and the cloud seems to be ok.
The issue seems to be on the signer, the tezos-signer daemon is not running?
Beware, there are three services. tezos-signer, tezos-signer-wrapper and tezos-signer-forwarder. All of them must be working.
tezos-signer is the native daemon. It is configured by ansible to run on port 8442. tezos-signer-wrapper provides a few additional checks on the signer and is configured to run on port 8443.
So you should try on the signer curl http://locahost:8442/authorized_keys and see if it works.

Thanks for the detailed logs, the connection between the server and the cloud seems to be ok.
The issue seems to be on the signer, the tezos-signer daemon is not running?
Beware, there are three services. tezos-signer, tezos-signer-wrapper and tezos-signer-forwarder. All of them must be working.
tezos-signer is the native daemon. It is configured by ansible to run on port 8442. tezos-signer-wrapper provides a few additional checks on the signer and is configured to run on port 8443.
So you should try on the signer curl http://locahost:8442/authorized_keys and see if it works.

all service are running
### tezos-signer
Jan 19 13:22:37 raspberrypi tezos-signer[14371]: Jan 19 13:22:37 - client.signer: Accepting HTTP requests on port 8442
Jan 19 13:22:37 raspberrypi tezos-signer[14371]: Jan 19 13:22:37 - client.signer: Listening on address ::ffff:<IP_ADDRESS>
### tezos-signer-wrapper
Jan 19 13:22:29 raspberrypi systemd[1]: Stopped Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 19 13:22:29 raspberrypi systemd[1]: Started Tezos Signer Wrapper Service to add intrumented endpoints.

Jan 19 13:22:29 raspberrypi systemd[1]: Started Tezos Signer Wrapper Service to add intrumented endpoints.
Jan 19 13:22:30 raspberrypi gunicorn3[14325]: [2021-01-19 13:22:30 +0000] [14325] [INFO] Starting gunicorn 19.9.0
Jan 19 13:22:30 raspberrypi gunicorn3[14325]: [2021-01-19 13:22:30 +0000] [14325] [INFO] Listening at: http://<IP_ADDRESS>:8443 (14325)
Jan 19 13:22:30 raspberrypi gunicorn3[14325]: [2021-01-19 13:22:30 +0000] [14325] [INFO] Using worker: threads
Jan 19 13:22:30 raspberrypi gunicorn3[14325]: [2021-01-19 13:22:30 +0000] [14349] [INFO] Booting worker with pid: 14349
### tezos-signer-forwarder
an 19 13:22:50 raspberrypi autossh[14419]: starting ssh (count 1)
Jan 19 13:22:50 raspberrypi autossh[14419]: ssh child pid is 14432
### on signer
tezos@raspberrypi:~ $ curl localhost:8442/authorized_keys
{}
### on gke
i still have error
Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:     Error:                                                                                │
│ Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:       Rpc request failed:                                                                                │
│ Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:          - meth: GET                                                                                │
│ Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:          - uri: http://xtz-tezos-remote-signer-loadbalancer-mybaker:8445/authorized_keys                                                                │
│ Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:          - error: Unexpected error 503:                                                                                │
│ Jan 19 13:54:44 - 007-PsDELPH1.baking.forge:                     "503 Service Unavailable\nNo server is available to handle this request.\n\n"
Container: tezos-remote-signer-loadbalancer
curl localhost:8443/authorized_keys
{}
curl localhost:8445/authorized_keys
503 Service Unavailable
No server is available to handle this request.

now from somewhere came port 8445

signer listening on <IP_ADDRESS> and wrapper listening http://<IP_ADDRESS>:8443  maybe here something wrong they both should be in same address <IP_ADDRESS> or <IP_ADDRESS>

signer listening on <IP_ADDRESS> and wrapper listening http://<IP_ADDRESS>:8443  maybe here something wrong they both should be in same address <IP_ADDRESS> or <IP_ADDRESS>

@goodpen please send an email at<EMAIL_ADDRESS>and let's have a live debug session.

@goodpen please send an email at<EMAIL_ADDRESS>and let's have a live debug session.

Thanks for you help

Thanks for you help


Network Indexer Status - remove outdated entries

The list of indexers and their status is not removing any entries if they disappear and is no longer active/available. The wallet will continue to attempt to check the status of these indexers. We should consider removing (and instead re-adding) entries that have been "offline" for X amount of time.

This was added as a means to manually reset the network status cache and trigger an refresh of status for all indexers:

Now the list of indexers is retrieved from nameservers, so out-of-date indexers likely won't be listed in the network status view.


Could not create TensorFlow Graph: Not found: Op type not registered 'AddV2'  IOS

Using tensorFlow_gpu==1.15.0, ssD_mobilenet_V1 is trained through TensorFlow API. Then
models-master\research\object_detection>python export_inference_graph.py
--input_type image_tensor
--pipeline_config_path  /data/pipeline.config
--trained_checkpoint_prefix  /training/model.ckpt-200000
--output_directory  convert_pb/
Get frozen_inference_graph.pb,
This frozen_inference_graph.pb file is applied to IOS to report an error,
/Users/zhao/Desktop/tensorflow-1.15.0/tensorflow/examples/ios/camera/tensorflow_utils.mm:140] Could not create TensorFlow Graph: Not found: Op type not registered 'AddV2'

@zhidk
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code to reproduce the issue faced]
Please upgrade to 2.x and let us know if the issue exist as there is no support for 1.x

yes.thankyou.


Failure to install SBT - Linux Mint

SBT has been failing on my Linux Mint distro.
Trying to update the distro yields this error message -
'E: The repository 'https://dl.bintray.com/sbt/debian  InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.'
Even trying to update through the distros software center yields a 'Failure to download package files'.
How can this be remedied?
Thanks.

duplicate of #6582 and #6583 and #6584 and #6596 (!!)


Jump to File

It would be nice to click on the file name in the search results to open that file in a new tab. Even better if I could click on the TODO in the search results and be taken to that line in the file

I honestly thought it did that.  I haven't used this in quite a while.  Maybe it was in another branch I never finished.  😮
I should probably transfer ownership of this.  Would you (or anyone) be interested in taking it up?

Oh wow. I might be interested. I was actually thinking about making a similar package since this one hasn't been updated. I'm really busy at the moment but if it could wait another two months I'd like to reach back out to you then to discuss transferring the project

I also like this package, so when I got more free time I'll do some pull requests 🥶


Using FlatList with item component wrapped with react-redux connect()

Description
I've followed the guide at https://facebook.github.io/react-native/docs/flatlist.html to implement a FlatList. My implementation is essentially the same as the example provided in this guide under "More complex example", except that my <MyListItem /> component has been wrapped with the react-redux connect() function in order to pass down some additional props to the component (some props from state, and some props that are functions that use dispatch). This seems to be working correctly, however the docs don't make it clear whether this pattern is okay. Will this cause any issues with FlatList?
Sample Code
Here's the example from the FlatList guide, modified to demonstrate how I'm wrapping my item component with connect().
class MyListItem extends React.PureComponent {
  _onPress = () => {
    this.props.onPressItem(this.props.id);
    this.props.myClickHandler(this.props.myProp);
  };

  render() {
    return (
      <SomeOtherWidget
        {...this.props}
        onPress={this._onPress}
      />
    )
  }
}

MyListItem = connect(state => ({
  myProp: state.myProp,
}), {
  myClickHandler,
})(MyListItem);

class MyList extends React.PureComponent {
  state = {selected: (new Map(): Map<string, boolean>)};

  _keyExtractor = (item, index) => item.id;

  _onPressItem = (id: string) => {
    // updater functions are preferred for transactional updates
    this.setState((state) => {
      // copy the map rather than modifying state.
      const selected = new Map(state.selected);
      selected.set(id, !selected.get(id)); // toggle
      return {selected};
    });
  };

  _renderItem = ({item}) => (
    <MyListItem
      id={item.id}
      onPressItem={this._onPressItem}
      selected={!!this.state.selected.get(item.id)}
      title={item.title}
    />
  );

  render() {
    return (
      <FlatList
        data={this.props.data}
        extraData={this.state}
        keyExtractor={this._keyExtractor}
        renderItem={this._renderItem}
      />
    );
  }
}

Solution
Clarify whether this pattern would cause any issues. It's my understanding that ListView (which FlatList replaces) had some optimisation techniques where the React Components that correspond with the items in the list (one Component per item) are not fully deleted/recreated from memory when they come in to the visible area of the screen (or leave this area), and instead the same Components that have already been rendered are retained in memory and injected with the new props of the new list item. Assuming this is correct and that this sort of optimisation is still being done in FlatList, I'm unsure whether this optimisation technique (or any other implementation detail of FlatList) would conflict with using connect() to wrap the FlatList item component.
Additional Information

React Native version: 0.45.1
Platform: Both
Development Operating System: macOS
Build tools: Xcode 8

It seem like if a state of listItem be changed, all items's props will influenced。That means if you only want to change one of your item，it will be incorrect

This is not working if the data needed by MyListItem is not already in the redux state.
Imagine that in MyListem item you have to call a function to explicitly load this data.
componentDidMount = () => {
    this.props.getData();
};

The action will be executed but when the data is pushed in the redux store, MyListItem is not re-rendered because it is a PureComponent. componentWillUpdate and componentWillReceiveProps are not fired.
You must find a way to tell Flatlist to explicitly re-render this component.
I am facing this issue actually and I will post a solution if I find one :)

@rmkpatchaa I finally solved  the problem by passing extraData={this.props} into the flat list, see this for more details.


Support cookie for downloading from restricted sources

How about parsing the cookies from a file? Or adding every argument into the "task" file.

@wrfly , I've made a quick hack that worked for me. Original program itself is hacky enough, and to add cookie support I had to pass it via three layers of code. I am using it as a cli utility in bigger scripting setups and recommend you doing the same, e.g. handle cookie storage and scheduling yourself.


feature: Inline Replies

In this PR, I have,

Implemented Inline Replies (refer to https://github.com/discord/discord-api-docs/pull/2118). Message#reply was changed to use Inline Replies instead, but keep in mind - this feature is slowly rolling out, so it may throw 403 - Missing Access!
Fixed unexpected behavior with REST Manager. Now handles status codes correctly.

Tests failing when setting up Deno 🤔


fix named-asset-import plugin to work with export-as syntax

The following code doesn't work
export {ReactComponent as LogoIcon} from './logo.svg';

But it will work:
import {ReactComponent as LogoIcon} from './logo.svg';
export {LogoIcon};

Sample Project:
https://github.com/NShahri/create-react-app-export-named-assets
Result:
ORIGINAL:  When there is no change in the project which is created by CRA
https://github.com/NShahri/create-react-app-export-named-assets/blob/master/test-results/main.e0244443.chunk-original.js
CASE 1: Change to import {ReactComponent as LogoIcon} from './logo.svg'; {LogoIcon};
https://github.com/NShahri/create-react-app-export-named-assets/blob/master/test-results/main.35c51289.chunk-case-1.js
CASE 2: change to export {ReactComponent as LogoIcon} from './logo.svg';
https://github.com/NShahri/create-react-app-export-named-assets/blob/master/test-results/main.0cd4b7da.chunk-case-2.js#L32
CASE 2 with new named-assets-import plugin:
https://github.com/NShahri/create-react-app-export-named-assets/blob/master/test-results/main.92516e27.chunk-case-2-new-named-assets-plugin.js
Note
CASE 1 and CASE 2 with new named-assets-import plugin are identical.

https://github.com/facebook/create-react-app/issues/4640

Question:
I am not sure what kind of test I should implement for testing babel plugin, could you please point me to how at the moment this plugin is test.

Also I added automation tests for this plugin in here https://github.com/facebook/create-react-app/pull/5575. I will cover export as soon as it is final and has been merged

Now that #5575 is merged can you please update this branch with master and expand the tests to include the export as syntax?

I finally had a chance to test this locally on the weekend and it works as expected. I requested a few small changes to the PR. Once those are done I think this is ready to go.

Thanks!


Encode URI of the transclusion resource

We need to encode the title for the resource_change events which we produce from the transclusions updates rule.
cc @wikimedia/services

This needs a rebase, mediawiki-title is already in master

Coverage increased (+0.01%) to 94.904% when pulling 75b831db9ca675975a2ffdc56bc28d96bfc623cf on Pchelolo:dependencies into b99aeef4efeb8e00204936b949c18e8c1aaeea5d on wikimedia:master.

Coverage increased (+0.2%) to 95.117% when pulling 75b831db9ca675975a2ffdc56bc28d96bfc623cf on Pchelolo:dependencies into b99aeef4efeb8e00204936b949c18e8c1aaeea5d on wikimedia:master.


deps.sh OpenPose build issue

Building on GCP with V100 GPU. Following error running deps.sh during OpenPose install.
...
/root/git/scanner/thirdparty/install/include/boost/python/detail/is_auto_ptr.hpp:17:1: note: in expansion of macro ‘BOOST_PYTHON_IS_XXX_DEF’
BOOST_PYTHON_IS_XXX_DEF(auto_ptr, std::auto_ptr, 1)
^
In file included from /usr/include/c++/5/condition_variable:43:0,
from /root/git/scanner/thirdparty/build/hwang/./hwang/decoder_automata.h:21,
from /root/git/scanner/thirdparty/build/hwang/hwang/hwang_python.cpp:4:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template class auto_ptr;
^
[ 57%] Built target hwang_source
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Installing hwang failed!

There's been lots of changes since this issue. If it's still a problem, feel free to reopen.


[1.30.4] sap.ui.device Windows 10 issue

Just recognized, that my chrome will not be recognized as Desktop since upgading windows 8.1.
Do not know, if this is because my Lenovo was formerlly recognized as Desktop and Touch device, because it has a touch screen?!?

The OS is correctly recognized.
data-sap-ui-os="win10"
The
sapUiMedia-Std-Desktop
will be changed on resize
The base class
sap-tablet
is always tablet!
This is very bad, because former releases behave the same way. If you use device specific property binding, like visible="{device>isDesktop} this will not work anymore with Win10.
For further/future update, it would be good to decouple the Device recognition from OS.

Hi hschaefer123,
somehow my reply got lost :(
Can you please open this page https://openui5.hana.ondemand.com/test-resources/sap/ui/core/Device.html and also click on „show window.navigator values“.
Then do a screenshot and post the information here.
With this information we will be able to see what we have to adapt.
Kind regards,
Janina

CHROME Version 44.0.2403.130 m (64-bit)Device - Test PageDetection Features
sap.ui.Device.os
name:win
versionStr:10
version:10
windows:true
macintosh:false
linux:false
ios:false
android:false
blackberry:false
windows_phone:false
sap.ui.Device.browser
name:cr
versionStr:44
version:44
mobile:true
internet_explorer:false
msie:false
firefox:false
chrome:true
safari:false
android:false
webkit:true
mozilla:false
sap.ui.Device.support
touch:true
pointer:false
matchmedia:true
matchmedialistener:true
orientation:false
retina:false
websocket:true
input.placeholder:true
sap.ui.Device.orientation
landscape:true
portrait:false
sap.ui.Device.resize
width:1428
height:989
sap.ui.Device.system
tablet:true
phone:false
desktop:false
combi:false
Mediaquery Test
600px
1024px
Media: Entered Range: 1024px - INFINITY (Name: Desktop)
Raw Browser Datawindow.navigator:
cookieEnabledtrueproductSub20030107vendorGoogle Inc.maxTouchPoints10
hardwareConcurrency4appCodeNameMozillaappNameNetscapeappVersion5.0 (Windows
NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/44.0.2403.130 Safari/537.36platformWin32productGeckouserAgentMozilla/5.0
(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/44.0.2403.130 Safari/537.36languagedeonLinetrue

Microsoft Edge
20.10240
Device - Test Page
Detection Features
sap.ui.Device.os
name:win
versionStr:10
version:10
windows:true
macintosh:false
linux:false
ios:false
android:false
blackberry:false
windows_phone:false
sap.ui.Device.browser
name:cr
versionStr:42
version:42
mobile:false
internet_explorer:false
msie:false
firefox:false
chrome:true
safari:false
android:false
webkit:true
mozilla:false
sap.ui.Device.support
touch:false
pointer:true
matchmedia:true
matchmedialistener:true
orientation:false
retina:false
websocket:true
input.placeholder:true
sap.ui.Device.orientation
landscape:true
portrait:false
sap.ui.Device.resize
width:1200
height:855
sap.ui.Device.system
tablet:false
phone:false
desktop:true
combi:false
Mediaquery Test
600px
1024px
Media: Entered Range: 1024px - INFINITY (Name: Desktop)
Raw Browser Data
window.navigator:
appCodeName Mozilla
cookieEnabled true
language de-DE
maxTouchPoints 10
msManipulationViewsEnabled true
pointerEnabled true
appName Netscape
appVersion 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240
platform Win32
product Gecko
productSub 20030107
userAgent Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240
onLine true

Hi hschaefer123,
thanks for giving us the information.
I opened an internal ticket<PHONE_NUMBER> and the corresponding developer will let you know once this is fixed.
Thanks,
Janina

Hi,
the issue has been fixed and will be available from UI5 1.30 stable release.
Best regards,
Jiawei

Hi guys,
is it possible to apply the fix with a prototype to other UI5 releases?
We currently have upgrade our HANA to SPS101 and the Web IDE is also using SAPUI5 1.28.5 and it is very annoying, that Web IDE does not handle MouseOver correctly like before (because switching into TabletMode with touch).
I would like to inflect to hana web ide with a prototyped patch to be able to use my chrome on windows10. Sadly SAPUI5 is only upgradeable with SPs and not via Hotfixes.
BTW: did you downport the change to 1.28.x also?
I think, from 1.28 ongoing, the SAPUI5 core will be inside long term maintenance (am i right), so Windows10 shouold be part of it ;-)
Regards
Holger

Hi Holger,
that part of the code is not prototype based. The only way I see is to manually overwrite the whole Device object with the one from a newer version in your application. However, I would advise against doing so as it is completely unsupported by us and might lead to strange issues which we will not be able to fix.
In case you really cannot upgrade to the current stable version, at least put some code around your local change that only applies it in case the version is older than 1.30.
Best regards,
Jens

Hi Holger,
I also downported the fix to 1.28. It will be part of patch 1.28.17.
Best Regards

Hi Sirion and Simlin,
thanks for the helpful answers.
The UI5 quality assurance is currently much better than the HANA XS server side scripting.
The delivered SPS101 is totally buggy. The WEB IDE conains a lot of console.log, even the xml.view syntax highlighting has been broken inside WEB IDE. That is very awful.
Good to know, that the delivered UI5 library is generally working (mostly compatible) without any headaches.
Will be on holidays the next weeks. Maybe after returning from holidays, 1.30 will be released.
That means. no new tickets from me in the next weeks ;-)
But my quota is getting better, nearly 92% are real bugs (not annoying questions beside my feature requests)
Have a nice weekend.
Holger

1.30 stable is expected in roughly two weeks, but then you can soon file 1.32 preview issue reports... ;-)
Thanks for all of them, seriously!

Hello now we have the problem with google Chrome, we have to set in google chrome
chrome://flags/
#touch-events deactivated, so it will go.
can you adapt the code?
Best regards Oliver

@prodingero this rather sounds like https://github.com/SAP/openui5/issues/1265 which has been fixed already.


Not recognized by Foreflight

Stratux version:

Stratux config:
SDR

[ ] single
[x] dual

GPS

[X] yes
[ ] no
type:

AHRS

[ ] yes
[X] no

power source:
usb cable:

EFB app and version: (e.g., WingX Pro7 8.6.2). FOREFLIGHT
EFB platform: (e.g., iOS 9.2). IOS 10.2.1
EFB hardware: (e.g., iPad Mini 2). Ipad 2

Description of your issue:  I am a CFI and my student gifted me a Stratux for Christmas. I have 2 Ipads. My company ipad operating IOS 9.3.5 connects to Stratux. My personal ipad operating IOS 10.2.1 says No Internet Connection when I tap on wifi Stratux and Foreflight does not show it under the devices tab. Help!

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

It is normal to see "no internet connection" as the wireless network doesn't connect you to the internet.
Not sure why you are not seeing it in foreflight.  Maybe a foreflight guru will chime in here.  There could be a setting somewhere to enable ADSB?

I would go near an airport with active traffic to test it.  You should just need to connect to the wifi and it should "just work"

I tried that.  Thanks anyway Justin.

On Mar 10, 2017, at 11:07 PM, Justin Guluarte<EMAIL_ADDRESS>wrote:
I would go near an airport with active traffic to test it. You should just need to connect to the wifi and it should "just work"
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/564#issuecomment-285843003, or mute the thread https://github.com/notifications/unsubscribe-auth/AYQ4UlA6nT-z6nrT49EGa40Itjr6Dpazks5rkiwhgaJpZM4Lx72s.

David M. Klein
<EMAIL_ADDRESS>

@captdmk - do you see any Stratux information when you go to http://<IP_ADDRESS>/ in your browser (Safari or Chrome)?
What ForeFlight version are you running?

@captdmk - please reopen if you still have this issue. Not sure what happened, perhaps you have a very old version of ForeFlight. Have not heard of any other reports similar to this.

Still not working.  Have the latest version of Foreflight.
David M. Klein
973-879-5740
Sent from my iPhone

On Apr 19, 2017, at 17:05, cyoung<EMAIL_ADDRESS>wrote:
Closed #564.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Could you try another SD card? There have been a few instances where a user has one phone/tablet that connects, but another doesn't - and the issue is usually a physically damaged SD card.
Send me an email -<EMAIL_ADDRESS>Thanks.

Replacing the SD card was the first thing we tried.
David M. Klein
<EMAIL_ADDRESS>973-879-5740
Sent from my iPad

On Apr 19, 2017, at 5:45 PM, cyoung<EMAIL_ADDRESS>wrote:
Could you try another SD card? There have been a few instances where a user has one phone/tablet that connects, but another doesn't - and the issue is usually a physically damaged SD card.
Send me an email -<EMAIL_ADDRESS>Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

How many clients does the web interface show, http://<IP_ADDRESS>/?

I still cannot establish a connection between foreflight & the stratux.  Please help.   Here is some info:
Using Foreflight v9.1
Apple Ipad 2 - IOS 10.3.1
Wifi - connects to Statux
Here are some screen shots.
David M. Klein
<EMAIL_ADDRESS>973-879-5740
Sent from my iPad

On Apr 19, 2017, at 8:50 PM, David Klein<EMAIL_ADDRESS>wrote:
I am in the middle of an airline tour.  I will check when i get home on Saturday.  Thank you for your help!
David M. Klein
973-879-5740
Sent from my iPhone

On Apr 19, 2017, at 21:27, cyoung<EMAIL_ADDRESS>wrote:
How many clients does the web interface show, http://<IP_ADDRESS>/?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I seem to be having the same issue, was this ever resolved?

No.  It was never resolved.   Very disappointed.
David M. Klein
973-879-5740
Sent from my iPhone

On Aug 3, 2017, at 22:17, yeo423<EMAIL_ADDRESS>wrote:
I seem to be having the same issue, was this ever resolved?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Didn't ever get an email from you. I'd send you an SD card to try out.

  I guess you never received them.  I am at my house so I will not receive any data.  But It does find traffic but it will not display on my Foreflight.     Here are a bunch of screen shots from today.  Please help.
David M. Klein
<EMAIL_ADDRESS>973-879-5740
Sent from my iPad

On Aug 3, 2017, at 10:53 PM, cyoung<EMAIL_ADDRESS>wrote:
Didn't ever get an email from you. I'd send you an SD card to try out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Issue was resolved - SD card or image writing issue.


With 802.11n setting, how many antennas did you use for the experiment?

In your experimental implementation, how many antennas did you use when you measure the AOA accuracy of SpotFi in 802.11n and 802.11ac settings? Is it three or four? And how many antennas for UbiLocate in 802.11n settings?

Hi,
It is written in the paper. But, for 802.11n the number of antennas is 3 and bw is 40MHz while for 802.11ac 4 antennas and 80MHz.
Best,
Alejandro

okay, thanks

I still have an implementation-related question, how many subcarriers do you use when you implement SpotFi on an 802.11AC device? Did you change the spotfi code to handle 256 subcarriers?

Hi,
We modify the code to handle 256 subcarriers.
Best,
Alejandro

Hi,
We modify the code to handle 256 subcarriers.
Best, Alejandro

Okay, And when you implement UbiLocate on your 802.11ac devices with 802.11n setting, do you use 30 subcarriers or 256 subcarriers?

802.11n has 128 subcarriers and the ASUS router is able to get all of them. We also modified it to support 128 subcarriers

802.11n has 128 subcarriers and the ASUS router is able to get all of them. We also modified it to support 128 subcarriers

okay, I know, very thanks.


Update off method to remove all hooks

Just a hack to remove all hooks with a single "off" call.

I just saw spaces deletions in my fork... sorry for that.


Cannot activate venv or as it is not recognized.

Can anyone help me??
I used 'venv/Scripts/activate' in windows 7 but still cannot activate my virtualenv.
I already have python 3.8 installed, when I tried to activate my venv it said "venv" is not recognized as internal or external command, or operable batch file.I also tried 'venv/Scripts/activate.bat' but NO LUCK...
I already successfully installed virtualenv package and venv packages and libraries. What do you think I should do???!
My venv name is "django"
My venv is actually a folder so I tried to activate the folder.
Consisting of my venv libraries and packages

Hi

Can anyone help?

your venv name is django so the command should be django/Scripts/activate

python -m venv django
django/scripts/activate

windows not case sensitive


custom verfier model with  HA OS addon

Hi , thanks for your excellent work with open wake word. This isn't really an issue, but I couldn't find any info on creating / using a custom verfier model with the HAOS add-on. Is this vwn possible ? If so could I create a custom verifier model with a Wyoming satellite or laptop with the conference speaker attached, for example and then where would I put it for the add-on to use it?

Woops I didn't realise that this was forked and is not the add-on that Mike Hansen has in his repo.
So closing the issue as its not relevant.
Thanks again for your work on open wake word


Autolink (Custom protocols + Link Anywhere)

Concerns #10797 and #10450.
Current plan:

[x] Add a liberal link regex that allows linking to any url scheme.
[x] Allow regular autolink regex to match http and https links anywhere in the text.

@timabbott please take a look at the test cases I've had to change so far. I'm not sure if autolinking any random scheme is a good idea after all.
We could do something simple like providing a server level setting in settings.py to where people can list custom protocols that want to enable for links, and keep the existing links regex with minor changes to sanitize_url to allow the specified protocols.
Testing Plan:
Automated tests for bugdown and marked.

I like this one better. Besides consistency, the explicit nature of the
syntax is a better experience.
We don't need to consider any word boundary issues with arbitrary protocols.
On Tue, Aug 27, 2019, 3:06 AM Anders Kaseorg<EMAIL_ADDRESS>wrote:

Precedent: CommonMark supports
https://spec.commonmark.org/0.29/#autolinks autolinking to arbitrary
protocols with angle brackets: irc://foo.bar:2233/baz. GFM extends
https://github.github.com/gfm/#autolinks-extension- this such that the
angle brackets can be elided for URLs beginning with www., http://,
https://, or ftp://, or email addresses, but still requires angle
brackets for other protocols. What do you think about staying consistent
with that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zulip/zulip/pull/13076?email_source=notifications&email_token=AB5JHVROD4SX7MCJWIG75P3QGREEDA5CNFSM4IPQ43SKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FYH4Q#issuecomment-525042674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB5JHVUSDZBXOBUP2NVTG3LQGREEDANCNFSM4IPQ43SA
.

We do not accept data: style links currently so we're immune from those. Enabling them could be a separate discussion maybe? I don't see why someone would need them in a chat context.

@andersk what do you think of this implementation?
We allow these without angle brackets: 'http', 'https', 'ftp', 'mailto', 'file', 'bitcoin', which is more than what GFM allows. It would be simple to disable these if needed.

(rebased to master, awaiting review)

@andersk you should probably do another review of this before I look at it again.

@aero31aero I cleaned up a few small things and pushed back to this PR.  One thing I don't understand is why we need to write so much new code in the AutoLink class; I would think our resolution for this should be able to be using upstream's logic for everything except generation of the output link HTML?

Upstream AutoLink converts all ftp(s)/http(s) links inside <> to anchor tags, while we want to also convert links without <>. Since we're adding support for <> links where we're slightly more liberal with what we're linking to, AutoLink now figures out whether the link we matched was between <> or not and takes appropriate action.

Here's the whole of the upstream logic for AutoLink for reference:
AUTOLINK_RE = r'<((?:[Ff]|[Hh][Tt])[Tt][Pp][Ss]?://[^<>]*)>'
class AutolinkInlineProcessor(InlineProcessor):
    """ Return a link Element given an autolink (`<http://example/com>`). """
    def handleMatch(self, m, data):
        el = util.etree.Element("a")
        el.set('href', self.unescape(m.group(1)))
        el.text = util.AtomicString(m.group(1))
        return el, m.start(0), m.end(0)

(rebased to master, awaiting review)

(rebased to master, awaiting review)


neucoin blockchain got stuck

It seems the blockchain got stuck at block 805491. It hasn't added any new block for over a week now!
(My client has about 15 connections)
Looking at debug.log, I don't see anything suspicious - even when running neucoind with
-debug -printcoinstake -printpriority -printmessagestart -printstakemodifier -printcoinage -printcreation
so probably more effort is needed to debug this, but it seems to affect all running clients out there so it verly likely is a problem with the software.
I guess if nobody looks into this, neucoin finally is dead for real. Is somebody still listening? It looks like github is the last place where users of neucoin can still talk with each other.

It may well be. I sadly had my computer's system SSD corrupt itself on me and my last wallet backup was from December. I was going to reply on the blockchain to 'catch me up' and recover my lost neucoin (all the minting i'd done since January...), but sadly, there seems to be no one on the network!  (My client is stuck with 0 active connections).  Not sure if having someone else online would fix this or not... or how decentralized the network really is. I'm going to leave the client up though, just in case someone else hops on eventually...

Guys,
Neucoin is down (dead), no one is maintaining it anymore.


Write flat and dark field data to the CIL Nexus format

Closes: https://github.com/TomographicImaging/CIL/issues/934
Writes dark and flat field data out to a CIL nexus file, and reads this in with the NEXUSReader.
The dark and flat fields must be arrays with the same dimensions and ordering as the data set.
Dark field data is saved to: entry1/tomo_entry/data/dark_field/data
A position key for this data is saved to: entry1/tomo_entry/data/dark_field/position_key
And similar for flat fields.
Any suggestions on renaming the location of these would be welcome.
The position key is an array of length [number of flat fields] which contains 0s and 1s. 0 indicates the field was taken before the projections, 1 indicates after.
I originally tried saving an image key and adding the flat and dark field data into the array that is saved in entry1/tomo_entry/data/data but this quickly became complicated due to different orderings the data dimensions could have (see here https://github.com/TomographicImaging/CIL/pull/940/commits/86f2ae2137204ab62a26b2cef170bf45f676c4c8)
It seems better to save the dark and flat fields as separate arrays because that is how they will be read back and used in processing anyway.
More detailed information about the ordering of the dark and flat fields (i.e. if some were taken in between projections) could be added to the nexus file in the future if needed - this could be in another array entry within entry1/tomo_entry/data/dark_field/

This may mean we don't need https://github.com/TomographicImaging/CIL/blob/786db5f7c7f7e7fda7bba3ae5c06c5997dfd33e2/Wrappers/Python/cil/io/NXTomoWriter.py#L29
as we would prefer to write out the CIL Nexus format containing the dark and flat field info, instead of an NXTomo file

To do:

[ ] Add checks for dimensions of dark and flat fields relative to the data
[ ] Add docstrings
[ ] Add default values of dark and flat keys - or throw an error if they are not set

Closing this, because instead of writing dark and flat fields to the CIL Nexus file, we are going to keep the data as NXTomo format until we get to a processing step (e.g. Centre of Rotation Correction) where we need to specifically write out CIL info (such as the geometry). The other steps just modify the data which will be saved in an NXTomo anyway.
Therefore we will just need the NXTomo reader and writers (see #939 and https://github.com/TomographicImaging/CIL/discussions/949)


[Feature]: Support SPL tokens on Ledger Live

Library name
@ledgerhq/app-solana
Describe your feature request
How to track SPL tokens in Ledger Live? If it's not supported yet, what are the high-level steps to implement? (I'm happy to submit a PR to LedgerHQ/app-solana if needed.)
Please let me know what your team's thoughts are. Thanks!

Previous feature request in a deprecated ledger-live-desktop repository: https://github.com/LedgerHQ/ledger-live-desktop/discussions/4005.

@LedgerHQ What your team thinks about the support of SPL tokens on Ledger Live?

I found a commit from Dec 2021 where support for SPL tokens was disabled: https://github.com/LedgerHQ/ledger-live/commit/70fa34ee2470eb0035c075cc58ce01291dcfde7f
@LedgerHQ would it be possible to enable it back?

Hi @ilyazub @selat, unfortunately support of SPL tokens in Ledger Live is not on the roadmap at the moment.


Moved params to datatypes and revised tests

Moved parameters to datatypes directory (#28 )
Revised tests - now all the datatypes are tested in the same way

Mmm something went wrong...

Closing.
Maybe similar works needed after merging #124...


fget truncate alternative?

I'm hoping to port some of my existing code over to ReactPHP Filesystem to make reading lines from a file and truncating it afterwards asynchronous so that my main loop can still be working on other time sensitive tasks, like listening for events fired over a socket. The current documentation doesn't really give me a good idea of how to do this, and only some of the snippets seem to be relevant to my usage. What would be filesystem's equivalent to this?
if ($file = fopen($file_path, "r+")) {
    while (($fp = fgets($file, 4096)) !== false) {
        $fp = str_replace(PHP_EOL, "", $fp);
        //Do stuff with the line
    }
    ftruncate($file, 0);
    fclose($file);
}

For version 0.2 you could just do a $file->putContents(''); after a $file->getContents().

I've been working on getting some test code up and running and this is the farthest I've been able to get so far without any errors. The code runs fine until it gets past $filesystem->detect() in which case there are no errors but no messages ever get relayed to $target_channel. I'm unsure if there's an error within the scope and PHP isn't emitting an error, or if there was a race condition previously where the file is being wiped faster than the contents could be emitted because $file was being updated in the next step before the each loop resolved, or if there's something else entirely that I'm missing.
function chat_relay($filesystem, $guild, string $file_path, string $channel_id)
{
    if ($target_channel = $guild->channels->offsetGet($channel_id)) {
        $filesystem->detect($file_path)->done(function (\React\Filesystem\Node\FileInterface $file) {
            $file->getContents()->then(function (string $contents) use ($file, $target_channel) {
                $contents = explode('\n', $contents);
                foreach ($contents as $line) {
                    $target_channel->sendMessage($line);
                }
            })->done(function () use ($file) {
                $file->putContents('');
            });
        });
    }
}

Try this:
function chat_relay($filesystem, $guild, string $file_path, string $channel_id)
{
    if ($target_channel = $guild->channels->offsetGet($channel_id)) {
        $filesystem->detect($file_path)->then(function (\React\Filesystem\Node\FileInterface $file) {
            return $file->getContents()->then(function (string $contents) use ($file, $target_channel) {
                $contents = explode('\n', $contents);
                foreach ($contents as $line) {
                    $target_channel->sendMessage($line);
                }
            })->then(function () use ($file) {
                $file->putContents('');
            });
        })->done();
    }
}

If you're 100% sure $file_path is a file you can also use:
function chat_relay($filesystem, $guild, string $file_path, string $channel_id)
{
    if ($target_channel = $guild->channels->offsetGet($channel_id)) {
            $file = $filesystem->file($file_path);
            $file->getContents()->then(function (string $contents) use ($file, $target_channel) {
                $contents = explode('\n', $contents);
                foreach ($contents as $line) {
                    $target_channel->sendMessage($line);
                }
            })->then(function () use ($file) {
                $file->putContents('');
            })->done();
    }
}

I've been having a lot of trouble with this function since trying to implement it. Our host reports that he's able to start up his bot with this function in it, but that it is either never called or is failing silently. The original code works fine with the hard-coded file path. He has reverted back to the original in the mean time until we can get more reliable logging.

but that it is either never called or is failing silently

That is rather crucial information to know. Other bits of information are hostos, PHP version, with event loop extension you are using.

We got logging and figured out the issue, it was on another line due to a typo that was made at the time of implementation.

It turns out that when I thought it was working our host had thrown up some old code that was prior to implementing filesystem, and it is indeed not working. I have some logs this time and additional code showing that no errors are thrown and yet no file contents ever appear to get passed through, and if anything $contents is either null or an empty string.
Logs:
[2022-06-08T03:14:27.483759+02:00] New logger.DEBUG: Initializing DiscordPHP v7.1.0 (DiscordPHP-Http: v9.0.10 & Gateway: v9) on PHP 8.1.5 [] []
[2022-06-08T03:14:27.499499+02:00] New logger.DEBUG: BUCKET getoauth2/applications/@me queued REQ GET oauth2/applications/@me [] []
[2022-06-08T03:14:27.504857+02:00] New logger.DEBUG: BUCKET getgateway/bot queued REQ GET gateway/bot [] []
[2022-06-08T03:14:27.678281+02:00] New logger.DEBUG: REQ GET oauth2/applications/@me successful [] []
[2022-06-08T03:14:27.678348+02:00] New logger.DEBUG: http not checking {"waiting":1,"empty":true} []
[2022-06-08T03:14:27.743381+02:00] New logger.DEBUG: REQ GET gateway/bot successful [] []
[2022-06-08T03:14:27.743440+02:00] New logger.DEBUG: http not checking {"waiting":0,"empty":true} []
[2022-06-08T03:14:27.743498+02:00] New logger.INFO: gateway retrieved and set {"gateway":"wss://gateway.discord.gg/?v=9&encoding=json","session":{"total":1000,"remaining":969,"reset_after":70761159,"max_concurrency":1}} []
[2022-06-08T03:14:27.743522+02:00] New logger.INFO: starting connection to websocket {"gateway":"wss://gateway.discord.gg/?v=9&encoding=json"} []
[2022-06-08T03:14:27.880781+02:00] New logger.INFO: websocket connection has been created [] []
[2022-06-08T03:14:27.881243+02:00] New logger.INFO: received hello [] []
[2022-06-08T03:14:27.881284+02:00] New logger.DEBUG: sending heartbeat {"seq":null} []
[2022-06-08T03:14:27.881339+02:00] New logger.INFO: heartbeat timer initilized {"interval":41250.0} []
[2022-06-08T03:14:27.881374+02:00] New logger.INFO: identifying {"payload":{"op":2,"d":{"token":"xxxxxx","properties":{"$os":"Linux","$browser":"DiscordBot (https://github.com/discord-php/DiscordPHP-HTTP, v9.0.10)","$device":"DiscordBot (https://github.com/discord-php/DiscordPHP-HTTP, v9.0.10)","$referrer":"https://github.com/discord-php/DiscordPHP","$referring_domain":"https://github.com/discord-php/DiscordPHP"},"compress":true,"intents":98047}}} []
[2022-06-08T03:14:27.976638+02:00] New logger.DEBUG: received heartbeat ack {"response_time":95.27087211608887} []
[2022-06-08T03:14:28.083848+02:00] New logger.DEBUG: ready packet received [] []
[2022-06-08T03:14:28.083904+02:00] New logger.DEBUG: discord trace received {"trace":["[\"gateway-prd-main-9ctn\",{\"micros\":107122,\"calls\":[\"discord-sessions-blue-prd-2-102\",{\"micros\":103473,\"calls\":[\"start_session\",{\"micros\":83198,\"calls\":[\"discord-api-59f5fc6648-h4wnx\",{\"micros\":76944,\"calls\":[\"get_user\",{\"micros\":21176},\"add_authorized_ip\",{\"micros\":5094},\"get_guilds\",{\"micros\":7517},\"coros_wait\",{\"micros\":1}]}]},\"guilds_connect\",{\"micros\":2,\"calls\":[]},\"presence_connect\",{\"micros\":14609,\"calls\":[]}]}]}]"]} []
[2022-06-08T03:14:28.084478+02:00] New logger.DEBUG: client created and session id stored {"session_id":"df745b9ce3575a9d38b2e6d81e135103","user":{"id":"471400168973926430","username":"Piratebot","discriminator":"8117","avatar":"https://cdn.discordapp.com/avatars/471400168973926430/57ce931a30d8598a7cf40f5e2c8ba0f4.webp?size=1024","bot":true,"system":null,"mfa_enabled":true,"locale":null,"verified":true,"email":null,"flags":0,"banner":null,"accent_color":null,"premium_type":null,"public_flags":null}} []
[2022-06-08T03:14:28.085998+02:00] New logger.INFO: stored guilds {"count":0,"unavailable":1} []
[2022-06-08T03:14:28.149327+02:00] New logger.DEBUG: guild available {"guild":"468979034571931648","unavailable":1} []
[2022-06-08T03:14:28.149403+02:00] New logger.INFO: all guilds are now available {"count":1} []
[2022-06-08T03:14:28.149444+02:00] New logger.INFO: set up chunking, checking for chunks every 5 seconds [] []
[2022-06-08T03:14:28.149466+02:00] New logger.DEBUG: sending 1 chunks with 1 large guilds overall [] []
[2022-06-08T03:14:28.149491+02:00] New logger.DEBUG: sending chunk with 1 large guilds [] []
[2022-06-08T03:14:28.365666+02:00] New logger.DEBUG: received guild member chunk {"guild_id":"468979034571931648","guild_name":"Civ 13","chunk_count":654,"member_collection":1,"member_count":654} []
[2022-06-08T03:14:28.414496+02:00] New logger.DEBUG: parsed 653 members (skipped 1) {"repository_count":654,"actual_count":654} []
[2022-06-08T03:14:28.414578+02:00] New logger.DEBUG: all users have been loaded {"guild":"468979034571931648","member_collection":654,"member_count":654} []
[2022-06-08T03:14:28.414606+02:00] New logger.INFO: client is ready [] []
Logged in as Piratebot#8117<PHONE_NUMBER>73926430)
------
[READY] Relay timer started!
[RELAY - PATH] /home/1713/civ13-rp/ooc.log
[RELAY - PATH] /home/1713/civ13-rp/admin.log
[RELAY - PATH] /home/1713/civ13-tdm/ooc.log
[RELAY - PATH] /home/1713/civ13-tdm/admin.log
[RELAY - PATH] /home/1713/civ13-rp/ooc.log
[RELAY - PATH] /home/1713/civ13-rp/admin.log
[RELAY - PATH] /home/1713/civ13-tdm/ooc.log
[RELAY - PATH] /home/1713/civ13-tdm/admin.log
[RELAY - PATH] /home/1713/civ13-rp/ooc.log
[RELAY - PATH] /home/1713/civ13-rp/admin.log
[RELAY - PATH] /home/1713/civ13-tdm/ooc.log
[RELAY - PATH] /home/1713/civ13-tdm/admin.log
[RELAY - PATH] /home/1713/civ13-rp/ooc.log
[RELAY - PATH] /home/1713/civ13-rp/admin.log
[RELAY - PATH] /home/1713/civ13-tdm/ooc.log
[RELAY - PATH] /home/1713/civ13-tdm/admin.log

Test code:
$ooc_relay = function ($guild, string $file_path, string $channel_id) use ($filesystem)
{
    /*
    if ($file = fopen($file_path, "r+")) {
        while (($fp = fgets($file, 4096)) !== false) {
            $fp = str_replace(PHP_EOL, "", $fp);
            if ($target_channel = $guild->channels->offsetGet($channel_id)) $target_channel->sendMessage($fp);
            else echo "[RELAY] Unable to find channel $target_channel" . PHP_EOL;
        }
        ftruncate($file, 0); //clear the file
        fclose($file);
    } else echo "[RELAY] Unable to open $file_path" . PHP_EOL;
    */

    echo '[RELAY - PATH] ' . $file_path . PHP_EOL;
    if ($target_channel = $guild->channels->offsetGet($channel_id)) {
        if ($file = $filesystem->file($file_path)) {
            $file->getContents()->then(function (string $contents) use ($file, $target_channel) {
                $promise = React\Async\async(function () use ($contents, $file, $target_channel) {
                    if ($contents) echo '[RELAY - CONTENTS] ' . $contents . PHP_EOL;
                    $lines = explode(PHP_EOL, $contents);
                    $fn = function ($lines, $target_channel) {
                        foreach ($lines as $line) {
                            if ($line) {
                                echo '[RELAY - LINE] ' . $line . PHP_EOL;
                                $target_channel->sendMessage($line);
                            }
                        }
                        return;
                    };
                    return React\Async\await($fn($lines, $target_channel));
                })();
                $promise->then(function () use ($file) {
                    echo '[RELAY - TRUNCATE]' . PHP_EOL;
                    $file->putContents('');
                }, function (Exception $e) {
                    echo '[RELAY - ERROR] ' . $e->getMessage() . PHP_EOL;
                });
            })->done();
        } else echo "[RELAY - ERROR] Unable to open $file_path" . PHP_EOL;
    } else echo "[RELAY - ERROR] Unable to get channel $channel_id" . PHP_EOL;
};


Add the option to have UserAssignedMsi when authentication uses KeyVault certificate

Add the option to have UserAssignedMsi when authentication uses KeyVault certificate. Previously, the code would only use the system assigned MSI if any.
@nonik0 can you please review?

@AlexGhiondea ACK on this PR.


Branch ppp

PPP bug fixes

Codecov Report

Merging #258 (3000d17) into master (948bf4a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #258   +/-   ##
=========================================
  Coverage     75.57%   75.57%
  Complexity      863      863
=========================================
  Files           110      110
  Lines          2448     2448
  Branches        310      310
=========================================
  Hits           1850     1850
  Misses          507      507
  Partials         91       91

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 948bf4a...3000d17. Read the comment docs.


Path validation only up to 1st blank

Did you test the case when path has no arguments? i.e. there's no whitespaces.

Also, I like proper naming (I spend a lot of time thinking about names!). $pathprefix doesn't represent what the variable contains. I prefer a more appropiate name, something generic like $parts also works.

@jonhattan , Yeah, true, I will create another pull-request and use a better naming, indeed is $part[0] the better name for "pathprefix".

Merged. Thanks.


CCU REST API Deprecation

Hello,
I just wanted to give a heads up that the CCU REST API is deprecated and will be at EOL fairly soon. Please consider making a new version that uses the new OPEN Authentication and CCU interface. Note that very soon there will be a version which purges in 5 seconds.
https://community.akamai.com/community/developer/blog/2015/08/20/getting-started-with-the-v2-open-ccu-api
Thanks,
Kirsten

Thanks — I guess they haven't gotten around to notifying customers yet. I'll work on that tomorrow.

@synedra I finally got around to working on #5. I'm still waiting on my account to be provisioned with the true fast purge API (I currently have access to it only through Luna) but have confirmed that the new endpoints seamlessly fall back to the older ~5 minute purge behaviour.

You should be able to activate it in property manager and use the v3 API with it going forward.  It should be available for any account type, it's just not activated by default for each property.
Thanks,
Kirsten

On Apr 10, 2017, at 8:55 AM, Chris Adams<EMAIL_ADDRESS>wrote:
@synedra https://github.com/synedra I finally got around to working on #5 https://github.com/beathan/django-akamai/pull/5. I'm still waiting on my account to be provisioned with the true fast purge API (I currently have access to it only through Luna) but have confirmed that the new endpoints seamlessly fall back to the older ~5 minute purge behaviour.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/beathan/django-akamai/issues/4#issuecomment-292993374, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWwkItTFz4wQ5fVaJBaIO0LzYCVid95ks5rulDggaJpZM4IvVM4.

@synedra All of the docs reference a “Fast Purge Transition” app which isn't present in my view and there doesn't appear to be anything in the property config either. I opened a case (F-CS-2123577) asking about it earlier in case we have some stale legacy account settings.

Oh, it's possible that it's not available for config manager properties, I'm not sure.
Let me; know if you need us to push from our end at anyone.
Thanks so much,
Kirsten

On Apr 10, 2017, at 10:21 AM, Chris Adams<EMAIL_ADDRESS>wrote:
@synedra https://github.com/synedra All of the docs reference a “Fast Purge Transition” app which isn't present in my view and there doesn't appear to be anything in the property config either. I opened a case (F-CS-2123577) asking about it earlier in case we have some stale legacy account settings.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/beathan/django-akamai/issues/4#issuecomment-293018499, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWwkEw2PmIfZpprr5mLqqKLBykj7y36ks5rumUKgaJpZM4IvVM4.

Thanks - I'll let the normal support process roll for awhile first.


Add magic number java

Added Java code to check if given number is Magic Number or not.

Thanks for contributing!


Ability to get document via indexAPI.get

Currently, I can only filter with searchAPI to get the document via its ID or field, I wonder if you could let indexAPI provide a more easy way to do so.

Do you mean smth like this in Elastic https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html ?

Yeap, it is, but for field filtering, I'd also want to have a similar API.

for field filtering, I'd also want to have a similar API.

What do you mean? There's already searchAPI for field filtering. Isn't it enough?

Want to make
search_request = SearchRequest(
    index="index_example",
    query={"bool": {"must": [{"equals": {"field": value}}]}}
)
res = searchApi.search(search_request).hits.hits[0]["_source"]

be simplified to:
get_document_request = GetDocumentRequest(
    index="index_example",
    fileds={"field": value},
)
res = api_instance.get(get_document_request)

Or even:
res = api_instance.get(
    index="index_example",
    fileds={"field": value},
)

Have you tried this https://github.com/manticoresoftware/manticoresearch-python/blob/27a6d66c2c957d55ab3dea85d3580982112ff58f/manticoresearch/model/equals_filter.py#L18 ?

Nope, and thanks for bringing it to me, but still, it will require me to write:
search_request = SearchRequest(
    index="index_example",
    query={'equals': {"field" : value}}
)

res = searchApi.search(search_request).hits.hits
if res:
    res = res[0]["_source"]

Or:
search_request = manticoresearch.model.SearchRequest(index='index_example')
search_request.attr_filter = manticoresearch.model.EqualsFilter('field', value)
res = searchApi.search(search_request).hits.hits[0]["_source"]
if res:
    res = res[0]["_source"]

But I hope to have an API like:
# or indexApi?
res = searchApi.get(
    index="index_example",
    fileds={"field": value},
)
if res.found:
    res = res["_source"]

It is clear and cleaner, and even SearchRequest is required, the code of creating those objects can be hidden within the get method.

Thanks. We'll discuss it within the team.

And you can also consider to have the httpx lib style, so instead of:
res.raise_for_status()
res = res["_source"]

instead of
if res.found:
    res = res["_source"]


[path]: Add predefined regex mode

What this PR does / why we need it:
Adds predefined regex mode
Which issue this PR fixes:
fixes #256
Special notes for your reviewer:

Will add a few E2E tests then it would be ready for review.


[2.5] Update grafana to 7.1.0

update the PR to use Grafana 7.1.0 which is released today: https://github.com/grafana/grafana/releases/tag/v7.1.0


Set default spatial scale to 1

5 is a strange default scale

I am pretty sure 5 is the default scale used by the unity/web 3d demos and thus this is why this was set here to be ready to use out of box. So if the scale in unreal doesn't match, I would rather you just change it locally or use another branch. But leave the main here to work with default web/unity demo apps.


full serverInfo response

https://github.com/XRPL-Labs/xrpl-client/blob/5c74ed6a1e87fa309d18a91d94707cd5cd11e601/src/index.ts#L277
could the full response be added as a sub property of the filtered params you have here already?

That would be very easy to add, but wouldn't issuing another server_info call get you the same thing with about zero overhead? (That's a cheap call

What I'm doing but I fire that call often to check connection up. So it's x2 every sec or so. Was just after it a little cleaner. Esp as I'm requesting multiple books, and sending payments was uneasy with throttling from the node. But if that's not to be worried about then I'll just do that.

The lib. only calls the server_info once, and then updates other info based on the closed ledger info it's receiving. So if you want the full server_info data you will have to query it yourself, as the lib. doesn't have that info in the first place 😇


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_a6f45b3c-07bf-41e2-8b7c-6201155f09f9/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_a6f45b3c-07bf-41e2-8b7c-6201155f09f9.git

Docs Build status updates of commit a91085c:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-02-06-12-40-22 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-02-06-12-40-22

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat: implement auto-instrumentation for fs

Which problem is this PR solving?
This implements partial auto-instrumentation for the native fs module.
Short description of the changes
This instruments most of the fs functions. Full list in constants.ts file.
Provides two hooks:

createHook: (functionName: string, info: { args: ArrayLike<unknown> }) => boolean;
endHook: (functionName: string, info: { args: ArrayLike<unknown>; span: api.Span }) => void;

Returning false from createHook skips creating the trace.
Checklist

[x] ~Ran npm run test-all-versions for the edited package(s) on the latest commit if applicable.~

Thanks a lot @vmarchaud and @blumamir. Really valuable feedback! I addressed everything in one way or another and took the liberty to resolve all the threads I found trivial and resolved.

@Rauno56 you can merge this if you're happy with it. I think with release-please updated we should no longer need to manually add it to the manifest.

Hard to go back the other way without breaking alerts and stuff.

I think that's a good point. I'll change that to be strict for now.
Note to myself: test to make sure user calls in callbacks aren't suppressed.


Update report template and test reporting issues

Steps to test:

Run the unit tests

Run a validation

Verify the following is correct
Issue Summary
RuleId has been updated to CORE-ID
Severity has been deleted

Issue Details
RuleId has been updated to CORE-ID

Conformance Details
Bundle details header has been changed to Standards Details
CORE Engine Version has been added

Great!


Error message - "Exit status1 " when trying to start  ec2 machine with invalid vpc / mismatch in vpc and subnetid.

Server version - v0.49.0-rc3
Try to start an amazon ec2 machine by passing vpc and subnet such that there is a mismatch in vpc and subnetid passed.
Adding host failed and user is presented with Error message - "Exit status1 " .
This is different from the error message docker machine is sending rancher-server.
time="2015-12-08T01:26:53Z" level=info msg="Creating Machine" eventId="3f2a7915-c671-489a-8f2d-3cbe53391e95" resourceId=1ph24
time="2015-12-08T01:26:53Z" level=info msg="Cmd slice: [create -d amazonec2 --amazonec2-access-key AKIAIZXBEVMSB2ZTA2QA --amazonec2-secret-key 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 --amazonec2-subnet-id subnet-22d1bd55 --amazonec2-vpc-id vpc-eb2d928e test-661717]"
time="2015-12-08T01:26:53Z" level=info msg="stderr: Error setting machine configuration from flags provided: SubnetId: subnet-22d1bd55 does not belong to VpcId: vpc-eb2d928e" resourceId=1ph24
time="2015-12-08T01:26:53Z" level=info msg="starting cleanup..." machine name=test-661717
time="2015-12-08T01:26:53Z" level=error msg="Error processing event" err="exit status 1" eventId="3f2a7915-c671-489a-8f2d-3cbe53391e95" eventName="physicalhost.create;handler=goMachineService" resourceId=1ph24

Try to start an amazon ec2 machine by passing invalid vpc.
Adding host failed and user is presented with Error message - "Exit status1 " .
This is different from the error message docker machine is sending rancher-server.
time="2015-12-08T01:26:55Z" level=info msg="Creating Machine" eventId="3b58b45b-59b7-4674-9bcc-dc984363e953" resourceId=1ph25
time="2015-12-08T01:26:55Z" level=info msg="Cmd slice: [create -d amazonec2 --amazonec2-access-key AKIAIZXBEVMSB2ZTA2QA --amazonec2-secret-key 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 --amazonec2-subnet-id subnet-5775c020 --amazonec2-vpc-id vpc-44144621 test-215183]"
time="2015-12-08T01:26:55Z" level=info msg="stderr: Error setting machine configuration from flags provided: unexpected EOF" resourceId=1ph25
time="2015-12-08T01:26:55Z" level=info msg="starting cleanup..." machine name=test-215183
time="2015-12-08T01:26:55Z" level=error msg="Error processing event" err="exit status 1" eventId="3b58b45b-59b7-4674-9bcc-dc984363e953" eventName="physicalhost.create;handler=goMachineService" resourceId=1ph25

What is the correct behavior?

@sangeethah Can you clarify what the behavior that you are expecting is?

@cjellick , the expected behavior is for us to be able to present the exact error message that we get from docker machine . In the above 2 cases , from the logs we seem to getting more descriptive error message (at least in 1 of the cases) that can be presented to the user.

Tested with latest build from master:
Scenario1:
Try to start an amazon ec2 machine by passing invalid vpc.
Adding host failed and user is presented with Error message -
"unable to find a subnet in the zone: "
Scenerio2:
Try to start an amazon ec2 machine by passing vpc and subnet such that there is a mismatch in vpc and subnetid passed.
Adding host failed and user is presented with Error message - "Error setting machine configuration from flags provided: unexpected EOF" which is the exact error message that was sent by docker machine.


Why two texts are showing in widget?

Hello,
I ran the applicaiton, it seems to be working fine. Sometimes I'm seeing two icons as "First and Second' and sometimes I'm seeing Placeholder Text. Why like that?
Also if I make any live changes in the app, will the widget reflects accordingly?

I'm trying to make changes in widgetTask.js but the changes are not reflecting even though I have restarted the APP, and rebuild it. Why like that?

Okay, I have found. Those are just the sample texts for test purpose. I have edited the Widget and it seems to be working fine however I don't understand if I open more than a widget, the data is not displaying in more than 1 widget. Do you know why?