Added back to login page link on reset page

Hey @amanharitsh123, thanks for working on this!

Is there anything wrong with the changes i have made?

@amanharitsh123 There's nothing wrong with your changes.
A possible commit message may be portico: Add back to login page link.

Have a look now please

@amanharitsh123 can you squash your commits? Also, seems like you didn't amend your commit. You just changed zproject/settings.py and added that as the commit message (or something like that).


[Upcoming Holidays] ...UK holidays incorrect

Extension
https://www.raycast.com/rodrigouroz/upcoming-holidays
Description
Hi enjoying using this extension but not sure what is the source as it is missing summer bank holiday in the UK holidays list.
Who will benefit from this feature?
everyone using UK list
Anything else?
No response

Hey,
I'm not a contributor to this extension but I've been able to dig down what the issue is.
Having had a quick look around, I can see that the raw data is coming from Calendarific. The Raycast extension requests data from this AskHolidays API using country codes. With the United Kingdom being listed as a "country", there's only a couple of "national" holidays that should technically be shown, as not all holidays occur on the same day for every country within the nation. For example, Scotland's Summer Bank Holiday commences on a different date to the other countries...
A solution to this would be to split the UK up into it's 4 countries to the following:

Scotland = GB-SCT
England = GB-ENG
Northern Ireland = GB-NIR
Wales = GB-WLS

This solution would also require the API request to AskHolidays to use the holiday type of local instead of national.
I'd be hapy to do this work for the extension if it sounds like a good solution?

I'm sorry I couldn't get back to this before, I don't have time right now, but I'd be happy to review your PR and help you with this.


failed to create ipvlan: operation not supported

[ ] checked https://foundation-model-stack.github.io/multi-nic-cni/user_guide/troubleshooting/.
[ ] titled with the bug issue (if applicable).
[ ] provided corresponding information regarding the troubleshooting guidelines (CR list/detail, multi-nic cni controller and/or daemon status/log).

Describe the bug
A clear and concise description of what the bug is.
I follow the official docs to create a simple pod, but I got the error with:
Warning  FailedCreatePodSandBox  13s   kubelet            Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "aa5fe4b909afb597a0c010d352ffc05268aca1465600577fbffdd86132b358e0": plugin type="multus" name="multus-cni-network" failed (add): [default/macvlan-54d88bf5ff-278zp/fd12cad8-69a4-4248-b620-4440d6b584e7:multi-nic-sample]: error adding container to network "multi-nic-sample": failed to create ipvlan: operation not supported

To Reproduce
Steps to reproduce the behavior:

create a multi-nic-sample with https://github.com/foundation-model-stack/multi-nic-cni?tab=readme-ov-file#multinicnetwork
create a pod with the annotation

Expected behavior
A clear and concise description of what you expected to happen.
the pod should be running well.
Screenshots
If applicable, add screenshots to help explain your problem.

manager container of controller and multi-nicd DS status:
multinicnetwork CR:
hostinterface list/CR:
cidr CR (multiNICIPAM: true):
ippools CR (multiNICIPAM: true):
log of manager container:
log of failed multi-nicd pod:

Environment (please complete the following information):

platform: [e.g. self-managed k8s, self-managed OpenShift, EKS, IKS, AKS]
node profile:
operator version :
cluster scale (number of nodes, pods, interfaces):

Additional context
Add any other context about the problem here.

@cyclinder  Could you please share us which kernel version you are using?
According to the error, it seems that the CNI binary is correct since it can run multus CNI.
So, I expect that the issue comes from the kernel version which does not support ipvlan.
ipvlan CNI requires kernel version >= 4.2.
https://github.com/foundation-model-stack/multi-nic-cni?tab=readme-ov-file#requirements


Remove doubled content

Contained double "error codes" description

@facebamm : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Stream title

I would like to know the stream title before choosing which stream to watch. Usually the stream titles will be too long to present on one line, but the first x characters of what you can fit is helpful.
I fiddled with the layout and use it like this now:

Would love to see this as an improvement. Could make it as a config option if you think it breaks the layout with the titles cut off.

The ability to customize the displayed information has been something I've been meaning to look into for a bit now. In theory it shouldn't be too hard, but I'll need to look into how to best approach this and potentially rework how the write command(s) display the desired info vs the terminal size or something like that. I'll add it to the ToDos, but no promises on how soon that might be taken care of.
If you or anyone else has a notion of how to skin this particular cat by all means fork and get a PR going if I take too long.


libuv: update to v1.48.0 to fix CVE-2024-24806

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] If you are adding/removing a .spec file that has multiple-versions supported, please add @microsoft/cbl-mariner-multi-package-reviewers team as reviewer (Eg. golang has 2 versions 1.18, 1.21+)
[X] Ready to merge

Summary

libuv: update to v1.48.0 to fix CVE-2023-24806
Change Log

libuv: update to v1.48.0 to fix CVE-2024-24806

Does this affect the toolchain?

NO
Links to CVEs

https://nvd.nist.gov/vuln/detail/CVE-2024-24806

Test Methodology

Local build
Successful buddyBuild: https://dev.azure.com/mariner-org/mariner/_build/results?buildId=572838&view=results

If you can, please take a look to see why the tests are not passing (does not look like a regression, but they did not pass in the buddybuild)

Not sure why it failed in the pipeline, but test passed in local build


Add new game: Stratego/Yorktown

Dear OpenSpiel community,
I added a little game implementation for the board game called Stratego,  a large game with imperfect information and deterministic actions. The game implementation is called Yorktown and can play Stratego and Barrage Stratego and other game variations like Duell. In my opinion, this is a cool testbed for RL/DRL on imperfect games.
The game was implemented by following the documentation to add new games and succeeding in all tests on my local machine.
This commits 4 new files for the game (Yorktown.cc, yorktown.h, yorktown_board.cc, yorktown_board.h) and adds the game to the CMakeList and pySpiel_test file.
It is possible to use this implementation within RL. This was tested by myself as part of my master thesis.
I do not have checked if there are any legal or copyright problems with Stratego.
If you have any questions, feel free to ask,
Jannis

@googlebot I fixed it.

@googlebot I fixed it.

Thanks @BluemlJ. I agree Stratego is a great game for RL research. However, we cannot import  it into our repos because the game is protected under copyright.
For a previous case like this one, we were able to offer a mention on the game implementation on our games list page (but no link), if you were to host it in your own fork.
Would this interest you? If so, I will contact our legal team again to be sure.

Hello @lanctot,
If it is impossible to integrate Stratego into OpenSpiel legally, it would be really nice to get mentioned on the games list page.
I would host the fork.
However, I would first try to contact Jumbo (game publisher) and ask whether it would be okay from Jumbo's side to include my implementation here if there are no problems with this from your side.

Ok, great. Yes permissions have been obtained for hosting implementations of games before, e.g. for the Hanabi Learning Environment. It does take some time and the chance of getting them depend strongly on the companies and parties involved. Please let us know if you get any responses.

There is an active Stratego community with a 25 year history of live World Championships (Demis Hassabis even played in a few!), with close contacts with the copyright holding company Jumbo (who sponsor such tournaments). I can ask around in the Dutch Stratego Association on how to approach Jumbo to green light Stratego agents.
More generally, it would be good to have some legal precedent that makes it OK to write agents for arbitrary copyrighted games, as long as one does not markets this as a separate commercial product.

Hey @rhalbersma,
this would be great. I tried to contact Jumbo a few times in the last month, but did not get any response from them. I would be really helpful if someone knows how to get an OK from Jumbo or knows a person to contact to talk about this.
A general OK would be great especially in research, and as far as I know, in some countries there are such laws but unfortunately not in all countries (and in mine) but that's a completely different topic ^^


Dynamic Tagging of predicted results

Dynamic Tagging of predicted results:

Exam configuration should have a provision to tag each question with learning objectives.
"tags": { "General Knowledge", "Numeracy"}
These Tags should be shown on the predicted results screen and also should be sent to saveMarks API.
These tags can be updated or modified by user on scan results screen.

feature dynamic tagging is done for marks .  @arman-tdev


StorageClient shouldn't log request\response by default

Which service(blob, file, queue) does this issue concern?
Common code
Which version of the SDK was used? Please provide the output of pip freeze.
Latest
What problem was encountered?
storageclient logs request\response data, including secrets, with INFO logger setting.
There are 2 problems with this:

Possible secrets leak
Unnecessary items in the logs, distracts users from the important part of the logs.

This information is not logged with INFO level with other Azure Python SDKs
Have you found a mitigation/solution?
Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.

Hi @logachev, thanks for reaching out! We definitely appreciate feedbacks about logging since we are actively working on improving it.
Yes, we do log the requests and responses when the log level is INFO; this is a consistent behavior across the Storage SDKs. If you think INFO is too noisy, please consider setting the log level to ERROR for the Storage SDK.
As for the secret leaks, are you talking about SAS signatures?

Hi @zezha-msft.
Yes, I see this is a consistent behavior for the Storage SDK, but this is not a consistent for Azure Python SDK (including Storage Management SDK).
I agree, that as a user I can reduce noise, it just don't feel like a right developer experience when the default is noisy (and these messages don't have any required information when everything works as expected. It totally makes sense to keep them because they can be helpful for debugging.
With Azure Python SDKs, you need to turn DEBUG log level in order to see raw REST API calls, so I think it makes sense to adopt similar approach with Storage Python SDK.
Secrets - no, it logs Shared Key, here's an example:
2018-10-20 02:35:41,216: azure.storage.common.storageclient:INFO Client-Request-ID=d625acb0-d410-11e8-951a-0242ac110002 Outgoing request: Method=PUT, Path=/chain-f4, Query={'timeout': None}, Headers={'x-ms-version': '2018-03-28', 'User-Agent': 'Azure-Storage/1.3.0-1.3.0 (Python CPython 3.6.3; Linux 4.9.93-linuxkit-aufs)', 'x-ms-client-request-id': 'd625acb0-d410-11e8-951a-0242ac110002', 'x-ms-date': 'Sat, 20 Oct 2018 02:35:41 GMT', 'Authorization': 'SharedKey '}.

