Add drop shadow or line for submit button container

Is your feature request related to a problem? Please describe.
The current submit button container has no shadow at the moment.
FHIRCore has a UX design update that requires the submit button container to have a shadow in the upward direction when there’s content below it, and just a border line at the top if there's no content below it, i.e. at the end of the list.
Describe the solution you'd like
Submit button container should display a shadow at the top if there's content below or just a border line if there's no content below.
Describe alternatives you've considered
Configurable?
Additional context
This is related to the UX Questionnaire adjustments that is ongoing on FHIRCore https://github.com/opensrp/fhircore/issues/1974.
Design sample:

Would you like to work on the issue?
Yeah

cc @f-odhiambo

@shelaghm what do you think of this UX change?
cc @rowo

Hi @FikriMilano @rowo
We are currently supporting Material 3 design system on the FHIR SDK and the latest material.io guidelines, indicate

Instead of elevating with a drop shadow, top app bars use a color fill to create separation from content

I understand that your design system leverages drop shadows throughout the application and your desire to continue to do so. I'm not opposed to making something like this configurable, but we are trying to be conscious of how many different elements become configurable, while also following the latest Material theming patterns and behavior. @jingtang10 what are your thoughts on this?
@rowo Are you currently using the material theme builder and tokens? Any plans for adapting your design system in the future? Asking because it will be helpful to understand how critical the drop shadows are?

@shelaghm sorry, I think there's a bit misunderstanding here.
I was implying the container of Save button, at the bottom of the screen. There's a shadow there.
Not the top app bar.

@FikriMilano Ohh, yes, I misunderstood. Thanks for clarifying.
Yes, I think this can be configurable. Some of the options I imagine are:

Some implementation suggestions:

In the material theme: can use the outline color.
There's pre-set elevation tokens that you can use. Elevation #2 is probably a good option to start with.

@shelaghm this image is very helpful, and thanks for the suggestions!


Docs: Added section about strict-mode to how-to-use

Cool, well done on taking the initiative and testing them.
I think it will come down to either optimizing the algorithm, or setting a maximum number of steps, after which it exits without an example.

I will actually do both I think. Stopping after a certain number of steps is easy and reliable no matter how the exact regex(es) look like. Optimizations can only provide so much I think, it will always be possible to create a very slow example I think.


Adaptive Application Controls overwrites my Applocker policy

https://docs.microsoft.com/en-us/azure/security-center/security-center-adaptive-application
This page states the following:
"Adaptive Application Controls from Security Center doesn’t support VMs for which an AppLocker policy is already enabled by either a GPO or a local security policy."
but I'm seeing that the Microsoft monitoring agent service installed is overwriting the applocker policy I have configured when the VM restarts.   If I understand Adaptive controls correctly,  this is the agent that is leveraged to apply the applocker policy.

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

ID: 8d5df7a3-8abc-026a-7bee-2861ba4a2e38
Version Independent ID: 9c91b1ee-7874-a992-4e52-c621e914da08
Content: Adaptive application controls in Azure Security Center
Content Source: articles/security-center/security-center-adaptive-application.md
Service: security-center
GitHub Login: @memildin
Microsoft Alias: memildin

@RobertCadd Thanks for your feedback! We will investigate and update as appropriate.

@RobertCadd Have you enabled adaptive application control earlier ? What all settings are changing in applocker policy rule enforcement ? Where did you check that MMA is updating the applocker policy ?

I found in  Microsoft.IntelligencePacks.SecurityPolicy.175.xml that the applocker policy will be overwritten unless "RuleCollectionExtensions" is present in the policy.
		# Identify if ServicesEnforcement feature is enabled
		if($appLockerLocalPolicy -match "RuleCollectionExtensions")

so as a work around I created a rule with "RuleCollectionExtensions" in the description.  This was very confusing to debug, I have not found much information at all on ServicesEnforcement

Hi @RobertCadd,
As stated above - AAC doesn't configure AppLocker if GPO is identified.
Regarding the line of code with RuleCollectionExtensions - that is only 1 specific validation out of few more - it was used to reconfigure AppLocker with RuleCollectionExtensions for machines that were previously configured by AAC but didn't have this flag turned on, as it was later discovered that it is needed for AAC to work better.
This script is executed daily, so it shouldn't be related to the VM restart.
Please contact me privately so we can debug  the issue more thoroughly and understand what happened on your VM.
My email is<EMAIL_ADDRESS>Thanks

Thanks @erelh,   I'm adding you to a thread for a ticket I have open with MS.

@erelh Thanks for looking into this.
@RobertCadd We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Secret upsert: OwnerReference, safe Secret create/update, appropriate error messages

See https://github.com/kubernetes-incubator/service-catalog/issues/978:
Binding implicitly creates Secret and PodPreset objects.
We need to set the ownerReferences meta field to link those objects with parent Binding. We should also check this link before updating the existing Secret/PodPreset object.

Fixed unit tests, but integration test is still failing.
@arschles @pmorie I need some help there.
Here is the test log
I0629 12:33:37.757778    2519 controller_binding.go:163] Adding/Updating Binding test-namespace/test-binding
I0629 12:33:37.757718    2519 util.go:167] Waiting for binding test-namespace/test-binding condition v1alpha1.BindingCondition{Type:"Ready", Status:"True", LastTransitionTime:v1.Time{Time:time.Time{sec:0, nsec:0, loc:(*time.Location)(nil)}}, Reason:"", Message:""}
I0629 12:33:37.757887    2519 controller_binding.go:352] Creating Secret test-namespace/test-secret
I0629 12:33:37.758168    2519 controller_binding.go:379] existingSecret: &Secret{ObjectMeta:k8s_io_apimachinery_pkg_apis_meta_v1.ObjectMeta{Name:,GenerateName:,Namespace:,SelfLink:,UID:,ResourceVersion:,Generation:0,CreationTimestamp:0001-01-01 00:00:00 +0000 UTC,DeletionTimestamp:<nil>,DeletionGracePeriodSeconds:nil,Labels:map[string]string{},Annotations:map[string]string{},OwnerReferences:[],Finalizers:[],ClusterName:,},Data:map[string][]byte{},Type:,StringData:map[string]string{},}
W0629 12:33:37.758474    2519 controller_binding.go:240] Error injecting binding results for Binding "test-namespace/test-binding": Secret '' is not owned by Binding, controllerRef: nil

So in injectBinding the GET secret response returns an empty Secret object. That's obviously incorrect behavior, it should whether return the Not Found error, or return a proper (probably stub though) Secret object with ownerReferences set to a Binding UID.
How can I achieve this? Haven't found any mentions of Secrets in integration package.  Where does this empty Secret object come from?

By looking at the comment:
StandaloneMode:        true, // this must be true because we have no kube server for integration.

I don't understand where this Secret comes from then. Is this a stub empty object?

Nevermind, solved it.
Going to rebase and squash commits.

@pmorie ready to merge

@pmorie added tests, review pls.

CI Failure appears to be legit:
--- FAIL: TestReconcileBindingWithSecretConflict (0.00s)
	controller_binding_test.go:205: Received unexpected event: Warning ErrorInjectingBindResult Error injecting binding results for Binding "test-ns/test-binding": Secret 'test-binding' is not owned by Binding, controllerRef: nil
E0712 04:20:24.156301    1889 controller_broker.go:356] ServiceClass "test-serviceclass" already exists with OSB guid "notTheSame", received different guid "SCGUID"
E0712 04:20:24.163944    1889 controller_broker.go:350] ServiceClass "test-serviceclass" for Broker "test-broker" already exists for Broker "notTheSame"
E0712 04:20:24.174816    1889 controller_broker.go:338] Error creating serviceClass test-serviceclass from Broker test-broker: error creating serviceclass

FAIL

@pmorie yeah, looks like there is a whitespace missing :)

Test fixed, commits squashed.
@duglin @MHBauer need more LGTMs

CI failure

@duglin all fixed, please review.

LGTM


Modules optimization

Feature Request
Decrease imported components from Covalent modules by importing only material modules that are necessary but not the whole MaterialModule.forRoot()
Screenshots or link to CodePen/Plunker/JSfiddle
Here is an example. I do not import/use material in my app at all. I import just Covalent steps module and the result is 64KB for Covalent steps and 745KB for material in my bundle.
I understand that steps module uses some material components but I'm pretty sure that input, slider, dialog and many more material components is not used in Covalent steps component.

What is the expected behavior?
Import only necessary material modules (like MdCheckboxModule or MdButtonModule and so on) in Covalent component's modules but not  the whole module MaterialModule.forRoot().
What is the motivation / use case for changing the behavior?
Using Covalent component bloats my bundle size with >700K because of including all material components in it.
Which version of Angular and Material, and which browser and OS does this issue affect?
All

There seems to be issues with ng2 and webpack that conflict with the tree shaking of the prod build.
https://github.com/angular/angular-cli/issues/2901
https://github.com/webpack/webpack/issues/2899
This is the reason we didnt care, since one of the aspects of angular and webpack is that it should remove all unused dependencies when building.

There seems to be a loooong discussion regarding how to fix this since its an IIFE issue with the bundlers.. so we might have to just add the wanted modules like you said.


Refactoring

[ ] 0. Please add eslint
[ ] 1. Move Categories/index.js and Products/index.js into layouts (only static pages live in pages)
[ ] 2. Every component in components folder needs to well defined and documented. and should follow a proper directory structure
[ ] 3. Move out of bootstrap into rebass

Arjun kindly own quality

Handled in other PRs


Does not hande cases when command is empty

# runlike d57e739ff259
Traceback (most recent call last):
  File "/tmp/runlike/bin/runlike", line 9, in <module>
    load_entry_point('runlike==0.1.2', 'console_scripts', 'runlike')()
  File "/tmp/runlike/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/tmp/runlike/local/lib/python2.7/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/tmp/runlike/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/tmp/runlike/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/tmp/runlike/local/lib/python2.7/site-packages/runlike.py", line 126, in cli
    print ins.format_cli()
  File "/tmp/runlike/local/lib/python2.7/site-packages/runlike.py", line 111, in format_cli
    parameters = joiner.join(parameters)
TypeError: sequence item 25: expected string or Unicode, list found

After printing the parameters variable before
parameters = joiner.join(parameters)
it turns out that the last element of the list is also a list.
It seems like the issues is related to this code:
        command = []
        cmd = self.get_fact("Config.Cmd")
        if cmd:
            command = " ".join(cmd)
parameters.append(command)

