How are existing project entries edited? Does someone have to be an owner?

I couldn't find any documentation that indicated how to edit an existing project entry. If it requires being identified as an owner, the owner listed for GenevaERS is no longer with the project. I should replace the project owner that is listed.
thanks

In general you need to be an "owner" or "editor" of the badge entry to edit it.
We can change the owner to someone else. We just need evidence that the new owner should be authorized. You might want to email me, dwheeler at linuxfoundation dot org, to work that out. I presume this involves GenevaERS https://www.bestpractices.dev/en/projects/4181 ; thanks!

BTW, the owner or existing editors can add more editors. If one person is more "stable", you might want to make them the owner, and then add any editors you want. I'd be happy to help.

The current owner retired from his job and the GenevaERS project.
I'm currently project lead for GenevaERS I'd like to be made owner. In our
next TSC, I'll ask the project to identify one or 2 editors so someone will
always be available to update as we move toward the gold badge.
Thanks for your information and help.
On Wed, May 1, 2024, 12:26 David A. Wheeler @.***>
wrote:

BTW, the owner or existing editors can add more editors. If one person is
more "stable", you might want to make them the owner, and then add any
editors you want. I'd be happy to help.
—
Reply to this email directly, view it on GitHub
https://github.com/coreinfrastructure/best-practices-badge/issues/2126#issuecomment-2088804430,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOWICQP6EFOMB55HUVP5ZCTZAEQVZAVCNFSM6AAAAABG7JRQUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYHAYDINBTGA
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Please let us know how you want us proceed! Stuff like that happens.

What information do you need to make me an owner?
On Sun, May 12, 2024, 17:40 David A. Wheeler @.***>
wrote:

Please let us know how you want us proceed! Stuff like that happens.
—
Reply to this email directly, view it on GitHub
https://github.com/coreinfrastructure/best-practices-badge/issues/2126#issuecomment-2106397272,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOWICQIITYLIWHIPD7GRFZLZB7VW3AVCNFSM6AAAAABG7JRQUGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBWGM4TOMRXGI
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

I need the user id number of the new owner on the OpenSSF Best Practices Badge. The current owner is 6444. Create an account on the Best Practices Badge site, log in, and see your profile... and you'll see it.
I also need evidence that this is an authorized transfer. Please send me an email at dwheeler AT linuxfoundation DOT org, we can get that started.


Kernel hangs in "TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb"

Describe the bug
Kernel hangs after itkwidgets visualization in jupyter notebook
https://github.com/Project-MONAI/tutorials/blob/main/model_zoo/TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb
To Reproduce

docker pull projectmonai/monai:latest
create a new container
run into container
pip install 'itkwidgets[notebook]>=1.0a49'

from monai.transforms import LoadImage
root_dir = "/opt/monai/workspace/Data"
data_dir = os.path.join(root_dir, "Task09_Spleen")
train_images = sorted(glob.glob(os.path.join(data_dir, "imagesTr", "*.nii.gz")))
out = LoadImage(ensure_channel_first=True)(train_images[0])
view(image=out)

Expected behavior
Kernal will not hangs after using view.
Screenshots

Additional context

Look similar to this one:
https://github.com/InsightSoftwareConsortium/itkwidgets/issues/688
After install itkwidgets[notebook]>=1.0a49, look like there will be a requirement compatibility issues for pandas, not sure whether it's related the issue.

Collecting pandas>=2.0.0 (from dask-image->ngff-zarr[dask-image]>=0.4.3->itkwidgets>=1.0a49->itkwidgets[notebook]>=1.0a49)
  Downloading pandas-2.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB)

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
cudf 24.2.0 requires pandas<1.6.0dev0,>=1.3, but you have pandas 2.2.2 which is incompatible.
dask-cuda 24.2.0 requires pandas<1.6.0.dev0,>=1.3, but you have pandas 2.2.2 which is incompatible.
dask-cudf 24.2.0 requires pandas<1.6.0dev0,>=1.3, but you have pandas 2.2.2 which is incompatible.

After install the  itkwidgets and exiting the Jupyter notebook, trying to launch the notebook again leads to a configuration error. It appears that the installation of itkwidgets is causing a disruption in the configuration settings.

cc @kirbyju @aylward and @thewtex, in case you can shed any light on this issue, it would be greatly appreciated. Thanks.

Also tried this notebook with pytorch container: nvcr.io/nvidia/pytorch:24.03-py3.
See the same issue.
https://github.com/InsightSoftwareConsortium/itkwidgets/blob/v1.0a50/examples/integrations/MONAI/transform_visualization.ipynb

Thank you for the detailed report on the itkwidget repo.   Matt and Brianna are looking into it!

Hello :wave: ,
With itkwidgets 1.0a50, itkwidgets supports JupyterLab 4 and Jupyter Notebook 7. The Jupyter project made these versions major breaking changes. So, there are a few approaches:
a) Update the JupyterLab and Jupyter Notebook version
b) Set the itkwidgets dependency to itkwidgets==1.0a49 until a) can be performed.

After install itkwidgets[notebook]>=1.0a49, look like there will be a requirement compatibility issues for pandas, not sure whether it's related the issue.

This seems to be unrelated in the transitive dependency arena, but a patch here is:

https://github.com/InsightSoftwareConsortium/itkwidgets/pull/744

Testing and feedback to see if it addresses your use cause are appreciated. :pray:  Thanks!

Hi @thewtex, thanks for the quick response.
I update the notebook version but the same issue occurred.
Step to reproduce:
docker run -it --ipc=host --rm --net host --gpus all  nvcr.io/nvidia/pytorch:24.03-py3
pip install -U notebook
Then run this notebook: https://github.com/InsightSoftwareConsortium/itkwidgets/blob/v1.0a50/examples/integrations/MONAI/transform_visualization.ipynb

You can see from the screen shot after view even import numpy as not be executed.

BTW, where can I find the requirement for the notebook, I didn't find it in the requirement. Perhaps I want to try the version which can run in notebook 6.
Thanks!

@KumoLiu thanks for the reproducible example!
Addressed here:
https://github.com/InsightSoftwareConsortium/itkwidgets/pull/745
After it is released, it will be better to install itkwidgets in the containers so all javascript is loaded at startup.

Hi @KumoLiu , these improvements have now been released in itkwidgets 1.0a51.
Please try:
docker run -it --ipc=host --rm --net host --gpus all  nvcr.io/nvidia/pytorch:24.03-py3
pip install -U notebook
pip install 'itkwidgets[notebook]==1.0a51'
# Start the notebook

Hi @thewtex, thanks for the quick fix.
I tried with 1.0a51, and the same issue occurred.
In addition, after this command pip install 'itkwidgets[notebook]==1.0a51' and jupyter notebook can not even launched correctly.

(there is an issue with the last cell, but I have a fix in progress for that).

This was a side-effect of fixing the pandas dependency issue, but it has been addressed in itkwidgets 1.0a52.


Error running sample code: OSError: [Errno 36] File name too long

Running this EntityLinker example code from the github repo throws the following error
OSError: [Errno 36] File name too long: '/home/username/.scispacy/datasets/e9f7327283e43f0482f7c0c71b71dec278a58ccb3ffdd03c2c2350159e7ef146.f2a350ad19015b2591545f7feeed6a6d6d2fffcd635d868a5d7fc0dfc3cadfd8.tfidf_vectors_sparse.npz'
#!/usr/bin/env python3

import spacy
import scispacy

from scispacy.linking import EntityLinker

nlp = spacy.load("en_core_sci_sm")

# This line takes a while, because we have to download ~1GB of data
# and load a large JSON file (the knowledge base). Be patient!
# Thankfully it should be faster after the first time you use it, because
# the downloads are cached.
# NOTE: The resolve_abbreviations parameter is optional, and requires that
# the AbbreviationDetector pipe has already been added to the pipeline. Adding
# the AbbreviationDetector pipe and setting resolve_abbreviations to True means
# that linking will only be performed on the long form of abbreviations.

nlp.add_pipe(
    "scispacy_linker",
    config={"resolve_abbreviations": False, "linker_name": "umls"},
)

This is on linux mint 20.3, python 3.7.13

From a brief google, this looks like it might be encryption + linux mint related? https://forums.linuxmint.com/viewtopic.php?t=173328
That being said, if you aren't able to resolve the long file names, please see #343 and #351 for how to download the files yourself and update the paths so that it should work with whatever file names you choose. Let me know if that works for you!


Superschemes follow up

