log-analytics workspace creation is failing at mcr.microsoft.com/azure-cli:latest but version 2.47.0 works

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command
az monitor log-analytics workspace create -g conformance-common -n analytics-vgr -l eastus
Describe the bug
While creating log analytics workspace at mcr.microsoft.com/azure-cli:latest image build container its failing. but its works at 2.47.0
ERROR
dummy-pod:/# az monitor log-analytics workspace create -g conformance-common -n analytics-vgr -l eastus --debug
cli.knack.cli: Command arguments: ['monitor', 'log-analytics', 'workspace', 'create', '-g', 'conformance-common', '-n', 'analytics-vgr', '-l', 'eastus', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f060b521360>, <function OutputProducer.on_global_arguments at 0x7f060b3fc040>, <function CLIQuery.on_global_arguments at 0x7f060b4252d0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'monitor': ['azure.cli.command_modules.monitor']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: monitor                   0.092        32        98
cli.azure.cli.core: Total (1)                 0.092        32        98
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: Total (0)                 0.000         0         0
cli.azure.cli.core: Loaded 32 groups, 98 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : monitor log-analytics workspace create
cli.azure.cli.core: Command table: monitor log-analytics workspace create
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f0609b59fc0>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/root/.azure/commands/2023-04-28.17-28-12.monitor_log-analytics_workspace_create.40.log'.
az_command_data_logger: command args: monitor log-analytics workspace create -g {} -n {} -l {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x7f0609b72b00>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x7f0609928a60>, <function register_cache_arguments..add_cache_arguments at 0x7f0609928b80>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f060b3fc0d0>, <function CLIQuery.handle_query_parameter at 0x7f060b425360>, <function register_ids_argument..parse_ids_arguments at 0x7f0609928af0>]
cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/service_principal_entries.json', encrypt=False
cli.azure.cli.core.auth.persistence: build_persistence: location='/root/.azure/msal_token_cache.json', encrypt=False
cli.azure.cli.core.auth.binary_cache: load: /root/.azure/msal_http_cache.bin
cli.azure.cli.core.decorators: <function BinaryCache._load at 0x7f0608831990> failed in No. 1 attempt
cli.azure.cli.core.decorators: Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/decorators.py", line 102, in _wrapped_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/auth/binary_cache.py", line 35, in _load
return pickle.load(f)
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 28, in
from .auth import HTTPBasicAuth
File "/usr/local/lib/python3.10/site-packages/requests/init.py", line 135, in
from .models import Request, Response, PreparedRequest
ImportError: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 707, in _run_job
if _is_poller(result):
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 1156, in _is_poller
return isinstance(obj, poller_classes())
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/util.py", line 686, in poller_classes
from msrestazure.azure_operation import AzureOperationPoller
File "/usr/local/lib/python3.10/site-packages/msrestazure/init.py", line 28, in
from .azure_configuration import AzureConfiguration
File "/usr/local/lib/python3.10/site-packages/msrestazure/azure_configuration.py", line 34, in
from msrest import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/init.py", line 28, in
from .configuration import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/configuration.py", line 37, in
from .pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/msrest/pipeline/init.py", line 52, in
from requests.structures import CaseInsensitiveDict
File "/usr/local/lib/python3.10/site-packages/requests/init.py", line 135, in
from .models import Request, Response, PreparedRequest
ImportError: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
cli.azure.cli.core.azclierror: The command failed with an unexpected error. Here is the traceback:
az_command_data_logger: The command failed with an unexpected error. Here is the traceback:
cli.azure.cli.core.azclierror: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 707, in _run_job
if _is_poller(result):
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 1156, in _is_poller
return isinstance(obj, poller_classes())
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/util.py", line 686, in poller_classes
from msrestazure.azure_operation import AzureOperationPoller
File "/usr/local/lib/python3.10/site-packages/msrestazure/init.py", line 28, in
from .azure_configuration import AzureConfiguration
File "/usr/local/lib/python3.10/site-packages/msrestazure/azure_configuration.py", line 34, in
from msrest import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/init.py", line 28, in
from .configuration import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/configuration.py", line 37, in
from .pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/msrest/pipeline/init.py", line 52, in
from requests.structures import CaseInsensitiveDict
File "/usr/local/lib/python3.10/site-packages/requests/init.py", line 135, in
from .models import Request, Response, PreparedRequest
ImportError: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
az_command_data_logger: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 707, in _run_job
if _is_poller(result):
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 1156, in _is_poller
return isinstance(obj, poller_classes())
File "/usr/local/lib/python3.10/site-packages/azure/cli/core/util.py", line 686, in poller_classes
from msrestazure.azure_operation import AzureOperationPoller
File "/usr/local/lib/python3.10/site-packages/msrestazure/init.py", line 28, in
from .azure_configuration import AzureConfiguration
File "/usr/local/lib/python3.10/site-packages/msrestazure/azure_configuration.py", line 34, in
from msrest import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/init.py", line 28, in
from .configuration import Configuration
File "/usr/local/lib/python3.10/site-packages/msrest/configuration.py", line 37, in
from .pipeline import Pipeline
File "/usr/local/lib/python3.10/site-packages/msrest/pipeline/init.py", line 52, in
from requests.structures import CaseInsensitiveDict
File "/usr/local/lib/python3.10/site-packages/requests/init.py", line 135, in
from .models import Request, Response, PreparedRequest
ImportError: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/usr/local/lib/python3.10/site-packages/requests/models.py)
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues
To open a new issue, please run az feedback
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f0609b5a200>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 0.631 seconds (init: 0.293, invoke: 0.338)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 7258 in cache
telemetry.check: Negative: The /root/.azure/telemetry.txt was modified at 2023-04-28 17:26:27.832464, which in less than 600.000000 s
To Reproduce
create a docker image with below docker file format and run the image. Inside container execute az login --service-principal -u (with credentials) and execute az monitor log-analytics workspace create -g conformance-common -n analytics-vgr -l eastus
FROM mcr.microsoft.com/azure-cli:2.47.0
RUN pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org pytest pytest-xdist filelock junit_xml kubernetes azure.identity
RUN pip install azure.mgmt.resource
RUN apk add gnupg ca-certificates curl wget jq
Expected behavior
dummy-pod:/# az monitor log-analytics workspace create -g conformance-common -n analytics-vgr -l eastus
{
"createdDate": "2023-04-28T19:22:13.9499021Z",
"customerId": "16f16f1b-a11d-495d-8e8d-c6932c1cbb14",
"features": {
"enableLogAccessUsingOnlyResourcePermissions": true
},
"id": "/subscriptions/3959ec86-5353-4b0c-b5d7-3877122861a0/resourceGroups/conformance-common/providers/Microsoft.OperationalInsights/workspaces/analytics-vgr",
"location": "eastus",
"modifiedDate": "2023-04-28T19:22:13.9499021Z",
"name": "analytics-vgr",
"provisioningState": "Succeeded",
"publicNetworkAccessForIngestion": "Enabled",
"publicNetworkAccessForQuery": "Enabled",
"resourceGroup": "conformance-common",
"retentionInDays": 30,
"sku": {
"lastSkuUpdate": "2023-04-28T19:22:13.9499021Z",
"name": "PerGB2018"
},
"tags": {
"resourceTag": "addedByPolicy"
},
"type": "Microsoft.OperationalInsights/workspaces",
"workspaceCapping": {
"dailyQuotaGb": -1.0,
"dataIngestionStatus": "RespectQuota",
"quotaNextResetTime": "2023-04-29T17:00:00Z"
}
}
Environment summary
azure-cli                         2.48.1
core                              2.48.1
telemetry                          1.0.8
Extensions:
arcdata                           1.4.13
connectedk8s                      1.3.16
customlocation                     0.1.3
k8s-configuration                  1.7.0
k8s-extension                      1.4.0
Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0
Python location '/usr/local/bin/python'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.10.11 (main, Apr  5 2023, 23:58:40) [GCC 12.2.1 20220924]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context

Thank you for opening this issue, we will look into it.

@yonzhan
did you get a chance to look in this. Let me know if any further information is required.

This error is also occurring when attempting to delete a Log Analytics Workspace with the latest CLI version.
Error Details
ERROR: The command failed with an unexpected error. Here is the traceback: ERROR: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/opt/az/lib/python3.10/site-packages/requests/models.py) Traceback (most recent call last):   File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke     cmd_result = self.invocation.execute(args)   File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute     raise ex   File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially     results.append(self._run_job(expanded_arg, cmd_copy))   File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 707, in _run_job     if _is_poller(result):   File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 1156, in _is_poller     return isinstance(obj, poller_classes())   File "/opt/az/lib/python3.10/site-packages/azure/cli/core/util.py", line 686, in poller_classes     from msrestazure.azure_operation import AzureOperationPoller   File "/opt/az/lib/python3.10/site-packages/msrestazure/__init__.py", line 28, in <module>     from .azure_configuration import AzureConfiguration   File "/opt/az/lib/python3.10/site-packages/msrestazure/azure_configuration.py", line 34, in <module>     from msrest import Configuration   File "/opt/az/lib/python3.10/site-packages/msrest/__init__.py", line 28, in <module>     from .configuration import Configuration   File "/opt/az/lib/python3.10/site-packages/msrest/configuration.py", line 37, in <module>     from .pipeline import Pipeline   File "/opt/az/lib/python3.10/site-packages/msrest/pipeline/__init__.py", line 52, in <module>     from requests.structures import CaseInsensitiveDict   File "/opt/az/lib/python3.10/site-packages/requests/__init__.py", line 135, in <module>     from .models import Request, Response, PreparedRequest ImportError: cannot import name 'Request' from partially initialized module 'requests.models' (most likely due to a circular import) (/opt/az/lib/python3.10/site-packages/requests/models.py) To check existing issues, please visit: https://github.com/Azure/azure-cli/issues To open a new issue, please run `az feedback`