Hi @logachev, thanks for the explanation!
I'm a bit confused by what you mean with "default". The SDK's logging is not enabled by default; also there is no default logging level; the user needs to configure the logger azure.storage to see the logs. Perhaps you configured the root logger or the azure logger, which is higher up in the logging hierarchy, and that also enabled the Storage SDK's logger at INFO level(which you chose)?
I can certainly discuss with the Team on moving the REST API calls to DEBUG. But before I do that, I wanted to make sure I understand your feedback:

If the REST calls are not at level INFO, then what do you expect to see at that level?

The logging levels for the Storage SDK is documented here:

DEBUG: log strings to sign
INFO: log outgoing requests and responses, as well as retry attempts
WARNING: not used
ERROR: log calls that still failed after all the retries

"Strings to sign" is at DEBUG level because that is truly noisy, and only needs to be seen for debugging purposes when there's an authentication problem. That's why I'm hesitant to push REST calls also down to DEBUG, because then the users either get a lot of noises, or nothing at all(except the errors).
@lmazuel what do you think? 😃
To clarify on the secret leak, the Authorization header that you see in the logs is actually not your Shared Key. It would be extremely unsafe to send secrets over the wire like that, especially when HTTPS is not used. Instead, that Authorization header is a hash computed from the request info(query parameters, headers, including the Date header), with the help of your Shared Key. So it becomes expired after a short period of time(in terms of minutes), since the Date header will become too old and the service won't accept it anymore. This is why we have to resign the request every time for retries.
Perhaps we should scrub off the Authorization header, to avoid the potential risk(even just for a few minutes). Thanks for this feedback!

Hi @zezha-msft,
I think by "default" I meant configure the root logger at INFO.. Sorry for weird phrasing from my side.
I would follow Python recommendations.

Level
When it’s used

DEBUG
Detailed information, typically of interest only when diagnosing problems.

INFO
Confirmation that things are working as expected.

To me, REST call data is definitely detailed information.. INFO is suitable for long-running calls, just to confirm that it's expected for this call to take a long time to avoid user impression that script is hanged.
Second reason is it would be great to follow the same approach for all Azure Pythin SDKs and it looks like https://github.com/azure/azure-sdk-for-python/ don't use INFO log information at all (except some packaging scripts).
To your point with REST logs and "Strings to sign".. One option is to use separate loggers (like azure.storage.restapi) for these events, that way if user needs just REST calls, he can enable it explicitly.
I really appreciate detailed explanation from your side!
Thank you for the clarification with Authorization! I didn't dig into the code to figure out where it comes from, but seeing Shared key next to base64 string definitely looks suspicious :)

@zezha-msft Two things here:
When we (i.e. Autorest) log HTTP requests/response, we do in it DEBUG.
I insist on the when, because by default even with DEBUG level on, we don't log HTTP requests/response, which is compliant with what stdlib and requests are doing:
https://stackoverflow.com/a/16630836/4074838
# Enabling debugging at http.client level (requests->urllib3->http.client)
# you will see the REQUEST, including HEADERS and DATA, and RESPONSE with HEADERS but without DATA.
# the only thing missing will be the response.body which is not logged.
try: # for Python 3
    from http.client import HTTPConnection
except ImportError:
    from httplib import HTTPConnection
HTTPConnection.debuglevel = 1

Then, we log HTTP only if your logger is in DEBUG, and you also asked explicitly yo do it:
client.config.enable_http_logger = True # Will log HTTP contents if Debug level on

We indeed got security issues with KeyVault, logging HTTP should be a explicit configuration setting and not default, whatever the log level.

The log scrubbing was added in 1.4.0.
What to log at which level is still being discussed among our teams. Unfortunately we are receiving conflicting feedbacks; there are customers (and MS support team) that want more logging to be on by default, since it makes debugging much easier when something goes wrong in production.

This is CLEARLY the wrong behavior.   Nothing else from azure spams my logs like this.   No one cares if this is consistent "storage api" behavior, it's not consistent azure client behavior.   No one outside microsoft cares about your internal organizations.
Turn off all logging by default, just like all the other azure APIs do.   Then let people enable it if they want to see it.

Hi @xaxxon, thanks for your feedbacks.
We are already in the process of adopting Autorest and the logging policy of the other Azure packages.
To clarify, there was never any logging by default, the user always had to enable logging at INFO level in order to receive the request/response logs. In addition, the intention was to better help customers figure out problems when they encounter them in production.

I am running an app wich uses the Azure CosmosClient for db and the Azure Storage BlobClient in order to read a file... and I agree that the logging info is not consistent.
While I have no verbose about the CosmosClient when doing operations, using the BlobClient is really annoying cause is displaying a lot of spam every time a read a file. Exampe:
myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:Request URL: 'https://.../.../...' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:Request method: 'GET' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:Request headers: myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Accept': 'application/xml' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-range': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-version': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-date': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-client-request-id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'User-Agent': 'azsdk-python-storage-blob/12.2.0 Python/3.8.1 (Linux-5.3.0-40-generic-x86_64-with-glibc2.2.5)' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Authorization': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:Response status: 206 myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:Response headers: myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Content-Length': '293' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Content-Type': 'text/plain' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Content-Range': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Last-Modified': 'Mon, 02 Mar 2020 15:47:58 GMT' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Accept-Ranges': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'ETag': '"0xXXXXXXXXXXXXXXX"' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Server': 'Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-request-id': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-client-request-id': 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-version': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-creation-time': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-blob-content-md5': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-lease-status': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-lease-state': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-blob-type': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'x-ms-server-encrypted': 'REDACTED' myApp    | INFO:azure.core.pipeline.policies.http_logging_policy:    'Date': 'Fri, 06 Mar 2020 13:20:03 GMT'
Almost 30 lines. This should not be really neccesary. I mean, it should be DEBUG level instead of  INFO. CosmosClient does not log anything at INFO level.
@zezha-msft

... since it makes debugging much easier when something goes wrong in production

That IS debul level, not info.

So is there an option to turn http_logging_policy  off or just disable it ?? Or may be trigger it just in case of errors and/or warnings ?

There is this guidance for configuring logging, but I have not been able to get it work.  https://github.com/Azure/azure-storage-python#logging

@mschray This works for me:
# Reduce logs of azure.storage, by default this module print too much INFO logs
logging.getLogger("azure.storage").setLevel(logging.WARNING)


let kafka support "commit offset after consuming"

Kafka Of Original Version do not support "commit offset after consuming",when kafka.consumer.ConsumerIterator[K, V].next() return a MessageAndMetadata,which consumed offset is already being set,and commit thread maybe commit this offset before "consuming process finished",when jvm restart or being down，this msg will not be consumed next time

Can we just close this, since we are not planning a new release of 0.8.2?
This triggers failed PR builds every time we commit to trunk.


Tracking grad norm without clutter

❓ Questions and Help
What is your question?
I am tracking my model's gradient norms by setting the flag track_grad_norm=2. However, this logs the individual norms of all the gradients. So my tensorboard is just filled with grad_norms before I can get to my training metrics. Mostly, I am interested only in the total gradient norm. Is it possible to log just that? Logging all the gradients is fine if they can neatly be rolled into one directory in tensorboard.

Did you find a solution to your problem?

I have the same question

If pytorch-lightning is imported like this the function creating the norm dictionary that is logged can be decorated to create some structure. For that, I prepared two functions that decorate the function to adapt the dictionary.
In this first version every norm is removed from the dictionary except the total norm.
import pytorch_lightning as pl

def tracked_gradient_global_only():
    def remove_per_weight_norms(func):
        def f(*args):
            norms = func(*args)

            norms= dict(filter(lambda elem: '_total' in elem[0], norms.items()))

            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = remove_per_weight_norms(pl.core.grads.GradInformation.grad_norm)

This second version adds the Tensorboard  subcategory 'gradients/'  to the dictionary key. Hence, all gradients can now be collapsed if not needed.
import pytorch_lightning as pl

def tracked_gradient_subcategory():
    def add_category(func):
        def f(*args):
            norms = func(*args)

            norms = {'gradients/' + k : v for k,v in norms.items()}
            print(norms)
            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = add_category(pl.core.grads.GradInformation.grad_norm)

To use these snippets just copy the imports and the wanted adaption and call the function.
tracked_gradient_global_only()
#tracked_gradient_subcategory()

Just as a warning, I do not know if there are any side effects with any other functionalities, but for just training a simple model it works fine.

If pytorch-lightning is imported like this the function creating the norm dictionary that is logged can be decorated to create some structure. For that, I prepared two functions that decorate the function to adapt the dictionary.
In this first version every norm is removed from the dictionary except the total norm.
import pytorch_lightning as pl

def tracked_gradient_global_only():
    def remove_per_weight_norms(func):
        def f(*args):
            norms = func(*args)

            norms= dict(filter(lambda elem: '_total' in elem[0], norms.items()))

            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = remove_per_weight_norms(pl.core.grads.GradInformation.grad_norm)

This second version adds the Tensorboard  subcategory 'gradients/'  to the dictionary key. Hence, all gradients can now be collapsed if not needed.
import pytorch_lightning as pl

def tracked_gradient_subcategory():
    def add_category(func):
        def f(*args):
            norms = func(*args)

            norms = {'gradients/' + k : v for k,v in norms.items()}
            print(norms)
            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = add_category(pl.core.grads.GradInformation.grad_norm)

To use these snippets just copy the imports and the wanted adaption and call the function.
tracked_gradient_global_only()
#tracked_gradient_subcategory()

Just as a warning, I do not know if there are any side effects with any other functionalities, but for just training a simple model it works fine.