Rename subschemes to scheme (consistently)
Always list all interventions (they're currently in a collapsing card per scheme/subscheme), but group them by scheme/subscheme

There are some notes in both #387 and https://github.com/acteng/atip/pull/379#issuecomment-1784928203 about how this should all work. Since it's a complex change, we could find a way to break it down into a few PRs with smaller steps. I haven't thought about it carefully, but how about:

First change the GJ format to make room for multiple schemes in a single file. We already have scheme_reference in InterventionProps and AllSchemeGJ used in the browse page. The Scheme interface has 4 foreign member properties, but I think scheme_name and the optional pipeline should both get moved into a new place. We can first define what the new thing looks like, make the backfill function convert the old single-scheme file into a multi-scheme file with just one scheme filled out. No UI changes yet, and some tests (that may already exist) to make sure the old format loads fine.

Then the basic UI elements, maybe following the mockup with layer style in one of the PRs linked. Add a new scheme, delete a scheme, move interventions between schemes.

Then the nicer UI bits -- color things in a scheme, show/hide the whole thing as a layer.

The GJ file should be usable in browse mode, and nothing should be tied to the pipeline schema at all. You should be able to load multiple ATF4 or v1 schemes at the same time. If you filtered the all_schemes.geojson file we're using in browse mode right now for one authority, that should work in the sketch page

Copying the draft from the call:
// TODO this name is now wrong
export interface Scheme {
  type: "FeatureCollection";
  features: FeatureUnion[];
  // Foreign members
  authority?: string;
  origin?: string;

  // scheme_reference in each FeatureUnion is keyed to this
  schemes: { [name: string]: SchemeData };
}

interface SchemeData {
        scheme_name: string;
        pipeline?: PipelineScheme;
        browse?: BrowseSchemeData;
}

interface BrowseSchemeData {
  num_features: number;
  authority_or_region: string;
  capital_scheme_id: string;
  funding_programme: string;
}


eth_getBlockByHash doesn't provide correct block hash.

eth_getBlockByHash doesn't provide correct block hash.
Description
Hi,
I've been stuck in trouble for integration with polygon edge.
I made a jsonrpc call eth_getBlockByHash with go-ethereum client code.
Then it gives me an incorrect block hash.
Your environment

polygon edge mainnet

Steps to reproduce
Please execute following test code.
This calls official polygon edge network and try to retreive block information.
Then it gives me an incorect block hash.
func TestBlockByHash(t *testing.T) {
	edgeNet := "https://rpc-edgenet.polygon.technology"
	// https://explorer-edgenet.polygon.technology/block/1320009/transactions
	blockHash := "0xd4f333b237f56436f6e3074b22a1e0dada6dff4ee574778fa5dcdcebe118323d"
	client, err := ethclient.DialContext(context.Background(), edgeNet)
	if err != nil {
		t.Errorf("failed to connect to the network")
	}

	block, err := client.BlockByHash(context.Background(), ethcommon.HexToHash(blockHash))
	if err != nil {
		t.Errorf("failed to fetch block")
	}

	if block.Hash().Hex() != blockHash {
		t.Errorf("received block is not eqaul, query: %s, got: %s", blockHash, block.Hash().Hex())
	}
}

The result of this code looks as below
received block is not eqaul, query: 0xd4f333b237f56436f6e3074b22a1e0dada6dff4ee574778fa5dcdcebe118323d, got: 0xd3346a9a759505837601e94730c977b4d7697d13469c248993cb6a96b6b5845e

It does not seem to be a json rpc protocol problem,
It seems that the block schema of polygon edge do not fit into ethereum one.

hi @scalalang2
Thank you for opening this issue, I need to investigate to find the cause of this issue.
Once I have more detail than I will notify you :)

Hi @scalalang2
I finally know what is the root cause of this issue. The problem is that Polygon Edge is calculating block hash differently than Ethereum does.
To be precise:
We are missing 2 fields when doing RLP Encoding of the Header(MixHash, Nonce)
We are changing the header.ExtraData after we have computed block hash. When the proposer is building the block, he is in charge of computing the block hash. But when we are inserting the block, we are adding extra info in the header.ExtraData (CommitedSeals). The issue is when go-ethereum client fetches the block, it will have a different header than we had when generating the block hash (because of modified ExtraData). RLP is going to be different so will block hash…
This is tricky to fix, we are planning to add more info in header.ExtraData (Parant Commited Seals). With different ExtraData our block hash would always be different from the one go-ethereum client gets.
I would like to understand:

Where and how are you using this?
Have you found a workaround?

I wanted to make some communication channel between the offchain server and the blockchain.
If the owner of the NFT on the blockchain is changed to new owner. this changes should be notified to the offchain server.
To make this work, I've been using ethclient packages.
At this time, Only BlockByHash seems to provides incorrect information.
But, there may be another problem on ethclient because other functions were not fully tested
I think all features of the ethclient should be eventually available or a polygon specific client is required

Hey, @scalalang2
I agree completely. For now, we don't have knowledge that something else is not compatible with ethclient.
As I said the core issue is that Polygon Edge is calculating block hash differently than the go-ethereum, to be exact we are not using Nonce and MixHash when computing block hashes, as well as the fact that nothing except Validators should be in extraData. You can check the code of how we are computing hash here (https://github.com/0xPolygon/polygon-edge/blob/develop/consensus/ibft/header_hash.go#L11)
Currently, we don't have the capacity to contribute on go-ethereum/ethclient, or to create a fork that modifies how they are calculating block hash to match Polygon Edge.
I am moving this issue to a discussion. In the future, we will consider adding our own client or contributing to go-ethereum/ethclient.  😃


No easy way to change wallpaper

Today I download Sway minimal to try it
but ended up a breaking system
Why? because I don't know why it's much complicated that i3?
feh wallpaper change is not working and even tried from root not working if i copy /etc/sway/config to .config/sway
it's broke my sway menu bar
why there is no proper document or made some simple to do this ?

na, its just as easy as with i3, you just did sth. pretty bad (enabled the sway default cfg).
I added a hint to our faq.

yeah I read and configured
and yes it's really easy of course after your help
sometime easy things just looks very complicated !
by the way one more help is required from you
how to enable screen sharing in firefox ?

hm. it should ™  work out of the box. it does for me:

ah, you installed minimal. minimal is missing all the packages marked as "extra" here. That includes xdg-desktop-portal-wlr

@boredland  yes sir , I have installed minimal sir
I will try to configure it
By the way thanks sir and thanks for help sir


Remove dead code in newfs

Remove code that was guarded by an #if 0 block in newfs, and references to
an undefined __FBSDID macro.
Signed-off-by: Dave MacFarlane<EMAIL_ADDRESS>

Please, rebase it too, we need a policy about the order of merging.

done


support multiple languages

adds new language fields for titles and lettering
runs a fuzzy match on existing title and lettering fields to handle transliteration issues

thanks for all this tidying up @jamesgorrie! all looking much clearer 😁


After updating to version 0.0.35, blaze compile never finishes

Version 0.0.34 and earlier still work without issue.

thanks, I will investigate

can you send me the file used to reproduce? send it to<EMAIL_ADDRESS>

Yes, just sent
On Fri, Sep 25, 2015 at 11:15 AM, Tom Larkworthy<EMAIL_ADDRESS>wrote:

can you send me the file used to reproduce? send it to
<EMAIL_ADDRESS>—
Reply to this email directly or view it on GitHub
https://github.com/firebase/blaze_compiler/issues/62#issuecomment-143312294
.

--
Patrick Yamane | Software Engineer
Stack Labs | 10054 Pasadena Ave, Cupertino, CA 95014
m<PHONE_NUMBER> | e<EMAIL_ADDRESS>This electronic mail transmission may contain private, confidential and
privileged information that is for the sole use of the intended recipient.
If you are not the intended recipient, you are hereby notified that any
review, dissemination, distribution, archiving, or copying of this
communication
is strictly prohibited.  If you received this communication in error,
please reply to this message immediately and delete the original message
and the associated reply.

Thanks for the report, perf regression fixed in 0.0.36


Improve selecting frame by position in the cli

I did a bit of refactoring around positional indexes in the cli.

Commands accepting a frame index only accept negative numbers (watson edit -1 but not watson edit 3). It wasn't making much sense IMO.
Fixes #98 (editing a frame having a numerical id)
Fixes an issue were watson edit -2 was actually creating a frame with the id "-2"
It's no longer necessary to add -- before a negative index (you no longer need to type watson edit -- -2, yay!)
watson remove accept an index or an id

I like it.

Thx @k4nar ! :+1:

Don't forget to update documentation with: make docs. Thx.

@jmaupetit : Done :) .


Detect if image is in cache

Is there any way to detect if an image is in the cache?
My use case is that I want to do a progressive image loading effect when the image is not cached (fade in on load). However, I don't want the fade when the image is cached, because it is better to just show the image immediately in that case

+1 I'm currently looking for this same solution

+1 I was here for the same use case !

This will be possible once https://github.com/DylanVann/react-native-fast-image/pull/228 is implemented

Please check #351

+1 for this, I'm in the same situation :(

If you want to show up cached images immediately, and show loader on newly images, you can use a temporary hack until it will be improved:
onProgress //set isLoading to true
onLoad //set isLoading to false
onLoadEnd //set isLoading to false


release-21.1: sql: return a SQL Notice if "CREATE TYPE IF NOT EXISTS" command is used to create a type and the type's already existed.

PR: https://github.com/cockroachdb/cockroach/pull/65635
From release notes:

CockroachDB now returns a SQL Notice if a CREATE TYPE IF NOT EXISTS command is used to create a type and the type already exists. [#65635][#65635] {% comment %}doc{% endcomment %}

This is just a notice - no behavior has changed.


Adding type to the global scope can polute a library using using

Repro
main.cadl
import "./lib.cadl";

// Find references for this(or rename)
model Foo {}

lib.cadl  (this would represent a library)
import "./other.cadl";
namespace MyLib {
  // This is good we don't find it as a reference to the root Foo
  model Foo {}
}

other.cadl
using MyLib;

model ReferenceFoo {
  foo: Foo; // This is mean to point to MyLib.Foo but the global Foo gets resolved
}

This can be result in some really bad overriding of library code.
Solutions?
Global scope is scoped to a file
Any element not defined in a namespace cannot be referenced from another file.
Using elements gets resolved before global scope
When resolving elements it should look into the using before the global scope.
Some way to lock a library resolution
As Nick pointed out this is not a problem in csharp outside of a given project as the resolution get locked, maybe we could figure out something similar. Though the reason it probably work in csharp is each library is compiled and everything is resolved at a library scope.

Very surprising, I'll take a look

Hmm, I'm not sure this repro is wrong. global.Foo is found before we look for anything brought in by using.
That ReferenceFoo really does use the global Foo:

Don't understand what happened with Model, though in your PR. Looking

I thought I reproed outside of my pr

Don't understand what happened with Model, though in your PR. Looking

I misunderstood the effect, it's that decorators in a lib using Model via using start referencing the global Model in the test, not that references in the test to Model start referencing Cadl.Reflection.Model
Seems find-references/rename/goto-definition are respecting same resolution as compiler, but compiler resolution is very confusing at best. IIRC, global is preferred over using in C# too, but you can't impact a compiled library that you reference at all so it doesn't lead to something quite this bad!

updated the issue with the findings

I don't think this is entirely limited to global namespace.
I suspect that if you had a lib with definitions in namespace A and using A.B with Foo resolving to A.B.Foo normally, then someone came along and added A.Foo, the references would get hijacked. But it's much more severe for global because everyone is impacted.

@markcowl this needs design and I think should be considered high priority to design. We don't have a proposal yet. Adding design label.

However it might come cheaper after we get this seperation of symbol resolution from the type checking that we needed for another issue.

Does anyone have a link to the other issue in question?

Talked briefly with @bterlson and the different import rules are concerning. Counter-proposal for v1. Document aggressively that a library should never add types to a global namespace or to a namespace that it does not "own". This is a good guideline anyway. But the downside is that if anyone does not follow it, it can be very hard to diagnose. Can use full-qualification as workaround for offending library too.

I think the most conservative guideline is every library must pick a unique namespace name and put everything there or below. I think we do this in practice. We have some cases of library with more than one namespace but no cases of one namespace reused in multiple libraries. I will check this.

Another idea is to make it an error for a reference to be ambiguous between something brought in by using and something not. Today, I think the non-using one just silently wins and that's where all the confusion starts.
I've reviewed and in practice I do not find a single instance where this can come up in all the libraries we've shipped. So the guidelines above are good and then we'd have a diagnostic that someone who is a victim of a lib not following them can workaround by replacing usings with full qualification. I will need a bit more time to test and write this up. If we can agree on the general idea of only adding diagnostics and guidelines in today's design meeting, I can bring it back with a proper proposal after that.

document good namespace behavior
document 'reserved' namespaces
add a diagnostic

if possible, add detail to diagnostic about library source of conflicting types

cons:

error could be difficult for users to decipher / fix if issue is caused by conflict between shared libs

things to consider:

linting rules for libraries
namespace registry

Will validate this with @bterlson, then create implementation issue.

The proposal for the diagnostic that is basically approved pending vetting with @bterlson is basically to make this:
https://cadlplayground.z22.web.core.windows.net/?c=bW9kZWwgTSB7fQoKbmFtZXNwYWNlIEIgewogIMscfQoKdXNpbmcgQjsKCsYYUSBleHRlbmRzxiI%3D
start issuing a diagnostic just like this:
https://cadlplayground.z22.web.core.windows.net/?c=bmFtZXNwYWNlIEEgewogIG1vZGVsIE0ge30KfQoKyh5C0x51c2luZyBBO8cJQjsKCsYhUSBleHRlbmRzxis%3D
In other words, generalize things so that using+in-scope can create same ambiguous reference error as two usings.
We would still need the guidelines so that you don't cause users to see this when combining two libraries together that pollute global or each other's namespace.
I think this is an improvement, it's not obvious to me that the global (or generally in-scope-without-using should silently win over using and asking for full qualification in that case as well seems fine.
That said, C# does have the same behavior as we do now:
https://sharplab.io/#v2:D4AQDABAgg3AsAKEQZwKYEMA2qAmEQBMEAshAN4C+iiAdugLarIAO6AxqtOYhL/kaUqIqSUYQgBFCAC4S5CkA===
But:

It's less consequential in C# due to distributing pre-compiled libraries

It's still confusing to me in C# and we still tell people the same guideline to use a scheme to keep their namespace unique (Company.Technology) and to never put anything public in global namespace.


Update action.yml with current inputs

Fixes #25

Can we get a release cut with this shortly?

I'll do it today!

thankyou!

done!


Prettier

#39

Deploy preview processing.
Built with commit 36ff027669fad19b499cc14d5286998c0e8c0916
https://app.netlify.com/sites/open-sauced/deploys/59d89608a6188f38c4d196a0


svg icons collecting same data as buttons?

@aldenstpage can you confirm this is the case? eg. see new html embed in dev: https://ccsearch-dev.creativecommons.org/photos/222394df-46ae-4c3e-9a06-dfa02afecdcf

Are we collecting analytics on https://ccsearch-dev.creativecommons.org/static/img/cc-by_icon.svg ?

It needs to be embedded somehwere for me to test it - let's see

Yes, we can see where the images are embedded


Help with Devtools g3 automated rolling.

I'm hoping to configure Caas for Devtools, but I'm in need of help from an admin who can initiate the process.
The config, and more information can be found here: https://critique.corp.google.com/cl/510501189
Any information or direction on this would be helpful :D

CC: @Hixie @godofredoc

@CoderDake the copybara application is installed and setup for all the repositories of the flutter org. Is there anything else required?

@godofredoc I need someone with admin permissions who would be able to potentially approve the above critique, and be comfortable running the copybara service insert [...] command in order to initialize our service.

Added @yusuf-goog  and @CaseyHillers as reviewers. They are more familiar with copybara, after the CL is landed I can run the commands to enable it.

@godofredoc the Copybara changes are now submitted.
I think a fresh client should be able to run the the command that was listed in the CL now, and the service should then get set up.
I look forward to seeing if that ends up working for us :D

The copybara command was run successfully:
INFO: 'devtools': Migrations 'devtools' was successfully added to copybara service.

@CoderDake please let us know if it is running as expected.

Thank you so much @godofredoc!!!!!!!!!!!!!! I will follow up if we run into any issues with it :D


feat: Add the ability to input T-SQL scripts content in addition to files

Enhancement: Add the ability to add SQL scripts as a content directly.
Reason: Previously, users could save SQL script to a file and input it with mssql_pre_input_sql_file and mssql_post_input_sql_file. Sometimes for shorter scripts it may be an overkill to create a separate file, and it would be easier to provide the script content to the role directly.
Result: With this update, users can provide a T-SQL script directly with mssql_pre_input_sql_content and mssql_post_input_sql_content variables.

[citest]

[citest]


add patch bit

What does this PR do?
Fixes logits test for BiT

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Need git tag for 0.4.31

Apologies that I can't create a mergeable PR to fix this but the latest release (0.4.31) doesn't have a corresponding git tag and was therefore tough to find.
The commit for that release: 4eaf5d527ef5d619aedbc48c9e09d3364239b41d
What's needed:
git tag 0.4.31 4eaf5d527ef5d619aedbc48c9e09d3364239b41d
git push origin 0.4.31:0.4.31

Oops, thanks. Added.

Thanks!


ForwardAuth support path regular expressions

Do you want to request a feature ?

Some media content type could directly to destination server without authentication forwarded.
e.g. *.jpg, *.gif, *.css, /js/*, /images/*, ...
What did you expect to see?

For example:
traefik.http.middlewares.xxx.forwardAuth.pathMatch = <regular expressions>

Hello @leotu and thanks for your interest in Traefik!
We don't think that it makes sense to add another level of routing inside the ForwardAuth middleware. To disable the authentication for some resources or paths a dedicated router could be used. This router would have a higher priority and no ForwardAuth middleware configured.
Therefore, we will decline this feature request and close the issue accordingly.


docs: make nav and layout work for mobile

Coverage remained the same at 87.606% when pulling 2999e313d0c375456127619a8ff46b0c72a55366 on abutterworth/mobile-docs-nav into 7f456962400afb026c74fd0d36d8f2af29d5d2f5 on master.

:tada: This PR is included in version 13.9.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Small fixes

upgrading dependencies
make test_race was failing due to a race condition in the test
client instantiation

LGTM. Thank you!


Update build.gradle

What went wrong:
Could not determine the dependencies of task ':app:lintVitalPetronasstgRelease'.

Could not resolve all artifacts for configuration ':app:productionDebugRuntimeClasspath'.
Could not find com.budiyev.android:code-scanner:2.1.0.
Searched in the following locations:
- https://repo.maven.apache.org/maven2/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- file:/Users/vagrant/.m2/repository/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- file:/Users/vagrant/git/node_modules/react-native/android/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- file:/Users/vagrant/git/node_modules/jsc-android/dist/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- https://jcenter.bintray.com/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- https://dl.google.com/dl/android/maven2/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
- https://www.jitpack.io/com/budiyev/android/code-scanner/2.1.0/code-scanner-2.1.0.pom
Required by:
project :app > project :react-native-esp-idf-ble-provisioning-rn > com.github.espressif:esp-idf-provisioning-android:lib-2.0.9

com.github.espressif:esp-idf-provisioning-android:lib-2.0.9 is no more available

https://github.com/yuriy-budiyev/code-scanner/tree/v2.1.0


Filter PII from requests to Common Platform

What
Link to story
Filter PII from requests to Common Platform.

thanks @arthurashman


onMount called before the WC is on the DOM (during SPA navigation)

Describe the bug
When using onMount and setAttribute to add some extra attribute to the WC, is lost during navigation because the onMount execution is before the diffing algorithm adds the WC to the DOM, then loses this extra attribute.
To Reproduce
Try to edit an element inside onMount, this will have no effect on the DOM.
Expected behavior
Edit an element on onMount should be reflected to the DOM.

I will try to generate the failing test. I think the problem relates to the asynchrony of doing the mount, not the onMount method. All onMount methods are executed after running the mount, but the mount has an await here:
https://github.com/brisa-build/brisa/blob/61f18d2592bc8313108ea9f4ff13dfe118425d14/packages/brisa/src/utils/brisa-element/index.ts#L244
Meanwhile in these mount calls no await is made.
https://github.com/brisa-build/brisa/blob/61f18d2592bc8313108ea9f4ff13dfe118425d14/packages/brisa/src/utils/brisa-element/index.ts#L315-L321

Detected bug annotations
after debugging... I got the root of the problem...!
I have seen the problem that is happening. Something I didn't expect, but it works like this... The web component is mounted before the component is visible in the DOM.
The reason, that in the diffing algorithm, we are parsing the chunks that are arriving in streaming using:
 const doc = document.implementation.createHTMLDocument();

🔗 Code

[!NOTE]
All this "magic trick to parse HTML nodes" is better explained in this Chrome video by @jakearchibald

We use the createHTMLDocument to parse the chunks into strings with a browser tool in order to have the real nodes in a separate DOM and to be able to compare them later with the nodes of the current DOM using the diffing algorithm and then use them on the real DOM.
I never thought that by parsing in createHTMLDocument the web components registered with customerElements.define() would be mounted here inside, but it seems to be true and it works like this.
I see that when building the node calling the walker is mounting the Web Component:
let newNode = await walker[FIRST_CHILD](newParent);

🔗 Code
And then, later, it's added to the DOM here, losing this internal modification via setAttribute inside the Web Component.
oldParent.insertBefore(insertedNode!, checkOld!),

🔗 Code
This would also explain other issues such as the double re-rendering https://github.com/brisa-build/brisa/issues/550 that sometimes happens with some web components when diffing when browsing. It is probable that the double re-render happens because we are doing a clone and the render is done in the createHTMLDocument and finally another one in the real DOM.
How to solve this?
Ideally, the document.implementation.createHTMLDocument() should not use the defined WCs and should only be mounted in the actual DOM. How feasible is it to do this? No idea. Maybe @jakearchibald can give us some advice here.
The reason why we are using document.implementation.createHTMLDocument() is so that in the MPA navigation it acts as SPA after comparing the parsed nodes from chunks that arrive in streaming with the current nodes, the diffing algorithm it updates only the parts that have changed, thanks to the Navigation API.
It is the only native tool available that I know of to be able to do this. However, we want to avoid mounting the WC before it is visible in the actual DOM, and only mount it at this instant....

I need to fit some more pieces to understand the problem. Maybe I am wrong with the explanation above. After debugging it looks like everything I said above. However, after adding a console.log inside the WC render, no log is done doing this:

and the custom element is defined 🤔 No log... No render, no mount. All looks correct... I don't understand now.

Here they talk about this error and that one solution is to change it to:
- const doc = document.implementation.createHTMLDocument();
+const doc = document.createElement('template').content.ownerDocument;

It is an option to try, although I don't know if the magic trick to parse in streaming will be viable, we will have to try it.

Here they talk about this error and that one solution is to change it to:
- const doc = document.implementation.createHTMLDocument();
+const doc = document.createElement('template').content.ownerDocument;

It is an option to try, although I don't know if the magic trick to parse in streaming will be feasable, we will have to try it.

I've tried, the good part is that the streaming and diffing is still working fine. The bad part is that it does not fix the bug. We must be missing something.... I have also tried with:
document.createElement('template').content.ownerDocument.implementation.createHTMLDocument()

But the same thing...

I WAS WRONG!!! It does exist in the DOM at the time of running the debugger, it looked like it didn't because I had not yet rendered the shadowRoot 😅 I see that after doing mount, this is executed, which is the cause:
 if (!newAttribute) oldAttributes.removeNamedItemNS(namespace, name);

https://github.com/aralroca/diff-dom-streaming/blob/0169dc1c9315099f340f7d60599e9fecf201eaca/src/index.ts#L99
So: It's creating the element and then updating the attributes... Tomorrow I'm going to continue investigating...

@AlbertSabate I did the fix on the diffing algorithm:
https://github.com/aralroca/diff-dom-streaming/pull/18
I realized that there were 2 steps. An insert and then an unnecessary update. In this case the update did a setAttribute only, but probably this second update in other cases is the cause of the double re-rerender reported here https://github.com/brisa-build/brisa/issues/550


feat: add animation and custom player

Animation and new classes for all the things.
There are event handlers for the various actions as well as certain properties are set to read-only for external scripts.
Please note that the animation will only show if the browser supports navigation.connection and the speed is above 3G. Setting the Kbps of the stream after the initial page load will cause the stream to increase in speed however the gif and the cover art will not.

Overall, I think we can merge this.

Also, I found that on autoplay (page load, no user interaction) the music stops playing the music if I switch tab. On user action this persists.

I know why the autoplay function on page load doesn't change the button... and in all honesty, it shouldn't autoplay to begin with. I have a fix for that already but if you're saying you're losing the playback on another tab, we need to look into that before merging.

While making this next update, should we have a call to action for the "push space or click here" call-out that disappears upon first play to ensure people know to?

While making this next update, should we have a call to action for the "push space or click here" call-out that disappears upon first play to ensure people know to?

That would be a nice to have.

Updated the CTA to what the /fcc site is.


Twitter counters no longer working

See here: http://stackoverflow.com/questions/33876953/how-i-can-get-twitter-count-now
Please remove counters from the Twitter buttons, they are not going back: https://twittercommunity.com/t/a-new-design-for-tweet-and-follow-buttons/52791

Are you kidding or just trolling?
https://github.com/sapegin/social-likes/releases/tag/3.0.15


errors in error panel - "ERR Tree element not found"

Sorry no steps, but I have just found this. The panel is currently not visible but might have been doing me verifying bugs...
ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]
    at e.getElementLocation (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:99:517)
    at e.isCollapsed (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:98:887)
    at n.e.isCollapsed (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1016:19)
    at t.revealMarkersForCurrentActiveEditor (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4891:276)
    at t.autoReveal (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4891:95)
    at t.onActiveEditorChanged (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4888:212)
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:332)
    at t.doEmitActiveEditorChangeEvent (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4902:709)
    at t.handleActiveEditorChange (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4902:485)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4902:833
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5339:314
workbench.main.js:1533   ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]
    at e.getElementLocation (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:99:517)
    at e.isCollapsed (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:98:887)
    at n.e.isCollapsed (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1016:19)
    at t.revealMarkersForCurrentActiveEditor (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4891:276)
    at t.autoReveal (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4891:95)
    at t.onActiveEditorChanged (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4888:212)
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:332)
    at t.doEmitActiveEditorChangeEvent (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4902:709)
    at t.handleActiveEditorChange (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4902:485)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4901:923
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at t.doSetGroupActive (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5359:901)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5359:343
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5332:15
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:3832:82
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2662:118
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:163:201
    at e.fire (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:81:312)
    at HTMLDivElement.r (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:87:1001)
    at t.setSelectionRange (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:538:448)
    at e.writeToTextArea (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:518:580)
    at a._setAndWriteTextAreaState (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:535:850)
    at a.writeScreenReaderContent (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:536:32)
    at a._setHasFocus (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:535:657)
    at a.focusTextArea (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:535:411)
    at t.focusTextArea (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:1996:289)
    at t.focus (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2023:275)
    at t.focus (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:2043:450)
    at t.focus (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:4270:742)
    at t.focus (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5338:100)
    at t.doCloseActiveEditor (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5341:845)
    at t.doCloseAllEditors (file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5344:457)
    at file:///Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.main.js:5344:300

None minified stack trace
ERR Tree element not found: [object Object]: Error: Tree element not found: [object Object]
    at ObjectTreeModel.getElementLocation (file:///Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/objectTreeModel.js:142:23)
    at ObjectTreeModel.isCollapsed (file:///Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/objectTreeModel.js:111:33)
    at WorkbenchObjectTree.AbstractTree.isCollapsed (file:///Users/jrieken/Code/vscode/out/vs/base/browser/ui/tree/abstractTree.js:905:31)
    at MarkersPanel.revealMarkersForCurrentActiveEditor (file:///Users/jrieken/Code/vscode/out/vs/workbench/parts/markers/electron-browser/markersPanel.js:496:32)
    at MarkersPanel.autoReveal (file:///Users/jrieken/Code/vscode/out/vs/workbench/parts/markers/electron-browser/markersPanel.js:489:22)
    at MarkersPanel.onActiveEditorChanged (file:///Users/jrieken/Code/vscode/out/vs/workbench/parts/markers/electron-browser/markersPanel.js:400:18)
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:545:41)
    at EditorService.doEmitActiveEditorChangeEvent (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/editor/browser/editorService.js:102:43)
    at EditorService.handleActiveEditorChange (file:///Users/jrieken/Code/vscode/out/vs/workbench/services/editor/browser/editorService.js:96:18)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/services/editor/browser/editorService.js:73:92
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at EditorPart.doSetGroupActive (file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/editor/editorPart.js:502:42)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/editor/editorPart.js:464:23
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/editor/editorGroupView.js:290:35
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/parts/editor/editorControl.js:145:111
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at file:///Users/jrieken/Code/vscode/out/vs/workbench/browser/composite.js:78:91
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at onFocus (file:///Users/jrieken/Code/vscode/out/vs/base/browser/dom.js:826:39)
    at Emitter.fire (file:///Users/jrieken/Code/vscode/out/vs/base/common/event.js:542:38)
    at HTMLDivElement.fn (file:///Users/jrieken/Code/vscode/out/vs/base/browser/event.js:9:48)
    at TextAreaWrapper.setSelectionRange (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaInput.js:499:26)
    at TextAreaState.writeToTextArea (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaState.js:29:26)
    at TextAreaInput._setAndWriteTextAreaState (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaInput.js:366:27)
    at TextAreaInput.writeScreenReaderContent (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaInput.js:374:18)
    at TextAreaInput._setHasFocus (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaInput.js:352:26)
    at TextAreaInput.focusTextArea (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaInput.js:334:18)
    at TextAreaHandler.focusTextArea (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/textAreaHandler.js:326:33)
    at View.focus (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/view/viewImpl.js:374:35)
    at Object.focusTextArea (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/view/viewImpl.js:138:27)
    at focus (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/mouseHandler.js:162:38)
    at TouchHandler.MouseHandler._onMouseDown (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/mouseHandler.js:166:17)
    at file:///Users/jrieken/Code/vscode/out/vs/editor/browser/controller/mouseHandler.js:53:111
    at HTMLDivElement.<anonymous> (file:///Users/jrieken/Code/vscode/out/vs/editor/browser/editorDom.js:104:17)

@joaomoreno Looks like my model and tree are out of sync. How can I check if the tree contains my model element or not?

How can I check if the tree contains my model element or not?

The right question is "how did the model get out of sync"? Otherwise you're going to have to populate your code with if (tree.hasElement(e)) { ... }


Unable train on GPU

I0513 15:22:19.096940<PHONE_NUMBER>02848 partitioning.py:452] `activation_partitioning_dims` = 1, `parameter_partitioning_dims` = 1
I0513 15:22:19.102880<PHONE_NUMBER>02848 xla_bridge.py:455] Unable to initialize backend 'cuda': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I0513 15:22:19.102970<PHONE_NUMBER>02848 xla_bridge.py:455] Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I0513 15:22:19.103725<PHONE_NUMBER>02848 xla_bridge.py:455] Unable to initialize backend 'tpu': INVALID_ARGUMENT: TpuPlatform is not available.
I0513 15:22:19.103788<PHONE_NUMBER>02848 xla_bridge.py:455] Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
W0513 15:22:19.103837<PHONE_NUMBER>02848 xla_bridge.py:463] No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.)

I’ve been trying to pretraining on a single node GPU machine. cuda 11.8 and cudnn 8.8.
I'm using A100 (40GB)
Which version of jax & jaxlib is needed?

Take a look at NVIDIA Rosetta T5x. There's a fully working container included which contains all the right versions to run.


Buffer properties/fields are enumerable

All getters, setters and properties (e.g. toString, constructor) appear to be enumerable.
This is probably not what you would want or expect when looping through the Buffer indices using a for-in loop.
You can make them non-enumerable using Object.defineProperty.

The Buffer implementation is provided by Browserify.
Not sure if this can be changed, I will probably look at alternatives eventually.


Allow multiple Kubernetes namespaces

Describe the Feature
The module currently only accepts 1 Kubernetes namespace, it would be nice to allow multiple namespaces to avoid duplicated Fargate profiles for multiple namespaces.
Expected Behavior
Currently only 1 namespace is accepted by variable kubernetes_namespace.
Use Case
Currently designing a cluster that uses 1 Fargate profile for "system" type namespaces (Eg. kube-system, nginx-ingress, ...), and an additional Fargate profile for "workload" type namespaces.
Describe Ideal Solution
The variable kubernetes_namespace could become a list of namespaces, which are applied using a dynamic configuration.
Alternatives Considered
Duplicating a Fargate profile for each namespace (not very efficient or logical).
Additional Context

That is true, but it only helps if your namespaces can be matched by the * - if not there is still a limitation.

@domeales-paloit It is a limitation of Fargate Profiles that each profile accepts only a single namespace.

@Nuru The limitation is on a maximum of 5 selectors: https://awscli.amazonaws.com/v2/documentation/api/latest/reference/eks/create-fargate-profile.html
The selector configuration block is a repeatable element in the Terraform configuration therefore it can be used multiple times to select multiple namespaces.
This would be easy to fix with a dynamic block statement.


feate: create grid

Current dependencies on/for this PR:

next

PR #184

PR #185

PR #193

PR #192

PR #197

PR #194  (this PR)

PR #191

PR #187

PR #186

This comment was auto-generated by Graphite.


Fix Testimony Details Link

Problem
After the most recent production deploy, we've started seeing links on the site fail to work. When we click one of these links, nothing happens and we see a console error: Error: Loading initial props cancelled, and what seems to be an infinite loop of GET requests. So far, it looks like this is happening with all links to a Testimony detail page. I can't seem to reproduce the bug in local development, though we see it in both the deployed dev and production environments.
Places we've seen this happen:

The Bill Page when clicking the More Details link for a given Testimony.
The List Testimonies page when trying to click on a specific Testimony.

Interestingly, if you right click and open the page in a new tab, the link loads correctly in that tab.
Repro Steps

Go to the page for a specific bill (e.g. https://www.mapletestimony.org/bills/193/S2555)
Click the More Details on a Testimony in the Testimonies section
See that nothing happens except for the aforementioned console error

Alternatively:

Go to the List Testimonies page
Click on any testimony

Success Criteria

[ ] The More Details link should correctly open the Testimony page instead of doing nothing.
[ ] The link to a specific Testimony on the List Testimonies page should correctly open the testimony instead of doing nothing

@mvictor55

To add one more spot this bug manifests: on the homepage, in the "what people are saying..." boxes (see screenshot below). Seems pretty clear that any link to a "detailed testimony" page is having this issue.


upgrade kafka-manager to <IP_ADDRESS>

Seems dead, i create new repo
https://hub.docker.com/r/hlebalbau/kafka-manager/


react added

fixes https://github.com/coderplex/coderplex/issues/131

[ ] Need new logo for the guide
[ ] We should name the guides as "Learn X", here it being "Learn ReactJS"

@duttakapil Create new issues for your requests(May be individual)

The new logo issue should already open I believe. I'll create one for renaming the guides


⚠ Avatar API Endpoint has degraded performance

In 5b86d2e, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5691 ms

Resolved: Avatar API Endpoint performance has improved in 20ecc45 after 9 minutes.


[BEAM-7274] Implement the Protobuf schema provider

The default implementation for Protobuf messages. Supports both
generated as dynamic messages.

NOTE: This implementation doesn't support Unknown Fields. I like to have a discussion with the reviewers how todo this.

@reuvenlax here is the first draft of Protobuf support. I hope the unit test testCoder and testCoderOnDynamic proves that having oneof's work as nullable fields (if you look at the Java API., they are actually treated as such. I think almost all permutations are unit-tested.
Things to discuss: Unknown fields.

I'm still reviewing this. A few high-level thoughts off the bat:

I'm not thrilled about creating a ProtoRow object, as I've so far attempted to prevent Row from becoming an "open" class that can by extended by users. I'd be happier if we could do this the way we did Avro classes, by generating a set of getters/setters (it would probably be more efficient as well)
There are various places where logical types would be preferable - e.g. all the places where multiple proto types map to a single Beam schema type. As written today the conversion is lossy - if you selected just that field, there would be no way to get the original proto type back; LogicalTypes provide a simple way of fixing this, though we could defer that to a future PR.

@reuvenlax I'll wait for your complete review, but keep in mind that I wanted a uniform way for handling concrete typed classes and DynamicType (DynamicType do require access via the FieldDescriptor). I had trouble getting it in the same way as the AvroUtils, but maybe this is due to my unfamiliarity with it. (I'm open to try to convert it, as most of the effort is spend in the tests anyway. The for internal use only note in the Java doc didn't seem encouraging to use though.
On LogicalTypes: Are you talking about Fixed32/Fixed64/UInt32/UInt64? I simply took the Scalar mapping described here: https://developers.google.com/protocol-buffers/docs/proto#scalar
If you are talking about Timestamp... well I like to have this configurable. Having it default to DATETIME will be a helper for making it available in Beam SQL or in output IO's like BigQuery.

Addition info, so I tried to get the logic using the FieldValueGetter with partial success, see experiment: https://github.com/alexvanboxel/beam/commit/d1a8e16a6d8a48b899ed769e4d0837937c31977c
My main issue is with RowWithGetters private get(Map/List)Value values that assume they have enough information to construct the embedded complex data structures. I could get rid of my ProtoRow if I could let the handling of the List/Row/Map to it's dedicated FieldValueGetter

I got it to work with the RowWithGetters but now without modifying it. See https://github.com/alexvanboxel/beam/commit/1da5715c74d1f3c5de66ae4ebcddcc148bfa7915
I keep on handling the List/Map/Row with the Getters as I need more context then the other implementations. Personally I find this better and more flexible then doing it in the RowWithGetters as you have more ways to give context (example: proto map is a repeatable message).
I looked for reference to the GenericRecord in Avro, but was disappointed that the GenericRecord gets materialised in a RowWithStorage. I'm quite sure with having the getters that handle collection this could be changed to RowWithGetters

ok, I was wondering if I should take action on this. Get it in master and
then rebase the other section.
_/
_/ Alex Van Boxel
On Thu, Jun 6, 2019 at 7:49 PM reuvenlax<EMAIL_ADDRESS>wrote:

@reuvenlax commented on this pull request.
In
sdks/java/extensions/protobuf/src/main/java/org/apache/beam/sdk/extensions/protobuf/ProtoRow.java
https://github.com/apache/beam/pull/8690#discussion_r291299236:

+import javax.annotation.Nullable;
+import org.apache.beam.sdk.annotations.Experimental;
+import org.apache.beam.sdk.schemas.Schema;
+import org.apache.beam.sdk.schemas.SchemaCoder;
+import org.apache.beam.sdk.transforms.SerializableFunction;
+import org.apache.beam.sdk.values.Row;
+import org.joda.time.Instant;

+/**

ProtoRow extends the Row and does late materialisation. It hold a reference to the original proto

message and has an overlay on each field of the proto message. It doesn't have it's own Coder as

it relies on the SchemaCoder to (de)serialize the message over the wire.

Each row has a FieldOverlay that handles specific field conversions, as well has special

overlays for Well Know Types, Repeatables, Maps and Nullables.

*/

Yes. I want to review this first though.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/8690?email_source=notifications&email_token=AAE4EM5RTN33LJTSVV6H6ZLPZFE2XA5CNFSM4HPXM2D2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB22KVRQ#discussion_r291299236,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4EM4BC2IAUU2VEUOP2CDPZFE2XANCNFSM4HPXM2DQ
.

Yes. I'd prefer to keep Row as a somewhat sealed class and not introduce extra subtypes. However there was enough other things to review in this PR that I figured I could review that first.

OK, I'll fix the issues you mentioned, although I doubt that I can do the
.toProto as it probably lacks
contextual information to reconstruct the descriptors, as the Descriptor
has a lot of possibilities to
reference other components like Enums and other Messages.
But I'll try...
_/
_/ Alex Van Boxel
On Thu, Jun 6, 2019 at 7:52 PM reuvenlax<EMAIL_ADDRESS>wrote:

Yes. I'd prefer to keep Row as a somewhat sealed class and not introduce
extra subtypes. However there was enough other things to review in this PR
that I figured I could review that first.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/beam/pull/8690?email_source=notifications&email_token=AAE4EM4Y265L3KH2IBSAYBDPZFFHLA5CNFSM4HPXM2D2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXDUVAY#issuecomment-499600003,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE4EM63XJIOB4GXYV3MEFTPZFFHLANCNFSM4HPXM2DQ
.

Yes. I'd prefer to keep Row as a somewhat sealed class and not introduce extra subtypes. However there was enough other things to review in this PR that I figured I could review that first.

Answered (and fixed comments), I also rebased the experiment to remove the ProtoRow as a subtype: https://github.com/alexvanboxel/beam/commit/1629557d6a6114b18ef4e3526b01900e5466a6e5

@reuvenlax I think I tackled all your concerns you posted. The build is failing, but this is due to a warning in Jenkins that has nothing todo with this PR (I investigated). The PR is also rebased.

Reverted changes to Row so it's back to the original implementation, except for the need of collectionHandledByGetter see remark above. (better name always welcome)
ProtoDescriptorSerializer is gone. I defined a ProtoDomain class that the user needs to use themself if they want to use DynamicMessages. having one ProtoDomain for all messages that belong together will make sure object equality works.
ProtoSchemaProvider only handles compiled Proto classes, it will give an error on DynamicMessages.
ProtoSchema is the workhorse, it's a bit like AvroSchemaUtils.

It would be great having this in the next release. From then on we can do incremental changes like:

Documentation
Option handling
Logical types

I also backported the ProtoDomain on the DynamicMessage PR to align it with this.
Sorry it took so long, but I needed to prioritize something different, but related with Proto (a proto schema registry).

Run Java PreCommit

Requesting @pablo to be added as reviewer.

Requesting @pabloem as a reviewer.

This PR is now rebased against master.This removed ProtoDomain (and it's tests) from this PR as it was part of the DymamicMessage PR that is now part of master. I think I've incorporated most of the comment of the review in this PR as well.

@TheNeuralBit / @pabloem can you re-review. Thanks.

Another comment: this delegates everything to Proto's reflection API, which can be quite inefficient. Compare with AvroSchema where we delegate straight to generated classes when they exist. Reflection might be necessary for the case of DynamicMessage (though in that case I think we should use RowWithStorage instead of RowWithGetters), but shouldn't be necessary when we have generated classes.

Another comment: this delegates everything to Proto's reflection API, which can be quite inefficient. Compare with AvroSchema where we delegate straight to generated classes when they exist.

Totally agree, but I wanted first a solution that works for every use-case. Optimization can happen afterward. I still have plans for iterative improvements, certainly related to protobuf options first, then optimize for performance (but I have to make performance tests for this to measure this)

Reflection might be necessary for the case of DynamicMessage (though in that case I think we should use RowWithStorage instead of RowWithGetters), but shouldn't be necessary when we have generated classes.

RowWithStorage could be a solution when the Row is materialized (with the getToRowFunction), but having the reflection API is still needed it you use the schema without materializing.  Again, I like to measure this, but we need a base line.

BTW I've checked out the PR to play with it a bit more. My worry is that in its current form "optimizing later" will not be so simple, since it doesn't currently fit in with the framework used by AvroSchema, AutoValueSchema, JavaBeanSchema, etc.. If you don't mind, I'll try and play with it a bit to see if I can get it to fit into that framework a bit better.

BTW I've checked out the PR to play with it a bit more. My worry is that in its current form "optimizing later" will not be so simple, since it doesn't currently fit in with the framework used by AvroSchema, AutoValueSchema, JavaBeanSchema, etc.. If you don't mind, I'll try and play with it a bit to see if I can get it to fit into that framework a bit better.

I don't mind, the thing that worries me is that it will miss the 2.18 as well (as it missed the 2.17 already). As we are depending in our business on this feature we are currently building our own version of Beam and that's a pain. For me the DynamicMessage is very important... I was thinking for the normal use-case going to a complete other codepath.

Closing this PR as it's supersede by several other PR that are already on master: Last remaining PR for full proto support is: https://github.com/apache/beam/pull/10502
Option/Metadata support has been split of and can be followed:

https://github.com/apache/beam/pull/10413 (options implementation)
https://github.com/apache/beam/pull/10529 (options support out of proto)


service worker should be supported

Env
service worker
Detail
> JSON.stringify([typeof window, typeof Buffer, typeof btoa, typeof self, typeof self.btoa, typeof globalThis.btoa])
 '["undefined","undefined","function","object","function","function"]'

Actual
Got Error.
Unsupported environment: window.btoa or Buffer should be supported
Expected
service worker should be supported

@antfu
Given

node also have btoa

https://github.com/DefinitelyTyped/DefinitelyTyped/blob/05094b6df4fb6f4404333725f13d63dd8aabeb34/types/node/buffer.d.ts#L2328-L2330

I suggest check Buffer first
if (typeof Buffer === "function") {
  // ...
} else if (typeof btoa === "function") {
  // ...
}

It still fails as this logic was not updated:
https://github.com/Rich-Harris/magic-string/blob/master/src/SourceMap.js#L3


tilt warnings all over the place

When I run the middleman server I get all of these tilt errors. I'm running the latest release of middleman (at this time 4.1.1).
== Executing: `./node_modules/gulp/bin/gulp.js watch`
WARN: tilt autoloading 'less' in a non thread-safe way; explicit require 'less' suggested.
WARN: tilt autoloading 'csv' in a non thread-safe way; explicit require 'csv' suggested.
WARN: tilt autoloading 'nokogiri' in a non thread-safe way; explicit require 'nokogiri' suggested.
WARN: tilt autoloading 'builder' in a non thread-safe way; explicit require 'builder' suggested.
WARN: tilt autoloading 'markaby' in a non thread-safe way; explicit require 'markaby' suggested.
WARN: tilt autoloading 'liquid' in a non thread-safe way; explicit require 'liquid' suggested.
WARN: tilt autoloading 'radius' in a non thread-safe way; explicit require 'radius' suggested.
WARN: tilt autoloading 'redcarpet' in a non thread-safe way; explicit require 'redcarpet' suggested.
WARN: tilt autoloading 'rdiscount' in a non thread-safe way; explicit require 'rdiscount' suggested.
WARN: tilt autoloading 'rdiscount' in a non thread-safe way; explicit require 'rdiscount' suggested.
WARN: tilt autoloading 'bluecloth' in a non thread-safe way; explicit require 'bluecloth' suggested.
WARN: tilt autoloading 'kramdown' in a non thread-safe way; explicit require 'kramdown' suggested.
WARN: tilt autoloading 'redcloth' in a non thread-safe way; explicit require 'redcloth' suggested.
WARN: tilt autoloading 'rdoc' in a non thread-safe way; explicit require 'rdoc' suggested.
WARN: tilt autoloading 'rdoc/markup' in a non thread-safe way; explicit require 'rdoc/markup' suggested.
WARN: tilt autoloading 'rdoc/markup/to_html' in a non thread-safe way; explicit require 'rdoc/markup/to_html' suggested.
WARN: tilt autoloading 'wikicloth' in a non thread-safe way; explicit require 'wikicloth' suggested.
WARN: tilt autoloading 'creole' in a non thread-safe way; explicit require 'creole' suggested.
WARN: tilt autoloading 'creole' in a non thread-safe way; explicit require 'creole' suggested.
WARN: tilt autoloading 'wikicloth' in a non thread-safe way; explicit require 'wikicloth' suggested.
WARN: tilt autoloading 'wikicloth' in a non thread-safe way; explicit require 'wikicloth' suggested.
WARN: tilt autoloading 'yajl' in a non thread-safe way; explicit require 'yajl' suggested.
WARN: tilt autoloading 'asciidoctor' in a non thread-safe way; explicit require 'asciidoctor' suggested.
WARN: tilt autoloading 'asciidoctor' in a non thread-safe way; explicit require 'asciidoctor' suggested.
WARN: tilt autoloading 'asciidoctor' in a non thread-safe way; explicit require 'asciidoctor' suggested.

My config looks like this:
require 'slim'

###
# Page options, layouts, aliases and proxies
###

# Per-page layout changes:
#
# With no layout
page '/*.xml', layout: false
page '/*.json', layout: false
page '/*.txt', layout: false

# With alternative layout
# page "/path/to/file.html", layout: :otherlayout

# Proxy pages (http://middlemanapp.com/basics/dynamic-pages/)
# proxy "/this-page-has-no-template.html", "/template-file.html", locals: {
#  which_fake_page: "Rendering a fake page with a local variable" }

# General configuration

# Reload the browser automatically whenever files change
configure :development do
  activate :livereload
end

# External pipeline for gulp assets
activate :external_pipeline,
  name: :gulp,
  command: build? ? './node_modules/gulp/bin/gulp.js default' : './node_modules/gulp/bin/gulp.js watch',
  source: "./.tmp/dist",
  latency: 1

###
# Helpers
###

# Methods defined in the helpers block are available in templates
# helpers do
#   def some_helper
#     "Helping"
#   end
# end

# Build-specific configuration
configure :build do
  # Minify CSS on build
  # activate :minify_css

  # Minify Javascript on build
  # activate :minify_javascript
end

Those are warnings, not errors. Feel free to ignore. IIRC, they come from using livereload.

It would also seem the BrowserSync proxy to localhost:4567 where middleman is running doesn't work correctly, it requires saving twice to have view and css changes show up.

I'm doing some issue-gardening 🌿🌷🌾 and came across this issue.
Sorry that this has lingered for quite a while! I think things are working as intended, and that this issue can be closed. Feel free to disagree and if so a PR with a failing test plus a fix would be a great start.


Implement decentralized exchange pool base on Uniswap VIA rust and substrate

Enhancement

[ ] Support "add liquidity" and "remove liquidity"
[ ] Support "mint" and "burn"
[ ] Support "transfer" and "approval"

I will contribute the following modules:

swap_with_exact_supply
swap_with_exact_target
add_liquidity
remove_liquidity
new_trading_pair & enable_trading_pair & disable_trading_pair

Event Type:
	#[pallet::event]
	#[pallet::generate_deposit(pub (crate) fn deposit_event)]
	pub enum Event<T: Config> {
		AddPreparing(T::AccountId, CurrencyId, Balance, CurrencyId, Balance),

		AddLiquidity(T::AccountId, CurrencyId, Balance, CurrencyId, Balance, Balance),

		RemoveLiquidity(T::AccountId, CurrencyId, Balance, CurrencyId, Balance, Balance),

		Swap(T::AccountId, CurrencyIds, Balance, Balance),

		EnableTradingPair(TradingPair),

		NewTradingPair(TradingPair),

		DisableTradingPair(TradingPair),

		PreparingToEnabled(TradingPair, Balance, Balance, Balance),
	}

Hey guys, I learned from the Antimatter community that Antimatter is now planning to expand to the Polkadot ecosystem. I would love to ask if it will be developed based on Uniswap V2?


Feature.modify 609

@zancas
What's this change do?
Implements the modify method, which is a requests.patch call to exclusively update that which a user specifies by sending in the keyword arguments. The arguments are those that are updated, and nothing more.
Any background context?
Where should the reviewer start?
Start at the unit and functional tests, then move on to resource.py changes.

@zancas: check out the failure in jenkins for the 11.6.0 run. This test doesn't fail for me locally, when testing against 12.0.0

Is there still a 11.6.0 Jenkins fail?   This PR shows "All checks have passed".

@pjbreaux I ran the tests locally, 11.6.0:
442 passed, 37 skipped in 109.24 seconds
The skips are mostly gtm.
I have some unittests on my version of the feature branch:
feature.unittest_modify_609
So, can you either rebase on top of it, or otherwise get it to be the thing this PR is to include it?

Rebased and pushed.


Convert Mesh shows IndexOutOfRangeException error

Converting mesh failed at a voxel mesh object.
error:
IndexOutOfRangeException: Array index is out of range.
Skinner.SkinnerModel.Initialize (UnityEngine.Mesh source) (at Assets/Plugins/Skinner/SkinnerModel.cs:57)
Skinner.SkinnerModelEditor.ConvertAssets () (at Assets/Plugins/Skinner/Editor/SkinnerModelEditor.cs:62)

target mesh:
TanukiAdult_mesh_skinner.asset.zip

It seems that this model doesn't have any tangents -- Skinner needs tangents for each vertex.
You can avoid this limitation by changing the following line:
https://github.com/keijiro/Skinner/blob/master/Assets/Skinner/SkinnerModel.cs#L57
to this:
   outTangents.Add(new Vector4(0, 0, 1, 1));

This change may cause some minor issues, but I think it works anyway.

I'm closing this issue. Please feel free to reopen if you find further issues.


VEGA-2020 update digital lpa pact test to expect new seperate name fields

VEGA-2020 #patch

Codecov Report
Patch has no changes to coverable lines.
:loudspeaker: Thoughts on this report? Let us know!.


Update KES Server Config

Summary
The SSE docs reference an older config syntax.
Need to update based on https://min.io/docs/kes/tutorials/configuration/#sample-configuration-file
Might also be a good time to do the API-based identity pattern to further simplify things.

Expanding scope a bit:

[ ] Update MinIO + KES docs to use API-based identity pattern
[ ] Check AWS Secretmanager setup for potential issues
[ ] Check Vault setup for potential issues

https://github.com/minio/minio/issues/17813

Partially addressed through https://github.com/minio/docs/pull/949
Need to finish out the API-key migration for the remaining backends, then trim out a lot of complexity in includes.

Closing per discussion


Jm/1.11.0

Description

Urgency

[x] Blocker
[ ] High
[ ] Medium

Requirements

Test all commands and procedures.
Build content locally and test for formatting/links.
Add redirects to dcos-website/redirect-files.
Change all affected versions (e.g. 1.7, 1.8, and 1.9).
See the contribution guidelines.

LGTM

retest this please


Can't save or use history

Originally reported on Google Code with ID 175
What steps will reproduce the problem?
1. Save a request (locally, not to google drive) - succeeds
2.  What do you see instead?
Expected => See saved/history requests and be able to load them
Actual => loading progress and then "Database error"

On what operating system, browser and browser version?
Max OSX 10.8.3, Chrome 26.0.1410.63

Please provide any additional information below.
See additional issue I am about to open about saving to google drive

Reported by<EMAIL_ADDRESS>on 2013-04-14 06:31:46

The issue is related to very old version and it's no longer valid.


doc: add working locally doc

Issue #, if available:
Description of changes:
Outlines common make targets, machine setup and the recently added run-in-docker.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jaxesn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jaxesn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


onActive variant?

Use case
we can annotate the style of a PressableBox when it's being hovered on desktop with onHover, or provide feedback after it's been pressed (not sure what the value of this one is, would love some clarification) with onPressed. How do we annotate it's styled while the user's finger is down on the screen, while pressing the PressableBox?
Proposal
add an onActive variant to style the PressableBox while it's being pressed.

Thank you for your contribution. Currently, we are handling the onTapUp. The Mix would provide a way to handle other behaviors, such as onTapDown. if we create onPressedDown and onPressedUp variants, it would solve this issue. What do you think about it, @leoafarias?

On version 1.4 we have implemented an $on.selected variant, but it should be implemented as part of the WidgetStateController as you can see here. https://www.fluttermix.com/docs/tutorials/controlling-widget-state


Make callback optional for Jimp.rgbaToInt

What's Changing and Why
Made an method argument optional in the the typings.
What else might be affected
I don't think much will be affected.
Tasks

[x] Add tests
[x] Update Documentation
[x] Update jimp.d.ts
[ ] Add SemVer Label

See #888

:rocket: PR was released in v0.11.0 :rocket:


Indentation not working on HTML empty tags

Possibly need to merge in the HTML empty elements as well?
eg: area|base|br|hr|img|input|link|meta|param

Go for it man.

Added 0c3aec54112bc6b85053b8400c1a6aa3f1f0d517


Automated Package Upgrade

:tada: This PR is included in version 25.3.213 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Yapf failures manual tests

Testing if manually implementing yapf on specific codes will bypass the build errors and addition of code to PRs

No longer necessary to use this branch/PR


Include Item and Project Templates

I would be nice to include a set of item and project templates in a vsix which could be installed.
This would replace the community templates (which are horribly out of date) with FsXaml specific templates.

My current thought is that it would be nice to include the following -
Project templates:

[ ] WPF Application (FsXaml) : Including App.xaml + App.xaml.fs / MainWindow.xaml + MainWindow.xaml.fs)
[ ] WPF Library (FsXaml) : Including UserControl.xaml + .xaml.fs and nuget references)