Reverting to CLI version 2.47.0 or 2.46.0 has not resolved this issue for us. We're running Microsoft hosted agents using ubuntu-20.04 (also tried ubuntu-22.04) and we're reverting the CLI version via:
pip install -Iv azure-cli==2.47.0 --extra-index-url https://azurecliprod.blob.core.windows.net/edge

At the moment our only workaround is to completely remove the usage of a Log Analytics workspace from our CICD pipelines which is not ideal.

Hi @v-vegujjula @marlowp , we are dealing with this import failure. And for short-time solution, you can try to run rm commandIndex.json under azure cached files' folder, (which is usually ~/.azure or the AZURE_CONFIG_DIR user set),  before every az monitor log-analytics workspace create\delete cmd runs.

@AllyW
Yes I have tested above suggested way ie working fine. But as part of my automation workflow it need changes at multiple places. Do we have any ETA on this permanent fix ?

@AllyW thanks, that solution does work.
For those using the AzureCLI pipeline task keep in mind that the useGlobalConfig input will determine whether that specific CLI task uses global config in the ~/.azure directory or create its own. If you're using powershell the following will delete the file:
Remove-Item "$Env:AZURE_CONFIG_DIR/commandIndex.json" -Force -Verbose

@AllyW Yes I have tested above suggested way ie working fine. But as part of my automation workflow it need changes at multiple places. Do we have any ETA on this permanent fix ?

Any update on permanent fix ?

This issue will be resolved in the release of May 23.

@AllyW Yes I have tested above suggested way ie working fine. But as part of my automation workflow it need changes at multiple places. Do we have any ETA on this permanent fix ?

Hi @v-vegujjula, you can set this environment in your script AZURE_CORE_USE_COMMAND_INDEX=False. It's the same as delete commandIndex.json file.

This issue will be resolved in the release of May 23.

@kairu-ms
thanks for sharing the update. If possible can you please share the release date.

May 23


ReactJs.NET integration with Semantic UI React

Hi,
I am trying to integrate semantic UI react with ReactJs.Net and the server side seems to be setup properly.
I am getting this error after I reference the UMD file after I fixed the window not defined error.

As a side question, is there any documentation which show how to to build my own semantic ui react - I am pretty sure I can get rid of some components that we do not use and maybe that will solve it.
Also, is the export name "semanticUIReact" ?

The stack overflow question is here: https://stackoverflow.com/questions/55673524/reactjs-net-integration-with-semantic-ui-react

Hi,
UMD build is broken in 0.85.0 & 0.86.0, see #3565 & #3536. It was fixed in #3540, next release will work as expected 🚀 I also added a test to ensure that UMD build works as expected.
Other stuff is related to usage and will not able to help with it.

@layershifter  can you provide build instructions so that I can do my own minified file from the fix branch.

Clone the latest master, run yarn build:dist and you will get it in dist/umd.
However, consider to use Webpack or any bundler in your project.

Thank you.

@layershifter can you tell me the folder I need to be in to run it? I am a bit of a newbie in this part.
Thanks

https://github.com/Semantic-Org/Semantic-UI-React/blob/master/.github/CONTRIBUTING.md
There are all necessary instructions


yarn install fails

yarn install v1.22.18
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
error An unexpected error occurred: "https://artifacts.us.dominos.com/artifactory/api/npm/npm-all/tar/-/tar-6.0.5.tgz: getaddrinfo ENOTFOUND artifacts.us.dominos.com".
info If you think this is a bug, please open a bug report with the information provided in "/Users/jtlong/Repos/relative-deps/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Possibly related to this recent npm outage?


Windows Phone 10

As soon as manual integration with System Media Transport Control is implemented, background audio stops working on Windows Phone 10

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

ID: 4cec2ecd-7c7b-8b22-d592-17ef1776c342
Version Independent ID: a55428d6-9091-0f58-78b6-bdad27002bc8
Content: Play media in the background - UWP app developer
Content Source: windows-apps-src/audio-video-camera/background-audio.md
Service: unspecified
GitHub Login: @drewbatgit
Microsoft Alias: drewbat

I'm using the MediaPlayer element to play a sequence of various audio files. After enabling the Background Media Playback capability, the audio will mute once I minimize the app window (on Windows).

Thanks for taking the time to let us know about this and we sincerely apologize for the delayed response. Due to the sheer volume of feedback in our repo, we are currently prioritizing new Issues. If you believe your feedback is still actionable, let us know either directly in this thread or by filing a new Issue and we’ll work to incorporate the suggestions into the documentation. Though the Issue will be marked as Closed, I will monitor any replies that come afterwards so feel free to treat this like an open Issue. Many thanks!


i am getting 99 as a error code for my application, when i ran the monika -c monika.yaml

Hi
This is Syed Arshad
i configured a monika.yaml file for monitoring my application, When i run "monika -c monika.yaml" command, i am getting error 99, but actually my application is running.
i checked error 99 in google i got this " Response Code 99 indicates that the payment gateway could not authenticate the transaction fingerprint submitted for a Server Integration Method (SIM) transaction."
Please find my yaml file below....
probes:

id: 'swd'
name: qw
requests:

url: https://xyz
body: {}
timeout: 30000
alerts:

assertion: response.status != 200
message: Application server is stopped
incidentThreshold: 6
recoveryThreshold: 6
notifications:

id: myGoogleChatNotif
type: google-chat
data:
url: https://chat.googleapis.com/v1/......

Please find the error below
id:swd 99 GET https://xyz 81ms, ALERT: response.status != 200
Can you help me in this

Hi Syed,
An error code '99' in our case signify an "unknown http request error".  It is a low level (driver) error and not really comply to the standard http.status coding. We are using Axios for the http requests, and there are axios error that we mapped to  numbers 0 to 14, (14 is an 'ERR_INVALID_URL' error for instance). 99 is an unknown error.
Can you try using curl: curl  -vv -X GET https://xyz and see wht status code you are actually getting?
Thanks.

Hi sapiderman
1 . Can you try using curl: curl  -vv -X GET https://xyz and see wht status code you are actually getting?
Answer: where i need to add this.Please tell me.
2. Are you using https? Are you sure it is https and not http?
Answer: Yes i am using https

Hi sapiderman,
1 . Can you try using curl: curl -vv -X GET https://xyz/ and see wht status code you are actually getting?
Answer: i executed curl command in terminal (linux), it is working for me.
curl --vv-X GET https://xyz/               (working for me in linux terminal) but in monika.yaml file i am getting error 99

hmm interesting, @arshadmech
I'm curious as what http response you are getting.
Would you mind posting here the response to this curl -w "http.code: %{http_code}" https://<your application here>.
(note the w switch -w,  and curly braces)
thanks

Hi @sapiderman
please find the below Screenshot of above command (result).
Can i use curl command in yaml file or any parameters for url....
$.ajax({
url: "user/registerNewUser"
, type: "POST"
, data: JSON.stringify(userObj)
, contentType: "application/json; charset=utf-8"
, dataType: "json"
, success: function (data) {
loadnewpage(email, pswd)
}
});
}
 -->
		</html>

http.code: 200

Hi @sapiderman
Any update...
Hi Team, can anyone help me on this?

Hi @arshadmech,
would it make any difference if you hit with monika using http instead of https? Do you get a different result than http.status = 99?

Hi @sapiderman
i am getting same error with http also. Is there a way to use curl or using certificates(ca cert) or any other way......Please let me know

Have you tried adding method: POST in your Monika confguration? Seems like you send GET request instead of POST request.
probes:
  - id: "swd"
    name: qw
    requests:
      - url: https://xyz
        method: POST
        body: {}
        timeout: 30000
    alerts:
      - assertion: response.status != 200
        message: Application server is stopped

Hi @haricnugraha
i tried above but same error i am getting...
fyi, i added letsencrypt SSL certificate(i deployed my application in Azure kubernetes with ingress controller) for my application.
So is there any way?, i can pass SSL certificate to my url in yaml file....???

Hi @haricnugraha and @sapiderman ,
i want to deploy monika in kubernetes, to check the above error exits or not...
for this can you please send me kubernetes deployment yaml file for it. i prepared yaml file but it is now working as expected(in monika.yaml, URL part is ignoring, it is not considering)

i am not getting url part...please find the screenshot of logs

hi @arshadmech, Ooh I'm afraid I can't help you too much with your issue in kubernetes. I have no idea your architecture and settings. But as an idea maybe, are you able to access the url using another method. Does curl work? does ping work fom within your kubernetes?

Hi @arshadmech,
Just to followup, are you still getting 99 problems?

"I've got 99 problems, but Monika ain't one"


DISTX-604 For AWS DE HA from 7.2.9 make CM run in a two node GATEWAY …

…group

If this change is not done, then UI will not be HA.
The alternative fix for this is to run/configure nginx in non GATEWAY groups which is highly risky given past experience with CB-10699
This change is not done for Azure and GCP because there is no load-balancer support for it yet.
Later will be making this change in 2.41 branch because there may not be another cloudbreak release before 7.2.9 launch. We need to change the template shape before a first cluster with that version is launched in production. Also we want to call out this feature as GA.

@kmanamcheri Here is the PR for 2.41 https://github.com/hortonworks/cloudbreak/pull/10451 I guess you intended to put the DO_NOT_MERGE label on 2.41 PR.