Has anyone found a solution to this?
As a workaround I have been using the regex ^(?!grad_2.0) to filter out the scalars I log with self.log( ) .

If pytorch-lightning is imported like this the function creating the norm dictionary that is logged can be decorated to create some structure. For that, I prepared two functions that decorate the function to adapt the dictionary.
In this first version every norm is removed from the dictionary except the total norm.
import pytorch_lightning as pl

def tracked_gradient_global_only():
    def remove_per_weight_norms(func):
        def f(*args):
            norms = func(*args)

            norms= dict(filter(lambda elem: '_total' in elem[0], norms.items()))

            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = remove_per_weight_norms(pl.core.grads.GradInformation.grad_norm)

This second version adds the Tensorboard subcategory 'gradients/' to the dictionary key. Hence, all gradients can now be collapsed if not needed.
import pytorch_lightning as pl

def tracked_gradient_subcategory():
    def add_category(func):
        def f(*args):
            norms = func(*args)

            norms = {'gradients/' + k : v for k,v in norms.items()}
            print(norms)
            return norms
        return f

    pl.core.grads.GradInformation.grad_norm = add_category(pl.core.grads.GradInformation.grad_norm)

To use these snippets just copy the imports and the wanted adaption and call the function.
tracked_gradient_global_only()
#tracked_gradient_subcategory()

Just as a warning, I do not know if there are any side effects with any other functionalities, but for just training a simple model it works fine.

Something like this would be great to have in lightning properly

Putting it all together for version 2.4:
class LogGradientNorm(Callback):
    """
    Logs the gradient norm.
    This should log the gradient norm unscaled and before clipping.
    """

    def on_before_optimizer_step(self, trainer: Trainer, *args, **kwargs) -> None:
        total_norm = 0.0
        for param in trainer.lightning_module.parameters():
            if param.grad is not None:
                param_norm = param.grad.detach().data.norm(2)
                total_norm += param_norm.item() ** 2
            total_norm = total_norm ** (1.0 / 2)
        trainer.lightning_module.log_dict({"train/grad_norm": total_norm})


can't exucute a file in /tmp directory

Some users got issues when executing a file in the temporary directory.
https://github.com/GEOS-ESM/GEOSgcm_App/blob/4ceccc3294ed2fa6915f51c3635d7ed718cefa05/gcm_setup#L2606-L2610
I suggest to execute the command directly without writing to a file

@sshakoor1 @mathomp4
echo cat   $LOCDIR/$FILE.tmp | awk '{if ( $1 ~ "${string}" )  {sub ( /${string}/ ,"#${string}"  );print} else print}' > $LOCDIR/$FILE

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

@weiyuan-jiang There might be a simple "fix" for discover (e.g., not NAS or local machines).
It turns out both LOCAL_TMPDIR and TSE_TMPDIR exist on login nodes! So, what we might just do is near the top of gcm_setup say "If discover, setenv TMPDIR=$LOCAL_TMPDIR".
Then, mktemp will use that and that does not have the noexec bit that /tmp has set.

For NAS, we'd need to think but then again, we've never really had this issues at NAS. But if we did, I can sort of think of ways to work around that even there.


Questions about model input size and output size

Dear ncarraz
I'm currently learning about Audio Super Resolution.
I want to ask you a question.
Why does the output of the model have a length of 8192 instead of double, four or eight times the length of the input ?
According to my understanding, to increase the resolution, the length of the output should be longer.
If you can answer me I will thank you very much.
thanks.

Got it, thanks for your quick reply.


<EMAIL_ADDRESS>always returns 400 error when trying to fetch data from the server

I am encountering an issue when using the<EMAIL_ADDRESS>library.
It always returns a 400 Bad Request error when I try to execute a query.
The result is okay and I can see the data, but the 400 error is always there.
my code
import { config } from 'dotenv';
config();

import { createClient } from '@libsql/client';

async function example() {
  const client = createClient({
    url: process.env.TURSO_CONNECTION_URL,
    authToken: process.env.TURSO_AUTH_TOKEN
  });

  const result = await client.execute("SELECT * FROM users");
  for (const row of result.rows) {
    console.log(" - " + row.email);
  }
}

example();

result
url:  https://MY_PERSONAL_ACCOUNT.turso.io/v1/jobs
result:  Response {
  status: 400,
  statusText: 'Bad Request',
  headers: Headers {
    'access-control-allow-origin': '*',
    'content-type': 'application/json',
    date: 'Sat, 01 Jun 2024 00:53:48 GMT',
    'fly-request-id': '01HZ8MKNS0ZQESBHQ384DKVS65-nrt',
    server: 'Fly/63a16321 (2024-05-30)',
    vary: 'origin, access-control-request-method, access-control-request-headers',
    via: '2 fly.io, 1.1 fly.io',
    'transfer-encoding': 'chunked',
    'content-encoding': 'br'
  },
  body: ReadableStream { locked: false, state: 'readable', supportsBYOB: true },
  bodyUsed: false,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://MY_PERSONAL_ACCOUNT.turso.io/v1/jobs'
}
 -<EMAIL_ADDRESS>
When I run a similar query using an HTTP request based on Turso's HTTP quickstart guide, it works fine. This suggests the issue might be related to the<EMAIL_ADDRESS>library or the v1 API?

Hey @sunsetplaty, thanks for report this. Effectively this was an issue happening on 0.6.1. We release a fix for it on 0.6.2 so feel free to upgrade when you can 🙂
Let me know if you have any other issues and I'll help you as soon as possible!

@giovannibenussi Thanks for the quick fix! I updated to 0.6.2 and the issue is resolved.


Stateless not working