Item templates:

[ ] WPF Application (FsXaml) : App.xaml + .xaml.fs
[ ] WPF UserControl (FsXaml) : UserControl.xaml + .xaml.fs
[ ] WPF Window (FsXaml) : Window.xaml + .xaml.fs


theano is going to switch from cuda to gpuarray, are we going to support api changes?

WARNING (theano.sandbox.cuda): The cuda backend is deprecated and will be removed in the next release.  Please switch to the gpuarray backend. You can get more information about how to switch at this URL:
https://github.com/Theano/Theano/wiki/Converting-to-the-new-gpu-back-end(gpuarray)
theano is going to switch from cuda to gpuarray, the api may have some changes, will we support this change?

I believe it is already compatible. For example, Keras is using theano.tensor.nnet.conv2d and the only occurences of theano.sandbox.cuda.dnn are in instances of  _old_batch_normalization and the like.
I am installing libgpuarray and will do some testing.

I have a simple 3D CNN that works with the new backend. The runtime seems to be slightly longer ( < 10%), but I haven't activated any of the new optimisations.

@Dapid , How to activate new optimizations in keras?

Through THEANO_FLAGS. The ones I looked at aren't activated by default because they take more memory. http://deeplearning.net/software/theano/library/tensor/nnet/conv.html
For example, THEANO_FLAGS=optimizer_including=conv3d_fft:convgrad3d_fft:convtransp3d_fft
You can also activate it per function. In Keras you can pass them as kwargs in model.compile.