@kmanamcheri Here is the PR for 2.41 #10451 I guess you intended to put the DO_NOT_MERGE label on 2.41 PR.

Ah yes I intended it on 2.41 :) Thanks for catching that.


[feat] Local server proxy

Describe the problem
I would like to be able to "mount" https://example.com/api/ under
http://tauri.localhost/api/ so that all my requests could be same origin and easy to use.
@tauri-apps/plugin-http is cool but it doesn't solve problem with urls in  <img /> tags.
Also cookie stores are separated so I can't access my private images if I log in using plugin-http.
Another problem with current approach is that request don't show up in devtools which makes debugging more difficult especially on android.
Describe the solution you'd like
Basically I would need something like server proxy in Vite https://vite.dev/config/server-options#server-proxy
but for production use.
Alternatives considered
alternatively ability to create own endpoints in rust. This could be even more versatile
POST http://tauri.localhost/api/custom/endpoint
Additional context
No response

I just discovered that I can use register_asynchronous_uri_scheme_protocol to replace the tauri protocol and add "endpoints" there. However, this approach requires me to implement asset serving as well. 🤔 There isn't much documentation on this topic.
Has anyone here tried something similar?


add background color to html

Changed background color to a soooooothing peach/off white

love this color bb 🌟


Fragments in transformed schemas throw duplication errors

If a fragment is splatted multiple times into the same query body, it breaks after being run through transformSchema. The request works in base GraphQL and in v2 of this library, but not since attempting to upgrade to v3. If no schema transformation is used, the request processes correctly.
E.g. this query throws the error There can be only one fragment named "PostOwner".
query getPostById($id: ID!) {
  post(id: $id) {
    ...Post
    owner {
      ...PostOwner
      email
    }
  }
}

fragment Post on Post {
  id
  title
  owner {
    ...PostOwner
  }
}

fragment PostOwner on User {
  id
}

PostOwner is defined in the Post fragment, but we also want to override the owner field to fetch more data (the email as well as the id). Removing the ...PostOwner in the main query works around this issue.
The reason this is coming up in our workflow is we have a fairly heavily linked graph, and we have a lot of fragments in our requests to standardise the data being brought back. Some requests need one or two extra fields & so it is convenient to simply ask for those fields inline, rather than re-writing the whole query & defining new fragments.
Attached is a failing test case as talked about with @freiksenet in Slack.

I've now signed the CLA, which I assume was the reason you approved but didn't merge this :)

When can this be merged? Running into the duplication error.

@michieldewilde the actual fix for this was done directly on master after I got this failing test case up, this PR only contains tests.
This is the commit, although it's possible something has reverted in master in the meantime (we're on v3.0.2 and this is fixed for us).

Hit this problem also.

Thank you for the PR, tests are always great <3


Generic parameter 'T' could not be inferred.

After I updated to the swift 3 version (5.0.0-beta.2), this error shows up:

Generic parameter 'T' could not be inferred.

What I'm trying to do with my collection view is that I want to show a bunch of colors for the user to choose from. Here is the cell class:
class ColorCell: UICollectionViewCell, ModelTransfer {
    typealias ModelType = UIColor

    func update(with model: UIColor) {
        layer.cornerRadius = self.w / 2
        layer.borderWidth = 1.5
        self.backgroundColor = model
    }
}

Then, I wrote a method with this signature:
func selectedColor(_ cell: ColorCell, color: UIColor, indexPath: IndexPath) {

}

So far so good. But the error appears on this line:
manager.didSelect(ColorCell.self, ColorSelectorController.selectedColor)

It says that T cannot be inferred! But obviously T is ColorCell!

Try removing typealias ModelType = UIColor, this should not be needed, as type is gathered automatically from update(with:) method.
As for second issue, method pointers were removed in DTCollectionViewManager 5.0.0, because it was hard maintaining two event systems. You can react to cell selection with following:
manager.didSelect(ColorCell.self) { cell, color, indexPath in
    print("Selected \(color) at \(indexPath)")
}

Hope this resolves your issue.


[Network] Fix Network Watcher Show-Topology

Fix #6326.
Regression due to Autorest3 and the fact that the Network Watcher tests don't re-record reliably.

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6330
This is an experimental preview for @microsoft users.


Can't run deskgap on Linux because of line endings

Hello,
I was following the guide in the README on Ubuntu Linux 19.04. When I tried to run yarn start I encountered the following error:
$ yarn start
yarn run v1.16.0
warning package.json: No license field
$ deskgap .
/usr/bin/env: ‘node\r’: No such file or directory
error Command failed with exit code 127.

If I execute /usr/bin/env node directly it works as expected:
$ /usr/bin/env node
Welcome to Node.js v12.4.0.
Type ".help" for more information.
>

Eventually I was able to resolve the issue by running dos2unix on the cli.js file:
$ dos2unix ./node_modules/deskgap/cli.js
dos2unix: converting file ./node_modules/deskgap/cli.js to Unix format...

The file command shows that cli.js (and it looks like the rest of the files too) has CRLF line terminators:
$ file ./node_modules/deskgap/cli.js
./node_modules/deskgap/cli.js: a /usr/bin/env node script, ASCII text executable, with CRLF line terminators

I can confirm this problem with ubuntu 18.04 and node v8.10

I've been reading up on this and it sounds like if you check the project out with git the line endings should be fixed automatically.
The problem seems to happen when you check the project out on a windows computer, then publish to NPM, as explained in this NPM issue.
I think we might be able to set npm/cli.js text eol=lf in a .gitattributes file to prevent this from happening? It would ensure that the line endings are always converted to LF on checkout, even on Windows. We would then need to publish a new package. I don't have a Windows machine to test this on and confirm it doesn't break anything though.

Same on Mac os with version 0.1.0


chore: upgrade pyo3 to 0.21.0

Ping @ritchie46 can you take a look? Thanks!

Sorry for the delay. Just see it now. :sweat_smile:
Did the conversion in #80 together with a new Polars release

Superseded by #80


React Select dropdowns has something rendering on top in Safari, Firefox, IE.

@shanberg This is a stacking issue with the new stick headers

@spmcbride1201 What page did you find this on?

Addressed by #810

Noticed this reoccurring.


Noneffective sourceMap

TypeScript Version:  3.3.3

Search Terms: sourceMap error, empty line, indent
Code
1|
2|export default function () {
3|throw Error();
4|}

Expected behavior:
When I use require('source-map-support').install() before I run my program packed by require('rollup').rollup(), I usually got error log like this:
1|
2|export default function () {
3|throw Error();
        ^
4|}

Actual behavior:
But when I write all my files with ts, and use require('typescript').transpileModule to transform each of them to js before bundling, and then run the bundled file, I got error log like this:
1|
2|export default function () {
            ^
3|throw Error();
4|}

If we manually correct and count the wrong line and column number, we will easily found, things happened as if the ts source code is:
1|export default function () {
2|    throw Error();
3|}

No empty line, 4 spaces indent -- is simply the compiled js code!
Playground Link:
Related Issues:

That sounds like an issue with your bundler, and not with TypeScript.


About how it works TX RX

Hi,
Does this IMSI catcher works just receiving celular data from DVB-T? I mean DVB-T does not have to transmit data to cell phone in order to this cell phone register on the IMSI catcher as cell phones normaly does with regular cell towers?

Yes, this IMSI catcher only receive celular data by listening cell towers. There is no TX.

I thought IMSI catcher listen to cell phones, I was wrong... So in order to catch many cell numbers I dont need to run over all places searching to the numbers. I just need to stand next to cell towers and wait to signals to catch. Is it correct?

My IMSI catcher only listen cell towers. But it's not the case of all IMSI catcher.
Yes, you don't need to run over all places and you could be at few kilometers of the cell tower.


No need for IsLittleEndian check

@cesarbs I don't think this check is needed. The string will give an another value in big endian than in little endian. But that's the only difference.
Because the known string are converter in the same way as the string you want to check
in GetAsciiStringAsLong
fixed (byte* ptr = bytes)
{
return (long)ptr;
}
in peeklong
fixed (byte* ptr = _block.Array)
{
return (long)(ptr + _index);
}

Closed by 36e9e8759a579a4d3e50c70490859f9ba99a98ec.


MODUS3_CA ppd file has errors

When running cupstestppd MODUS3_CA.ppd, I see the following errors:
      **FAIL**  DefaultCutterMode 4FullCutEndDoc does not exist.
      **FAIL**  Bad DefaultCutterMode 4FullCutEndDoc
                REF: Page 40, section 4.5.

I assume the default needs to be 1FullCutEndPage or 2FullCutEndDoc.
If that is the correct fix, I assume the code may need to be updated here and here.

Thank  you for reporting the bug.
The fix in the last commit [https://github.com/CustomOpenSource/CUPS_drivers/commit/6e3bf4f66a4b700e0e3726dbe60070c1bfaff559] as you suggested.


iOS background - optional value force unwrapping issue

i follow almost guide and success to run Android / iOS application both.
but sometimes with this config, then ios main thread was break
like this config ->
const FlPiPiOSConfig(
enabledWhenBackground: true,
createNewEngine: true,
enableControls: true,
enablePlayback: true,
path: 'assets/landscape.mp4',
packageName: null));
and break point is here -> fl_pip/FlPiPPlugin.swift:240
Fatal error: Unexpectedly found nil while unwrapping an Optional value
so how about change like this ?
https://github.com/Wayaer/fl_pip/blob/main/ios/Classes/FlPiPPlugin.swift#L240
self.pipController!.startPictureInPicture() -> self.pipController?.startPictureInPicture()