I am using stateless for entity (see previous issue #274) but it doesn't appear to be working. The booleans aren't getting updated when I call update. Any ideas?
@Entity(stateless = true)
abstract class AbstractFriendship {

    @Key
    String mParseId;

    @Convert(ConverterUser.class)
    User mPerson1;
    Boolean mConfirm1;
    @Convert(ConverterUser.class)
    User mPerson2;
    Boolean mConfirm2;
    Date mFriendsSince;

}

Which update API are you calling? if it's a non-blocking API you may need to evaluate the call further (eg subscribe if its RxJava).

The update call
Application.getData().update(friendship);
Code from Application.class
public static EntityDataStore<Persistable> getData() {
        if (sDataStore == null) {
            final EntityModel model = Models.DEFAULT;
            DatabaseSource source = new DatabaseSource(instance, model, 1);
            if (BuildConfig.DEBUG) {
                // use this in development mode to drop and recreate the tables on every upgrade
                source.setTableCreationMode(TableCreationMode.DROP_CREATE);
            }
            Configuration configuration = source.getConfiguration();
            sDataStore = new EntityDataStore<>(configuration);
        }
        return sDataStore;
    }

I am using rc4.

Added a specific test case for this in this commit and it works fine, the update statement is correct.
INFO: beforeExecuteUpdate org.sqlite.jdbc4.JDBC4PreparedStatement@3bd40a57 sql: update Entry set id = ? ,created = ? ,flag1 = ? ,flag2 = ? where id = ?

Yep I am seeing a similar statement
09-21 09:34:29.390 30333-30431/com.example.dev I/requery: beforeExecuteUpdate sql: update Friendship set mParseId = ? ,mConfirm1 = ? ,mConfirm2 = ? ,mFriendsSince = ? ,mPerson1 = ? ,mPerson2 = ? where mParseId = ?
09-21 09:34:29.392 30333-30431/com.example.dev I/requery: afterExecuteUpdate

However it is still not getting set. I am watching it in debug and I am changing the value from true to false but the database entry is not getting updated. Could it be anything to do with the fact that I have Converters in the friendship object maybe?

I would check you are updating the right row with the key you are expecting (mParseId) and also that something else isn't overwriting or changing the values in your object.

As far as I can tell, I am not overwriting my change. I am running through in debug and checking nothing is overriding. I am creating the friendship object with a constructor I have written in the abstract entity class. Could that be having any affect?

No the other objects shouldn't affect those fields

Sorry I imagine you're very busy but have you got any other ideas for me. I'm struggling to find the problem.

So I have found a work around. If I disable the cache on the object everything works as expected. Does that give you any hint as to what the problem might be?

Disabling the cache mean's objects don't get reused, possibly the original cached object was modified by code elsewhere in your app?

Closing for now, please post back if you get more info thanks


Minor changes to the abstract, filled in BD affiliation

Some thoughts:

Would breaking up the paragraphs according to line-wrap hurt the conversion to PDF and .docx? It would commit changes easier to spot, since they are by line.  Also, I didn't edit either of those because I am not sure exactly what you used to generate them from the markdown.

RE: the title, is Screw introducing new hardware? Does a Docker image count as hardware??

It's an abstract, so the low number of references is fine.  When we expand it, we will need to focus on citing primary literature over reviews and throw in the reference for WGBS (Ryan Lister deserves 50k citations by age 50 🥇)

Sorry for the relative inactivity on this project: I am working hard on a project more important to my thesis. I am still planning on implementing a wrapper for DeepCpG, hopefully before the results of the abstract submission come back.

Overall it looks great!! Fingers crossed!!!

I used Pandoc -- there's a Makefile, and all supplementary files (the template, CSL style and bib file) present so that if you have Pandoc installed, running make should just do it. And that's a very good point re line breaks -- I believe Pandoc will treat them like LaTeX does (ie we can put each sentence on a new line).

A screw is hardware (in the sense of carpentry or construction). That said, thinking this through I had a lightbulb moment that a reference to software carpentry might be better.

For sure!

I hear you on that! My understanding of the review process for BOSC is that many reviewers are pretty engaged, and expect that there'll be incremental changes to the software between submission and the conference.

Thanks! Me too!


ResizeHandle props

The ResizeHandle props is not working properly.
The west and the north handle are doing the opposite of whats it is suppose to do.
Thank you

Having the same issue.

Odd, same issue now.

double-check if you don't import "../../node_modules/react-resizable/css/styles.css";

I have it imported, the east and south handler are working its just the west and north that isn't working.

getting the same issue

@STRML Help please

I'm getting the same issue.

I'm getting the same issue.

Same issue here.

Same issue here.

friendly bump


disable verification of the proxied HTTPS server certificate in caddy ？

nginx config：
Specifies a file with trusted CA certificates in the PEM format used to verify the certificate of the proxied HTTPS server.
Syntax: | proxy_ssl_verify on \| off;
-- | --
proxy_ssl_verify off;
http, server, location

Enables or disables verification of the proxied HTTPS server certificate.
Syntax: | proxy_ssl_verify on \| off;
-- | --
proxy_ssl_verify off;
http, server, location

I want to know how to disable verification of the proxied HTTPS server certificate in caddy？

我还想知道，如何 设置 proxy_ssl_name ？
nginx config：
upstream serlist {
server <IP_ADDRESS>:443;
server <IP_ADDRESS>:443;
server <IP_ADDRESS>:443;
server <IP_ADDRESS>:443;
server <IP_ADDRESS>:443;
}

server {
listen 80;

location /{
proxy_pass	https://serlist;
proxy_set_header	Host “www.cloudflare.com”;
proxy_ssl_session_reuse on;
proxy_ssl_protocols	TLSv1.2;
proxy_ssl_verify	off;
proxy_send_timeout	60s;
proxy_ssl_server_name	on;
proxy_ssl_name	“www.cloudflare.com”;
proxy_redirect	off;
proxy_set_header	X-Real-IP $remote_addr;
proxy_set_header	X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_http_version	1.1;
proxy_set_header	Upgrade $http_upgrade;
proxy_set_header	Connection “upgrade”;
}
}

As mentioned on the previous issue, please ask your questions on https://caddy.community. This is the issues/bugs board. What you're asking isn't a feature request. You're just asking a question about how to use the webserver.
To turn off verification, you need to use insecure_skip_verify. See here: https://caddyserver.com/docs/proxy
There's no direct equivalent to proxy_ssl_name, but I think in this case you'll probably want to use the ca_certificates option on proxy to verify cloudflare's CA certificates. You can probably get more help on this topic in the forums.


tweak: tweak live example layout style.

Currently, when the layout of live example panel is top or bottom, using the margin with a percent value for doc content dom is not a bit suitable, since it's based on the width of parent element.
Here I'm trying to set manually the margin value of the doc content according to its real width or height when the path or window's size changed.
Before

After

Looks good!


Switch context: Notify user when going into new context with different tools

Is your feature request related to a problem? Please describe.
OpenPype allows custom tools to be set per asset, e.g. sh010 could be set to use mtoa 5.1 but sh050 could use mtoa 5.2. When launching into sh010 and then using work files opening a work file in sh050 the user would still be loading the asset with mtoa 5.1 incorrectly.
When doing so - there is no warning whatsoever and the user might be totally unaware of the tools mismatch.
Describe the solution you'd like
I'd like to show a warning/pop-up or notify the user in any other way that they are now incorrectly going into a context which should actually be using a different set of tools than currently is used in your session - and that e.g. a "restart" is recommended. Even better if the pop-up could then have a button like "Restart in context" which would re-open the current application with the correct environment instead.
Describe alternatives you've considered
I've also considered disallowing browsing into the context whatsoever but I do think it's very likely it will leave the user why they aren't able to launch into a specific context. As such, in all cases the user should be made aware of what's going on.
[cuID:OP-3421]

Still relevant to AYON core.


Added E2E Cypress test to verify Accessibility Support in different Buttons

Summary
Added E2E Cypress test to verify Accessibility Support in different Buttons
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-22624
Screenshots

/update-branch


Typo of AD FS Requirement

Title of AD FS is incorrectly written as AD DS
(https://learn.microsoft.com/en-us/windows-server/identity/ad-fs/overview/ad-fs-requirements#BKMK_4)

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

ID: 81fc58b9-7063-5107-5f65-c77694b33c7e
Version Independent ID: a541e745-1505-696d-2adf-c578e1f54b4c
Content: AD FS 2016 Requirements
Content Source: WindowsServerDocs/identity/ad-fs/overview/ad-fs-requirements.md
Product: windows-server
Technology: ad-fs
GitHub Login: @billmath
Microsoft Alias: billmath

#assign:xelu86

Hey @whlearn00,
Thanks again for contacting Microsoft. We value your feedback.
This is not a typo as a necessary component for AD FS is AD DS that has its own requirements. We have another article that discusses this, also titled "AD FS Requirements", which includes a bit more information surrounding this topic when planning your deployment topology.
We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


"Filtering is not allowed." - Support templates that render child actions.

Trying to use usplit with Umbraco Contour 3.0.28
When load original page it show empty form container
error log:
2016-08-23 14:19:46,057 [P17620/D2/T43] ERROR ASP._Page_macroScripts_MvcRenderContourForm_cshtml - MvcRenderContourForm
System.Web.HttpException (0x80004005): Filtering is not allowed.
at System.Web.HttpResponse.set_Filter(Stream value)
at Endzone.uSplit.Pipeline.VariationReportingFilterAttribute.OnActionExecuted(ActionExecutedContext filterContext)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.ExecuteCore()
at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
at Umbraco.Forms.Mvc.Bridge.Html.MvcBridgeExtensions.RenderMvcAction(HtmlHelper helper, String action, String controller, String formId, String antiForgeryToken, Object node, Object parameter)
at ASP._Page_macroScripts_MvcRenderContourForm_cshtml.Execute() in d:\home\site\wwwroot\macroScripts\MvcRenderContourForm.cshtml:line 15

Hi @t1er,
thanks a lot for reporting this issue. The error you are seeing is coming from a limitation of uSplit - it does not work on pages that render child actions. In your particular case it is the call to RenderMvcAction.
The reason it fails is because uSplit (the VariationReportingFilterAttribute filter) injects a piece of JavaScript to your page if it is needed (when you have an experiment running for that page). This does not work when a child action is involved unfortunately.
To support this scenario we will have to add a new helper method for you to add to your master template. This helper will render the JS fragment if necessary, and suppress the global filter.
Thanks,
Ondrej.

Hi @t1er,
Latest version of uSplit allows you to call @Html.RenderAbTestingScriptTags() in your master layout (should go just after the opening <head>). If this method gets called, no filtering will get used and no exception will be thrown. Theoretically anyway... let me know if that worked for you or not ;)
Thanks,
Ondrej.

@ondrejpialek I've updated usplit to latest, but I receive new error.
My flow is:
Page1 with form. When fill form and click submit form redirect to step 2 page which i'd like to a/b test.
but after inserting @Html.RenderAbTestingScriptTags() on step2 I have:
Cannot perform runtime binding on a null reference
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[RuntimeBinderException: Cannot perform runtime binding on a null reference]
CallSite.Target(Closure , CallSite , Object ) +153
Umbraco.Forms.Mvc.Controllers.FormRenderController.ContourForm(FormViewModel model, Boolean captchaIsValid) +6057
lambda_method(Closure , ControllerBase , Object[] ) +195
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) +229    System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) +35
System.Web.Mvc.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +39
System.Web.Mvc.Async.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) +71    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +42    System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72    System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +386    System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +386    System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +386    System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +386    System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +386    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +42    System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +38    System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +186    System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38    System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29    System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +67
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +53
System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +36    System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38    System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +44    System.Web.Mvc.Async.WrappedAsyncVoid1.CallEndDelegate(IAsyncResult asyncResult) +67
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +399
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137
and broser url is  /umbraco/backoffice/usplit/FormRender/ContourForm

Hi @t1er,
thanks a lot for taking time to test the new version. I reproduced the same error with some fake context mockery, but seems like fixing that scenario did not help in your case. I will have to install Contour on a test site and reproduce it properly that way.
I have a few questions:

Could you please let me know what Umbraco version you are using, and what version of Contour you are using?
Then I am assuming you are just rendering a form from a RTE using a macro, am I right?
How exactly do you do (or set up) the redirect?
What is on the second page? Another form or is it just a thank you page with some text?
If you are testing just the Thank you page, do you only have an experiment set up for that page - page 2, or do you have an experiment set up for page 1 - the page with the form?

Thanks,
Ondrej!

Hi,

Umbraco latest 7.5.2 and Contour 3.0.28
Correct. Rendering via RTE.
I have the first page with Contour form which redirects to (Send to page (Contour content picker)) second step. The second step is a page with another contour form (not step 2). The second page is under test with uSplit. Variation for this page (step 2b) exists in the same place as step 2. Variation page contains third Contour form. So I'd like to show the second step with different page content (different forms).

Thanks,
Mike

@ondrejpialek any news?

Hi @t1er, I am definitely planning to fix this issue, as we want uSplit to support as many scenarios as possible.
This issue is somewhat peculiar in that in involves 3rd party plugins, and reproducing the problem will take a non-trivial amount of time. We are unfortunately in the middle of an important project right now and cannot spend time on this. I expecting to give this a go early October after we go live.
Feel free to investigate the problem yourself if you want, we encourage people to submit pull request. If this is a critical issue we also provide commercial support for uSplit (I am planning to fix this one for free though if you wait enough, just saying) ;)


Fix device path and replace keyserver

First, thank you for this repo, it was exactly what I needed. I was able to get the entire stack up and running with only two minor tweaks that I though should be pushed up stream.
First, you have what appears to be a hardcoded device in the cloudwatch alarms. I replaced it with the generic device path /dev/xvda1. Note that because this is a cloud based ubuntu image, it automatically switches from /dev/sda1 to /dev/xvda1 to use the Xen storage devices.
Second, the keyserver you use to retrieve the docker GPG key appears to have problems serving keys (see this issue for more info). I replaced it with the Ubuntu keyserver that seems much more reliable.
I also upgraded my fork from 14.04 to 16.04 with zero complications, but wasn't sure if you wanted that pushed up stream as well.