Those are old flags for the old back-end. They won't affect the speed on
the new back-end.
To compare the speed of both back-end, you should ignore the time in the
first call. Some compilation happen at that moment when we know the strides.
On Tue, Feb 7, 2017 at 10:56 AM Dapid<EMAIL_ADDRESS>wrote:

Through THEANO_FLAGS. The ones I looked at aren't activated by default
because they take more memory.
http://deeplearning.net/software/theano/library/tensor/nnet/conv.html
For example,
THEANO_FLAGS=optimizer_including=conv3d_fft:convgrad3d_fft:convtransp3d_fft
You can also activate it per function. In Keras you can pass them as
kwargs in model.compile.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/5303#issuecomment-278042882,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-7JvgeChISkVXQsplfgeRaOO04qPks5raJQPgaJpZM4L5HPY
.

I made an issue to update this doc:
http://deeplearning.net/software/theano_versions/dev/library/tensor/nnet/conv.html
On Tue, Feb 7, 2017 at 11:36 AM Frédéric Bastien<EMAIL_ADDRESS>wrote:

Those are old flags for the old back-end. They won't affect the speed on
the new back-end.
To compare the speed of both back-end, you should ignore the time in the
first call. Some compilation happen at that moment when we know the strides.
On Tue, Feb 7, 2017 at 10:56 AM Dapid<EMAIL_ADDRESS>wrote:
Through THEANO_FLAGS. The ones I looked at aren't activated by default
because they take more memory.
http://deeplearning.net/software/theano/library/tensor/nnet/conv.html
For example,
THEANO_FLAGS=optimizer_including=conv3d_fft:convgrad3d_fft:convtransp3d_fft
You can also activate it per function. In Keras you can pass them as
kwargs in model.compile.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/5303#issuecomment-278042882,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-7JvgeChISkVXQsplfgeRaOO04qPks5raJQPgaJpZM4L5HPY
.