sorry it's hard to reproduce
maybe with new engine, and goes to background.
and close pip window, and wait some minutes then..(waiting in home or open other application)

so i found optional pipController was really helpful.


Maya: Build workfile by template

Brief description
Following discussion #2013 and resumption of work from ellipsanime #2202
Templated Build Workfile
Building a workfile using a template designed by users. Helping to assert homogeneous subsets hierarchy and imports. Template stored as file easy to define, change and customize for production needs.
1. Make a template
Make your template. Add families and everything needed for your tasks. Here is an example template for the modeling task using a placeholder to import a gauge.

If needed, you can add placeholders when the template needs to load some assets. OpenPype > Template Builder > Create Placeholder

Configure placeholders

Fill in the necessary fields (the optional fields are regex filters)

- Builder type: Wether the the placeholder should load current asset representations or linked assets representations

- Representation: Representation that will be loaded (ex: ma, abc, png, etc...)

- Family: Family of the representation to load (main, look, image, etc ...)

- Loader: Placeholder loader name that will be used to load corresponding representations

- Order: Priority for current placeholder loader (priority is lowest first, highet last)

Save your template

2. Configure Template

Go to Studio settings > Project > Your DCC > Templated Build Settings
Add a profile for your task and enter path to your template

3. Build your workfile

Open maya

Build your workfile

Exciting stuff!
Should we have a task name regex for the profile, so we can be flexible with tasks of the same type but different names?

Should we have a task name regex for the profile, so we can be flexible with tasks of the same type but different names?

Do we have to put a taks list like for the orignal build ?

Should we have a task name regex for the profile, so we can be flexible with tasks of the same type but different names?

Do we have to put a taks list like for the orignal build ?

Have only skimmed this PR, so ignore my thought if it requires more work.

Don't worry, i will do it!


support bracket with in operator

@Edmond-J-A  Support in operation in matchers, Refer to : https://github.com/casbin/casbin/pull/866

@techoner Got it.

Merged in #133


Transferring token by multisig raises "symbol precision mismatch" error

I try to transfer token by multi-sign mechanism. I found that transferring with quantity argument 500 EOS, instead of 500.0000 EOS,  will raise symbol precision mismatch error.
Here are the details.
the permissions of test1 account are
permissions:
     owner     1:    1 EOS7G6FMvusCAXyVBZyac1WuBMCuSDu5GcRv4kkPCspRcbyY6vAib
        active     1:    1 test2@owner,

So i want to propose a proposal to transfer token from test1.

propose

cleos multisig propose transtest '[{"actor": "test2", "permission": "owner"}]' '[{"actor": "test1", "permission": "active"}]' eosio.token transfer '{"from": "test1", "to": "test2", "quantity": "50 EOS", "memo": "transfer test"}' -p test2@active

approve

cleos multisig approve test2 transtest '{"actor": "test2", "permission": "owner"}' -p test2@owner

exec

cleos multisig exec test2 transtest -p test2@active

The proposal failed with error logs of nodeos below and test2 fails to receive 50 EOS token.
2018-09-14T10:16:31.006 thread-0   wasm_interface.cpp:929        eosio_assert         ] message: symbol precision mismatch
2018-09-14T10:16:31.007 thread-0   controller.cpp:688            push_scheduled_trans ] 3050003 eosio_assert_message_exception: eosio_assert_message assertion failure
assertion failure with message: symbol precision mismatch
    {"s":"symbol precision mismatch"}
    thread-0  wasm_interface.cpp:930 eosio_assert
pending console output:
    {"console":""}
    thread-0  apply_context.cpp:61 exec_one

But when I propose a new proposal again with quantity argument as 50.0000 EOS instead of 50 EOS, and then approve and execute this new proposal, it works well. (no error logs of nodeos and test2 does receive 50 EOS token)

I think you should specify the same precision specified during the creation of the token. For instance, if the token has been defined with four decimal places (X.0000), every time you call an action, you should specify the same number of decimal places (X.0000). Fore more infos, you could have a look to symbol.hpp and asset.hpp files.

Okay.
Just as what you said, when I created the token like "100 EOS", and I passed the argument "50 EOS" (same precision) for transfer proposal, it does works.

Just come back to the initial issue, I created the token as "100.0000 EOS" and transferred it by multisig failed with the quantity argument "50 EOS". But I wonder that why I use the command to transfer, it can work.
cleos transfer eosio.token test1 "50 EOS"

(The quantity argument is also "50 EOS")

This is by design. You need to use 50.0000 EOS instead of 50 EOS as there will be precision check for each currency. More precisely, the internal data of amount is an integer of 500000.

@taokayan
Okay, I see. Thanks!


⚠ Bofrost.lu has degraded performance

In 00c265b, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1203 ms

Resolved: Bofrost.lu performance has improved in 287d3a3 after 6 minutes.


Application deadlines issue

Closing as I merged these changes into my PR for our dependency conflicts: https://github.com/techstartucalgary/tsu-website/pull/416


package import from a module broken since upgrading from 0.4.1 to 0.4.3-beta.1

Discussed in https://github.com/cue-lang/cue/discussions/1596

Originally posted by jbcpollak March 25, 2022
Hello, I just tried upgrading from 0.4.1 to 0.4.3-beta.1 and my module that used to work is now broken for eval, but seems to work for vet:
Here is the module:
-- config/cue.mod/module.cue --
module: "example.com/config"

-- config/components/widget.cue --
package widget

#Widget: {
        model: string
        explicit: "literal string"
}

-- config/config.cue --
package config

import (
	"example.com/config/components:widget"
)

w: widget.#Widget

-- config/instance.json --
{
  "w": {
    "model": "retroencabulator"
  }
}

cue vet seems to be fine:
❯ cue vet . instance.json
> echo $?
0

but cue eval outputs an error:
❯ cue eval . instance.json
w: cannot find package "example.com/config/components:widget":
    ./config.cue:7:4

Error was introduced by:
internal/core/runtime: don't share import cache
This was always supposed to be this way, but dropped off
the radar as a thing to do.

Fixes #1424
Fixes #1418
Issue #1414

Fixed by: https://review.gerrithub.io/c/cue-lang/cue/+/535433 / aca00a068569f36b95c264e216b5d22ff9759a91


[feature request]add e2e test case for pod binding controller

What would you like to be added:
add e2e test case for pod binding controller
Why is this needed:
improve e2e test coverage.
others
/kind feature

/assign


Add flow as a parameter

Is your feature request related to a problem? Please describe.
Sometimes people use Flow combined with React. CLI should support it.
Describe the solution you'd like
A template using Flow should be implemented.
Whenever the user types reacli component --flow <path>, template that uses Flow should be used.

I propose to handle this issue by dynamically modifying the generated component as follows:

In the container component, we have to add the // @flow annotation as well as define the type of the state
In the dumb component, we also have to add the // @flow annotation, and we have to define the props type and the default props values

What do you think? 😄

You're good to go. Hit me up if you need help

Part of issue #5


refactor key test

Add comments
Make it explicit that two identical public keys break the update.

@jku Could you take a look at this? Python-tuf succeeds and go-tuf fails because a key that root MD has for snapshot does not exist in the snapshot md.

I think the the practical issue is this (but would have to check the repository metadata dumps to verify):

the keyids are added to the role, but the corresponding public key is not in the metadata -- I'm not sure if spec defines the correct action in this case
go-tuf decides this is an issue:  key with ID 41898f69a6e541a5696793230a1036c76acd0b83e48405821a5c0e061b263c28 not found in snapshot keyids (it says "keyids" but I think it means "keys")

The more higher level question is how should duplicate keys be tested:

the really important thing is that a single keyid should never be able to successfully reach threshold 2
possibly clients should immediately fail if keyids list contains duplicates (but would have to re-read the spec to verify the details)

the second option is easier to test but first option would be correct if spec is not super clear about the correct action.

the keyids are added to root.roles[role].keyids, but the corresponding public key is not in root.keys[keyids] -- I'm not sure if spec defines the correct action in this case.

Spec does not seem to define the correct action here. I think this is an interesting case to test but I believe it is not the case described in the test description .
To fix this test to be as described, instead of generating a new signer and adding the keyid to the keyids list you could:

starting with a working repository, find a current snapshot key keyid. Add that keyid to snapshot keyids list (the keyid should now be duplicated in the list ) and bump root
test if client accepts the root and snapshot: I think it should but would not be surprised if some client considers duplicate keyids an error
now increase snapshot threshold, bump root
test if client accepts the root and snapshot: snapshot should not be accepted as it's only signed by a single key
bonus test: now add a duplicate signature into snapshot: just take the existing sig and append another one
test if client accepts the root and snapshot: snapshot should not be accepted as it's only signed by a single key

I've filed #144 for the keyid-without-key case: this test can now be fixed I think