If someone is using for example entrypoint and the command is empty the cmd string will be empty and a list is appended instead of a string, because the if is never evaluated.

Thanks. Should be fixed now.


[driverless] Missing InputSlot in PDD from Canon TS6150

The printer has a read feed and a main tray but I cannot select it in the printer dialog.
It seems like the root cause is a missing InputSlot in the PDD produced by CUPS (and in that produced by cups-filters, see https://github.com/OpenPrinting/cups-filters/issues/351).

@DavideRossi Can you run the following command and provide us with a copy of the output?
ippfind --exec ipptool -tv '{}' get-printer-attributes.test \;

Thanks!

Sure, here it is.
ippfind.txt

@DavideRossi  OK, thanks. I see "media-source-supported" in there with three values (auto, main, rear) which should show up in the PPD.
What version of CUPS are you using?

2.2.7

Ah, OK. I think you'll find that CUPS 2.3.x fixes these issues for you...

I have the Canon TS8150 and am using CUPS 2.3.1-9.  I have the same issue, no access to select the rear feed, or change the paper type.

@momist Make sure you have an updated cups-filters package - CUPS 2.3.1 will have the fixes for using the IPP Everywhere driver from lpadmin or the web interface, but not the auto-added one from cups-browsed.

Thank you Michael.  I am using Mint 20.1, and have just reinstalled cups-filters and cups-filter-core-drivers using Synaptic.  The system dialogue for my printer still has choice of paper-source, paper-typ and output-tray greyed out.  Could you please give me some more guidance?


Video call not working on Android 11 version devices

SDK doesn't seems to work on an Android 11 version. On other versions it is working fine.
The issue here is, subscriber video not rendering to the app (it's looks like black screen when video call was started).
But other then OS version it is working fine.

I'm also facing the same issue. Have you guys found any solution yet?

Yes, I am also getting this issue can anyone please help here..

I'm also facing the same issue. Have you guys found any solution yet?

not yet still finding the solutions

After update opentox version with "implementation 'com.opentok.android:opentok-android-sdk:2.21.3'"  working fine in Android 11

Thanks, @ankitgupta394, for helping out! 💪
Closing, since this was fixed by an updated version of the SDK.


Change authentication domain to api.backblazeb2.com

B2 requires the authentication domain to use the new api.backblazeb2.com
from February 2nd, 2017, but the change is already live for those who have
updated clients.

Thanks! 👍


⚠ Fortnite has degraded performance

In 0646738, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1637 ms

Resolved: Fortnite performance has improved in ab8f524.


Immediate execution mode with graph caching.

Implementation of immediate mode execution in TensorFlow. The idea is to wrap original tensorflow API, but provide session/run management logic so that commands execute immediately, and graph caching to avoid modifying graph when same op is run repeatedly. Data is kept in TensorFlow runtime whenever possible using persistent tensors and transferred to Python runtime on demand when needed for printing/control flow.
import tensorflow as tf
from tensorflow.contrib import immediate

tfi = immediate.Env(tf).tf        # wraps "tf" namespace, saves it as "tfi"
val1 = tfi.ones((3,))             # creates tensor on GPU
val2 = val1 + val1                # runs into tf.add, keeps result on GPU
val3 = tfi.ones((2, 2, 2, 2))
val4 = tfi.nn.conv2d(val3, val3, [1, 1, 1, 1], "VALID")   # run CuDNN conv2d
if (tfi.reduce_sum(val3)>0.):     # runs reduce_sum on GPU, transfers bool to CPU
  print(val4)                     # transfers whole tensor to CPU for display

This is a single commit rebase of a previous pull request from https://github.com/tensorflow/tensorflow/pull/2346
@keveman @yuanbyu

Can one of the admins verify this patch?

Sorry, I'm opening new pull request since I don't know how to fix this
https://github.com/tensorflow/tensorflow/pull/2747
With my current work-flow, when I rebase, the pull request includes all the commits that I fast forward through while rebasing. Here's the sequence of commands I've been using for rebase so that people know not to do this:
http://stackoverflow.com/questions/37707605/doing-rebase-adds-replays-master-branch-commits-into-my-pull-request

Can one of the admins verify this patch?

https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request

I tried the following :
import tensorflow as tf
from tensorflow.contrib import immediate
tfi = immediate.Env(tf).tf

val1 = tfi.ones((3,))
val2 = val1 + val1

and got :
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/tmp/imm_venv/local/lib/python2.7/site-packages/tensorflow/contrib/immediate/python/immediate/itensor.py", line 103, in __add__
    return self.env.tf.add(self, other)
  File "/tmp/imm_venv/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_math_ops.py", line 70, in add
    result = _op_def_lib.apply_op("Add", x=x, y=y, name=name)
  File "/tmp/imm_venv/local/lib/python2.7/site-packages/tensorflow/contrib/immediate/python/immediate/op.py", line 158, in apply_op
    name=op_name)
TypeError: get_session_tensor() takes at least 2 arguments (2 given)

Do you think you forgot to commit and push some changes?

It looks like https://github.com/tensorflow/tensorflow/commit/bf8084b71006123575c6416d69efdd00c13fe41c has changed the signature of get_session_tensor, let me update it with new sig

So I just sequence below which brought a bunch of extra commits. hood-devel is my develoment branch which is one commit ahead of master, and hood is my pull request branch, and merging hood-devel into hood like below pulls new commits into pull request for some reason
git checkout hood-devel
git merge -s ours hood
git checkout hood
git merge hood-devel
git push

Jenkins, test this please.

There's a failure in //tensorflow/tools/test:check_futures_test in Linux CPU Tests (Python 3) — FAILURE . I can run it locally with bazel test //tensorflow/tools/test:check_futures_test and it passes. Any suggestions how I can see the logs/reproduce the failure?

I think I fixed test_util issue, can someone trigger tests again? I believe failure it's caused by "bazel test" not being hermetic. If you build pip package and do python setup.py develop, then future bazel test will prefer try to grab python files from pip-package path, rather than dependencies specified for the test in BUILD file . Work-around is to make sure all Python files make it into pip package

Jenkins, test this please.

Tweaked/disabled some failing tests caused by Jenkins environment being different from mine. Didn't have any luck debugging 2to3 failure in Python3 compatibility test (bazel issue #1393), but this is ready for another Jenkins run

Jenkins, test this please.

On this ci.tensorflow.org I see failure in tensor_handle_test, but it doesn't give any details, is there a way to see the log file linked /var/lib/jenkins/workspace/tensorflow-pull-requests-cpu-python3/bazel-ci_build-cache/.cache/bazel/_bazel_jenkins/eab0d61a99b6696edb3d2aff87b585e8/workspace/bazel-out/local_linux-py3-opt/testlogs/tensorflow/contrib/immediate/tensor_handle_test/test.log ?

This kind of error is usually because you don't have srcs_version = "PY2AND3" on some python target. I see a bunch of cases in your BUILD files, so maybe that's it?

@martinwicke maybe, although that particular test already had PY2AND3 on its deps. I've added it on all targets anyway, could you trigger the tests again?

Jenkins, test this please.

There was internal commit yesterday that moved some libraries around and broke immediate, just updated it with the fix. PS: I'm going traveling at the end of next week, let me know if there's something I can do to help get this in before it bit rots.

Jenkins, test this please.

@yaroslavvb Thanks for working on this and sending the PR. Imperative mode of execution is a really important feature that many users have asked for. While your implementation is impressive, it doesn't support a major feature that users ask for and we would like to get working, namely, automatic differentiation via tf.gradients. We believe the best way to implement the imperative mode that is efficient and would allow automatic differentiation to work out of the box would need some significant support in the backend. We are working on adding that support currently. I will keep you posted on its progress.

So is the gradient support an alternative to this implementation, or is it something that can be built on top?

It's an alternative implementation.

Closing this to spin it off into stand-alone library


Change Mellanox CI logs URL to point to the HTML logs directly

Previously the CI used to point to the Jenkins job console as its
context URL, and the end of that, there was a link to an HTML server
that contained the logs. As a part of logs improvement, a change to
directly point to the HTML server with the console being uploaded to
it was adopted. This was done for ease of accessing the logs, and
to avoid slow uploading times of uploading the logs from the internal
Jenkins to the Public Jenkins.

/test-hw-offload

@antoninbas @lzhecheng @edwardbadboy Hi all, could you have a look at this and give us your opinion?

/skip-all


jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode()

Package Name: azureml-core
Package Version: 1.18.0.post1
Operating System: vs2017-win2016
Python Version: 3.6.8

Describe the bug
Launching the build of a ML pipeline I get the following error before it's able to start the first step:
It is required that you pass in a value for the "algorithms" argument when calling decode().'
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode()

To Reproduce
Steps to reproduce the behavior:
1.
Expected behavior
That the pipeline starts without problem.
Additional context
PyJWT is pinned to version 1.7.1
On a different Azure Machine Learning the pipelines run without issues.

I am also getting the same error and it was working fine in another subscription. Any update on this issue?

I am also getting the same error and it was working fine in another subscription. Any update on this issue?

Here is the workaround need downgrade the azureml.core lib to 1.18.0 and it worked for me.

Here is the workaround need downgrade the azureml.core lib to 1.18.0 and it worked for me.

Thanks @ponkumarpandian, the 1.18.0 version of azureml-core lib worked for me.
We were using the 1.4.0 version of azureml-core lib so far and things w.r.t Azure ML workspace were working as expected but recently we started seeing the jwt.exceptions.DecodeError. Below is the call stack:
File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 483, in get
    result_dict = Workspace.list(subscription_id, auth=auth, resource_group=resource_group)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 546, in list
    workspaces_list = Workspace._list_legacy(auth, subscription_id=subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 1107, in _list_legacy
    raise e
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 1101, in _list_legacy
    resource_group_name=resource_group_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_project/_commands.py", line 395, in list_workspace
    return ml_workspace_list(auth, subscription_id, resource_group_name=resource_group_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_workspace/custom.py", line 163, in ml_workspace_list
    rcf = resource_client_factory(auth, subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/common.py", line 348, in resource_client_factory
    return auth._get_service_client(ResourceManagementClient, subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 144, in _get_service_client
    all_subscription_list, tenant_id = self._get_all_subscription_ids()
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 1020, in _get_all_subscription_ids
    return arm_auth._get_all_subscription_ids()
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 799, in _get_all_subscription_ids
    token_tenant_id = fetch_tenantid_from_aad_token(arm_token)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/common.py", line 116, in fetch_tenantid_from_aad_token
    decode_json = jwt.decode(token, verify=False)
  File "/usr/local/lib/python3.6/dist-packages/jwt/api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/jwt/api_jwt.py", line 80, in decode_complete
    'It is required that you pass in a value for the "algorithms" argument when calling decode().'
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().

Are we seeing this issue due to an update in Azure cloud which is causing this breakage? Is there a way we can make sure pro-actively that an update in Azure cloud doesn't cause breakages like this or inform users to update to the working version of azureml-core library becz the latest version of 1.20.0 gives a diff problem as below:
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 581, in get
    workspace_name=name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_project/_commands.py", line 381, in get_workspace
    workspace_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/workspace/operations/workspaces_operations.py", line 66, in get
    'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 648, in url
    data = self._http_component_validation(data, data_type, name, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 636, in _http_component_validation
    data = self.validate(data, name, required=True, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 730, in validate
    raise ValidationError("required", name, True)
msrest.exceptions.ValidationError: Parameter 'resource_group_name' can not be None.

Let me know if you have any questions.

Thanks @ponkumarpandian, the 1.18.0 version of azureml-core lib worked for me.
We were using the 1.4.0 version of azureml-core lib so far and things w.r.t Azure ML workspace were working as expected but recently we started seeing the jwt.exceptions.DecodeError. Below is the call stack:
File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 483, in get
    result_dict = Workspace.list(subscription_id, auth=auth, resource_group=resource_group)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 546, in list
    workspaces_list = Workspace._list_legacy(auth, subscription_id=subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 1107, in _list_legacy
    raise e
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 1101, in _list_legacy
    resource_group_name=resource_group_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_project/_commands.py", line 395, in list_workspace
    return ml_workspace_list(auth, subscription_id, resource_group_name=resource_group_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_workspace/custom.py", line 163, in ml_workspace_list
    rcf = resource_client_factory(auth, subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/common.py", line 348, in resource_client_factory
    return auth._get_service_client(ResourceManagementClient, subscription_id)
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 144, in _get_service_client
    all_subscription_list, tenant_id = self._get_all_subscription_ids()
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 1020, in _get_all_subscription_ids
    return arm_auth._get_all_subscription_ids()
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/authentication.py", line 799, in _get_all_subscription_ids
    token_tenant_id = fetch_tenantid_from_aad_token(arm_token)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/common.py", line 116, in fetch_tenantid_from_aad_token
    decode_json = jwt.decode(token, verify=False)
  File "/usr/local/lib/python3.6/dist-packages/jwt/api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/jwt/api_jwt.py", line 80, in decode_complete
    'It is required that you pass in a value for the "algorithms" argument when calling decode().'
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().

Are we seeing this issue due to an update in Azure cloud which is causing this breakage? Is there a way we can make sure pro-actively that an update in Azure cloud doesn't cause breakages like this or inform users to update to the working version of azureml-core library becz the latest version of 1.20.0 gives a diff problem as below:
  File "/usr/local/lib/python3.6/dist-packages/azureml/core/workspace.py", line 581, in get
    workspace_name=name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_project/_commands.py", line 381, in get_workspace
    workspace_name)
  File "/usr/local/lib/python3.6/dist-packages/azureml/_base_sdk_common/workspace/operations/workspaces_operations.py", line 66, in get
    'resourceGroupName': self._serialize.url("resource_group_name", resource_group_name, 'str'),
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 648, in url
    data = self._http_component_validation(data, data_type, name, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 636, in _http_component_validation
    data = self.validate(data, name, required=True, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/msrest/serialization.py", line 730, in validate
    raise ValidationError("required", name, True)
msrest.exceptions.ValidationError: Parameter 'resource_group_name' can not be None.

Let me know if you have any questions.

Thank you @ponkumarpandian for the hint!
I upgraded the package to version 1.20.0 and now everything works.

Thank you @ponkumarpandian for the hint!
I upgraded the package to version 1.20.0 and now everything works.

Hi @nickzhums, are there some updates in the azure sdk that could have caused these issues?

Hi @nickzhums, are there some updates in the azure sdk that could have caused these issues?

this seems to be a package that's outside our team's domain knowledge. @00Kai0 @jsntcy do you guys have knowledge about this?

this seems to be a package that's outside our team's domain knowledge. @00Kai0 @jsntcy do you guys have knowledge about this?

Hi @gison93 , could you show your package list with pip list. It seem like that you are using a higher version of pyJWT.
Recurrence Error:
# With pyJWT==1.7.1
>>> import jwt
>>> token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5FRTFRVVJCT1RNNE16STVSa0ZETlRZeE9UVTFNRGcyT0Rnd1EwVXpNVGsxUWpZeVJrUkZRdyJ9.eyJpc3MiOiJodHRwczovL2Rldi04N2V2eDlydS5hdXRoMC5jb20vIiwic3ViIjoiYVc0Q2NhNzl4UmVMV1V6MGFFMkg2a0QwTzNjWEJWdENAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vZXhwZW5zZXMtYXBpIiwiaWF0IjoxNTcyMDA2OTU0LCJleHAiOjE1NzIwMDY5NjQsImF6cCI6ImFXNENjYTc5eFJlTFdVejBhRTJINmtEME8zY1hCVnRDIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.PUxE7xn52aTCohGiWoSdMBZGiYAHwE5FYie0Y1qUT68IHSTXwXVd6hn02HTah6epvHHVKA2FqcFZ4GGv5VTHEvYpeggiiZMgbxFrmTEY0csL6VNkX1eaJGcuehwQCRBKRLL3zKmA5IKGy5GeUnIbpPHLHDxr-GXvgFzsdsyWlVQvPX2xjeaQ217r2PtxDeqjlf66UYl6oY6AqNS8DH3iryCvIfCcybRZkc_hdy-6ZMoKT6Piijvk_aXdm7-QQqKJFHLuEqrVSOuBqqiNfVrG27QzAPuPOxvfXTVLXL2jek5meH6n-VWgrBdoMFH93QEszEDowDAEhQPHVs0xj7SIzA"
>>> jwt.decode(token, verify=False)
{'iss': 'https://dev-87evx9ru.auth0.com/', 'sub': 'aW4Cca79xReLWUz0aE2H6kD0O3cXBVtC@clients', 'aud': 'https://expenses-api', 'iat':<PHONE_NUMBER>, 'exp':<PHONE_NUMBER>, 'azp': 'aW4Cca79xReLWUz0aE2H6kD0O3cXBVtC', 'gty': 'client-credentials'}

# with pyJWT==2.0.0
>>> import jwt
>>> token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5FRTFRVVJCT1RNNE16STVSa0ZETlRZeE9UVTFNRGcyT0Rnd1EwVXpNVGsxUWpZeVJrUkZRdyJ9.eyJpc3MiOiJodHRwczovL2Rldi04N2V2eDlydS5hdXRoMC5jb20vIiwic3ViIjoiYVc0Q2NhNzl4UmVMV1V6MGFFMkg2a0QwTzNjWEJWdENAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vZXhwZW5zZXMtYXBpIiwiaWF0IjoxNTcyMDA2OTU0LCJleHAiOjE1NzIwMDY5NjQsImF6cCI6ImFXNENjYTc5eFJlTFdVejBhRTJINmtEME8zY1hCVnRDIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.PUxE7xn52aTCohGiWoSdMBZGiYAHwE5FYie0Y1qUT68IHSTXwXVd6hn02HTah6epvHHVKA2FqcFZ4GGv5VTHEvYpeggiiZMgbxFrmTEY0csL6VNkX1eaJGcuehwQCRBKRLL3zKmA5IKGy5GeUnIbpPHLHDxr-GXvgFzsdsyWlVQvPX2xjeaQ217r2PtxDeqjlf66UYl6oY6AqNS8DH3iryCvIfCcybRZkc_hdy-6ZMoKT6Piijvk_aXdm7-QQqKJFHLuEqrVSOuBqqiNfVrG27QzAPuPOxvfXTVLXL2jek5meH6n-VWgrBdoMFH93QEszEDowDAEhQPHVs0xj7SIzA"
>>> jwt.decode(token, verify=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\test\test_azureml\venv\lib\site-packages\jwt\api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "D:\test\test_azureml\venv\lib\site-packages\jwt\api_jwt.py", line 79, in decode_complete
    raise DecodeError(
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().

cc @nickzhums @jsntcy

Hi @gison93 , could you show your package list with pip list. It seem like that you are using a higher version of pyJWT.
Recurrence Error:
# With pyJWT==1.7.1
>>> import jwt
>>> token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5FRTFRVVJCT1RNNE16STVSa0ZETlRZeE9UVTFNRGcyT0Rnd1EwVXpNVGsxUWpZeVJrUkZRdyJ9.eyJpc3MiOiJodHRwczovL2Rldi04N2V2eDlydS5hdXRoMC5jb20vIiwic3ViIjoiYVc0Q2NhNzl4UmVMV1V6MGFFMkg2a0QwTzNjWEJWdENAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vZXhwZW5zZXMtYXBpIiwiaWF0IjoxNTcyMDA2OTU0LCJleHAiOjE1NzIwMDY5NjQsImF6cCI6ImFXNENjYTc5eFJlTFdVejBhRTJINmtEME8zY1hCVnRDIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.PUxE7xn52aTCohGiWoSdMBZGiYAHwE5FYie0Y1qUT68IHSTXwXVd6hn02HTah6epvHHVKA2FqcFZ4GGv5VTHEvYpeggiiZMgbxFrmTEY0csL6VNkX1eaJGcuehwQCRBKRLL3zKmA5IKGy5GeUnIbpPHLHDxr-GXvgFzsdsyWlVQvPX2xjeaQ217r2PtxDeqjlf66UYl6oY6AqNS8DH3iryCvIfCcybRZkc_hdy-6ZMoKT6Piijvk_aXdm7-QQqKJFHLuEqrVSOuBqqiNfVrG27QzAPuPOxvfXTVLXL2jek5meH6n-VWgrBdoMFH93QEszEDowDAEhQPHVs0xj7SIzA"
>>> jwt.decode(token, verify=False)
{'iss': 'https://dev-87evx9ru.auth0.com/', 'sub': 'aW4Cca79xReLWUz0aE2H6kD0O3cXBVtC@clients', 'aud': 'https://expenses-api', 'iat':<PHONE_NUMBER>, 'exp':<PHONE_NUMBER>, 'azp': 'aW4Cca79xReLWUz0aE2H6kD0O3cXBVtC', 'gty': 'client-credentials'}

# with pyJWT==2.0.0
>>> import jwt
>>> token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6Ik5FRTFRVVJCT1RNNE16STVSa0ZETlRZeE9UVTFNRGcyT0Rnd1EwVXpNVGsxUWpZeVJrUkZRdyJ9.eyJpc3MiOiJodHRwczovL2Rldi04N2V2eDlydS5hdXRoMC5jb20vIiwic3ViIjoiYVc0Q2NhNzl4UmVMV1V6MGFFMkg2a0QwTzNjWEJWdENAY2xpZW50cyIsImF1ZCI6Imh0dHBzOi8vZXhwZW5zZXMtYXBpIiwiaWF0IjoxNTcyMDA2OTU0LCJleHAiOjE1NzIwMDY5NjQsImF6cCI6ImFXNENjYTc5eFJlTFdVejBhRTJINmtEME8zY1hCVnRDIiwiZ3R5IjoiY2xpZW50LWNyZWRlbnRpYWxzIn0.PUxE7xn52aTCohGiWoSdMBZGiYAHwE5FYie0Y1qUT68IHSTXwXVd6hn02HTah6epvHHVKA2FqcFZ4GGv5VTHEvYpeggiiZMgbxFrmTEY0csL6VNkX1eaJGcuehwQCRBKRLL3zKmA5IKGy5GeUnIbpPHLHDxr-GXvgFzsdsyWlVQvPX2xjeaQ217r2PtxDeqjlf66UYl6oY6AqNS8DH3iryCvIfCcybRZkc_hdy-6ZMoKT6Piijvk_aXdm7-QQqKJFHLuEqrVSOuBqqiNfVrG27QzAPuPOxvfXTVLXL2jek5meH6n-VWgrBdoMFH93QEszEDowDAEhQPHVs0xj7SIzA"
>>> jwt.decode(token, verify=False)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "D:\test\test_azureml\venv\lib\site-packages\jwt\api_jwt.py", line 113, in decode
    decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
  File "D:\test\test_azureml\venv\lib\site-packages\jwt\api_jwt.py", line 79, in decode_complete
    raise DecodeError(
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().

cc @nickzhums @jsntcy

@bandsina, any insights on this issue?

@bandsina, any insights on this issue?

Hi @00Kai0, I confirm you that I had PyJWT==1.7.1. with azureml-core==1.18.0.post1.
Using azureml-core==1.20.0, keeping PyJWT==1.7.1, solves the issue.

Hi @00Kai0, I confirm you that I had PyJWT==1.7.1. with azureml-core==1.18.0.post1.
Using azureml-core==1.20.0, keeping PyJWT==1.7.1, solves the issue.

Hi @gison93, sorry you were facing this issue. Are you still blocked? Or, has your issue been resolved with upgrading azureml-core to 1.20.0?  Here is our TSG for troubleshooting this and other issues: https://msdata.visualstudio.com/Vienna/_git/vienna/pullrequest/519703

Hi @needuv,  updating azureml-core  to version 1.20.0 solves the issue. Clicking on the TSG link returns 401 error.

@gison93 sorry about that. Just updated the link with the proper TSG.

#please-close because this issue is now resolved.

closing since this issue is resolved

When facing this error, I kept my azure-core at 1.9.0 and downgraded PyJWT to 1.7.1 (from 2.0.1) and it worked.

i got the same issues so if some one still get hte same issues try this
token = jwt.encode({'user_id':user_id,'exp':datetime.datetime.utcnow()+datetime.timedelta(minutes=1440)},SECRET, algorithm="HS256")
    data = jwt.decode(token,SECRET,algorithms="HS256")

you have to passe the alogrithms

@Thalinda, thank you man

Here's a NOTE: ( I made this silly mistake :( Hope this helps someone )
you have to pass a value as ' algorithm ' in jwt.encode( ) and not ' algorithms '
but you have to pass value as ' algorithms ' in jwt.decode( ) and not ' algorithm '

Hi, I am facing same kind of issue. May I get to know how I can downgrade package to a particular version.
PyJWT ==2.1.0 and want to move to 1.7.1 version.

Hi, i am working in virtual environment , and i have PyJWT==1.7.1, Its still giving this error
jwt.exceptions.DecodeError: It is required that you pass in a value for the "algorithms" argument when calling decode().`
But when i deactivate the env, it's working perfectly fine with 1.7.1! Can someone help? I want it to work on venv


Streaming Event Hubs : checkpointLocation has no effect to read from the last used element ?

Hi,
Is it possible to update the content of this page ? Some documentations are mentioning that's "easy" to recover the messages sent to an "Event Hubs" if the service is stopped, however after many tests it seems a bit "complicated".
The usual technique mentioned to be used for this is .option("checkpointLocation", "/CheckpointFolderPath")` ... but making something like the following code only take the new events since the query start, but not messages that have been send during the shutdown of this script, so actually events are lost :

df = spark
.readStream
.format("eventhubs")
.options(**ehConf)
.option("checkpointLocation", "/FileStore/CheckPoint/")
.load()

Obviously, as descibed correctly, a possibility is to add a "startingEventPosition" object in the config, however it's not simple to guess by hand what could be the "offset" or "seqNo" to use (dozens of offset files are present) and this don't seems to consider the checkpointLocation technique !? That in order to avoid to recover and re-read all the messages available in events but who have already been processed.
Regards,
Edit : After further discussions out, it seems that the automatic "checkpointLocation" is only for writes, and not for readings ad just them.
It's a pity , the missing point who could be useful however ... But however maybe a good idea to add this small info to the doc, or to have an update with this kind of possibility (done natively by Azure functions & Python SDK by the way). Txs

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

ID: fd4b0492-b73e-881d-92ef-a9e9d841cd05
Version Independent ID: 3ca1bc50-7003-0766-b14e-a96b100516da
Content: Tutorial: Stream data into Azure Databricks using Event Hubs
Content Source: databricks/scenarios/databricks-stream-from-eventhubs.md
Service: azure-databricks
GitHub Login: @lenadroid
Microsoft Alias: alehall

Assigning to @leifbro  to look into this and update the doc as appropiate

I believe that this ticket just documents a technical misunderstanding by the reporter. I recommend closing.

Only Microsoft employees can close issues or pull requests via commenting in this repo.

#please-close


Storage: Support for ScyllaDB

Adds the new schema script for ScyllaDB compatibility, remove the fixed proto version and update the doc.

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

Coverage decreased (-0.08%) to 99.92% when pulling f77161a51aa20e74e870d25f6cf87fb366c426ad on znly:master into d8efb782dd8604f487921ea10b319ebf75649a3b on uber:master.

Hi,
Noam from Scylladb, Were you able to run it successfully?

Is there an ETA for this PR to close?

Any way we can help with testing this?

Sorry for the lack of response here. I think we have been waiting on fixes to the above. Since @badiib has not followed up, this has been in limbo for quite a while.

Is there any reason to keep this open seeing that we dropped using SASI indexes, and ScyllaDB should just work™ ?

I don't think this PR is necessary any more. As of release 1.10, the schema no longer uses SASI index and should be compatible with Scylla.


Queued projects deletion results in deletion of public projects

After pressing the "Publish" button to make a project public, and while the project is still queued and processed it can still be deleted, but this results publishing a deleted project.

The project can still be found in the trash folder. Attempting to restore it gives a notification of successful restoration but in fact it remains in the trash.

Testing in Dev, I didn't manage to delete the project while being processed, I received a notification with more details:


System informer hangs (crash dump included)

Brief description of your issue
I suspended two instances of the same applications and then System informer hung.
Steps to reproduce (optional)
Suspend two instances of the same application
Expected behavior (optional)
It should not hang
Actual behavior (optional)
It hangs.
Here is the crash dump:
SystemInformer.exe_2023-06-14_13-29-07.7z.001.txt
SystemInformer.exe_2023-06-14_13-29-07.7z.002.txt
Environment (optional)
System Informer v3.0.6433
Windows 10 x64

Does the crash always happen or was it only once?

It happened once, but I tried it once. It was a situation where an application was started twice, and I tried to pause/stop them.
I can't reproduce it, but maybe the dump file shows you a hidden bug which got triggered.

I can't reproduce it, but maybe the dump file shows you a hidden bug which got triggered.

The exception was generated in the kernel:
ExceptionAddress:<PHONE_NUMBER>000000
ExceptionCode: 80000003 (Break instruction exception) STATUS_BREAKPOINT

I can't find anything that would explain the crash. Best guess is some kernel driver modified the handle while we were using it 🤷♂


Trying to wrap the component and get an error....

Changed my export from:
 export default MySlideController;

to

export default WithStore(MySlideController, state => ({
    currentSlide: state.currentSlide,
  }));

and get this as an error.... Anyone know why?
index.es.js:1 Uncaught TypeError: Cannot read property 'state' of undefined
at new i (index.es.js:1)
at constructClassInstance (react-dom.development.js:12880)
at updateClassComponent (react-dom.development.js:17100)
at beginWork (react-dom.development.js:18620)
at HTMLUnknownElement.callCallback (react-dom.development.js:188)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at beginWork$1 (react-dom.development.js:23203)
at performUnitOfWork (react-dom.development.js:22154)
at workLoopSync (react-dom.development.js:22130)
at performSyncWorkOnRoot (react-dom.development.js:21756)
at react-dom.development.js:11089
at unstable_runWithPriority (scheduler.development.js:653)
at runWithPriority$1 (react-dom.development.js:11039)
at flushSyncCallbackQueueImpl (react-dom.development.js:11084)
at flushSyncCallbackQueue (react-dom.development.js:11072)
at unbatchedUpdates (react-dom.development.js:21909)
at legacyRenderSubtreeIntoContainer (react-dom.development.js:24757)
at Object.hydrate (react-dom.development.js:24823)
at renderReactElement (index.tsx:496)
at doRender (index.tsx:745)
at _callee2$ (index.tsx:390)
at tryCatch (runtime.js:45)
at Generator.invoke [as _invoke] (runtime.js:274)
at Generator.prototype. [as next] (runtime.js:97)
at asyncGeneratorStep (asyncToGenerator.js:3)
at _next (asyncToGenerator.js:25)
at asyncToGenerator.js:32
at new Promise ()
at asyncToGenerator.js:21
at _render (main.js?ts=1607117022797:12698)
at render (main.js?ts=1607117022797:12635)
at next-dev.js:85
at fouc.js:14

@cyphire per our Issue templates, questions would be better served on Stack Overflow https://stackoverflow.com/questions/tagged/pure-react-carousel
I don't believe this is a bug. If you think there is a bug, please fill out a bug Issue Template.


Change to OAuth Access Token

Home Assistant has a new auth system as a Release Candidate which uses oauth instead of an api password.  It will be the default in the next release 0.76.
With the new auth system, users will see an error "Please change to use bearer token access" and node red will be unable to connect to Home Assistant.
Users will need to enable the legacy api password to allow node red to continue to work, until this is switch to use oauth
auth_providers:
   - type: homeassistant
  # below will be required for node red to continue to work.
   - type: legacy_api_password

See https://github.com/home-assistant/home-assistant/issues/15376

I'm lost.  Where does this go?  configuration.yaml or secrets or ??  Thanks in advance.
auth_providers:

type: homeassistant

below will be required for node red to continue to work.

type: legacy_api_password

Please note, this does not apply to Hassio, which uses an API token from the Supervisor proxy.


Adding adjectives/suffixes for festivals

There are many festivals that are "tagged" with one or adjectives:
the festival itself may be "ekAdazI", and the adjectives could be "saphalA" or "nirjalA" and then also "sarva"/"smArta"/"vaiSNava" etc.
Other festivals have suffixes 'alabhyam (puSkalA)', when the actual festival is an 'amAvAsyA'. What would be the best way to accommodate these as some sort of properties of the festival, retaining the festival id as just 'ekAdazI' or 'amAvAsyA'.
The advantage would be that it would be easy to fetch all the ekAdazI / amAvAsyA dates, and also descriptions (in adyatithi jsons) can be given for basic festival, and also the tags, which can be combined.
Any suggestions on how to go about this? Thanks!

How about applying the entire festival taxonomy to a date? For example, a certain day is not just ekAdashi, but also saphalA ekAdashI. So, you have 2 festival assignments. The former will have info common to all ekAdashI-s, while the latter will have info specific to the upajAti.

Interesting point, and workable --- but wouldn't it cause clutter? For instance, on the same day, we may have

ekAdashi
saphalA ekAdashi
smArta sannyastha saphalA ekAdashi
vaiShNava saphalA ekAdashi

Perhaps a flag to denote that ekAdashI and saphalA ekAdashI will be superseded by others (and should not be printed in a list of festivals? Oh, but the description will also be lost?...)
Any other suggestions/ideas?

Important to keep in mind: Internal representation != presentation for user (which may be manifold). That said, for our own sanity and productivity, the former needs to be elegant (not clumsy).
If we need to store hierarchical relationship cleanly, we can do this:
saphalA-EkAdazI.toml will have a field saying:
qualified_festival = "EkAdazI"


Wrong unit of measurement for temperature

Unit of measurement for temperature should be °C and not ˚C. The difference is a problem for exempel when using min/max-sensors as the unit of measurement for the wf-sensor isn't the same as for other temperature sensors in HA.

Ok, thanks for the info. What is the ASCII value for the degree symbol you have above?

Char | Dec | Hex | Oct
° | 176 | B0 | 260

Thanks for fast response and great code!

I will make the change ASAP. Thanks

Is now fixed. The changes are published to the docker container with the dev tag. I will wait for a few more changes to publish a new release.

Just letting you know that everything still seems to work for me using the latest dev build.
I did not check in the code but I would assume this would affect us imperial users also.

Thanks Glenn. It was only the degree symbol in front of the C and F in the unit that was changed. So no formulas changed.

Fixed. Currently in the dev container, but will be part of the next release.


chore(main): release 1.17.5

:robot: I have created a release beep boop
1.17.5 (2024-03-17)
Performance Improvements

🌐 Improve i8n (4fe55a3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.17.5 :sunflower:


How to build on windows with ffmpeg?

Hello asticode,
I'm trying to use this library in my project and the project targets windows systems.
When I try to run go build it promted for pkg-config. I installed pkg-config using choco as evident from the build process in the ci tests here. I'm now stuck at it trying to find libavcodec and other libs.
Please help 🙏🏼

Can you share the command you're running and the error output you're getting?

Hey @asticode,
Thanks for reply. I actually managed to compile it a few hours after the creating issue.
The make command is failing at applying the diff, also diffutils was missing in msys2 environment.
I have two questions.

can we opt for using the tar ball snapshot version from the releases then use normal patch from diffutils?
is it possible to create a section for install instructions? id be happy to help out with a PR for the README.

You mean modify the Makefile?

Somewhat, can we use tar balls from https://www.ffmpeg.org/releases/ffmpeg-7.1.tar.gz and then use basic diff and patch commands to patch it?
I kinda tried it, it's also pretty much faster than fetching the whole git repo.

There's already an install section in the README, what do you feel is missing there?

I was wondering if we could have a windows specific note or subsection for each os if possible. Build steps on unix and darwin are pretty much same, on windows we can suggest the specific requirements.

Somewhat, can we use tar balls from https://github.com/FFmpeg/FFmpeg/tarball/n7.0 and then use basic diff and patch commands to patch it?

I'm not looking to make this change in the Makefile, however you can use your own Makefile that uses the tar balls instead 👍

I was wondering if we could have a windows specific note or subsection for each os if possible. Build steps on unix and darwin are pretty much same, on windows we can suggest the specific requirements.

Sure, you can submit a PR and we can go from there 👍


[GameTest][feature] Player Permissions

BDS can't set player permissions.
There are just 3 permission levels (Visitor, Member and Operator).

I've tried /ability but
I have to enable Education Edition;
It doesn't have most of those permissions;
The permissions it has are kinda broken.

Describe the solution you'd like
Add API for player permissions.
Or just fix /ability and allow us to use without Education Edition.

Member
Operator
Visitor
Custom

attackmobs
attackplayers
build
doorsandswitches
flySpeed
flying
instabuild
invulnerable
lightning
mayfly
mine
op
opencontainers
teleport
walkSpeed

Describe alternatives you've considered
/ability broken

I love this idea we need more stuff for server managment in the Gametest.

Server admin API likely. @Worldwidebrine would this be OK if it was dedicated-server only?

Server admin API likely. @Worldwidebrine would this be OK if it was dedicated-server only?

No, I think. I don't get it.
Isn't abilities related to players? They exist not only in permissions.json but also in player NBT.
What can be bad if it doesn't reuqire dedicated server?
If we are talking about allowlist then it's okay to be dedicated-server only, I guess.

Hello!
It looks like we've made some progress on this. Since it's been a while, I'm going to close this issue, but if you have any additional feedback, please reach out to us!
Thanks!


Add Example for the Raspberry Pi Pico, and the RFM69

I'm working on a project using the RFM69, and a Raspberry Pi Pico. I'd like to add some examples using the RP2040, if you're open to it.

Hi,
sure I'm open to any contribution.


Play .m3u8 video file

Bug
I want to play the .m3u8 video file in video player which have the source system as both local and remote
Platform
iOS and Android
Which player are you experiencing the problem on:

iOS
Android ExoPlayer
Android MediaPlayer

Environment info
System:
OS: macOS 10.15.5
SDKs:
iOS SDK:
Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
IDEs:
Android Studio: 4.0 AI-193.69<IP_ADDRESS>26763
Xcode: 11.5/11E608c - /usr/bin/xcodebuild
react: 16.13.1 => 16.13.1
react-native: 0.63.2 => 0.63.2
React native info output:
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
Library version: 5.1.0-alpha8
Steps To Reproduce
Execute the above code in ios/android simulator
Expected behaviour
Video should play with out any issues
Reproducible sample code

react-native info

I got the same problem :(


Verification issue

Failing code

Steps to reproduce the issue

Dafny version: <IP_ADDRESS>215
Dafny VSCode extension version: 3.0.0

Expected behavior
Run Program
Actual behavior
Waiting for free solvers

Can you please provide us a sample program on which to run this issue?
I had it in the past too ("waiting for free solver"), but I can't reproduce it consistently. How frequently do you have this issue?

predicate ordered(a: seq)      // in decreasing order
{
forall i,j | 0 <= i < j < |a| :: a[i] >= a[j]
}
predicate is_min(e: int, m: multiset)      // e is the minimum in m
{
e in m && forall e' | e' in m :: e <= e'
}
predicate perm(a: seq, b: seq) {
multiset(a) == multiset(b)
}
/**

A priority queue of integer values, represented as an ordered array,

with minimal value at the end.  The capacity (length of the array) is

set initially but increases dynamically when needed.
*/
class PriorityQueue {
var elems : array;     // elements in decreasing order
var size : int;             // number of elements in the queue
/**

Create a queue with initial capacity {n}
*/
constructor (n: int)
requires n > 0
ensures ok()
ensures abs() == multiset([])
ensures fresh(elems)
{
this.elems := new int[n];
this.size := 0;
}

/**

Abstraction: a queue is a multiset (bag) of its elements
*/
function abs(): multiset
requires ok()
reads this, elems
ensures forall e | e in elems[..size] :: e in abs()
ensures |abs()| == size
{
multiset(elems[..size])
}

/**

Representation invariant
*/
predicate ok()
reads this, elems
{
this.size <= this.elems.Length && this.size >= 0 && ordered(elems[..size])
}

/**

Return the minimal element in the queue.  Does not modify the queue.
*/
method peek_min() returns (m: int)
requires ok()&&size>0
ensures size==old(size)&&ok()&&is_min(m,abs())&&perm(elems[..],old(elems[..]))
{
return elems[size-1];
}

/**

Remove and return the minimal element in the queue.
*/
method get_min() returns (m: int)
requires ok()&&size>0
modifies this
ensures size==old(size)-1 &&ok()&&old(is_min(m,abs()))
{
m := elems[size-1];
size := size - 1;
}

/**

Resize the queue to a larger capacity.  The content of the queue is preserved.
*/
method resize()
requires ok() && this.elems.Length>0
ensures this.elems.Length==old(this.elems.Length)*2 && ok()&&size==old(size)
modifies this
{
var len := elems.Length * 2;
var newelems := new int[len];
var i := 0;
while i < size
invariant i <= size
invariant forall j | 0 <= j < i :: newelems[j] == elems[j]
modifies newelems
{
newelems[i] := elems[i];
i := i + 1;
}
elems := newelems;
}

/**

Insert element {e} in the queue, with resizing if needed.
*/
method insert(e: int)
requires ok() && elems.Length>0
ensures ok()
ensures size == old(size)+1
modifies this,elems
{
if size == elems.Length {
resize();
assert elems.Length > old(elems.Length);
assert old(elems.Length) == size;
assert elems.Length > size;
}
assert elems.Length > size;
insert'(e);
}

/**

Insert element {e} in the queue, with available capacity.
*/
method insert'(e: int)
requires ok()
requires size < this.elems.Length
ensures fresh({elems} - {old(elems)})
ensures ok()
ensures size == old(size)+1
modifies this,elems
{
var i := size;
elems[i] := e;
size := size+1;
while i > 0 && (elems[i] > elems[i-1])
invariant 0 <= i
// Tous les éléments de i à size sont triés
invariant forall j | i <= j < size :: this.elems[j] <= this.elems[i]
// Tous les éléments de 0 à i-1 sont triés
invariant forall j,k |0<=j <= k < i  :: this.elems[j] >= this.elems[k]
modifies elems
{
elems[i-1], elems[i] := elems[i], elems[i-1];
i := i - 1;
}
}
}

/**

Tests
*/
method Main()
requires false // TODO: remove this line
{
var q := new PriorityQueue(2);
q.insert(3);
q.insert(2);
q.insert(1);
q.insert(2);
assert q.abs() == multiset([1, 2, 2, 3]);
assert is_min(1, q.abs());
var a := q.get_min();
var b := q.get_min();
var c := q.get_min();
var d := q.get_min();
assert a <= b <= c <= d;
assert a+b+c+d == 8;
print "[", a, ", ", b, ", ", c, ", ", d, "]\n";
}

But I have the problem everytime, the problem is on the version <IP_ADDRESS>215. I downgrade on the version <IP_ADDRESS>027 and I have any problem now

How do you interact with this file? Do you just paste the code in VSCode? On my latest version, it just says that it could not prove 4 declarations, so I don't see the problem

I'm trying to prove it... I'm on MacOS Ventura 13.1. I don't know if it can helps. With this version I can't see if the declarations are verified.

This is a recently introduced bug, which occurs simply by setting the amount of verification cores to 0 (which is also the default). This PR is a temporary fix: https://github.com/dafny-lang/ide-vscode/pull/332 with a more permanent fis here: https://github.com/dafny-lang/dafny/pull/3276

This is resolved in version 3.0.2 of the extension


[Request]: Show download progress in the taskbar

Is your request related to a problem?
No
How is the feature request related to the problem?
No response
Describe your proposed solution
I think the download progress can be displayed in the taskbar, so that the download progress can be quickly judged through the taskbar.
Describe alternatives you've considered
Maybe not.
Additional context
We may be able to use TaskbarItemInfo.ProgressState and TaskbarItemInfo.ProgressValue to achieve this functionality. See:
https://learn.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo.progressstate and https://learn.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo.progressvalue. Regardless of whether you adopt this suggestion, I am grateful.

We can implement this feature, but it may not have a high priority.
Also we use WinUI 3 as the UI framework, not WPF.
https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist3-setprogressvalue

Also we use WinUI 3 as the UI framework, not WPF.

Sorry, I don't know about these frameworks. I just saw it using C#.

Hi, after talking a bit about this with @neon-nyan, it's possible to implement this function as addition into our TrayIcon class. But this requires a lot of events code from InstallManager to handle cases like multiple download install, task bar status rate limit, etc.
TL;DR: It's possible but might take awhile due to the complexity of our code

Bump, any dev(s) want to dibs on this implementation?

working on it


Job submission form: remember folder location for read 2

While selecting paired end read files, I browse through the directory structure, go to the right folder, and then select read file 1. Then, I need to again go through the same directory structure to select second file!!
UI should remember the location of the first file selected and directly show the same folder while selecting file 2.
We do it for subsequent file selections, so we should be able to do it for read file 2 as well.
-Maulik

While I agree that it would be convenient for the user, I personally don't like it as it somewhat is a hack: we are using WorkspaceObjectSelector here and the default behavior is to go to user's home, now we want to change this default behavior for READ2 in paired read library selection.
What if a user chooses a READ2 first? Do we then make READ1 go to READ2's directory as well? What if READ1 is selected, then unselected, should we keep the default folder of READ2 alway the same as READ1?
@hyoo do you have suggestion? I can work on it once we agree what needs to be done.

I agree this should be added.  I had removed the whole concept of remembering folders because the workspace browser (not the object selector) was also using that state.  However, for paired-end read selection, this would be extremely useful and speed things up greatly in workshops.
This is likely related to #1306.
I think if read2 is selected first, read1 should have the same default folder.   If read1 is selected and then unselected, I think it is fine to have the default for read 1/2 be the previously selected folder.  The potential confusion there is rare occurrence.

Worst case use case would be if users have paired-end reads located in different folders.  In that case, I think they can learn to go up a directory or such.  Adding the above would still be an improvement.

@nconrad thanks for your input and that makes sense. i will work on it then.

Thanks for raising the questions, Dawen. For good design, we do need to think about possible scenarios and how to handle them, before we implement.
I leave the details to you, Neal and harry. I think we should try it first on with one service, test it and then apply to other services.
Sent from my iPhone

On May 8, 2018, at 3:00 PM, Dawen Xie<EMAIL_ADDRESS>wrote:
@nconrad thanks for your input and that makes sense. i will work on it then.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Fix glitch in Chrome with menu logo text

See #4 for more details on the glitch. This will require a minor update in the guide itself in regards to removing the .left class from .links and the h1 in the logo link. As it was the floats that was causing the glitch.

Cool, thanks for the PR!  There's a large PR coming in on the tutorial https://github.com/emberjs/guides/pull/1818
I'll update the tutorial with the markup updates once that lands, hopefully early this week.
Do you mind updating the super rentals repo with a PR? https://github.com/ember-learn/super-rentals.  I will merge this and cut a release on the style project.

when I point super-rentals at the style commit (github:toddjordan/ember-cli-tutorial-style#53db1bf28aa5de3cfc70d3466b0827f9dd334b13) I get the following:

Did you remove the floats like I did in ember-learn/super-rentals#52? As I'm not getting that at all. Tested in Chrome, Safari, & Firefox.

lemme double check again...

Works! Sorry, had to rerun the default blueprint for the addon :-P


feat: extend allowed_values option of JSONSchema for Property(ArrayType)

Feature scope
Taps (catalog, state, stream maps, etc.)
Description
Currently it's not possible to set allowed_values for Property(ArrayType) since it generates schema like following:
"property_name": {
    "type": ["array", "null"],
    "items": {"type": ["string"]},
    "enum": ["allowed_value1", "allowed_value2"]
}

And checks only types like Integer, String, etc, not arrays.
In order to validate array's allowed values the schema should look like following:
"property_name": {
    "type": ["array", "null"],
    "items": {
        "type": ["string"],
        "enum": ["allowed_value1", "allowed_value2"]
    }
}

Looks like the changes should be implemented here: https://github.com/meltano/sdk/blob/0948c77233688726785b415ba286162b9b91ed00/singer_sdk/typing.py#L479
Something like:
if self.allowed_values:
    if type is array: # pseudocode
        type_dict["items"].update({"enum": self.allowed_values}) # just a concept
    else:
        type_dict.update({"enum": self.allowed_values})

Slack thread

Would be solved here: https://github.com/meltano/sdk/pull/1603


:bug: CLI: Better error messages to bind compute

Summary
Provide more detailed error messages when the bind compute CLI command fails with a timeout error.
Related issue(s)
No related issue. Encountered this need when working on PR https://github.com/kcp-dev/kcp/pull/2336

/approve


Rebase Docker Image to linuxserver-alpine

Noticed that the docker image was quite large when downloading and saw you were using the the ubuntu image with mono built-in. Mono is really only really needed if you are running something on .Net like Sonarr, Radarr, etc. Otherwise it's really just bloat if you don't need it. Same with a full Ubuntu image. I think for something like a python program the alpine image should be enough.
Switching to alpine brought the image size from 886mb to ~147mb for me and it seems to be working fine for my quick testing.
You can check the test image I built here
ghcr.io/tchilderhose/plexautoskip-docker:master
Anyways, thanks for your work on this again and for your work on SMA.

Looks good and working fine in my tests as well (in spite of the plex authentication API outage today 😿). This is mostly my own ignorance about which base images are optimal and just kind of piggybacking off what I've seen used in some of the other linuxserver projects, so I appreciate catching this and making things more efficient and especially taking the time to explain it while making the pull request

No worries. Happy to help 😄


Add a CMHTMLUnderlineTransformer to support  underline HTML tag

It'd be easy to add a CMHTMLUnderlineTransformer that would support <u> HTML tag to underline areas of text.
I can fork / pull request for that if you want.

Sounds good to me! I'm always open to PRs.
--
Indragie Karunaratne
On Mon, Jan 19, 2015 at 3:27 AM, Damien Rambout<EMAIL_ADDRESS>wrote:

It'd be easy to add a CMHTMLUnderlineTransformer that would support <u> HTML tag to underline areas of text.
I can fork / pull request for that if you want.
Reply to this email directly or view it on GitHub:
https://github.com/indragiek/CocoaMarkdown/issues/2


Is it posible to integrate with CodeIgniter?

I am trying setup with CodeIgniter and botman, But this does not work. You know if this boilerplate will work with CodeIgniter.
Thanks

Hey @wilfredonoyola ,
this boilerplate is meant for testing purposes in plain PHP. I would not recommend to use it in a framework like Codeigniter. Have you tried the chatbot framework BotMan? I have a book and video course explaining all you need to know to start with chatbots in PHP.


how did u make it generate native c stub

hello im learning c# and was wondering how u made it generate native c stub from c# binder

I used TCC, I extract the TCC compiler and the C code and then run the compiler inside the binder.

I used TCC, I extract the TCC compiler and the C code and then run the compiler from inside the binder.

how are u even using c in c#

I have both the TCC (TinyCC) C compiler and the C code as a resource in the C# forms program, then I extract the compiler into a folder and then the C file somewhere as well. Then the builder runs the TCC compiler here : https://github.com/UnamSanctam/UnamBinder/blob/b79b6f3eb56bd417e089da35393efa4396f31163/UnamBinder/Forms/Builder.cs#L208 which compiles the C file into a program. The C code file is just a text resource within the C# program.


Update market selector to produce UI properties.

https://github.com/AugurProject/augur/issues/477
https://github.com/AugurProject/augur/issues/2518
Change up marketsData reducer to take keyed object of MarketInfo objects. Market selector converts MarketInfo objects to MarketData UI objects.
Started using new Formatted UI properties. Fixed issues where UI was overriding properties from getter like maxPrice, minPrice, volume, openInterest, ....
created UI specific formatted properties like
maxPriceBigNumber, minPriceBigNumber, volumeFormatted, openInterestFormatted
fixed issues with outcome list selector
Added market loading modal, temporary until we get design.

I updated Markets.test.ts & made some additional changes to Markets.ts. The changes related to the new properties in getMarketsInfo should be ready to go now.


Feature request: Support for linear bacterial replicons?

Thank you for making and maintaining dnaapler!
Streptomyces and other genera have linear chromosomes and often also linear plasmids.
Multiple genes on these replicons are located in a conserved fashion in relation to each other, why it would be practical to orient the replicons according to genes such as the dnaA gene on the chromosome, or replication genes on plasmids.
If dnaapler could have a --linear flag to not rotate the replicons, but still orient them so the key gene is always on the positive strand, that would aid uniformity of assemblies.
Best,
Tue

Hi @tuspjo ,
To be clear, you'd simply want a functionality such that e.g. the dnaA gene would always be on the forward strand, but no actual reorientation (as they are linear?) - I guess that would just involve detecting where the dnaA gene is and reverse complimenting the contig if it is negative stranded. Seems straightforward.
George

Hi George,
Yes, exactly, ensuring dnaA on the forward strand without rotating.
Best,
Tue.


UI shell thumbnail image is missing

It missing, then added, and now it's missing. Could this be related to the mdx update?

this broke when I updated the component status page, I had it as "UI Shell" when it should be "UI shell".


[Feature Request] Support Dark Theme

As of now, pseudocode only displays white background with black text. Can we achieve dark background with light text when using dark mode?

This is a good suggestion and I am working on it. Thanks.

I've added a Follow System Theme feature, accessible in the settings tab. It adjusts the pseudocode block color to match your Obsidian theme, whether light or dark. Please try it out and report any issues. Thanks.


Add POP3 client

https://github.com/mattnenterprise/rust-pop3

Added in https://github.com/kud1ing/awesome-rust/commit/92ebb7cc1dbde055a7396eb56be8830c49a85137
Thanks.


Delete

TODO

[x] Delete actually deletes locally @Parth
[x] Sync deals with delete properly @Parth

[x] Deletes locally that which was deleted elsewhere @Parth
[x] If the file has local edits, recovers them to a recovered folder @Parth

[x] Integration tests @Parth
[ ] CLI @steverusso
[x] Android @SmailBarkouch
[x] iOS @raayan (in bad modal for now, will revamp in #391)
[x] macOS @raayan (in bad modal for now, will revamp in  #391)
[x] Linux @steverusso
[ ] Windows @tvanderstad
[x] update kotlin tests @SmailBarkouch
[x] update swift tests @raayan
[ ] update c# tests @jhecker22 (or @tvanderstad)

Changes to Usage Service

file_id: Uuid, not String
Calculate usage based on what is sent to s3 not based on .content

Closes #153
Closes #186

there's a problem with the CLI on windows:
C:\Users\tvand\code\lockbook\clients\cli>lockbook remove travis5/doc2.txt

C:\Users\tvand\code\lockbook\clients\cli>lockbook list
Last successful sync: just now

C:\Users\tvand\code\lockbook\clients\cli>lockbook sync
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")
Pushing: doc2.txt                                 Skipped: Unexpected("Deserialize(\n    Error(\"EOF while parsing a value\", line: 1, column: 0),\n)")

also the remove description has a TODO and I recommend renaming the command to delete (it's gonna get real ambiguous when we have archive)
C:\Users\tvand\code\lockbook\clients\cli>lockbook
lockbook 0.2.18
A secure and intuitive notebook.

USAGE:
    lockbook <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    backup                Backup your Lockbook files and structure to the current directory
    copy                  Bring a file from your computer into a target destination inside your Lockbook. If your
                          Lockbook target destination is a Folder, the file name will be taken from the file-system
                          file
    edit                  Open a document for editing
    export-private-key    Export your private key
    get-usage             Calculate how much space your Lockbook is occupying
    help                  Prints this message or the help of the given subcommand(s)
    import-private-key    Import an existing Lockbook
    list                  List all your paths
    list-all              List all your files (the things you can filter for rename and move)
    list-docs             List only documents (the things you can filter for edit)
    list-folders          List all your folders (the things you can filter for the start of new)
    move                  Move a specified file such that it has the target parent (list-all for first parameter
                          list-folders for second parameter)
    new                   Create a new document or folder
    new-account           Create a new Lockbook account
    print                 Print the contents of a file
    remove                Move a file to trash TODO
    rename                Rename a file at a path to a target value
    status                What operations a sync would perform
    sync                  Get updates, push changes
    whoami                Display Lockbook username


Update UninstallPKG to 1.0.18

Though there’s no harm in it, you don’t need to waste time updating the shasum of appcasts. We don’t yet take advantage of the feature, so they’ll all likely need changing when we do, anyway,

Thank you for the contribution. It was merged directly as 3a85f7da61322779cda73e3bc9b455190b4d35d4 to keep commit history cleaner. Your contribution is still credited to you.


vcpkg upgrade fails

Describe the bug
vcpkg upgrades fails after git pull
Environment

OS: Windows
Compiler: Visual Studio 2022
vcpkg version :

E:\Lib\vcpkg>vcpkg version
Vcpkg package management program version 2022-03-09-1affd32f93b299d5a907816c328ca3ededb73a7e

To Reproduce
E:\Lib\vcpkg>git pull
Already up to date.
E:\Lib\vcpkg>vcpkg upgrade
Package proj4 does not have a tiff feature
note: updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.

Expected behavior
Failure logs
Additional context

Thanks for reporting.
Unfortunately, I didn't retain the features when making the proj the regular port for PROJ. Perhaps this must be done to repair vcpkg upgrade.

Hello @dg0yt ,
This maybe helpful (my listing of proj4)
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.1
** Copyright (c) 2021 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'

E:\Lib\vcpkg>vcpkg list proj4
proj4:x64-windows                                  8.2.1#1          PROJ library for cartographic projections
proj4:x64-windows-static                           8.2.1#1          PROJ library for cartographic projections
proj4[net]:x64-windows                                              Enable network support
proj4[net]:x64-windows-static                                       Enable network support
proj4[tiff]:x64-windows                                             Enable TIFF support to read some grids
proj4[tiff]:x64-windows-static                                      Enable TIFF support to read some grids

Can you test vcpkg upgrade from #23487 / https://github.com/dg0yt/vcpkg/tree/proj4-upgrade?

@dg0yt  : Works perfectly, Thank you 👍


myjenkins: Update to latest available plugins

cloudbees-folder 5.6
delivery-pipeline-plugin 0.9.9
github-pullrequest 0.0.1-rc5

Signed-off-by: Gianpaolo Macario<EMAIL_ADDRESS>

LGTM, merged


Can't upgrade to 1.0.0-rc3

If you have a bug report please let us know the following:

Mac OS 0.15.2
1.0.0-rc2

I tried to upgrade my Apex from 1.0.0-rc2 to 1.0.0-rc3. There was no error, and it says Updated 1.0.0-rc2 to v1.0.0-rc3 but when I typed apex version it keeps showing the old version 1.0.0-rc2. Tried to reinstall it too, but no luck. Please help 🙏
❯ apex version
Apex version 1.0.0-rc2

❯ apex upgrade
                               |███████████████████████████████████| 100%

     Updated 1.0.0-rc2 to v1.0.0-rc3

❯ apex version
Apex version 1.0.0-rc2

❯ curl https://raw.githubusercontent.com/apex/apex/master/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8016  100  8016    0     0  93209      0 --:--:-- --:--:-- --:--:-- 93209
apex/apex: checking GitHub for latest version
apex/apex: found version 1.0.0-rc3 for darwin/amd64
apex/apex: downloading https://github.com/apex/apex/releases/download/v1.0.0-rc3/apex_1.0.0-rc3_darwin_amd64.tar.gz
apex/apex: verifying checksums
apex/apex: installed as /usr/local/bin/apex

❯ apex version
Apex version 1.0.0-rc2

I think I had to remove that release due to a bug, I forget now, but this project isn't really supported anymore due to a lack of funding sorry :'(

Thank you for writing back! Does it mean 1.0.0-rc2 is the latest version?


BUG: fix double border in deprecated box

Closes #242

wanna add a deprecated bit to our docs so that we can see what it looks like?

Added an example: https://pydata-sphinx-theme--243.org.readthedocs.build/en/243/demo/demo.html#deprecated

hmmm if seems lighthouse is not happy with this styling? Can we increase the contrast more?

I think the lighthouse failure is caused by the thebe issues (at least that was what I found on another PR where it was also failing)

thebe issues? we run thebe in these docs?!

No, but we use jupyter-sphinx to test the embedding, and that pulls it in  -> https://github.com/jupyter/jupyter-sphinx/issues/163

ah gotcha - OK then let's give this a merge :-) thanks for the improvement


License

Hi, please could you include a license?

Hi @reynoldscem, thanks for your suggestion. We have added an MIT license to our code.

Great - thank you


About supporting  safe_sign_sqrt

Thank you for support the smsop gitbub.
Could you please sunport the function safe_sign_sqrt for normalization step of class SignedSqrt(Layer).
and in elif output_normalization == 'cubicroot':
x = PowLayer(scale=0.5, center=np.power(49. / 2 - 1.0 / 3, 1.0 / 3))(x) , what is the meaning of the number 49. / 2 - 1.0 / 3
Thank you,
Truc

Sorry for the late reply. These numbers comes from Wilson–Hilferty transformation. In short, doing a cubic root with this mean and std will make the previous Chi distribution converge to Gaussian.
For details, please refer to
Johnson, N. L.; Kotz, S.; Balakrishnan, N. (1994). "Chi-Square Distributions including Chi and Rayleigh". Continuous Univariate Distributions. 1 (Second ed.). John Wiley and Sons. pp. 415–493. ISBN 978-0-471-58495-7.


Add First Alert Smoke/CO sensor

I tested it out on my own. The current integration doesn't appear to have any way to gracefully handle the fact that the CO sensor is a child of the Smoke sensor, so I had to add them as separate devices.

Thanks, @sfroth for the PR. Changes looking good. Merged.


Can the editor support for highlighting markdown syntax?

Great work! When I was using this app to write my own notes, I was curious about that if the editor can support for a specific syntax, like Markdown. So that I can enjoy the  clear hierarchical contents.

Hi @qijimrc and sorry for the late response...
In the current app architecture it's not possible to build more features on the built-in Editor because we are using the lib tui-textarea for it and we can't build more feature into it.
But I was thinking of changing the architecture and use the editor in the edit mode only which would open up the opportunity to use another widget to render markdown syntax in the terminal...


Fix broken cmake builds

Cmake builds need the additional directories arch and lstm
to find all include files and also for linking.
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

This PR also fixes Travis CI builds. AppVeyor builds are still broken for the MS compiler.


Support --export-secret-subkeys (subkeys without primary key)

GPG allows you to export your subkeys with with a blank primary key using the gpg --export-secret-subkeys {key-id} option. This is great if you want to keep your primary key air-gapped and have both a signing and encryption subkeys.
Unfortunately, end-to-end raises a "Cannot get key from special locations!" error when trying to import just the subkeys.
Use case:

I have my primary key air-gapped on another computer or on a smart card.
I receive an encrypted email with my public encryption subkey (as is normal).
I want to be able to decrypt the email using end-to-end.

Reproduction steps:

gpg --gen-key
gpg --export-secret-subkeys > secret_subkeys.gpg
Try to import secret_subkeys.gpg into the end-to-end keyring.
See an error "Cannot get key from special locations!"

What should happen:
When importing secret keys, blank primary keys should be skipped and still allow importing secret subkeys. That way, you can still decrypt and read messages sent to you without having to trust end-to-end with your primary secret key.

I also have run into this issue exactly as @diafygi has described.

hi
we can support this easily, I think.
can you please send us a copy of a key like this?

(a test key, don't send your actual secret key =)

Here's what I get by doing this. It seems like the S2K is easy to support.
# off=0 ctb=95 tag=5 hlen=3 plen=277
:secret key packet:
	version 4, algo 1, created<PHONE_NUMBER>, expires 0
	pkey[0]: [2048 bits]
	pkey[1]: [17 bits]
	gnu-dummy S2K, algo: 0, simple checksum, hash: 0
	protect IV:
	keyid: 8F652698C330A72A
# off=280 ctb=b4 tag=13 hlen=2 plen=69
:user ID packet: "RSARSA KEY (RSA/RSA key generated by gpg<EMAIL_ADDRESS># off=351 ctb=89 tag=2 hlen=3 plen=312
:signature packet: algo 1, keyid 8F652698C330A72A
	version 4, created<PHONE_NUMBER>, md5len 0, sigclass 0x13
	digest algo 2, begin of digest 8f 5a
	hashed subpkt 2 len 4 (sig created 2013-11-14)
	hashed subpkt 27 len 1 (key flags: 03)
	hashed subpkt 11 len 5 (pref-sym-algos: 9 8 7 3 2)
	hashed subpkt 21 len 5 (pref-hash-algos: 8 2 9 10 11)
	hashed subpkt 22 len 3 (pref-zip-algos: 2 3 1)
	hashed subpkt 30 len 1 (features: 01)
	hashed subpkt 23 len 1 (key server preferences: 80)
	subpkt 16 len 8 (issuer key ID 8F652698C330A72A)
	data: [2046 bits]
# off=666 ctb=b4 tag=13 hlen=2 plen=53
:user ID packet: "Security Team Victim<EMAIL_ADDRESS># off=721 ctb=89 tag=2 hlen=3 plen=312
:signature packet: algo 1, keyid 8F652698C330A72A
	version 4, created<PHONE_NUMBER>, md5len 0, sigclass 0x13
	digest algo 2, begin of digest 56 1e
	hashed subpkt 2 len 4 (sig created 2015-05-13)
	hashed subpkt 27 len 1 (key flags: 03)
	hashed subpkt 11 len 5 (pref-sym-algos: 9 8 7 3 2)
	hashed subpkt 21 len 5 (pref-hash-algos: 8 2 9 10 11)
	hashed subpkt 22 len 3 (pref-zip-algos: 2 3 1)
	hashed subpkt 30 len 1 (features: 01)
	hashed subpkt 23 len 1 (key server preferences: 80)
	subpkt 16 len 8 (issuer key ID 8F652698C330A72A)
	data: [2047 bits]
# off=1036 ctb=9d tag=7 hlen=3 plen=966
:secret sub key packet:
	version 4, algo 1, created<PHONE_NUMBER>, expires 0
	pkey[0]: [2048 bits]
	pkey[1]: [17 bits]
	iter+salt S2K, algo: 7, SHA1 protection, hash: 2, salt: 095743CA95C7DB0B
	protect count: 20971520 (228)
	protect IV:  45 15 60 44 36 7f 2a c2 cb 1f 5c c6 57 e7 c4 7f
	skey[2]: [v4 protected]
	keyid: 2325271F95BF86A1
# off=2005 ctb=89 tag=2 hlen=3 plen=287
:signature packet: algo 1, keyid 8F652698C330A72A
	version 4, created<PHONE_NUMBER>, md5len 0, sigclass 0x18
	digest algo 2, begin of digest 31 f7
	hashed subpkt 2 len 4 (sig created 2013-11-14)
	hashed subpkt 27 len 1 (key flags: 0C)
	subpkt 16 len 8 (issuer key ID 8F652698C330A72A)
	data: [2044 bits]

monkey patching the code, seems to make it work:
e2e.openpgp.EncryptedCipher.prototype.unlockAndVerifyKey_ = function(decryptedKeyData) {
  if (this.s2k_ instanceof e2e.openpgp.DummyS2k && this.s2k_.mode == e2e.openpgp.DummyS2k.GPG_modes.NO_SECRET) {
    this.locked_ = false;
    this.keyBytes_ = [];
    return;
  }

followed by:
e2e.openpgp.packet.SecretKey.parse = function(body) {
...
    case e2e.openpgp.EncryptedCipher.KeyDerivationType.S2K_SHA1:
      algId = body.shift();
      s2k = e2e.openpgp.S2k.parse(body);
      if (s2k instanceof e2e.openpgp.DummyS2k) {
        encrypted = false;
        kd = 0;
      }

so, I guess it's a small patch.. I'll try to get to it unless someone else beats me to it.


adds iskdaemon: content-based (visual) image searching to any image r…

Adds isk-daemon to the list. It's a database server capable of adding content-based (visual) image searching to any image related website or software.

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md.
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

Please replace this line with an explanation of why you think these changes should be made.

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[x] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[x] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Hi @ricardocabral 👋  thanks for the contribution. Unfortunately, as per our contribution guidelines, we don't allow self promotion if you are a maintainer of the project:
Maintainers of a project cannot add a topic or collection for their own project. If a topic is popular enough to warrant inclusion, someone else will add or improve it.
We do this so that project get curated if there is enough support/activity in the community. Thank you!


Failed to import cell to SAT database

I am using the following yosys script :
read_liberty -lib -ignore_miss_func NangateOpenCellLibrary_typical_conditional_nldm.lib
read_liberty -ignore_miss_func NangateOpenCellLibrary_typical_conditional_nldm.lib
read_verilog -sv miter.v
hierarchy -check
prep -flatten -top MITER
proc; opt; fsm; opt; memory; opt
techmap; opt
dfflibmap -liberty NangateOpenCellLibrary_typical_conditional_nldm.lib
abc -liberty NangateOpenCellLibrary_typical_conditional_nldm.lib
sat -prove assert_unequal_outputs 1
exit

Archive.zip
I have attached the miter.v and the lib file in this zip.
I am getting the following error :
Setting up SAT problem:
Final constraint equation: { } = { }
ERROR: Failed to import cell $abc:377$2453$auto$blifparse.cc:parse_blif$2454 (type INV_X1) to SAT database.
I am unable to understand what is wrong, can you please help?

Hi @deepali9, welcome to Yosys! I believe what's happening is that sat' can only understand cells from the Yosys built-in library. After your abccall, the design contains Liberty cells, and so you need totechmap` those Liberty cells back into Yosys cells.
Here's my modified script that gets you a little further:
# read_liberty -lib -ignore_miss_func NangateOpenCellLibrary_typical_conditional_nldm.lib ### this is redundant
read_liberty -ignore_miss_func NangateOpenCellLibrary_typical_conditional_nldm.lib
design -save lib # save the Liberty library
read_verilog -sv miter.v
hierarchy -check
prep -flatten -top MITER # because flatten will remove those library cells, since they are no longer used
proc; opt; fsm; opt; memory; opt
techmap; opt
dfflibmap -liberty NangateOpenCellLibrary_typical_conditional_nldm.lib
abc -liberty NangateOpenCellLibrary_typical_conditional_nldm.lib
techmap -map %lib # replace those new cells created by abc with their implementation from the previously saved "lib" design
sat -prove assert_unequal_outputs 1

This now gets you a little further into sat, which now complains with:
ERROR: Failed to import cell $techmap$techmap\c1.mymodule_uart_top.wb_interface.wb_dat_o_reg[4].$auto$liberty.cc:266:create_ff$184.$auto$liberty.cc:266:create_ff$188 (type $_DFF_PN0_) to SAT database.

indicating that it doesn't know about these bit-level async flops. Now this might actually deserve an enhancement...


the use of conjunctions in french

Hi,
Native french speakers tell me that the conjunction "AND" is necessary in french.
The relative date for "2 months 3 weeks" should be "il y a 2 mois et 3 semaines" and not "il y a 2 mois 3 semaines".
Is this something that is possible right now or something that will be possible in the future ?

It's not possible right now, but I'll have a look into adding a way for optional conjunctions (together with some optimization of the code in general)

Added a first attempt: https://github.com/distantnative/relative-date#conjunctions

Thank you !
That's great.
👍


SNEMO model not fully documented

Several things:

[x] No API documentation, unlike SALT2
[x] Not apart of Class Inheritance Diagram

These issues are also present for other models. The source list is huge, so we likely don't want to add every model/source. Do we have an expectation for what should be a part of the API and class inheritance documentation?
Maybe we need to write a tutorial on how to add a new source, containing a checklist for PR reviews?

Thanks. #312 fixed this issue.


[Doc Improvement][See also link fix]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/app-fundamentals-overview.md
90
17
link
:white_check_mark:

msteams-platform/concepts/design/plan-code-instrumentation.md
82
8
link
:white_check_mark:

msteams-platform/concepts/design/plan-responsive-tabs-for-teams-mobile.md
85
20
link
:white_check_mark:

msteams-platform/concepts/design/planning-checklist.md
88
19
link
:white_check_mark:

msteams-platform/concepts/design/understand-use-cases.md
90
7
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.