Hmm, although do you find that you get a discrepancy between the old and the new backends?
I can't seem to get the new backend to work at all
https://github.com/Theano/Theano/issues/5475

Just a follow up, the problem was a bad NVIDIA driver. Now inside
libgpuarray we black list it.
On Tue, Feb 7, 2017 at 6:51 PM Hengjian Jia<EMAIL_ADDRESS>wrote:

Hmm, although do you find that you get a discrepancy between the old and
the new backends?
I can't seem to get the new backend to work at all
Theano/Theano#5475 https://github.com/Theano/Theano/issues/5475
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fchollet/keras/issues/5303#issuecomment-278183375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AALC-2-kMzLICy8zeI-1ZJ8d_ulpyCE_ks5raQN0gaJpZM4L5HPY
.

hi @Dapid @nouiz I install the latest keras which is 2.0.4, it show me an error. Then i upgrade the theano to 0.9 dev , the new theano show me switch to new gpu backend.

ValueError: You are tring to use the old GPU back-end. It was removed from Theano

Does i  switch the new gup backend ? or is there good idea? Thanks.


[MRTK3] world locked rendering or tracking broken on app resume

Describe the bug
App runs fine on fresh launch, but after launching the HL2 home menu then resuming the app, it seems head/space tracking is broken.
To reproduce