I believe we have tests that cover what I suggested in last comment (see e.g.  test_duplicate_keys and many subtests in test_updater_key_rotations.py.
I'm closing this.


Add parser unit tests

Fix #42
(or at least make a start)

Since I had the unit tests, I updated the parser code to be more efficient.


Figure 2

Hi! How do you draw figure 2? Can you provide the code? Thanks a lot!

Hi,
I added the source for the visualization to the repository: link


chore(main): release 1.1.1

:robot: I have created a release beep boop
1.1.1 (2022-11-07)
Bug Fixes

title syntax (4710bf0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/richardfontein/openapi/releases/tag/v1.1.1 :sunflower:


Add tx metadata to sqlite database

Issue Number
ADP-307 / #2072
Overview
Includes transaction metadata in the sqlite database transaction history.
Comments

Based on PR #2079 branch
DB state machine tests fail. Possibly due to mutations during the TxMetadata json round-trip.

Thanks
bors r+


buildDockerConfig is broken, binder-build-docker-config has multiple uses

This is a follow-up from https://github.com/jupyterhub/binderhub/pull/1592
c.BinderHub.build_docker_config isn't used by the BinderHub Python app, only it's presence is checked:
$ git grep build_docker_config origin/main

origin/main:binderhub/app.py:    build_docker_config = Dict(
origin/main:binderhub/app.py:                "build_docker_config": self.build_docker_config,
origin/main:binderhub/builder.py:        if self.settings["use_registry"] or self.settings["build_docker_config"]:

Instead it's used in the Helm Chart secret:
https://github.com/jupyterhub/binderhub/blob/2ba938bf20201ff864b3a6c473f66f30fbef92bc/helm-chart/binderhub/templates/secret.yaml#L34-L42
but the secret refers to config.BinderHub.buildDockerConfig instead of config.BinderHub.build_docker_config.
Furthermore from @consideRatio
https://github.com/jupyterhub/binderhub/blob/2ba938bf20201ff864b3a6c473f66f30fbef92bc/helm-chart/binderhub/templates/_helpers.tpl#L42-L45

This segment seems like a bug, or it is at least a notable issue because its simply separate from providing config.BinderHub.build_docker_config in values. Whats under .config should be pure passthrough - so buildDockerConfig won't map to build_docker_config.

This was originally added in https://github.com/jupyterhub/binderhub/pull/1255
Aside from it being broken, this is now a problem in https://github.com/jupyterhub/binderhub/pull/1521 where the Kubernetes config is being decoupled from the main BinderHub application, and there's a two-way dependency between BinderHub and the Helm Chart:

BinderHub owns the config
Helm Chart creates the static secret from that config
BinderHub registry uses that secret to check the registry
https://github.com/jupyterhub/binderhub/blob/8351995380a48ab1da096e02b2a1b93aab4bbc77/helm-chart/binderhub/templates/deployment.yaml#L68-L76
Though there's also a docker-socket mount here as an option
BinderHub creates a build pod that requires that secret

A few potential options
Move buildDockerConfig to the top level of Values (.Values.buildDockerConfig), the Helm Chart has full ownership
This is the simplest option, and it also means BinderHub can use the same secret to query the registry. However if we want to have a variable Docker build config on a per-user or per-repo basis (see also https://github.com/jupyterhub/binderhub/pull/1169, https://github.com/jupyterhub/binderhub/pull/1577) this is not a good option.
Move buildDockerConfig to KubernetesExecutor.build_docker_config, and configure it with config.KubernetesExecutor.build_docker_config, The Helm chart creates a secret from this config
This is close to the current implementation, except that the property is owned by KubernetesExecutor instead of BinderHub. The secret is still created by the Helm Chart, and it also suffers the same limitations if we want per-user/per-repo config. It also means the BinderHub registry check depends on a KubernetesExecutor property.
Move buildDockerConfig to KubernetesExecutor.build_docker_config, KubernetesExecutor has full ownership including creating the secret
This is the most flexible option, and would allow us to have a variable Docker build config on a per-user or per-build basis in future. This is similar to what's being done in https://github.com/jupyterhub/binderhub/pull/1577 . However it means we need another way for BinderHub to check the registry. Either a second, possibly duplicate secret, though this could be a read-only registry token if you wanted to be really strict about security. Or move all registry/docker configuration to the Registry class, and have KubernetesExecutor depend on the Registry.
The third option is the most flexible, but we could also go with the first option and make a new breaking change when we're ready to introduce per-user/per-repo config.

While I like option number three best. I'd say we should evaluate the time frame for having dynamic credential support merged and what it requires for them to be used "everywhere".
AFAIK, there are three different use cases:

Use of credentials for Git related work
Use of credentials for registry access
In the case of forges like GitLab push back to the same project as the code cloned

This also requires to decide how to configure whether static or dynamic credentials are going to be used when deploying and for which part of BinderHub it applies.
On the point of handling credentials, I think it's also important to document somewhere how to retrieve them. If memory serves well,  It's not just  a question of using e.g. GitLab for the login part. There's also configuration to be done in order for it to provide actual information in the auth_state.
I remember starting doing some work on number three last year however I can't put my hands on it now. From memory, it was not overly complicated. I think the main issue I had was to configure BinderHub's authentication to retrieve the token once logged in.

Found something for the documentation part, it's in oauthenticator: https://github.com/jupyterhub/oauthenticator/issues/372


Make Client (almost) stateless

This PR gets rid of the client_id and ClientCreate. It turns the Client into basically just a wrapper around a GRPC connection pool, with convenience functions for accessing the singleton and for verifying the connection.
Big reduction in total complexity imo. The only "state" left to manage is that we want to close the connection pool or else grpclib prints a warning.
Have been running a bunch of examples against prod with this client and it seems to work fine.

Much cleaner! Might also want to run integration tests in the main repo before merge.

sure, i can try!


Support Google

Added in https://github.com/drivly/oauth.do/commit/a297d785c636ccb4574f42d606d11618164e52d8


BROKEN: CAN'T INSTALL

Error:A problem occurred configuring root project 'android'.

A problem occurred configuring project ':blahblahblah'.
Could not resolve all dependencies for configuration ':blahblahblah'.
Could not find com.squareup.okhttp:okhttp-urlconnection:2.6.0-SNAPSHOT.
Searched in the following locations:
https://repo1.maven.org/maven2/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/maven-metadata.xml
http://repo1.maven.org/maven2/com/squareup/okhttp/okhttp-urlconnection/2.6.0/
https://repo1.maven.org/maven2/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.pom
https://repo1.maven.org/maven2/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.jar
https://jcenter.bintray.com/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/maven-metadata.xml
https://jcenter.bintray.com/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.pom
https://jcenter.bintray.com/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.jar
https://oss.sonatype.org/content/repositories/snapshots/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/maven-metadata.xml
https://oss.sonatype.org/content/repositories/snapshots/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.pom
https://oss.sonatype.org/content/repositories/snapshots/com/squareup/okhttp/okhttp-urlconnection/2.6.0-SNAPSHOT/okhttp-urlconnection-2.6.0-SNAPSHOT.jar

Fixed in #49


Add a proper TODO.

Description
Followup to https://github.com/stackrox/stackrox/pull/3798
Checklist

[ ] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
Relying on CI.

/retest


✨ EXIT node approach is flawed

it uses the projection as its config, it shouldn't be configured and should work out what to do based on the schemas.

the $derived table should be ignored
if the projection contains calculations, they should be in the $projection table
if there's no $projection table, use the other tables, if there's more than one then qualify the column names

code has been updated so it doesn't crash, but it's not quite working right yet.

The projection node needs to qualify columns when the result dataset has multiple columns
It probably currently won't work with a SELECT * and a JOIN clause.

I think the problem is actually with the projection, mapping columns to a virtual $projection relation is making it difficult to trace them back when there's queries like SELECT A.ID, B.ID, they both have the name ID in the $projection relation and I found myself adding more and more logic to cope with edge cases. I think creating the $projection relation should be removed and the logic that is needed put into the SUBQUERY and EXIT binders.

refactored, mostly right now, an edge case where the columns have aliases in the schema appears to still be broken


retry failed database connection

Retries the PostgreSQL connection, with increasing backoff, then gives up and continues as it would have previously if facing an immediate failure. Resolves CHRON-233.
Developers may prefer to give the --embedded-database option to skip the retries and waits.

Maybe add that useful note to our docs?

Developers may prefer to give the --embedded-database option to skip the retries and waits.

Maybe add that useful note to our docs?

Good thought! Fortunately, I think it's probably enough there in the last part of config.md. We should expand cli.md in general at some point though.


MODE-2443: Enhance backup/restore feature of the web-explorer

This pull request provides enhances backup/restore feature by allowing to perform backup/restore procedure either using server's filesystem or download/upload archive to/from local machine.

The proposed changes look good to me, but I did not run it locally to look at the functionality. It appears that in addition to adding support to upload the backup archive from the user's file system (the objective of MODE-2443), this commit also refactors some of the code (I like the improvement). Were there other changes not covered under those two descriptions?

Yes, pull request also contains several bug fixes (like content-length HTTP header value) and refactors. The purpose of refactoring is just to improve code itself.

looks good
@rhauch are you ok with the updated version ?

Looks good.

Merged the PR, but left the JIRA open since there are some additional thing which should be handled (see this comment)


bTrem/@slash

From<EMAIL_ADDRESS>on September 15, 2012 17:23:03
The guidelines use bTrem/@slash (chapter <IP_ADDRESS>), but this should probably be @-measperf.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=106

From<EMAIL_ADDRESS>on September 17, 2012 12:43:36
Labels: -Milestone-ReleaseNext Milestone-Release2013

From<EMAIL_ADDRESS>on September 28, 2012 02:44:23
Issue 122 has been merged into this issue.

From<EMAIL_ADDRESS>on October 08, 2012 14:33:48
This issue was closed by revision r702 .
Status: Fixed


Add jeremiahkellick to org.yaml

This change is

@jeremiahkellick Can you please post a couple of links to your github PRs you have submitted to Kubeflow. This helps us document the contributions along with the membership request.


Implementation of rao-blackwellised particle filter (rbpf) and rbpf with optimal resampling.

Addresses #271.
To implement this I have created a new model class SLDS based on SSM. I have put everything in a folder dynamax/slds.
The filters are part of a inference.py file. Other inference methods for SLDS, (such as generalized pseudo Bayes etc) can be included in the same file.
Also, methods for learning SLDS can be build on this model.
I have included a file inference_test.py which compares the new implementation to an older one referenced in #271 which has been included in dynamax/slds/mixture_kalman_filter.py. Since the algorithm is stochastic and there is no exact baseline I wasn't sure how to test it, so I ended up doing an allclose with a large tolerance between the two implementations.
From the plots and MSE it is seen that new implementation does what it is supposed to do.

Hi @murphyk @slinderman , I was wondering if one would kindly take a look at this PR implementing the RBPF. Would you let me know if there is something that needs to be changed? I understand that implementing a SLDS model class goes beyond what was raised in issue https://github.com/probml/dynamax/issues/271 and might not be necessary, in which case I'd be happy to fix this and make a more minimal implementation.

For the resampling step, maybe it would be worth making a jax version of https://github.com/nchopin/particles/blob/master/particles/resampling.py#L541?

LGTM. We can modify resampling code later (if necessary).

Thanks, @kostastsa. One of the big items on my wishlist is to have a solid implementation of SLDS model variants and inference algorithms in dynamax.  This is a great start.

@murphyk Cool, I will check the multinomial resampling from Chopin and do a jax version.
@slinderman That's great to hear! I would be super interested in being part of this effort. I can start working on this soon, since I will also need it for my own research.


Update to fontawesome 4.7.0 ?

Hi,
Is it possible to update this module to fontawesome 4.7.0 ? The used component http://mjolnic.com/fontawesome-iconpicker updated 3 days ago.
Fontawesome 4.7.0 has a lot new icons :)
Thanks in advance!

well, if I use the last commit (dev-master) instead of the tag v0.4 it seems that I have all the icons as well. So I close this issue :)


md-select 'multiple' has occluded overlay UI when at left of window

Bug, feature request, or proposal:
http://plnkr.co/edit/a7cIlOsBtwWUuhbuLnpF?p=preview
What is the expected behavior?
Overlay menu should not use negative left positioning because this offsets the overlay menu and runs it off screen when the md-select is already at the left edge.
What is the current behavior?
see Plnkr. http://plnkr.co/edit/a7cIlOsBtwWUuhbuLnpF?p=preview
What are the steps to reproduce?
http://plnkr.co/edit/a7cIlOsBtwWUuhbuLnpF?p=preview
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, browsers are affected?
2.0.0-beta.3 and at head:master.
Is there anything else we should know?

md-select doesn't handle horizontal overflows in general. It will be fixed in #3864. I'll close this issue since we have a couple more about the same bug (#3504 and #3831).


Some sites return CRAWLER response body is not HTML (uber.com) - Then crawler stops.

warn: CRAWLER response body is not HTML, skip injecting. Set jQuery to false to suppress this message.
Site example: https://uber.com
So we have TWO errors here:

"body is not HTML" (for uber.com)
Crawler stops.

I have 600.000 + sites to craw, it's hard if it stop every 200 sites because of some 'body is not HTML', i think this function should be upgraded AND NOT BREAK THE CRAWLER.

I see your pain point, which is quite different from our routine. Generally, we have only one target site for an instance, I also suggest you to do like this, create Crawler instance for each site. I'm not sure if it does help.


Add parameter 'save_order'.

If save_order == True then order of words of output string will be like order of input string.

Your test cases are in Russian (I think) and I don't know what your save_order is trying  to achieve?
If you could provide some English example of the problem and the solution, it would be great.

Done. This parameter controls order in output string. If save_order and word_boundary are true then "three" (len = 5) does not change to "four" (len = 4) for max_length=12 and text = 'one two three four five'.

Pushed to pypi for your use.
Thank you for your contribution.

Thank you for Slugify =)


[BUG] not None semantics is not supported in Pure Python mode for object type

Describe the bug
Compiling reproducer is run without error. This is inconsistent logic used in Python Objects [1].
[1] https://cython.readthedocs.io/en/latest/src/userguide/extension_types.html#extension-types-and-none
Code to reproduce the behaviour:
import typing
import cython

def bar(i: typing.Optional[object]):
    pass

def bar2(i: object):
    pass

bar(None)
bar([1])
bar2(None)    # This line is executed without error

Expected behaviour
Line bar2(None) should raise following exception:
TypeError: Argument 'i' must not be None

OS
any
Python version
3.9
Cython version
master
Additional context
Cython version:
import cython

def bar(object i):
    pass

def bar2(object i not None):
    pass

bar(None)
bar([1])
bar2(None)   # Here is raised TypeError

Related to #5612

I don't agree with this (or #5625).
From Cython's point of view, the value of not None is to be able to make optimizations by directly accessing an extension type/built-in type/memoryview without having to check if it's None. There's really no optimizations to be done for object so there's no value in this. The point isn't really to enforce user's type annotations - it's just to make efficient use of them.
I'd also argue that None is an object, so should be accepted for an object/untyped argument.
I'm not sure if non-pure mode accepts object not None. I guess it probably does. But that's probably just an accident more than a useful design.
The documentation looks to be in terms of "extension or Python builtin types". I don't really consider object to be one of those, so I don't think it's inconsistent. But we could clarify it.

I don't agree with this (or https://github.com/cython/cython/issues/5625).

This is fine. I am not 100% sure whether those are real issues (see description). I created the issues because it make sense from consistency stand point - where not None is supported in Cython, I expected that also pure python mode has similar behavior.
Feel free to close the issues without asking.

I'm not sure if non-pure mode accepts object not None.

Cython languages accepts not None in both issues as presented in examples (unless I did a stupid mistake)

Cython languages accepts not None in both issues as presented in examples

Then we should warn about them, I think. They make no sense, and users shouldn't put them in their code.

Based on the comments I am closing the Issue.


Even more flexible task handlers

I have a use case where the logic that determines how to execute a given task depends on how that task is configured, i.e. which attributes it has. Would you consider adding a method on the newTaskHandlerCommand type which takes a predicate func to determine if a given handler can be invoked. It would look something like:
engine.NewTaskHandler().Matching(func(t *BPMN20.TaskElement) bool { <some logic goes here> }).Handler(myHandler);

I realise there was some work done in #57 and #58 to make the handler assignment more dynamic (with task types) but for my case there wouldn't be a specific type to distinguish between tasks rather a couple of other extension properties.

What if no logic match a handler ? Do you imagine a default handler of last-resort ?

@jonathanbp
thanks for proposing that feature ...
just another detail question, on that:

would the current BPMN20.Taskelement have enough attributes, to fulfill your needs?

@jinjaghost thanks for chiming in ... IMHO, the "default" handler is a concept, not present yet - and also would help for the other handlers as well.
I would suggest not to couple this issue with the general problem , but rather consider them separate feature.
What do you think?

@jonathanbp May I ask, is this just a feature request, or do you consider participating the Hacktoberfest and prepare a PR as well?

In my use-case the task element would probably have enough attributes to select the handler, but having a predicate would mean the decision as to which handler is selected can be controlled in the handler itself at runtime. I'd be happy to do a PR - I just wanted to check whether the idea meshed well with the other approaches or if there were other reasons not to do this or other and better approaches.

If i am not missing something, why don't you run the decision logic from the main handler and call the right handler from there ?

That is what I'm doing at the moment, but I thought this would a more appropriate approach and a nice addition to the library.

@jinjaghost thanks for reminding me about #149 (and sorry for my late reply).
Since this issue and #149 do address the same need, of providing more freedom/flexibility in implementing handlers,
I do consider this one more simple. A generic handler function can implement anything.
Adding jsonlogic on top I don't have seen so often and don't consider that much of a benefit.
About the default handler ... I do consider this feature would already address this and helps us to get default handlers implemented. @jonathanbp would you add this logic as well, please (looks like a quick win to me)?
Happy to review any PR @jonathanbp and also adding "hacktoberfest-accepted" label with pleasure, in case you're participating.
Some implementation hints...

add some example code in the documentation
ensure documentation covers this new option
unit tests are present
for the default == CatchAll this could look like engine.NewTaskHandler().CatchAll().Handler(myHandler); internally, this function could simply use the new Matching() function which always returns true == hence the quick win ;)


ADR: Adding blazer to our infrastructure and the implementation behind it

Summary | Résumé
Adding blazer to our infrastructure and implementation details

We can also mention the security thread modeling exercise and some of the conclusions that were derived from it, to protect from Blazer and other third party tools. I think Cheyenne wrote conclusions out of that meeting which we could reference or copy some section of in here.

Here are the 2 issues where we documented the threat modelling and security analysis of the Blazer image:

cds-snc/platform-core-services#154
cds-snc/platform-core-services#155


transform(...)(Observable)

I like the idea of the Observable, so let's give people a way to consume it.
Perhaps special logic is needed here, but there should really be [Symbol.asyncIterator]: ... on Observables.

☠


Reproducing Kitchen Scene Image --> URDF Example

Hi,
Huge thanks for publishing this work and making the code public -- this is a really impressive work and has a lot of potential use cases for scaling up data generation!
I'm trying to reproduce the published results; notably, the showcased kitchen scene. However, I'm unable to produce good results. Even after manually drawing all bounding boxes around each cabinet, it seems the output is still poor (shown below), and the texture a bit mismatched. I've run it a few times but can't seem to improve the quality of the output. Any tips / tricks for getting the outputs to be improved?
Huge thanks!!

Hi Josiah, thanks so much for your interest in URDFormer! To help you reproduce the examples shown in our paper, I added a new script (see Evaluation in README). In particular, I uploaded all the assets used in URDFormer evaluation. When you run evaluate.py, URDFormer will use the manually labeled bboxes as the input. If you want to compare the results with manually labeled URDFs, please check out Reality Gym.

For example: Left is the original image, the middle is URDFormer prediction when running evaluate.py, and the right is the labeled URDF when run python gt_demo.py --scene kitchens --texture.
To answer your questions regarding tips/tricks in general. What I found helpful is by reducing the number of objects bbox in the scene by grouping adjacent simple cabinets together. This is because my kitchen training data usually has fewer objects than the real images (I randomly scaled each object by 1-4 times, resulting in wider objects in the global scene during training), while my cabinet training set  contains pretty diverse configurations. So I usually leave more complex configuration reasoning to URDFormer part and reduce the burden on the global URDFormer.
In terms of texture, make sure you choose --scene_type kitchen when running get_texture.py. In the evaluation.py, you can also comment out here to reproduce how I saved kitchen texture map.
URDFormer definitely still needs a lot of improvements, especially on global scene prediction, this is likely due to the resolution of each cropped image of the object in the scene being much worse when feeding into part URDFormer, its also likely because objects in the global scenes have more diverse angles.

Awesome, huge thanks for the rapid response! This is very helpful information. I will try the evaluate method too.
Regarding bboxes, I tried using that same method, grouping cabinets that are symmetric with respect to each other or seem to operate as a semantic "group". I'm not sure why the output doesn't look as good as yours :/
Regarding texture, I made sure to run with the --scene_type kitchen flag. In fact, for all three steps (get_bbox.py, get_texture.py, and demo.py), I ran with --scene_type kitchen.
The limitations also make sense. More objects are spatially out of distribution, and object boundaries can be a bit more unclear.
One follow-up question: Do you happen to have the other internet photos + phone photos you took to generate the results shown the URDFormer website? I'd like to also run URDFormer against those images too to get a better feel for the qualitative outputs!
Huge thanks again!!

The asset should contain all the 54 internet kitchen images and all 300 images for 5 object categories. If you run evaluate.py, it will show the urdformer prediction (with labelled bbox) for all 54 internet images one by one including those images on the website.

Got it, huge thanks!


Revamped about page#2004

Fixes #2004 #2465
Describe the changes you have made in this PR -

Modified about_controller index method for member name & images placeholder.
Made hardcore about page for related about the view.
Added styles and hover effects.
Made the design in circle with text name below the image.

Screenshots of the changes (If any) -
Before:

After:
https://user-images.githubusercontent.com/40604582/135681327-09d48dec-f113-4270-ba70-ace2a08c905d.mp4

UPDATED:

Added i18n for hi and en for about page.
Reduced top margins between member-image and description.
Added hover effects for team members names.
Increased right margin for teams image to fit 5 images in one row.

After:
https://user-images.githubusercontent.com/40604582/135732536-497373be-d7e8-4aeb-907e-c12cd4d0c2e4.mp4
Added 'hi' translations
https://user-images.githubusercontent.com/40604582/135810489-b7d7a15d-42ce-4e23-a1b5-1b080436faaf.mp4
@tachyons , @nitin10s ,will you please look at my PR.

The design looks good to me. Nice work! 😃
cc @tachyons

One small thing, reduce the margin between the descriptive text and image circles.
This:

One small thing, reduce the margin between the descriptive text and image circles. This:

Thnx,okay.I will reduce the margin between text and images right away,

Here is the list of core team members by github id
{"total":15,"members":["aayush-05","abstrekt","ayan-biswas0412","biswesh456","gr455","manjotsidhu","nitin10s","Nitish145","pavanjoshi914","satu0king","Shivansh2407","ShreyaPrasad1209","shubhankarsharma00","tachyons","ZadeAbhishek"]}

Keep mentors and alumuni as empty list for now

@nitin10s, I have updated the PR.. And  made some changes. Will you please review my PR.

Please update the screenshots as well

Please update the screenshots as well

@nitin10s I have updated the screenshots in PR itself

Oh i see them now, looks good to me @tachyons

Thnks🙂, @tachyons ,I wanted to ask that, except for one all the PR which were merged,their changes are not reflected in the website. Can you tell me why this is happening?


Third Contribution by Bonte Emma Bana

The article "Colors and Cultural Connections" explores the significance of colors in various cultures around the world. The author(I) delves into the history and symbolism behind different colors, and how they are perceived and utilized in different contexts. The article also touches on how colors can impact our emotions and behavior, and how they can be used to convey different messages in art, advertising, and branding. Overall, the article provides an interesting and informative perspective on the cultural implications of color.
Link to the article:
https://medium.com/@banabonteemma/colors-and-cultural-connections-68a17f29dfbe

cc @arliss-NF

cc @arliss-NF
@SavannahSimons .

Thank you very much for completing your third contribution.  We have really enjoyed reviewing your written submissions. The topic was amazing and I really learned something.  Thank you.

Thanks a lot! It was amazing contributing to numfocus! I learnt a lot!


unable to select networks

Just installed 1.2.0 today after discovering this integration. i'm on 2023.5.1 of HA. Integration installs fine, asks me for my email/phone and then the code, and then takes me to the 'select networks' screen and doesn't show me either network that i manage.

Same for me.

Weird, just confirmed it works fine for me, at least as a clean install.

Same here - cannot select networks - updated from the previous version

Same here. I removed and re-oadded the integration to test it. Still same issue

Same for me, on HA 2023.4.6. I downgraded to 1.1.4 and everything went back to normal. Apparently, it's some bug in version 1.2.0

Same for me, on HA 2023.4.6. I downgraded to 1.1.4 and everything went back to normal. Apparently, it's some bug in version 1.2.0

That doesn't work in 2023.5 though unfortunately

Same here. I removed and re-added the integration to test it. Still same issue - cannot select any networks too.

It works for me!

Same here. I removed and re-added the integration to test it. Still same issue - cannot select any networks too.

Same issue

Glad to hear it works for at least someone else. Can someone with the problem post their logs?

Glad to hear it works for at least someone else. Can someone with the problem post their logs?

I can do anything you may need to debug it. Nothing in the logs about eero though. Just shows empty networks. Happy to provide anything that might help if you tell me how / what:

Click Sumbit and let the integration initialize without any network selected. Then click Configure to access the options (ensure advanced mode is enabled for your HA profile) and enable the Save Responses option. You should see a folder appear under the API folder within Eero. There should be a json file with "networks" in the name, among other ones.

@schmittx Any way I can provide this to you a bit better? Looks like there are IP addresses and things that I'd rather not post here publically.

Yeah, understood. I don't think I actually need the file details, just wanted to confirm the API calls were working and you were getting a non-empty response.
I assume that there were no networks to select even after clicking Configure after letting it initialize?

Yeah no networks to configure. I have sent you the json on discord if you're interested. I also have an accounts response in that directory.

@schmittx After enabling the "Save responses" option, I can see the _2_2_networks_5493493.json file in the api/responses folder. All the network details are there and updated, but I still see no network to select and no devices or entities imported.

Ditto. With "Save responses" option, I get the networks json file with the correct network name and all relevant info. Yet the network name is blank in the dialog.

I am in Bridge-Mode, no eero plus and same here. No network. Everything blank

I have provided some info to @schmittx on discord. Hopefully enough to help. My theory is it works if you're paying for premium based on my limited interpretation of logs. @blizzrdof77 Are you paying for premium given it works for you?

@JRascagneres - yes, I am subscribed to eero plus.

Also, not in bridge mode.

Right okay I'm going to assume thats the issue then... Just errors out early if you're not subscribed... @schmittx

Thanks to @JRascagneres for the help in tracking down the problem, I'll have an update out shortly with a fix.

Just published an update that should fix this, let me know how it works.

Just published 1.2.1 that should fix this, let me know how it works.

Looks good to me! 😄 Thanks for the fix

Just published 1.2.1 that should fix this, let me know how it works.

Just upgraded and now everything is working. Thanks for the great work

Same here, all working now, thank you @schmittx!

Thank you for you dedication!! Looks great and it seems all is back to a healthy state ☺

Indeed, 1.2.1 works here. Thank you!

Eero is in bridge mode with two devices connected to a UnFi switch.
Can't get network to show up even though I can see the '_2_2_networks..json' file.
100% sure I am signing in using a normal e-mail. Also tried sign in using mobile phone number.
I am on latest versions of eero plugin and HA. Running HA using VM in bridge network mode.
Below is the last line from debug:
2023-07-06 10:55:06.387 DEBUG (MainThread) [custom_components.eero] Finished fetching Eero (ACCOUNT NAME) data in 2.834 seconds (success: True)


fix: json stringify circular

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.47%. Comparing base (3f965ae) to head (59d335f).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
+ Coverage   70.44%   70.47%   +0.02%
==========================================
  Files          11       11
  Lines        1269     1270       +1
  Branches      385      385
==========================================
+ Hits          894      895       +1
  Misses        344      344
  Partials       31       31

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


tf.losses.mean_squared_error is actually sum of squares

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v1.3.0-rc1-5211-gab0fcac 1.5.0-dev20171124
Python version: 3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

To truly get mean squared error one has to explictly use reduction=Reduction.MEAN. This indicates bad naming. Maybe squared_error is a better name, also similar to other names in tf.losses

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue? Please update the label and/or status accordingly.

My bad. tf.losses.mean_squared_error is indeed mean square error. The bad naming is actually Reduction.SUM_BY_NONZERO_WEIGHTS. I thought it is a sum but this reduction method is actually an average over nonzero weights.


Create Github pages website

As the project is now part of a Github Org, we could create a Github Pages based website for the project/org. This way people could easily contribute to the pupnp website, just like they can to libupnp using Github Pull requests.
It would become available at pupnp.github.io.

We will have to change a few things on the docs folder, right? Or is it better to use a different branch?

It would be in a different repo, not the pupnp repo, to have a page for the org using gitlab pages.
And for the docs probably a docs repository with subfolders for each version with the HTML and PDF docs, to not clutter the main pages repo and possibly even automate docs creation for releases without needing to grant access to the "full" website repo.

@mrjimenez Any update on this? Or should I just prepare one and then you decide if we want to use it or not?

Hi!
I really could not look into this issue.
If you prepare one, we can go from there.
Thanks!

Ok, great! Sorry for the late reply, for whatever reason I did not get a mail for your reply so I missed it completely…

No problem!


Add optional destinationPath for rrd2whisper

I've found it super helpful to be able to pass a destination path to rrd2whisper so the new whisper file can be created in a different directory. This PR adds an optional argument to specify a destination path. Let me know what you think.

Coverage remained the same at 88.291% when pulling da1c8b80fcaf90c77640db12454a8068c74bf837 on hobbsh:rrd2whisper_dest_path into 5ce9e80921cd8f33ab1797dc5781b0973c68d85c on graphite-project:master.

LGTM, thanks for the contribution! 🎉


Fix MergeSort

Current implementation of MergeSort requires at least 2n additional space. We need to achive n additional space.

Fixed in 89cac515b4a8cf9a1126ec73dae4254cd8693016


Silly question

What is your question?
Is it possible to make an object shop in source code instead of lua? and not in freeplay?

yeah https://github.com/PopcornColonell/hypnosource

WOW, THANKS. I'M GOING TO TRY IT RIGHT NOW!!!

Close this

Ok


package.json: Remove "preferGlobal" option

We use js-beautify internally, as part of standard. Our users get this warning whenever they npm install standard:
npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

It's no longer a best-practice to use preferGlobal for npm packages that merely contain a command line program. The command line program should be the only way to use the package.
Thoughts?

Seems reasonable.  it is up to the user if they want to install global or not.

Cool, thanks!


Implement Separate Event Handling for Emails

Currently, when multiple recipients are included in an email list, all events triggered by any recipient's actions are shared via webhooks. This causes an issue where any action taken by one recipient triggers webhook updates for all recipients, regardless of their involvement. To enhance the functionality and provide better control over event handling, it would be beneficial to implement separate event handling for each recipient's actions.
Proposed Solution:
Introduce a mechanism to differentiate between events triggered by individual recipients within the email list. This could involve assigning unique identifiers or tags to each recipient's actions, allowing webhooks to selectively process events based on their origin.

thanks for your suggestion @brenonsc 🙏 , I will share it with the team and will let you know here

Thanks for the feedback @brenonsc. Are you using multiple to's? If yes, a workaround for this would be using a single to, that way the webhook would be triggered only to that recipient.
Since this is not specific to Python SDK, I'll be closing this issue, but your suggestion is still valid, so we'll add it to our feature request board.


Respect shr-max-image-proportion when rendering elfeed-entry

I noticed that Elfeed would sometimes refuse to scale down images that were too large to be displayed in a given window; after some discussion on the mailing list, I realized this is because Elfeed renders before displaying a buffer, where it can't glean any information about window size (because there's no window).
Note that there is still an issue with SVG images not respecting shr-max-image-proportion, but that has been fixed in Emacs 30 thanks to @jimporter; that's not Elfeed's problem to fix.