Thanks for this @levi-rs.


Google Lighthouse - SEO improvement

why not to improve performance issue evaluation to gain SEO?

Are you working on this?

yeah, I will to PR that soon.

Okay, cool
And can you please look into https://github.com/aditya-singh9/kekfinder/issues/41

Hey @Nogueira-lucas is this a critical work, and if I proceed with https://github.com/aditya-singh9/kekfinder/issues/41, will it be breaking changes to your work?

No problem if you work on it mate. You can attent #41


I set currentState by db, then how should I use for transition?

FiniteStateMachineImpl.currentState is set by constructor, and do not have a currentState set method. Then I set currentState by db, then how should I use for transition? Thanks

create many FiniteStateMachine? the initialState is not the full FSM initialState?

If you decide to use a finite state machine, you should not set its state manually (otherwise I don't see the added value of using a FSM over a simple variable that could be set manually).
With a FSM, you define the start/end state(s) and the transitions between them and let the FSM decide to which state it should move next based on the event that occurred. You should not be setting the current FSM state manually.


Improved Build Task CKANInstall to only execute CKAN if change was detected, allow helper mods with no reference to be auto installed.

To make a testing environment easily reproduceable, I improved the CKANInstall target to the point where I believe it can be added as a BeforeBuildScript to be run. It can auto-install and remove mods from a game install depending on how the csproj is configured, allowing for helper mods and referenced mods. When nothing needs to be done, it only takes 19 ms to run, which I feel is acceptable.
This isn't totally fleshed out yet, but as I was told @drewcassidy was working on this too, I figured I'd rather open my PR sooner than later. I hope it helps, even if this was my first time writing msbuild.
Edits and improvements are more than welcome!
Example Usage
ModName.csproj:
[...]
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  <Import Project="$(SolutionDir)KSPBuildTools\KSPCommon.targets" />
	<!-- References to be included in the build -->
	<ItemGroup>
		<Reference Include="0Harmony">
			<HintPath>$(KSPRoot)/GameData/000_Harmony/0Harmony.dll</HintPath>
			<CKANIdentifier>Harmony2</CKANIdentifier>
		</Reference>
	</ItemGroup>

	<!-- Separate group for CKAN mods to install but not reference -->
	<ItemGroup>
		<CKANMod Include="KerbalEngineerRedux" />
		<CKANMod Include="KSPCommunityFixes" />
		<CKANMod Include="QuickStart" />
		<CKANMod Include="ModuleManager" />
	</ItemGroup>
[...]

Known Issues

The Version Compat is for the moment just kinda slapped on top. It runs every time CKAN runs, whether needed or not. It is also not capable of removing compats that are no longer specified in the csproj. As its execution uses batching, the logging likely has flaws too.
The CKAN Repositories may not be updated, or be updated every time depending on user config, not set explicitly
CKAN is not downloaded automatically, consider implementing that like in https://github.com/KSPModdingLibs/KSPBuildTools/pull/20

Ah, I was actually going to make it run after the Restore target. I don't think running ckan in the build script is a good idea

I would argue it is a good idea to have this in general. The restore target may be an idea, I am not entirely sure when that runs. But if it does run whenever the csproj is reloaded, that would be the perfect spot for it. Like that it would perfectly fulfill the goal I had of a fully parametric and reproducible dev environment, so anyone who clones a mod immediately gets the entire required toolset to work on it. No matter when the script is run though, I'd argue it's a good idea to speed the process up by only running ckan if necessary.

Restore is run when dotnet restore is run. This is also where Nuget packages get installed so I'd say it's the canonical place to install dependencies in msbuild projects. It's still reproducible it just requires one extra step. It might get run in rebuild, I'll have to look that up but msbuild documentation is hot garbage
The mod developer can always add the ckan step to run on prebuild too. I'm wary of the additional moving parts the cache file you've added introduce though. I'll look into it more later.

Yeah restore seems like the right place, you don’t want to incur this overhead on every build.

Definitely some good ideas here I'll incorporate, thanks for the suggestions!

Does the new implementation maintain my added feature of being able to specify helper mods that do not get added as references, only to make a reproduceable dev env?

Yes


Option to back up only changed notebooks?

Please forgive me if the question has been asked before, but would it be difficult to implement an option to back up only changed notebooks? Currently, when using the "only on change" backup type, the plugin still exports all notebooks to JEX even if only some of them have actually changed since the last backup.
The reason for this is to reduce the backup size.

Yes, this is the desired behavior from only on change, a backup is not always created at the specified time interval, but only if there has been a change.
This would only be possible if each note is exported individually, but then a complete import would no longer be possible and you have to import every note for its self, and all internal links would be lost and the folder structures.

What I mean is that let's say I've got 20 notebooks and I make a backup. The initial backup contains all of those 20 notebooks. Then I edit just a single note in one of the notebooks. Then I do yet another backup. The new backup still contains all 20 notebooks, even though in reality the "change" was in a single note in only one of those notebooks.
Is it still required to always back up all notebooks in such a situation?

Yes it`s required to always back up all notebooks.
Each note gets a new ID during the import and therefore duplicates are created and the links between the notes are lost
The following will happen when not:
You have the following:

Note A in Notebook A
Note B in Notebook B
Create First Backup (Contains all infos) Backup A
Edit Note A
Create Backup (Contains only Note A) Backup B
Start a new Joplin
Import Backup A and Backup B
You have now the following:
Note A in Notebook A from Backup A
Note B in Notebook B from Backup A
Note B in Notebook X from Backup B

The Note B was is now available twice with different contents.

I see… Thank you for the explanation!
I originally enabled the per-notebook backup to save space, but this means that there is basically no difference in size when compared to a single JEX backup, right?

Correct, the option is only that a full export is created when some note, notebook, tag or resource has changed.


doc

@LinxuanHu There is nothing on the file.

can you check the latest commit

@LinxuanHu You mean this?

Is this the final or what?

i'm still improving it, you can merge it first


Orphaned file check results incorrect for one file

Bug Report
General Troubleshooting steps

[X ] Verified running the latest release of dbachecks?

[ X] Verified errors are not related to permissions?

[X ] Can duplicate in new/clean PowerShell session (clean = powershell -NoProfile)?

Steps to Reproduce
Orphaned file check with one orphaned file returns $null instead of one in the results

@(Find-DbaOrphanedFile -SqlInstance $psitem).Count | Should -Be 0 -Because 'You dont want any orphaned files - Use Find-DbaOrphanedFile to locate them'
for line
https://github.com/sqlcollaborative/dbachecks/blob/development/checks/Instance.Tests.ps1#L245


SW-6138 Added fetch variable workflow history API

Added fetch variable workflow history method
Added endpoint to retrieve variable workflow history

#2521  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tommylau523 and the rest of your teammates on  Graphite

Merge activity

Oct 22, 2:08 PM EDT: A user merged this pull request with Graphite.


Improve unit test code in namespace.go

Some minor code improvements in the unit tests.

Build passed, so going to merge this. Thanks for your contribution!


Add more types support

Hello. It would be very nice to add support for such simple types, like:
int16,int32,int64 and their unsigned counterparts,
float, byte, short etc with autoconverting in write/query operations.
Because of sometimes we don't need such precision as double or long in our classes.

It would probably be fairly easy to support something like this, but there might be some inconsistencies because influxdb inherently does not support types of different precisions.
For instance:

When using the IInfluxRow interface not types are specified which means that the library will always be forced to return the most 'precise' type regardless of which type was being used to insert it.
Potential conversions problems during retrieval if the type provided is not large enough to contain the returned data.

I'll probably look into this, because I agree, that it would be nice to be able to use more than just the largest types.

Thank you very much for your answer. I like your library and plan to use
it. But these little issues make me upset, because we work with data from
many sensors, and these data types not so big, and it would be a memory
overuse if I use long ints and doubles. Before I used MySQL, but I have
discovered influx and I think this is what I really needed.
On Nov 17, 2017 19:34, "Mikael Guldborg Rask Andersen" <
<EMAIL_ADDRESS>wrote:

It would probably be fairly easy to support something like this, but there
might be some inconsistencies because influxdb inherently does not support
types of different precisions.
For instance:

When using the IInfluxRow interface not types are specified which
means that the library will always be forced to return the most 'precise'
type regardless of which type was being used to insert it.
Potential conversions problems during retrieval if the type provided
is not large enough to contain the returned data.

I'll probably look into this, because I agree, that it would be nice to be
able to use more than just the largest types.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MikaelGRA/InfluxDB.Client/issues/23#issuecomment-345310711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANol-zTOuVGTgA9BO1Z3mZ804MxEAk6xks5s3cOSgaJpZM4QiLjf
.

I have added support for:

byte
short
int
sbyte
ushort
uint
float
and their nullable counterparts.

Will include in next release.

I have released a new version now.


deploy management cluster without docker

I'm following this kubeflow guide: https://www.kubeflow.org/docs/distributions/gke/deploy/management-setup/
trying to deploy a management cluster to GCP. It's stated that there's a dependency on docker and I also hit the error that docker is required while executing kpt-set.sh.
As docker has changed their terms and requires a paid subscription, I cannot use that for my company.
Is there a way to deploy kubeflow to GCP without using docker?

@jackychow If you are deploying Kubeflow using your own account, I think you will still be able to run docker CLI without payment. But if you want to call the Kubeflow deployment with paid subscription, then you can find out the docker dependency and replace them with local yq command YQ=yq in https://github.com/kubeflow/gcp-blueprints/search?q=docker. It is mainly because we have been using docker for yq v4. If you install yq yourself, then you can just call the yq locally without docker: https://github.com/mikefarah/yq#install.
The reason we use docker is that we can pin the yq version in order to avoid potential breaking changes with new release. But it might not happen as frequent.


ReactGrid sample - HMR and React Hot Reloading

Hot Reloading is not working for the ReactGrid sample.

It is working when I run it. Are you definitely running in development mode? If you start your app using dotnet run, check you see the following in the console:
Hosting environment: Development

Please reopen with repro details if you still get a problem here! Thanks.

Hi Steve,
Yes, I am in Development mode. However, after further research, I found that HMR is working with Chrome (Version 50.0.2661.102 m), but I see the following in the Console output for IE 11 (on Windows 7 SP1):

webpack-hot-middleware's client requires EventSource to work. You should include a polyfill if you want to support this browser: https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events#Tools

I will try this Polyfill and post back here when I get a chance:
https://github.com/Yaffle/EventSource
Thanks.


sourcemap w/ empty arrays for "sources" and/or "sourcesContent" triggers error

What were you expecting to happen?
Sourcemaps should work.  Specifically a source map with empty arrays for "sources" and/or "sourcesContent" should be treated like a missing sourcemap.
What actually happened?
Gulp chokes on a source map with empty arrays for "sources" and/or "sourcesContent".
Please post a sample of your gulpfile (preferably reduced to just the bit that's not working)
function emptyMap() {
	return src(EMPTY_MAP, { sourcemaps: true })
		.pipe(dest('./processed', { sourcemaps: '.' }))
}

What version of gulp are you using?
CLI version 2.1.0
Local version 4.0.0
What versions of npm and node are you using?
npm: 6.9.0
node: 11.1.0

Here's a sample project that shows this failing.  It's got 3 tasks.

missingMap: Demonstrates that a file with a sourcemap comment pointing to a missing file runs just fine.
emptyMap: Demonstrates that a file with a sourcemap comment pointing to a file with a map with empty "sources" and "sourcesContent" arrays triggers an error.
noty: Demonstrates that a sourcemap in the wild (build by grunt-sass) is being generated with empty "sources" and "sourcesContent" arrays, which trigger the error.

gulp-sourcemap-issue.zip

Can you create a repository instead of attaching a zip file?

Also, what do you mean by "chokes on"? Is there an error or what?

Yeah, sorry, "chokes on" was meant to mean error.  Here's the repo: https://github.com/calvinjuarez/gulp-sourcemap-issue

@calvinjuarez thanks for creating the repo for this and adding all the detail!  This was actually a big bug that I was able to trace this all the way into our now-and-later library.  I've now fixed it and published a v2.0.1 of that library.  If you remove your package-lock/node_modules and reinstall everything, it'll work - I tested it locally and it's all tasks are working the same.


Add trust establishment data model spec for Swagger UI

openapi: 3.0.0
info:
  title: Trust Establishment API
  version: 1.0.0
paths:
  /trust-establishment:
    post:
      summary: Create a new trust establishment entry
      description: >
        This endpoint allows for the creation of a new trust establishment entry.
        Clients can submit trust establishment information which is then processed and stored.
      requestBody:
        description: The trust establishment data to be created.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TrustEstablishment'
      responses:
        '201':
          description: Successfully created a trust establishment entry.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustEstablishment'
        '400':
          description: Invalid input - the provided data does not conform to the required schema.
components:
  schemas:
    TrustEstablishment:
      $schema: http://json-schema.org/draft-07/schema#
      title: Trust Establishment
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the trust establishment document.
        author:
          type: string
          description: The author of the trust establishment entry.
        created:
          type: string
          format: date-time
          description: The date and time when the entry was created.
        validFrom:
          type: string
          format: date-time
          description: The starting date and time from which the entry is valid.
        validUntil:
          type: string
          format: date-time
          description: The ending date and time until which the entry is valid.
        version:
          type: integer
          description: The version number of the trust establishment entry.
        entries:
          type: object
          patternProperties:
            "\\w+:(\/?\/?)[^\\s]+":
              type: object
          additionalProperties: false
          description: A collection of entries, each conforming to a specific pattern.
      required:
        - id
        - author
        - created
        - validFrom
        - version
        - entries
      additionalProperties: false
      description: Schema for a trust establishment entry.

should have the data model for help. sure the wording could be improved. chatgpt'd

we can add this as a pr, but just putting here for record keeping for now

    created:
      type: string
      format: date-time
      description: The date and time when the entry was created.

If an entry needs to be updated would the lifecycle include a revocation and a fresh entry?

Discussed at ToIP: This is Trust Etablishment spec and needs to be moved to Cred Trust Establishment.
https://identity.foundation/credential-trust-establishment/

Why is that? Trust Registries do more than credential exchange.


PyPI

This name is already taken on PyPI
https://pypi.org/project/quack/

I'd love to be able to package this up for mingw/sys, which also uses pacman.  Packaging of Python typically expects the package name to be the PyPI name, to avoid name clashes and have a consistent naming convention.


Explore improvements

📝 Changed routes:

/solutions/commerce

(view full size)

Commit 99168c4de5207eba2acac81b3b91525191463e60 (https://thirdweb-qg8k22q1p.thirdweb-preview.com).

Comments in the #684


Snippets stop working in TypeScript files

Snippets seem to be clobbered by the most recent version of the plugin on PackageControl + NPM typescript install. It's possible I'm missing something - so please comment if it works for you. When I provide SublimeText (v3) a snippet (without a source scope) it works across other languages (JS, python, etc). Simple test case:
<snippet>
    <content><![CDATA[
class ${1:name} {
    constructor() {}
}

]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>tsclass</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <!--<scope>source.ts</scope>-->
</snippet>

This can be fixed by using 'api_completions_only': True in the following line:
https://github.com/Microsoft/TypeScript-Sublime-Plugin/blob/b9f3b14fc4b573c3d3292cbc7f009dd0d8c3a89a/typescript/listeners/completion.py#L147
Looks like this problem has been there for a long time (in Sublime 3 only - works fine in Sublime 2).


Queue in C as list with extra methods

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
I imlemented Queue as List in C. It has 5 methods: isFull(Queue *queue), isEmpty(Queue *queue) which return true or false based on queue status; peek(Queue *queue) which gives a peek on the next Queue element to be read; enqueue(Queue *queue, int value) which adds QueueElement to the end of a Queue and dequeue(Queue *queue, int *value) which read the value of QueueElement on the beggining of a Queue. Last two methods also return tru or false if the action was completed successfully. In the main function is given a small example to show how it all works.
Checklist

[+] I've read the contribution guidelines.
[+] I've checked the issue list before deciding what to submit.
[+] I've edited the README.md and link to my code.

Related Issues or Pull Requests
This is related to issue #1985

Closing the PR due to inactivity from contributor's end.

Closing the PR due to inactivity from contributor's end.


[Telink] Update apps and configs & Update Telink image to 0.6.27

Change overview

Rework flash partitions & use swap move algorithm
Removed timer to BLE disconnect
Use latest Telink mcuboot changes
Enable reboot system when fault happened
Rework system status LED loop
Made the Factory-Reset Button more user friendly
Add contact sensor app example
Fix device re-pairing
Enable NVS lookup cache
Update Telink image to 0.6.27

Testing
Tested manually with chip-tool.
Steps:

Run: $ chip-tool pairing ble-thread <...>
Wait till success
Run: $ chip-tool onoff on ${NODE_ID }1
Wait till success
Run: $ chip-tool onoff off ${NODE_ID }1
Wait till success

@andy31415 PR blocked by docker image 0.6.27 build.
After docker image will be available need to retrigger Tests (merge master branch).

@s07641069 this also seems to need conflict resolution now.

@andy31415 After merge of https://github.com/project-chip/connectedhomeip/pull/24213 need to retest this changes and resolve conflicts again to avoid functionality crash.

@andy31415 @bzbarsky-apple All merge conflicts fixed and PR ready for review/merge.


Crash on sqk_deleteAllObjectsInContext:error:

Crashes on this line, and prints:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array'

Remove these lines to fix the crash:
fetchRequest.includesPropertyValues = NO;
fetchRequest.returnsObjectsAsFaults = NO;

Should probably investigate why removing these lines fixes the crash before implementing the fix to avoid any unintended side affects.

Cannot reproduce this bug :put_litter_in_its_place:.


ENYO-1832: Fix typo that caused utils and dispatcher to be in the global scope.

Issue
Both utils and dispatcher were in the global scope.
Fix
There was a typo where we had inadvertently used a semi-colon instead of a comma in a group var statement. The semi-colon has now been replaced with the comma.
Enyo-DCO-1.1-Signed-off-by: Aaron Tam<EMAIL_ADDRESS>

SEMICOLONS!


[improve][build] use SLASHSTAR_STYLE for licenses in Java files

This supersedes #17508.
See also https://lists.apache.org/thread/gwy3ycgsq24r784mk3yv6cbppmbfxgjd.
Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

cc @BewareMyPower @RobertIndie

/pulsarbot run-failure-checks

Codecov Report

Merging #18177 (7dfb11c) into master (6c65ca0) will decrease coverage by 8.87%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master   #18177      +/-   ##
============================================
- Coverage     34.91%   26.03%   -8.88%
+ Complexity     5707     3429    -2278
============================================
  Files           607      398     -209
  Lines         53396    43552    -9844
  Branches       5712     4474    -1238
============================================
- Hits          18644    11340    -7304
+ Misses        32119    30440    -1679
+ Partials       2633     1772     -861

Flag
Coverage Δ

unittests
26.03% <0.00%> (-8.88%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...in/java/org/apache/pulsar/PulsarBrokerStarter.java
0.00% <ø> (ø)

.../org/apache/pulsar/PulsarClusterMetadataSetup.java
0.00% <ø> (ø)

...g/apache/pulsar/PulsarClusterMetadataTeardown.java
0.00% <ø> (ø)

...org/apache/pulsar/PulsarInitialNamespaceSetup.java
0.00% <ø> (ø)

.../main/java/org/apache/pulsar/PulsarStandalone.java
0.00% <0.00%> (ø)

...ava/org/apache/pulsar/PulsarStandaloneBuilder.java
0.00% <ø> (ø)

...ava/org/apache/pulsar/PulsarStandaloneStarter.java
0.00% <ø> (ø)

...sar/PulsarTransactionCoordinatorMetadataSetup.java
0.00% <ø> (ø)

...n/java/org/apache/pulsar/PulsarVersionStarter.java
0.00% <ø> (ø)

...ava/org/apache/pulsar/broker/admin/v2/Brokers.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 337 more

/pulsarbot rerun-failure-checks

/pulsarbot rerun-failure-checks

ping @BewareMyPower @RobertIndie @nicoloboschi @eolivelli @Jason918 tests passed. Although I can always reapply the formatting step, I hope with can have a timely review stage :)

Thanks for merging this patch. Be aware that we may suffer a period that new patches introduce regression for the JAVADOC_STYLE license header because we don't require the patch to be merged must be up-to-date. But the overall situation should converge.

Hi, @tisonkun
I'm not sure If this change is acceptable for PMCs or needs to vote on. But there is some trouble with cherry-picking new changes to the previous branch.
I'm wondering if we have a good method to resolve the conflict with the previous branch. maybe mvn initialize license:format can work properly? I'm not sure...
Anyway, thanks a lot for your contribution, I hope you can answer my question though, thanks!

@mattisonchao This is not a breaking change from a user perspective. Thus, I don't initialize a formal vote.
I made several discussions on the dev@ list:

https://lists.apache.org/thread/gwy3ycgsq24r784mk3yv6cbppmbfxgjd
https://lists.apache.org/thread/jxl6vlgdd460gnnno6o6kpyc4jqc0b2k

... and follow the common lazy consensus principle.
To resolve your issues, either run mvn initialize license:format on the failure PR, or manually append * for new files when cherry-picking.
The new style is started from 2.12 or 2.11 and the whole style will converge finally.

Ok, Got it. thanks!


Glitched wires on network relays when copying and pasting ship with WorldEdit.

When copying a ship with network relays and wires attached to them and pasting the ship with WorldEdit, the network relays from the two different ships are connected.


Allow omission of project.dependencies

Description
https://github.com/aws/sagemaker-python-sdk can't migrate over yet because only their project.optional-dependencies are dynamic
cc @maresb

Ah, ok, I was confused at first... if I understand correctly, they want to use dynamic optional-dependencies without dynamic dependencies:

Normal dependencies
Dynamic optional dependencies

Very quickly taking a look, it seems like the problematic logic is here. (I haven't thought this through, I might be confused.) In the first if we assume that if the plugin is loaded then ordinary dependencies are not allowed. But really we want a logic block like this around the part that handles dependencies.
In other words, loading the plugin should enable but not enforce dependencies to be specified dynamically.


Training on other dataset + Error on using run.py

Describe the bug
Hi! Thank you very much for providing this implementation of dgmr. The model and blocks look very organized and straightforward!
However, I have encountered some issues running your code, mostly due to the complexity of the"run.py" code as it is very complicated to understand the logic (Most likely due to the fact that I do not understand how the dataset looks like).
1: Could you please explain a little bit about how you preprocess the dataset? I hope to run the model on my own dataset so I need to prepare it such that it matches the way you preprocess it. (By the way, if I want to visualize any of the data frames of rainfall, what should I do?)
2: I have encountered error when using run.py. The problem is exactly the same with the following issue (https://github.com/openclimatefix/skillful_nowcasting/issues/32#issue-1312789322). I have changed the number of GPU to 1, and the problem still remains. I could not find a solution from the previous issue as the conversation looks a bit confusing. Do I have to manually download something from GCP bucket on my machine? If that's the case, what shall I download and how should I use it?
To Reproduce
python run.py
Expected behavior
Error same with https://github.com/openclimatefix/skillful_nowcasting/issues/32#issue-1312789322 pumps out
Thank you again for your great work.

Hi,

Its preprocessed the same as in the DGMR code and paper, as in the preprocessing is copy and pasted from their open sourced code, with the only changes being those needed to turn it into PyTorch format. So I would refer to the paper for that.
What is the error exactly? If its the first error in that issue, it seems that the dataset script cannot download the data from GCP for some reason. They originally fixed that by moving to a GPU machine and it was fixed, somehow? But if you are planning on using the model with your own dataset, then you can ignore this, and just swap out the dataset loader in run.py with your dataset loader and the error should go away.

Thank you for the quick response!
1: I have understood and will look into their code again.
2: It is indeed the first error in that issue.

Before running my own dataset, I hope to see something with the provided dataset from the original code. I am using a Nvidia GPU machine with cuda available. But the error persists. I did not change anything (except gpu from 6 -> 1) but using python run.py directly

Ah okay, I probably won't have much time for the next month or so to add this, but if you are familiar with HuggingFace datasets, I've converted and uploaded the validation and test sets of the full dataset to here: https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km-validation and https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km-test the training set is a lot larger, so has been taking a lot longer. But you should be able to use those and possibly train on the validation set to see how well it works for you?

@all-contributors please add @jacobbieker  for code

@all-contributors please add @ZHANGZ1YUE  for bug

Thank you very much for providing new information to the dataset! I will be checking on that later when I got time, and Im currently building my own data class with your model code. (Just to say, the code for the model structure is brilliant!)

Hi everyone, I'm a beginner in deep learning and I really like this project and the structure of the code. I'd love to be able to reproduce this project as my first learning project. But as you guys discussed, I'm having a lot of trouble manipulating the data, reading it and running run.py (only using one V100 on the server).
The author provides https://huggingface.co/datasets/openclimatefix/nimrod-uk-1km-validation to download a smaller size validation dataset. Should I go to the website and directly download the 202 dataset manually? Because I tried the load_dataset() function in the run.py file and it would fail, the same as @ZHANGZ1YUE's error shown in the picture. I also used tensorflow on colab to read data using reader functions, but I don't know how to use them in the run.py file to restart training.
As a beginner, I've been stuck for a week, hope someone can help guide me to read the validation dataset on huggingface using Pytorch, modify the run.py and start training!
Thanks everyone!


Update docker setup

I'm just trying it and it does not provide css as it used to :)

It heps if I run this outside Docker container:
sudo npm run dev

Now the form can't be submitted :/

I need to work with demo now to fix some bugs. I'll try to revert this PR if it helps


Add Dialogue Detection and Speaker-Turn Detection

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: GeekOrangeLuYao:x: shuli.clyshuli.cly seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Incompatible with<EMAIL_ADDRESS>(this._appRef.registerChangeDetector is not a function)

Application throws error after update to latest angular release (angular@2.3.0). Rollback to 2.2.4 and all is well. Are others seeing this too?
Error: Uncaught (in promise): Error: Error in :0:0 caused by: this._appRef.registerChangeDetector is not a function
TypeError: this._appRef.registerChangeDetector is not a function
    at DomPortalHost.attachComponentPortal (dom-portal-host.js:47)
    at DomPortalHost.BasePortalHost.attach (portal.js:130)
    at OverlayRef.attach (overlay-ref.js:21)
    at MdDialog._attachDialogContainer (dialog.js:74)
    at MdDialog.open (dialog.js:53)
    at RouteSignin.signin (component.ts:66)
    at SafeSubscriber._next (component.ts:49)
    at SafeSubscriber.__tryOrSetError (Subscriber.js:232)
    at SafeSubscriber.next (Subscriber.js:174)
    at Subscriber._next (Subscriber.js:125)
    at Subscriber.next (Subscriber.js:89)
    at BehaviorSubject._subscribe (BehaviorSubject.js:28)
    at BehaviorSubject.Observable.subscribe (Observable.js:45)
    at RouteSignin.ngOnInit (component.ts:44)
    at Wrapper_RouteSignin.ngDoCheck (wrapper.ngfactory.js:24)
    at resolvePromise (zone.js:475) [angular]
    at resolvePromise (zone.js:460) [angular]
    at :8080/js/polies-bundle.js:15894:17 [angular]
    at Object.onInvokeTask (ng_zone.js:262) [angular]
    at ZoneDelegate.invokeTask (zone.js:261) [angular]
    at Zone.runTask (zone.js:151) [<root> => angular]
    at drainMicroTaskQueue (zone.js:405) [<root>]

Quick update, building angular/material from master resolves the issue

Would it be possible to draft a release ?

There is supposed to be a beta by the end of the year, so I'm not sure they'll be releasing alpha.11 before that..

Even an experimental release on NPM with this fix would helpful.

yeah well you'd have to ping @jelbourn and @DevVersion about that.. seeing that this was made https://github.com/angular/material2-builds couple of days ago, they might be working on it.. but who knows if it will be done before beta

@fxck No worries. We are working on that actively.

Working on cutting an alpha.11 right now

@jelbourn A dream comes true. Christmas is coming early this year. :tada: 🎅

Some hiccups due to angular-cli not working with Angular 2.3.0... slowed done my validation. Writing the changelog...

alpha.11 is released, changelog is here: https://github.com/jelbourn/material2/blob/2f57ba2376c2bf7fe7550ae232a9b12d229f884c/CHANGELOG.md
This issue should be fixed in alpha.11

@jelbourn I'm getting
It's not clear which file to import for '@import \"overlay/overlay\"'.\nCandidates:\n  overlay/overlay.scss\n  overlay/overlay.css\nPlease delete or rename all but one of these files.\n

in alpha.11.. thought this was fixed.. it certainly didn't do this in alpha.10

@fxck there's no overlay.css in the package- is something in your build creating it?

hm yeah, that could be the reason, let me check, I wonder why did it ignore the file before though..

@jelbourn and tooltip requires viewContainerRef again? that'd be little disappointing

ugh, meant snackbar

Not supposed to, what are you seeing?

well https://github.com/angular/material2/blob/master/src/lib/snack-bar/snack-bar.ts#L86 config is required here and

so is viewContainerRef here

@fxck this is the .d.ts file that is in the alpha.11 package:
import { ViewContainerRef } from '@angular/core';
import { AriaLivePoliteness } from '../core';
/**
 * Configuration used when opening a snack-bar.
 */
export declare class MdSnackBarConfig {
    /** The politeness level for the MdAriaLiveAnnouncer announcement. */
    politeness?: AriaLivePoliteness;
    /** Message to be announced by the MdAriaLiveAnnouncer */
    announcementMessage?: string;
    /** The view container to place the overlay for the snack bar into. */
    viewContainerRef?: ViewContainerRef;
    /** The length of time in milliseconds to wait before automatically dismissing the snack bar. */
    duration?: number;
}

well I removed node_modules and did cache clear.. maybe yarn is loading some older config

@fxck yarn has caused me nothing but problems


[SKIP-PREVIEW] Add coverity

Change description
Add Coverity
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Stale


fix: remove redundant fee bounds check in forwarder contract

The check is redundant since the forwarder contract receives a fee from the fee contract. The fee contract checks that the fee is within the allowed bounds. Because of that, we just can't use fee more than allowed in the forwarder contract. So the check is redundant. Closes the issue.

Having a redundant check is not necessarily a bad thing. If something goes wrong with the fees contract then this redundant check is a second line of defense.

@birchmd I think that extra protection is always good, but what exactly can go wrong in this case, so we might need such redundancy?

I don't know what exactly could go wrong with the fee contract. Perhaps some upgrade is pushed which is buggy (unlikely when we have good test coverage, but still possible). The point is that with a check in the wallet contract itself it doesn't matter what goes wrong with fees.
But if the auditors don't like the extra check then I guess it's fine to remove.


Dialogplus with soft keyboard.

How to restrict the DialogPlus dialog to move up when soft keyboard is opened in android

Do you mean above keyboard, but not overlay?

Hi Orhan, thank you for your great library,
I have the same question, How to move dialog above the keyboard ?
For android native dialog there is sample like this:
dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
But in DialogPlus we can't get window.
Thanks for your time.

i am using this library and i have edittext and spinner in layout...when i tap on edit text keyboard opens up upon the dialog(overlay)..i want to show dialog above keyboard if keyboard shows....
How can i achieve this ?

@mnnit-LaltuKumar I have same issue, How did you solved it ?

i the same issue, someone find the solution ?


add format for google cloud platform

Reference: https://cloud.google.com/logging/docs/agent/configuration#process-payload
Most of the java code  logic is copy from https://github.com/spring-cloud/spring-cloud-gcp/blob/main/spring-cloud-gcp-logging/src/main/java/org/springframework/cloud/gcp/logging/StackdriverJsonLayout.java

Nice PR! We are also waiting for this to merged.

I have not used GCP by my self, and there are two different PRs not with same fields.
For me I am not sure what the correct format is, I think its maybe better just disable all the defaults fields, and create own JsonProvider, with all the fields wanted.


Feature request: custom event listener with conditional options

It would be great if HTML.Events.onWithOptions had type String -> Decoder a -> ((a -> Message), Options) -> Attribute (or preferably record instead of tuple) so that the event options could be calculated depending on the event value.
A possible use case is: capturing Enter key in contenteditables: preventDefault must be true only iff Enter was pressed.

I think you mean String -> Decoder a -> (a -> (Message, Options)) -> Attribute?
And yes, I also just ran into a situation where preventDefault needs to depend on the event value and it seems like it's impossible to do with the current API.

Ran into same issue. Need preventDefault based on event value.

I need it too.
In my case, my app should not show context menu when control key is pressed. In other words, if e.ctrlKey is true, preventDefault option will be true. Possible workaround is using Keyboard.ctrl, having its state and rendering html with new options.
I'm not sure this workaround works well for other situations.


JS release notes and highlights

Moving notes from here - https://github.com/Azure/azure-sdk/pull/2891

@KarishmaGhiya what is the goal of this PR? Is it just to move some may notes to june? We will need to carefully merge it with https://github.com/Azure/azure-sdk/pull/2980.

@weshaggard I am moving notes from - https://github.com/Azure/azure-sdk/pull/2891 and making the release highlights


add -pkg-version

this flag allows user to inject version number into HTML. default is disabled.
fixes https://github.com/abhinav/doc2go/issues/192

Hey @3052, thanks for the PR.
Quick update: I should be able to look over this this evening.

thanks


[libaes-siv] New port

[x] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

@SamuelMarks, could you please response @dg0yt's review suggesstion? thanks.

@JonLiu1993 Done

Tested usage successfully by libaes-siv:x64-windows:
libaes-siv provides CMake targets:
    find_package(unofficial-libaes-siv CONFIG REQUIRED)
    target_link_libraries(main PRIVATE unofficial::libaes-siv::libaes-siv)


Added prettier workflow

Related Issue
Closes #359

Description

Added the prettier linter to ensure proper and uniform linting of the codebase.
For the linter to run successfully please open the settings of the repo go to Actions -> General -> workflow permissions and enable read and write permissions.
##Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[ ] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

@SahityaRoy Could you please give a level label to this PR to make it count towards GSSoC


Fixe typo in the title

UnderstaNDing was UnderstaDNing

@Almagnus1 : Thanks for your contribution! The author, @diberry, has been notified to review your proposed change.

@Almagnus1 Thanks for submitting this PR. #sign-off


Border router does not forward CoAP multicast messages

Setup
There is a computer and an OpenThread border router connected to our IPv6 router. (So, they are in the same network). Additionaly, there is a thread device connected to the border router.
Goal
In the end, I want to discover all CoAP servers in the thread network by sending a CoAP multicast message. (E.g. GET /.well-known/core or CoAP ping)
Issue
I'm able to send a CoAP GET request from the computer directly to the thread device by using its global IPv6 address. The thread device sends the expected response and everything works fine.
However, when I send a CoAP GET request from the computer to either ff03::1 or ff08::1, the message is not forwarded to the thread network by the border router. I captured the traffic on the border router on eth0 (which is connected to the IPv6 router). There, I can see that the border router receives the CoAP multicast message from the computer. But I cannot see this message beeing forwarded to the thread network (By sniffing the thread traffic).
Question
Does the openthread border router support multicast messages? If so, do I have to enable it somehow or should it be enabled by default?
Is my approach even reasonable?
Thanks in advance for any kind of help!

@frif-ch , multicast routing should be set up to let OTBR  forward multicast traffic into thread network.
you may want to try the static multicast routing SMCRoute
and add multicast route either in conf or via command sudo smcroutectl add eth0 :: ff08::1 wpan0

@librasungirl - Thanks a lot for your quick answer. Sorry that I come back to you just now, I had to get started with the SMCRoute tool first. Since I had some troubles with the current version of SMCRoute, I went back to the last offical release (v2.4.4).
I tried to add the multicast route with your example command sudo smcroutectl add eth0 :: ff08::1 wpan0 and afterwards I also tried it with the following two lines in the smcroute.conf file:
mgroup from eth0 group ff08::1
mgroup from eth0 group ff08::1 to wpan0

Still, the border router does not forward CoAP messages with destination ff08::1 to the thread network. I have already tried / checked the following:

the smcroute.service is active and running.
I restarted the service several times
I restarted the border router several times
kernel configuration requirements for smcroute are met
direct addressing still works
CoAP message is received on interface eth0
eth0 and wpan0 have enabled MULTICAST (checked with ifconfig )

Is the following output of  sudo smcroutectl show as you would expect? I would have expected something about wpan0 in the outbound column..
ROUTE (S,G)                        INBOUND             PACKETS      BYTES  OUTBOUND
(<IP_ADDRESS>, <IP_ADDRESS>)   eth0                     38       6990
(<IP_ADDRESS>, <IP_ADDRESS>)    eth0                     57      10269

Do you have any idea what the problem might be?

@frif-ch , sorry for late response. It seems ipv6 mutlicast forwarding is not well supported in existing smcroute repo, as well as the show command.
Would you please try out this updated branch?

@frif-ch , the update on smcroute is now pushed to the upstream from review (https://github.com/troglobit/smcroute/pull/124).  And it works well on my trial.
Do you have any update on this?

@librasungirl , thanks a lot for your effort! I cannot get the v2.5.0-beta1 to work (neither your version nor the official one). Only with the v2.4.4, the smcroute service does not fail to start.
With v2.5.0-beta1, the Static multicast routing daemon fails to start. sudo journalctl -u smcroute.service  gives me the following output (which is not very specific):
Apr 15 18:57:25 ot-router smcroute[12654]: SMCRoute v2.5.0-beta1
Apr 15 18:57:25 ot-router smcroute[12654]: Ready, waiting for client request or kernel event.
Apr 15 18:58:55 ot-router systemd[1]: smcroute.service: Start operation timed out. Terminating
Apr 15 18:58:55 ot-router systemd[1]: Failed to start Static multicast routing daemon.
Apr 15 18:58:55 ot-router systemd[1]: smcroute.service: Unit entered failed state.
Apr 15 18:58:55 ot-router systemd[1]: smcroute.service: Failed with result 'timeout'.

Did you try on an OT border router?
Unfortunately, I will not be able to work on it for the next three weeks. Maybe one of my colleagues will continue in the meantime.

@frif-ch , the issue you mentioned should have been officially fixed by the maintainer in these two days. (https://github.com/troglobit/smcroute/commit/c7db569b83b188fc0985c165c0eb1cb973713817)
The service type was simply updated from 'notify' to 'simple' as a workaround. However I forced push once when submitting (troglobit/smcroute#124).  Would you please check whether the branch you used has the commit id cf40e9c?
Yes, I tried on OTBR.

@librasungirl , I finally got the time to try it again. I setup everything from scratch (OTBR and smcroute with commit id cf40e9c) and it works now. Thank you very much! 👍