launch Simple MRTK3 app with a canvas being positioned from a RadialView solver.
2.Launch the home menu,
re enter the app, the canvas will now be fixed to the users view.

Your setup (please complete the following information)

Unity 2020.3.38f1
MRTK 3.preview11

Target platform (please complete the following information)

HoloLens 2

Additional context
I'm using URP
I'm using the default MRTK XR Rig, however I get this warning in my logs
Camera "Main Camera" does not use a AR Pose Driver or a Tracked Pose Driver, so its transform will not be updated by an XR device.  In order for this to be updated, please add either an AR Pose Driver or a Tracked Pose Driver.

I was able to fix the issue by

enabling Run In Background
adding a tracked pose driver to the camera

I'm not sure which of those steps were the solution.

reopening in case this is something that should still be fixed mrtk side

adding a tracked pose driver to the camera

@pajama By this, do you mean replacing the TrackedPoseDriver (Input System) with the non-Action-based TrackedPoseDriver?
i.e., doing this?

@pajama Just pinging here again :)

adding a tracked pose driver to the camera

@pajama By this, do you mean replacing the TrackedPoseDriver (Input System) with the non-Action-based TrackedPoseDriver?
i.e., doing this?

I added the non action based one but did not remove the input system version.

Interesting...thanks for the confirmation on the Tracked Pose Driver.
Can you please report which version if the Input System package you're using?