Note that there is still an issue with SVG images not respecting shr-max-image-proportion, but that has been fixed in Emacs 30 thanks to @jimporter; that's not Elfeed's problem to fix.

Emacs 31, actually, though I don't have any particular opposition to making the change in 30 too. (The code has just diverged somewhat between 30 and 31, to fix some issues with zooming images, so I'd need to write a different patch for 30.)
As for the patch, I haven't tried it myself, but from inspection it should do the right thing. Swapping the order around here shouldn't cause any problems I think: so long as there's no redisplay between the two steps (there shouldn't be), everything will be ok and there won't be anything like a flash of unrendered content.

As per the mailing list mentioned, until the updates get pushed out it seems the way to get elfeed to respect shr-max-image-proportion is to disable the cache:
(setq shr-ignore-cache t)

Let me know if I'm mistaken.

Let me know if I'm mistaken.

Personally, I'd just advise the function with the new implementation here. Then you can still use the image cache.


Sort out use of aria-label and title attributes

From https://github.com/tarasglek/chatcraft.org/pull/48#issuecomment-1541606459:

It's odd that we have titles and aria labels(i think aria labels are redundant when you have a title), but no tooltips.

        aria-label="Copy Diagram to Clipboard"
        title="Copy Diagram to Clipboard"

My reading on this is that doing both is fine, since title also provides a visual indicator for sighted users, and aria-label will be preferred for screen-readers.
I'm going to close, but if you find something that says otherwise, please re-open.


CI: Github API Reference Hardwired in Tests

Issue: In GitHubActionSpec.ts, a Github repository is hardwired.
For example:

(1.) This repo became private. However, the code still passed on Github.com.
(2.) The GH_BOT_TOKEN is automatically added to the importRepoFS() function, which is why the repo did not fail after it went private.
(3.) However, switching between a Github instance caused the test to fail when GH_BOT_TOKEN value used for API authentication ONLY had access to an instance ORG and not the Github.com repo because it was private.
Possible solution: As this repo cloning test is useful for testing, we should save it (1.) by adding in dynamic code that allows for the API that is configured in the .env file. We should (2.) also clone any dependent repos in the classytest organization and make them public/private. (3.) As long as the TEST repos are on the same instance, and Autobot has access to the classytest organization, it should work whether the repo is set to private or public.

These hardwired references are found in GitHubControllerSpec.ts and GitHubActionSpec.ts file.

Update: More hardwired URLs exist in autotest. See diff and master on 076cfc5aa764a2572103417d2a1e363c102de6de for differences under files:
packages/autotest/test/GitHubEventSpec.ts,
packages/autotest/test/GitHubServiceSpec.ts

Update: GitHubActionSpec.ts done, but 'https://github.com/SECapstone/bootstrap' references still exist that we may want to remove.