Adding @Clandguth here to repro the errors on app resume.

@srinjoym  can you try to reproduce

Unable to reproduce on the MRTK Dev Template project with Unity 2020.3.44 and Input System 1.4.4. Looks like this is fixed now with the input system package


Final 0.1 checklist

[x] extra n_channels arg PR #39

[x] change name of method for building chain?  #40

[x] switch to Zygote #19

[x] check the tutorial at https://github.com/alan-turing-institute/DataScienceTutorials.jl/pull/55 works locally

[ ] Register!!  PR pending: https://github.com/JuliaRegistries/General/pull/16542

[ ] register package with MLJ model registry

@ablaom Regarding switching to Zygote, I found a discrepancy here: https://github.com/FluxML/Flux.jl/issues/1084 . Apparently now Dropout doesn't naturally turn things off unless it is in the training mode (which has a slightly different definition that tracker-flux training mode).
I believe they've added it to the v0.11 milestone for Flux. We could use Zygote-Flux (but remove the dropout test, since it fails) or live with tracker for the moment. What do you think?

@ayush-1506 Thanks for investigating. Appreciate it!
Possibly I'm missing something, but my reading of FluxML/Flux.jl#1084 is that the post-zygote implementation of dropout is flawed  in a rather specific way but works fine in "normal" usage, no? After all, it would be kinda shocking if dropout has been fundamentally flawed since that issue opened three months ago. Perhaps you could make further enquiries?
Perhaps @AzamatB or @jondeuce could comment?
It would also help my understanding to see exactly what tests are failing. Are you able to update #19? Also, looking at the tests I see that we while we check whether or not a chain's  is in test or train mode at various points, we don't actually test if using dropout makes any difference to training outcomes.  That is, there should be a test where we run Short() (say) with and without dropout using the same initial values for weights  and check the training outcomes are genuinely different. Such a test would be especially important given the existence of dropout issues.

@ablaom If you look at the dropout test i.e:
@testset "dropout" begin
    model = MLJFlux.Short()
    chain = MLJFlux.build(model, 5, 1)

    input = rand(5,1)
    # At the moment, Dropout is active:
    @test chain(input) != chain(input)

Since we are not in train mode (post zygote era) right now, the test fails (we always get the same result of chain(input))

I've opened #43 that should make things more apparent.

Regarding Flux.jl#1084, there is a Dropout layer, which is turned on/off by trainmode!/testmode! and dropout function, which should always perform dropout independently of trainmode!/testmode! flag, but with the current implementation it does depend on it.

Yes, so if I specify one or more Dropout layers I can still turn them on and off (simultaneously) with the flag setters and it will work as expected, yes?
Indeed, even if I don't set them, the :auto default ought to make them work with the standard training=on test=off behaviour, yes?
If I am not using the dropout function, to get "special" behaviour, then there isn't really an issue, yes?

@ablaom My recollection of the issue is that Dropout layers work as intended in normal usage (i.e. the :auto default). The problem, however, is that when one explicitly sets trainmode!(layer), the docs imply that layer(x) should apply dropout to x both inside and outside gradient calls. But this does not happen, because while this does make Dropout layers call the dropout function internally, the dropout function itself is identity outside of gradient calls, and therefore no dropout is applied even though trainmode!(layer) was specified.
Defining the lower level dropout function to apply dropout regardless of whether it is inside or outside a gradient call would fix this issue, and it seems more natural to me (also, I believe it is stated in the docs that this should be the case).

@jondeuce @AzamatB Many thanks for these clarifications!

@ablaom it looks like MLJFlux is registered, is the checklist now complete?


update

Changed minimum password length to 1 and maximum to 128(Changed to 128 cause bitwarden password generator also has maximum 128 character)
Changed selection color to #066a8c
Before:

After

Added new screenshot in readme.md
Added password generator link https://michal037.github.io/password-generator/ in readme.md

Hi, thank you for the feature request!
I like these changes.  I need to fix the CSS for Mozilla Firefox because I saw that the interface is not centering properly. I also want to add a note that you helped me improve this code.

I wonder too, who ever uses such long passwords? With 20 random characters and long server response times, no one can break it. Sooner, they will break into the account using social engineering or security vulnerabilities. I set 64 characters for convenience and a smaller range on the slider.

I hope you will get well soon.
Yes 64 password is good. But people may need to use 100 word password compulsory in some site like birwarden. And also I think the minimum character for generating password should be at least 7 or 8.
And in firefox also it seems to be fine.

But people may need to use 100 word password compulsory in some site like birwarden.

Sure, it'll be useful in this case.

And also I think the minimum character for generating password should be at least 7 or 8.

I agree! But now it is more universal, you can generate, for example, 4-6 digital pins, bit strings, hex numbers etc. It only depends on the selection of character groups. Sometimes I use this app like this.

And in firefox also it seems to be fine.

Thank you very much for the verification. It is possible that they fixed this in one of the updates. I noticed the problem in 2019 as I was installing the software on the server and needed to generate a password.

4-6 digital pins, bit strings, hex numbers etc

oh i hadn't thought out it.


Missing migration

This commit: bc54cb4c6519cbd0947ad51561d7f0dd1ccc3112 references a missing migration. I  pulled master and received this output when running pythpn manage.py migrate:
django.db.migrations.exceptions.NodeNotFoundError: Migration breads.0002_auto_20170217_0853 dependencies reference nonexistent parent node ('wagtailimages', '0018_remove_rendition_filter')

Need to update the wagtail requirement to 1.9


atom crash when term3 tab is opened.

If other package like term3 tab is opened. When I use todo-show, atom will crash.

Hi @wangyun, this apparently is a known bug in term3 when splitting panes, see HERE. It also happens if you use Markdown Preview: Toggle and more.

Thanks @mrodalgaard , I can comfirm that like you said, this crash is related to term3, it happens if doing split pane when term3 tab is opened and not the current active tab.


feat: Popover and new Tooltip

📑 Description

Generic component utils/Popper.svelte implementing floating elements using @popperjs/core
Tooltip.svelte migrated to Popper descendant
Popper.svelte implemented using Popper
Popper docs initial examples

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information
For some reason yarn run gen:props does not generate Popover.json. I have copied some random props file to avoid errors.
I don't know what's missing that Popover.json is not generated.

Seems I've created against main branch.


RCTRootView.h file not found

I've found several posts regarding this issue but my problem seems different. At first I installed react native and tested the example programs which worked fine. Then I created my own projects which also worked fine. But after creating my own projects the example projects stopped working and returned the error: "Naming collision detected" upon trying to start npm.
It seems the node modules in the react-native root folder are clashing with the node modules in the folders for the individual projects I've created. Of course the projects were created automatically but I'm not sure why they're different to the examples. Also not sure why it seems to be set up to create a clashing problem.

npm install

Is that the end of your post? Did you mean to just write that? Yes obviously I have npm installed..

@hufeng You need to make sure that none of your custom modules specify react-native as a dependency. Check the node_modules directories from your custom modules and make sure there isn't a copy of react-native in there.

@hufeng Closing this for now since it's been inactive for a week. Please report back if you are still have problems. Thanks!


Fulfill aws-lambda peerDependency.

graphql-playground-middleware-lambda complains if aws-lambda isn't around.  I don't think Lamda stuff should have been added here in the first place, but at the very least the user shouldn't be getting warnings.

I agree with @wtgtybhertgeghgtwtg here. @wtgtybhertgeghgtwtg can you rebase the branch so we can merge?

I have rebased the branch.


feature/60-add-knowledge-world-model-graphs

Result of swarm_robotics/fordyca#424.

OBE. Long since been implemented.