Update GitHubControllerSpec.ts is done.

Changes made, but still lots of 'https://github.com/SECapstone/bootstrap refernces. These repos are not breaking, so we can keep them for now, but may need to update them if any changes to the repo permissions or work break our tests.

Some private and inaccessible code was moved to Github Enterprise (students) where it is hosted in a public repository.
The repos are cloned by the make_test_org.py script and placed in each test repo so they do not have any issues accessing these repositories for CI tests.

Released on branch: feature/circle-ci-github-dev-make-script-new-env.


KPI #4 — Institutional Users + Protocol Integrations

What: A DeFiLlama / Dune Analytics / Frontend view of Institutional Users + Protocol Integrations
Why: To support KPI reporting and OKR process

Not sure this one will be in subgraph ofc, but let's figure out how we might record and report on this number manually somehow

I say we just keep this in a notion page. Thoughts @neodaoist?

Awesome, thanks @0xAlcibiades for creating. I duped into Protocol Integrations and Market Makers to match our revised thinking from the Lean Canvas


Scrollbars are missing

The three scrollbars are missing from the main window. This has happened in one of the later commits.

It seems that some of the changes to MainForm.Designer.cs that were part of the commit 178351124af10ad3f973c0d3f0c3e04d23c79f08 in PR #216 caused this. @tomkerkhove, do you see a problem if I undo some of the changes to the window sizes and paddings in MainForm.Designer.cs?

Nope

From: Erik Mogensen<EMAIL_ADDRESS>Sent: Thursday, May 31, 2018 10:57:37 PM
To: paolosalvatori/ServiceBusExplorer
Cc: Tom Kerkhove; Mention
Subject: Re: [paolosalvatori/ServiceBusExplorer] Scrollbars are missing (#224)
It seems that some of the changes to MainForm.Designer.cs that were part of the commit 1783511https://github.com/paolosalvatori/ServiceBusExplorer/commit/178351124af10ad3f973c0d3f0c3e04d23c79f08 in PR #216https://github.com/paolosalvatori/ServiceBusExplorer/pull/216 caused this. @tomkerkhovehttps://github.com/tomkerkhove, do you see a problem if I undo some of the changes to the window sizes and paddings in MainForm.Designer.cs?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/paolosalvatori/ServiceBusExplorer/issues/224#issuecomment-393677563, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEJPP8Z5o6en2Cu-1onznYegWC9_TCg_ks5t4FlBgaJpZM4UVpJI.

I tested this on three different setups. The scrollbars were missing when running on two laptops, but when connected to a high DPI display the scroll bars showed up.


Update to Sci-Hub URL

form sci-hub.tw (not working anymore)
to https://scihub.wikicn.top/ ( working for long)

See my fork (some more details about the transition are available here)
new Chrome extension


[Help] Legit Config

Can someone send me a really good config for legit cheating? I have made one yesterday but isn't that legit.

is this p2c forum?

no esp, no glow, chams visible pam health, 2.5 fov(nearest), +15 smooth(variable), X = 0.3, Y = 1, no trigger, no backtrack, recoil crosshair, sniper crosshair, no blur, auto pistol on, for more legit just more smooth(keep  less than 100 points and -50% headshots)

@B0ruK who asked for ur opinion

@ViniciusSchifferGuedes thank you very much

@B0ruK who asked for ur opinion

lol dont @ me child