Loading new scene still keeping cardboard stuff visible

The 0.5.1 release of the plugin has a release note stating the following to be fixed.

VR Mode was being left enabled when loading a scene that had no Cardboard script, which affected rendering and input handling in the new scene. All VR Mode state is reset on scene load now.

Unfortunately this is not true. While it works better than before, loading a VR scene -> loading a non-VR scene -> loading a VR scene and so forth ultimately ends up with a distorted mix of both scenes. Note that the Cardboard settings button is still enabled and usable but not any buttons from the non-VR scene. The below screenshot is showing: after loading a non-VR scene coming from a cardboard VR-scene.

Using Unity3D plugin: 0.5.1 (and removed everything prior to update)
Unity3D PRO 4.6.8f1
Tested on both iOS and Android

Note: Screen is rotated to left landscape before loading VR-scene and rotated to portrait in Start() of the non-VR scene.

Two questions:

Does this still happen with v0.5.2?
If you add a Cardboard script to the non-VR scene, and set its VRModeEnabled property to false in the editor, does that stop the issue?

Confirmed this is still happening in 0.5.2. When using the technique described in #2, Android Device is still drawing one frame of UI Overlay. This does not occur in editor.

OK, this is turning out to be harder to squash than expected.  Here's another workaround:  In your code that is about to launch a non-VR scene, turn off the UI layer like this:
Cardboard.SDK.EnableSettingsButton = false;
Cardboard.SDK.EnableAlignmentMarker = false;
Cardboard.SDK.BackButtonMode = Cardboard.SDK.BackButtonModes.Off;

(Use that last line only if you don't want the Back Button in the non-VR scene.)

This bug should be fixed in the new v0.6 release of the SDK.


tomcat deploy throwing errors when included in the grunt

I am trying to deploy my java script application to tomcat using the tomcat deploy plugin in grunt.
Has this been tested? I am getting errors like expecting attribute war.

I'm experiencing this same issue now. I don't see it on some of my other projects. I'll look into it a bit more.


[Removal]: This Pisces cluster is legit!

Hotspot Name
Feisty Magenta Corgi
Hotspot b58 Address
11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN
Discord Handle
oxido.eth#6091 and permalac#7147
Hotspot Manufacturer
Pisces
Removal Reason
This cluster is the result of careful planning and strict observation of the rules.
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
This cluster has been deployed gradually, only when ideal hosts and locations are found, in order to avoid transmit scale penalties. We have one more Pisces unit in our wallet (Rare Coral Orca) installed in a Low Transmit Scale area, waiting to find an ideal location, which we hope we will be able to do next month. This is definitely not the deployment pattern of a cheating cluster.
Calaf is a fairly isolated rural town and the hills that surround it make it difficult to witness other hotspots. Still, since the time our cluster was reported (apparently in April) we have made progress, we have moved to higher locations and/or installed SAW filters on some antennas. So we are now able to witness and be witnessed from different locations and by different makers. See, for instance:
https://explorer.helium.com/txns/38cATiw8kBFax3whRM9EnN7LpKlq4tvGA0aQKjCxmB0
https://explorer.helium.com/txns/PAc7BZKea95w12WKkyOV7G8CcnPWMxEL2m05LemRllU
https://explorer.helium.com/txns/bbBrbrQIsDo0YOXsRVSYGdhcu4M_xL-z4b_i82GKWOU
https://explorer.helium.com/txns/rfuTS5NzIF6v_AUbAV0tGJCOJabW4Q2Z3_p_hA2-Om0
https://explorer.helium.com/txns/pHA2j7uS4q476q_BmyKpyaXIgoLjVVtSETyWh9TqT1g
Therefore we request our affected hotspots (6) to be removed from the list, namely:
Feisty Magenta Corgi (11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN)
Urban Holographic Yak (1118MuNP8R6FXDJq948DPR6ccQ77HueCpxDSEt8uN5n4aTB6XeW)
Bald Hemp Pony (112iKA3Ae3UHJoNMaHHy4DGdvc992cQbJpvJuFQJYxPgx4JCtPag)
Sour Glossy Dachshund (1129brhaa8YyxUt6jMJZDLo9r9Q9NRfAAsfnrefp6KJeDPUKqHd1)
Joyous Chartreuse Marmot (112w2tgpk22MecSE36qEKzaQ6zngERgBTx27TvZcwEWuybPDT9Y8)
Quaint Tangerine Yak (11pAJj7Ze2iP37krHdwXNsWYYn86fsBo1Z6WRrNbsuiD1XmamRY)
We can also vouch for:
Energetic Daffodil Squid (11ryxDRFJmEZAKg7ZDzRxH1hDLhFzoY3cEZiFmc99dMdRQ82tMf), which is another Pisces unit from a friend's wallet that has followed the same deployment criteria and has also been wrongly listed.
We understand that cheating is a problem and that there were farms that were trying to take advantage, but this is definitely not one of those. There is only a lot of good fair work and time invested in this deployment. So please delist ASAP.
Please do not hesitate to contact us via Discord or any other means.

Confirmed these hotspots are seeing real network:
ETL 50 days, 3 hops from 11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN

Confirmed these hotspots are seeing real network:
ETL 50 days, 3 hops from 11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN

@IkerKodes This removal request is a model for good removal requests

Thanks for your fair understanding. We definitely support the Helium project and are looking forward to being part of a real decentralised IoT in our area. Please delist our hotspots as per the above information. There is only good commitment to the Helium standards involved in this deployment. If you need further info, please refer to the Discord handles mentioned above.

Confirmed these hotspots are seeing real network:
ETL 50 days, 3 hops from 11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN

@IkerKodes This removal request is a model for good removal requests

Thanks for your fair understanding. We definitely support the Helium project and are looking forward to being part of a real decentralised IoT in our area. Please delist our hotspots as per the above information. There is only good commitment to the Helium standards involved in this deployment. If you need further info, please refer to the Discord handles mentioned above.

To confirm - it's not in my power to undenylist you - I'm just a community member. But I've confirmed you shouldn't be on the list. So when someone official looks it should be good enough to have you removed
Maybe a higher Dbi than the stock Pisces one would also help reach further?

Thanks KXI1, we're considering changing the Pisces stock antenna as well (if SAW filters don't prove successful in the long term). Pisces have actually reported having some witnessing issues with their stock antenna, so we've now started testing with a McGill antenna (on Rare Coral Orca) in order to see if it's worth it to upgrade all antennae in Calaf.
As you mentioned, it's not up to you; still, we really appreciate your support. We're now just waiting for an official Helium member to delist us in order to continue testing and working towards the overall benefit of the Helium network.

Dear all,
(I wanted to rant but it turned to be a miserable desperation cry, this project is quite draining my appetite for technology )
I've been working with @IkerKodes so I'm going to add some extra personal information in here related to the reasons for the Addition to the list exposed in here.
Some clusters witnessing only same maker.
Currently there are some MerryIot seeing our pisces , I'll provide several examples:
https://explorer.helium.com/hotspots/11wZkCm3KyBsFTPx15zhYPAtfEJkkCgLZaDpNJMTQ3S2CR1E5Yg/witnessed
https://explorer.helium.com/hotspots/112hmKftSLdAp45qGiNZLZyQ2BPWb5qUwAGQ6VebZPTcboiJ7DAq
https://explorer.helium.com/hotspots/11pySQNt39yVWVqPe8GJNy35ew1i3FZEpkjjQrD8iDgUQAhdFP2
Our home town is a 3000 people town, we all know each other, this merryIot could have been pisces if they were easier to maintain. In fact I was even proposing to our friends to help them maintain them but then MerryIot turned out to be quite cheaper and that is why not all of them are pisces.
Some different rssi/snr/distance patterns.
I'm not sure what this is about but if it means that a HS is seen to improve their rssi/snr/distance patterns, that could be because we had some HS indoor (In the correct location) while we were waiting for the small truck crane of a friend, they were asserted in the location they would go and placed around 10 days later because the friend was sick for a while.
Witnessing cross country / cross continent and not seeing other makers.
I was born in Calaf but I now live in the UK (essex), so when I bought piscesiot I got it sent to the UK and since it was something new for me I did assert the location in UK, when I had the opportunity to travel for Xmas to see my family I took them all with me, that is why you can see that for several days 3 of the hotspots appear to be witnessing cross country.
After the Xmas period all the HS have the correct asserted location and altitude.
Extra bullet, why this location
Finally, yes, we know our location is not good, that is why we invested so much time in planning, we know almost everyone in our town, every five buildings we have a possible host that we know, and we have read all the rules and invested lots of hours in planning where to put each one of the hotspots. Still, with the current price we are quite unhappy with the output because we are high but surrounded by mountains, and the line of sight between some of our closes HS is almost impossible.
However the road C-25 is one of the most heavily used for freight in our country, and we expect to get something out of there.

Best regards
Marc

Hi Marc, I'd give the higher dbi a whirl - I've got a 6dbi on a Pisces (no SAW filter) and it does sometimes witness 'through' a nearby hill, I guess maybe bouncing off cloud cover (no idea).
Looking at a 70 day 1 hop from
11tocJJG2YTemCM9V7zzakW9ywfvxDGYi8u8FKScJPY7zMS5wpN
shows it did hit near Barcelona  at one point

The data now shows your hotspots view real network, so that's proof enough I think


feat: OpenHEXA SDK & Toolbox version info

As the title says.
To test it, you can build the image locally and run docker run hexa-base-environment pipeline run.

Looks good to me


Need to adjust timeout again (Poloniex API asking for 130sec timeout)

Hello,
Today I've seen a lot of logs like this:
notice: returnActiveLoans: Poloniex error 429: Too Many Requests. This IP has been banned for 2 minutes. Please adjust your timeout to 130 seconds.
So I guess Poloniex changed their timeout policy again and the bot needs to be adjusted to this new policy.
Other than that, the bot has been working really nice for more than a week without any interruption for me!
So, thank you again for your hard work!

@Shoananas, I've noticed the error has occurred a couple of times since yesterday.
I can increase the timeout, although I'm not sure it will resolve the issue since I haven't see a timeout error prior this 429 error code.,
Can you confirm if in your case the error 492 is preceded by a timeout error? Thanks

Nope I didn't see the timeout error, the first error 429 happens like this:
notice: returnOpenLoanOffers: Poloniex error 429: Too Many Requests. This IP has been banned for 2 minutes. Please adjust your timeout to 130 seconds.
and then:
notice: returnActiveLoans: Poloniex error 429: Too Many Requests. This IP has been banned for 2 minutes. Please adjust your timeout to 130 seconds.
all the way untill I restarted the bot

@Shoananas , since there was no timeout error prior the error code 429, it's not clear that increasing the timeout value will solve the issue.
The occurrence of this situation seems to be very infrequent. We should keep an eye on it and see if  we can come up with something more likely to solve it.
BTW, you mentioned that the issue diapered after restating the bot. Are you using it on Heroku? (as the restart may have given you a new IP address)

Yes, I am using it on Heroku. I stopped the bot (maintenance mode ON) for 5min and then disabled the maintenance mode.
I'll keep you informed if I run in another 429 error.

@Shoananas, these errors seem to be quite infrequent, also the reason why Poloniex server is responding with this error code is not clear (although the error message suggests a timeout issue, timeouts have not been seen in conjunction with this error).
I will not do any code modification at this stage.


[Identity] Token mixed when using the same DefaultAzureCredential instance for different service clients (e.g. AppConfig and KeyVault), resulting in errors.

Package Name: @azure/identity
Package Version: 3.2.2
Operating system: Windows
[x] nodejs

version: 18.15.0

[ ] browser

name/version:

[ ] typescript

version:

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
If we use only one instance of DefaultAzureCredential for different services like App Configuration and Key Vault, the token used to call the services seems mixed and leads to error. The following error is a custom one when we try to load a key from key vault (check "how to reproduce" part for more information) :
Failed to get AKeyVerySecretForTicket from Key Vault: [401] AKV10022: Invalid audience. Expected https://vault.azure.net, found: https://name-of-app-config-very-secret.azconfig.io., will retry in 300000

To Reproduce
const { DefaultAzureCredential } = require('@azure/identity');
const { SecretClient } = require('@azure/keyvault-secrets');
const { AppConfigurationClient } = require('@azure/app-configuration');

const credential = new DefaultAzureCredential();

const keyVaultName = process.env.KEYVAULT_NAME;
const appConfigName = process.env.APPCONFIG_NAME;

const keyVaultClient = new SecretClient(`https://${keyVaultName}.vault.azure.net`, credential);
const appConfigClient = new AppConfigurationClient(`https://${appConfigName}.azconfig.io`, credential);
setImmediate(async () => {
     const res = await Promise.all([
        getAppConfigValue("AnotherKeyVerySecretForTicket"),
        getKeyVaultValue("AKeyVerySecretForTicket")
    ]);

    // Do something really important with the values
    console.log(res);
});

async function getAppConfigValue(key) {
    try {
        const result = await appConfigClient.getConfigurationSetting({ key });
        return result.value;
    } catch (error) {
        console.error(`Failed to get ${key} from App Config: [${error.statusCode}] ${error.message}, will retry.`);
        throw error;
    }
}
async function getKeyVaultValue(key) {
    try {
        const result = await keyVaultClient.getSecret(key);
        return result.value;
    } catch (error) {
        console.error(`Failed to get ${key} from Key Vault: [${error.statusCode}] ${error.message}, will retry.`);
        throw error;
    }
}

Expected behavior
No error and the token fetched for App Configuration should not be used for calling Key Vault since the audience isn't the same
More context
Trying to understand this obscure behavior (since it was working before the upgrade to 3.2.x where we were using version 3.1.4), we tried to stringify the DefaultAzureCredential instance and we saw that the token in the cache was the same for both AppConfig and KeyVault services...
Also, we can't reproduce this bug in local environment. The bug seems to occur when we host the code in App Service and the DefaultAzureCredential use managed Identity

@KarishmaGhiya could this be a bug in MSAL?

@KarishmaGhiya could this be a bug in MSAL?

I am not sure about this, but I will be upgrading the versions of MSAL and releasing a bug fix soon for another issue. Then we can test whether the upgrade resolves this error too. Will keep you updated @Apokalypt

@Apokalypt Can you confirm what configurations in the azure portal you have done for Managed Identity?

Are you using system-assigned OR user-assigned identity?

Did you provide the service principal & app service the correct access to the keyvault and app configuration?

Can you also check if authentication is working for you in each of the following scenarios : when you -

Authentication works for app config when you comment out the getKeyVaultValue(key)
Authentication works for keyvault when you comment out getAppConfigValue(key)

@Apokalypt Can you confirm what configurations in the azure portal you have done for Managed Identity?

Are you using system-assigned OR user-assigned identity?

I'm currently out of the office, but from memory I've used system assigned identity.

Can you also check if authentication is working for you in each of the following scenarios : when you -

Authentication works for app config when you comment out the getKeyVaultValue(key)
Authentication works for keyvault when you comment out getAppConfigValue(key)

By commenting on one or the other, the error is eliminated and the values are recovered.

Did you provide the service principal & app service the correct access to the keyvault and app configuration?

Yes, because if I comment pieces of code related to one of the services, there are no more errors.

I won't be able to test until Monday, but as soon as I do I'll let you know.
( I'm just answering so that this issue isn't closed )

Just tested few minutes ago with version 3.2.3 @azure/identity and I still face the same problem

Folks, I have figured what the issue is. This is a bug related to parameters being passed to an internal function for token caching. Working on the fix for this. Meanwhile, please use the workaround of instantiating separate credentials for MI for the consecutive clients. Thanks!

Folks, this issue should be fixed with the release 3.2.4 version of @azure/identity - https://www.npmjs.com/package/@azure/identity
Please try and let me know if it works for you.


Check NVM compatibility with NEAR

Found some issues:

Errors in existing faucet server
Internal errors during the contracts deployment
Not full JSON-RPC compatibility at this moment (main compatibility question mark is on eth_getLogs style functions)


Remove EA.RazorCompiler reference

Part of https://github.com/dotnet/roslyn/issues/71024.
Mostly reverts:

https://github.com/dotnet/razor/pull/8242
https://github.com/dotnet/razor/pull/8824

@chsienki, @333fred PTAL


RuntimeError set_dataset_processing_params() even after setting such params before predict()

💡 Your Question
I am trying to run model.predict() on a custom trained from scratch model. I am getting the following error:
raise RuntimeError(
RuntimeError: You must set the dataset processing parameters before calling predict.
Please call `model.set_dataset_processing_params(...)` first.

However, I am setting the set_processin_params(..) before running the predict()  method, and I still get this error.
here is the implementation:
class YoloNAS(BaseModel):
    def __init__(self, model_architecture, path, max_detections_per_image, iou=0.35, conf=0.25):
        super().__init__('yolo_nas', path, max_detections_per_image)

        self.model = models.get(model_architecture, num_classes=len(self.classes), checkpoint_path=path)
        self.model.to(self.device)
        self.model.set_dataset_processing_params(   class_names=classes_list,
                                                    image_processor=models.get(model_architecture, num_classes=len(self.classes), checkpoint_path=path)._image_processor,
                                                    iou=iou, conf=conf )

    def predict(self, frames):
        predictions = []
        for frame in frames:
            frame_predictions = self.model.predict(frame)

and here are the super-gradient version and some other dependencies of my conda env:
super-gradients           3.5.0                    pypi_0    pypi
pytorch-cuda              11.7                 h778d358_5    pytorch
cuda-runtime              11.7.1                        0    nvidia
data-gradients            0.3.1                    pypi_0    pypi

Versions
No response

Can you please print the content of checkpoint["processing_params"] of the checkpoint you are trying to load into the model?
That would be the first thing to check - whether checkpoint indeed has the preprocessing params.
I don't quite get why you need this call:
        self.model.set_dataset_processing_params(   class_names=classes_list,
                                                    image_processor=models.get(model_architecture, num_classes=len(self.classes), checkpoint_path=path)._image_processor,
                                                    iou=iou, conf=conf )

This should be self-sufficient to load everything (model weights, preprocessing params) with a single line (Assuming checkpoint contains this data):
self.model = models.get(model_architecture, num_classes=len(self.classes), checkpoint_path=path)
If the checkpoint does not have saved preprocessing params in the first place, this models.get(model_architecture, num_classes=len(self.classes), checkpoint_path=path)._image_processor, would return None anyway.
So let's start from checking whether checkpoint indeed has all the required transforms. If you can provide additional information (training recipe, the SG version you used to train the model that produced this checkpoint or any other relevant information) that would help.

@BloodAxe I think I figured out the issue and it is related to the previous issues I posted.
I was having trouble originally loading a previously trained model to further finetune it:
https://github.com/Deci-AI/super-gradients/issues/1570
I ended up saving the model like this:
state_dict = model.state_dict()
checkpoint = { "net": state_dict }
torch.save(checkpoint, "checkpoint.pth)

I removed all this custom torch.save(..) logic, and figured out how to leverage the built in way super-gradients is saving the checkpoint to a specified location. I think we had issues in the past figuring out to which path on the remote cluster we could save the files since we dont have access to any path, it has to be specific location on the cluster where we have write access.
Now the model.pth dictionary has all the fields super-gradient is expecting :D
Thanks again for your time and help!


Update python to 2.0.7

Description

Update python to 2.0.7

See https://github.com/QuantConnect/pythonnet/pull/58
Related Issue

Closes https://github.com/QuantConnect/Lean/issues/5883
Motivation and Context

Bug fix and performance
Requires Documentation Change

N/A
How Has This Been Tested?

Unit and regression tests. Algorithm reproducing reported issue
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[x] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Using algorithm shared at https://www.quantconnect.com/forum/discussion/9597/the-in-amp-out-strategy-continued-from-quantopian/p4/comment-36557
MASTER
309.04 seconds at 47k data points per second. Processing total of 14,593,222 data points.
309.79 seconds at 47k data points per second. Processing total of 14,593,486 data points.
PR
184.28 seconds at 79k data points per second. Processing total of 14,593,288 data points.
185.41 seconds at 79k data points per second. Processing total of 14,593,376 data points.


Dataview queries distorted after updating to version 2.11.7

Describe the bug
After updating to version 2.11.7, all Dataview queries in my Vault appear distorted. This issue may be related to the concurrent use of the Metadata Menu plugin, which, like Iconize, utilizes icons within its interface. The distortion of Dataview queries was only resolved after uninstalling the Iconize plugin, which suggests a potential conflict between these plugins when used alongside the latest update.
Screenshot with Iconize on

Screenshot with Iconize disabled

https://github.com/FlorianWoelki/obsidian-iconize/issues/431

Potentially fixed by #433

i've also pushed another fix. so this might be fixed in v2.11.9. closing for now.

It is solved now in version 2.11.11 of Iconize


@Contextual for Map keys?

Hey folks, this library looks pretty good so far, but I'm running into one awkwardness around Map properties keyed by something other than String.
When the key type is a data class in my own codebase, I can annotate it with a serializer with a primitive descriptor, and avro4k is happy to use that. But for an external type, I'd like to be able to have properties like Map<@Contextual SomethingExternal, Foo> and have avro4k look up the serializer for SomethingExternal dynamically from context, but it doesn't seem to do so.
I can set @file:UseSerializers on the file, but I'd rather use @Contextual. Thanks!

Provide a simple example - I try to fix this.

@acruise thanks for raising this issue. Can you provide a small code (i.e. a failing unit test) so we can work on a solution more easily?

Just a side note. Regarding performances, you should use @useserializer instead of contextual, because contextual is resolving the serializer at runtime, while @useserializer is resolved at compile time!

See https://github.com/avro-kotlin/avro4k/issues/148

Done in #183


Intermediary Development Status Tracking

Work Request
For the action item to review requirements for CDC leadership by Thursday, November 2nd , please note:
On tab “MVP Requirements Dev Oct” - Each Intermediary team should update the status of their development against each requirement (Column L, N)) and provide a description as to what functionality within their intermediary system aligns with the requirement (Column M,O).
Anticipated Ticket Size
Assign a size for this ticket.  Use "t-shirt sizes".
- Large: Multiple people or longer than one day.
Anticipated Urgency Level
Assign an urgency level for this ticket.
- Urgent: Request within the current sprint (may impact current work in progress).
Other Notes
https://aphlinformatics.atlassian.net/wiki/spaces/IR/pages/1820852269/Reference+Materials+-+Intermediary+Development#ETOR-MVP-Requirements-Matrix

@sfradkin since this is a duplicate, ok to close? Or are duplicate stories handled in a different way?

This is a duplicate story of #606


Fixed sidebar issue

Hi, @ivp-dev
Thank you for all your effort and clean codes.
In your Demo, the Sidebar menu is fixed and does not scroll with the content of <main>
But in the solid example you made in:  https://codesandbox.io/s/react-bootstrap-sidebar-menu-ck23cz
and also, in my implementation, the menu scrolls with the page. I can add some CSS to customize it through "position" and some js to move the page, but I wonder if you already did something for the problem? like your demo?

Hi, @hooramin
Thank you for your feedback.
I have added some content to main and it seems that everything is fine and scroll appears were it should. Could you please provide screenshot or demo were page scrolls with sidebar.

Thanks for the quick response <3
I found the source of the problem eventually.
I had 2 div tags before the "root" you used in your apps.
So I just removed those tags. Now my App starts with the root div and works perfectly. I close this issue.
Before using this lib, I had a hard time with the sidebar menu of my App. But this one is clean and structured. I sincerely appreciate your work. I wish I could give you more stars.
Regards


Class 'com.firebase.ui.auth.KickoffActivity' does not implement interface 'androidx.lifecycle.LifecycleOwner'

Step 1: Are you in the right place?
Yes
Step 2: Describe your environment

Android device: Nexus 5X API 27
Android OS version: API 27
Google Play Services version: 16.0.0
Firebase/Play Services SDK version: 16.0.5
FirebaseUI version: 4.2.1

Step 3: Describe the problem:
After migrating to AndroidX Auth UI not working anymore
Observed Results:
java.lang.IncompatibleClassChangeError: Class 'com.firebase.ui.auth.KickoffActivity' does not implement interface 'androidx.lifecycle.LifecycleOwner' in call to 'androidx.lifecycle.Lifecycle androidx.lifecycle.LifecycleOwner.getLifecycle()' (declaration of 'androidx.lifecycle.LiveData' appears in /data/app/

Expected Results:
Showing Auth UI interface
Relevant Code:
List<AuthUI.IdpConfig> providers = Arrays.asList(
                  new AuthUI.IdpConfig.EmailBuilder().build(),
                  new AuthUI.IdpConfig.GoogleBuilder().build(),
                  new AuthUI.IdpConfig.FacebookBuilder().build());

// Create and launch sign-in intent
          startActivityForResult(
                  AuthUI.getInstance()
                          .createSignInIntentBuilder()
                          .setAvailableProviders(providers)
                          .build(),
                  RC_SIGN_IN);

This looks to be the same as in #1274 , can you see if any of my suggestions there help you?

Yes I followed all of this before, It's still not working. I'm using this version of lifecycle:
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0'

I had somewhat similar issue and commenting out/removing "implementation 'androidx.core:core:1.1.0-alpha02" solved it for me.

@ashwanibhatt Thanks a lot, You can't imagine how much this comment helped me.

Thanks @ashwanibhatt !!

I had somewhat similar issue and commenting out/removing implementation 'androidx.core:core:1.1.0-alpha02' solved it for me.

This Worked !!! Thanks so so much buddy

@ashwanibhatt902 But I need  this lib androidx.core: core for my project.

Many thanks to @bullest. Next line fixed it for me:
 implementation "androidx.appcompat:appcompat:1.1.0-beta01"


Add KB genre classification "kbcode"

For further data analysis and our research it is important to have information about genre classifications. Currently we have the Belgian Bibliography for KBR data and the possibility to have RAMEAU and Dewey for BnF data (#61). However, for KB data we so far do not map any genre classification.
The following SPARQL query executed on the public SPARQL endpoint of KB provided us a list of SKOS concept schemes form which concepts are used in the KB data with schema:genre
select distinct ?scheme
where {
  ?concept skos:inScheme ?scheme .
}

http://data.bibliotheken.nl/id/scheme/brinkman
http://data.bibliotheken.nl/id/scheme/kbcode
http://data.bibliotheken.nl/id/scheme/gtt

Whereas brinkman and gtt seem to contain keywords, concepts from kbcode represent genre classifications we should also extract.

Books are annotated with kbcode using the schema:about, not the schema:genre property. The schema:genre property links to brinkman concepts.

KBCode is apparently obsolete and the newer, more extensive, Brinkman topics should be used instead.


Add Rust and C client support for the verification discovery API

Allows Rust and C callers to obtain characteristics, capabilities and API endpoints of the Veraison verifier given a base service URL.
Example codes updated in both Rust and C to show how to use discovery in advance of creating the challenge-response session.
Discovery of provisioning API not yet supported, but the API framework is structured such that this would be a natural extension.
FFI coding conventions are based on the patterns already established by the existing C client layer.
Signed-off-by: Paul Howard<EMAIL_ADDRESS>

Would recommend squashing commits when merging.


UAT: Court assignment for Case

In case e-filing, the last step is to select State, District and Court, for where to file the case.

Change the third drop to show the value as "ON Courts"
in the case, set courtID = KLKM52. Hard code for now. Later once we add more master data, this will get assigned by pulling right value from HRMS and MDMS

@Taherabharmal @anirudh-0 @manimaarans  please note

These values should ideally come from Master data

HI @Taherabharmal  About the above issue can you please mention what exactly should be name of the court . Because that same will be used in orders pdf as well.

Hi @atulgupta2024  @Taherabharmal  Can you check the above question

I had already said it should be "ON Courts".
@Taherabharmal please confirm

Currently we are having one court we are not showing this model anymore in UI

@Ramu-kandimalla  ok. that's fine.


monitoring: add HTTP prober dashboard for the blackbox exporter

Has more detail for HTTP hosts than ICMP dashboard in #21.  Includes TLS version and days until certificate expiration.
Credit to harloprillar for creating the dashboard.  Screenshots at https://grafana.com/grafana/dashboards/13659-blackbox-exporter-http-prober/

bors r+


Adding users models and migration files

pulled out the apps(users, tasks) from the folder 'apps'
made the models in users app
made changes in the models on the tasks models
made migration files for the changes

fixes #25
fixes #38

@aradz1997 please rebase from main

@aradz1997 please rebase and push it ASAP

I already relaxed it , I'm now facing an other issue when trying to import models from one app to another

@aradz1997 please add the relevant issue that you fixing in this PR into the description

@aradz1997 please ask CR from your team members :)

I already relaxed it , I'm now facing an other issue when trying to import models from one app to another

Lets us know if you need any help with that issue. I guess that at least one of us already used imports from one app to another.

@aradz1997
Please add to the description of this PR the related issue
I think you already have one:
https://github.com/redhat-beyond/falcon/issues/25

Please use squash and merge when you merge to main


Whitespace in README.md

fix a couple of whitespace issues in the README.md and one of the test files.
I would love to use a linting tool for Markdown files as part of our tests (like markdownlint for node.js), but there is no such tool available for Python and it would make our test setup much more complicated if we'd use node.js in addition to Python...

Thanks @klamann , I learned something about parameterizing of the templates :)

Thanks @klamann , I learned something about parameterizing of the templates :)


jnp.unwrap: add support for period argument

Argument added in numpy 1.21

pulling in for testing on other backends


oauth2: Add default expiry for RFC compliance

Currently this filter does not work with Github - which would seem like one of the most likely use cases
This is a revival of https://github.com/envoyproxy/envoy/pull/14625
Should fix #14542

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @terorie @williamsfu99 amsfu99

/docs

/retest

this appears to work as expected in local testing

apologies for fp - im rebasing on this pr so it was to avoid the merge commit, pr commits were not changed


Show error Message when token is invalid

I set it up using a token I already had, but it seam to have had insufficent permissions which let to a hard to diagnose silent error.

Hello!
From what I can tell in your config, I'd suggest not modifying maximum_username_length as it's used for centering. If a username is longer than 12 then some bugs will occur. I'll be fixing this in the near future, so keep it at Twitch's maximum username length of 26 for now.
You may not be on the correct version of the binary, so try cargo install terminal-twitch-chat to update.
This might be at fault of Twitch's connectivity with IRCs, so simply turning the program off and on again may do the trick.
If that doesn't work, what OS are you on, and where did you place this config file?

It is running fine, but messages are neither send nor recieved

I'm running on the latest stable rust on arch linux.

Interesting, since I'm also running that same OS, I'm guessing it's something to do with the config file. Where did you place it?

~/.config/ttc/config.toml

And you've done cargo install terminal-twitch-chat once again just to be sure you're in the latest version?

yes I even ran it with --force to force a reinstall

You're supposed to get the token from https://twitchapps.com/tmi/, which can be found in the Twitch IRC docs, in the Connecting to Twitch IRC section: https://dev.twitch.tv/docs/irc/guide/

To quickly get a token for your account, use this Twitch Chat OAuth Password Generator.

Alright thanks, that works. We could make this issue into an "show error on insufficient token".

The IRC connects no matter what, as far as I know. I can check if this is correct.

Oh wait I see what I've been doing wrong, there's a ton of .unwrap() method calls in src/twitch.rs.

I'll fix this up once I make sure that .pre-commit-config.yaml is working properly.

I've started to work on this, hopefully I can find a fix with the irc crate.

The unwraps that I placed actually do nothing in terms of error handling incorrect tokens, so I'm going to have to dig a bit deeper into how the problem should be avoided.
If I can't find any coherent solution in the irc crate, I'll probably use regex to filter out tokens that don't have oauth: at the start, followed by a certain amount (or range) of characters.

makes sense, strange that the irc crate doesn't throw an error

Thank you @ModProg for finding this bug. Fixes have been included in v1.1.1.


Pass app handle to event listen callback

i think it would make sense to pass a handle to the app in event listen callback similar to tauri menu events.
.on_menu_event(move |app, event| {})
so
...::listen(app.handle(), |event| {})
would change to
...::listen(app.handle(), |app, event| {})

It seems Tauri decided to not pass the AppHandle to the callback for their listeners and personally I think Tauri Specta should maintain an API as close to possible as what Tauri has, so i'm not sure we should implement this but I would be interested in other peoples thoughts.
The way you would get the AppHandle is as the following if anyone comes across and is confused what the code currently looks like:
.setup(|app| {
    ...::listen(app.handle(), {
       let app = app.clone();
       |event| {
           todo!();
       }
    })
})


Make OverlayPortalController Listenable

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
I want to listen to the controller so that I can key PopScope.canPop on whether or not the overlay is currently visible.
Proposal
Make OverlayPortalController listenable and notify listeners whenever the overlay visibility is toggled.

I want to listen to the controller so that I can key PopScope.canPop on whether or not the overlay is currently visible.

Does it work if you subclass OverlayPortalController and make the subclass listenable?

Does it work if you subclass OverlayPortalController and make the subclass listenable?

That would work, yes. But seems like a pretty annoying work around. For the sake of dev ex, I have a strong preference for making the core class listenable (especially given that AFAIK all other controller classes in Flutter/flutter are listenable).

Needed this is several projects and created a very small package for that.
https://pub.dev/packages/listenable_overlay_portal_controller

FWIW, making OverlayPortalController itself listenable will likely be a breaking change: the owner of the OverlayPortalController would need to call dispose on the controller, otherwise its listeners will leak. I would prefer subtyping OverlayPortalController to keep the basic contract minimal.

Made a small example to make the isShowing really works using ChangeNotifier.
https://dartpad.dev/?id=9907539303159f822907bace7147a7f4


Created nitesh.json

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Created nitesh.json #10304

I will close as the PR has been open for a long time with no changes from the author


The size of input data is not the same

I trained model with RGB modality num_segment=16, batch_size=16, so I got input shape is [16, 16 *3, 224, 224]. In TSM or TSN they will convert into [-1, 3, 224, 224], but your method use base_output with shape is [-1, 3 * 5, 224, 224]. How can I change the input size?
Error:
 x_c5 = self.conv1_5(self.avg_diff(torch.cat([x2-x1,x3-x2,x4-x3,x5-x4],1).view(-1,12,x2.size()[2],x2.size()[3])))
RuntimeError: The size of tensor a (0) must match the size of tensor b (3) at non-singleton dimension 1

Sorry my bad!
I used different dataset.py for loading input data loader


sameboy: 0.13.6 -> 0.14.1

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 114583 at 1aa90bbb run on aarch64-linux 1

1 package built:

sameboy

1 suggestion:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/misc/emulators/sameboy/default.nix:22:3:
   |
22 |   patchPhase = ''
   |   ^

Thanks, fixed the suggestion.

What's the status on this PR? Is it blocked on me or review?

What's the status on this PR? Is it blocked on me or review?

I just have 900 GitHub notifications and didn't look at them the last two days.

On Mon Mar 1, 2021 at 5:48 PM CET, Sandro wrote:

What's the status on this PR? Is it blocked on me or review?

I just have 900 GitHub notifications and didn't look at them the last two days.

Totally understandable!Have a nice day.


Does DEX support customizing the LDAP group search based on the client_id or selecting connector based on client_id?

My Scenario

2 Static Clients configured on DEX corresponding to 2 different Kubernetes clusters
An LDAP Group OU looking like

ou=Groups,o=Org
  -> ou=Cluster1,ou=Groups,o=Org
    -> ou=Sysadmin,ou=Cluster1,ou=Groups,o=Org
      -> member: user1
      -> member: user2
  -> ou=Cluster2,ou=Groups,o=Org
    -> ou=Sysadmin,ou=Cluster2,ou=Groups,o=Org
      -> member: user3
      -> member: user4

Ideally I would like to be able to have different groups searches based on the client (cluster) for which the user is authenticating for:
Se if i select Cluster1 as client_id when authenticating then in the token i will have groups from the right OU ou=Cluster1,ou=Groups,o=Org , and when connecting to kubernetes it should be able based on client_id to make sure is a valid token for this cluster.
Is this , or anthing similar , possible with Dex ?
The only alternative i see is a dedicated Dex per Cluster , which i could do but feels like a burden.
Thanks

No, this isn't possible today. client_ids are public so I don't know the implications of this.

Going to close out since the question's been answered. If there's a specific feature request to propose please feel free to open another issue.

@primeroz you can use the LDAP connector twice with different id, name, and baseDN. Users can click on the named button for the cluster they want.
- type: ldap
  id: ldapCluster1
  name: "Cluster 1"
  ...
  groupSearch:
    ...
    basedDN: "ou=Cluster1,ou=Groups,o=Org"
    ...
- type: ldap
  id: ldapCluster2
  name: "Cluster 2"
  ...
  groupSearch:
    ...
    basedDN: "ou=Cluster2,ou=Groups,o=Org"
    ...


Cannot install this module the way it's written in the doc

Hello
When I do  composer require league/uri-query-parser as mentionned in the doc http://uri.thephpleague.com/query-parser/1.0/
I got this error :
 [InvalidArgumentException]
  Could not find a version of package league/uri-query-parser matching your minimum-stability (stable)
  . Require it with an explicit version constraint allowing its desired stability.

@Cryde Indeed the documentation is a little bit ahead of time because the 1.0.0 version is in review period. I'll release it this january when I have time as all issue have been resolve for the release.

Also to be totally honest I'm no quite sure about the PHP versions to support. I'm thinking of dropping PHP7.1 support before release ? thoughts :thinking:

version 1.0.0 is out and requires PHP7.2+


--print-config doesn't print extended rulesets

Bug Report

TSLint version: 5.18.0
TypeScript version: N/A
Running TSLint via: CLI

Suppose your TSLint configuration extends from tslint-config-prettier:
{
    "extends": ["tslint-config-prettier"]
}

...and you run tslint --print-config ./tslint.json on it...
Actual behavior
...you get a json blurb that starts with:
{
  "extends": [],
...
}

Expected behavior
For https://github.com/JoshuaKGoldberg/tslint-to-eslint-config/issues/2, it'd be useful to print the configurations extended from.

Note: although TSLint is no longer accepting most feature requests (#4534), this one would make migrating to typescript-eslint easier. It will remain open.

@JoshuaKGoldberg finally got approval to start working on OSS Fellowship. Would love to pair with you on this, if possible.

Awesome, great to hear that @JBhagat841! 🙌
#4744, which added the --print-config flag, is a good place to start if you're curious about where the code that launches the flag comes from. findConfiguration and extendConfigurationFile are good starting places within the existing code separate from that PR to see how the configurations are extended.
Feel free to ping me on gitter.im -either in https://gitter.im/palantir/tslint or as a DM- if you want a more real-time Q&A format. Since we're both in NYC (we've met IRL, right? 😆) I think we could coordinate something in person through that too!

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


undelegatebw not supported yet?

Is there undelegatebw supported by eosjs? if not, will it added as features? thanks

@jcalfee


HSEARCH-3503 Add dedicated default value bridges for java.sql.Timestamp, java.sql.Date and java.sql.Time

https://hibernate.atlassian.net/browse/HSEARCH-3503
It's incredible that java.sql.Date and even java.sql.Time behaves exact as java.sql.Timestamp.
The methods java.sql.Date#toLocalDate,  java.sqlTimestamp#toLocalDateTime and so on have a lot of issue relative to the default JVM timezones applied on the conversion.
Thus I avoided to use them or their reverse.

Pull Request Test Coverage Report for Build 1

36 of 42 (85.71%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 88.813%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultJavaSqlDateValueBridge.java
11
13
84.62%

mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultJavaSqlTimeValueBridge.java
11
13
84.62%

mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/bridge/builtin/impl/DefaultJavaSqlTimestampValueBridge.java
11
13
84.62%

Totals

Change from base Build 161:
-0.007%

Covered Lines:
16180

Relevant Lines:
18218

💛  - Coveralls

Added them to the table types and quoted them under `Support for legacy java.util date/time APIs' chapter.
Since I think that we have similar issue with them.

Crap, I saw you used the wrong ticket number in your last commit too late... Please mind next time?
Anyway, it's merged, thanks.

Sorry, I did not notice it.


TreeSliver - collapsing with no animation remove node and freezes app

Steps to reproduce
Find into fix

Run code example
Expand any node and try to collapse it
Collapse node
Try expand node again

Expected results
Tree node collapses and expands again
Actual results
Tree node does not expand because it is removed
Code sample
Code sample
import 'package:flutter/material.dart';

/// Flutter code sample for [TreeSliver].

void main() => runApp(const TreeSliverExampleApp());

class TreeSliverExampleApp extends StatelessWidget {
  const TreeSliverExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: TreeSliverExample(),
    );
  }
}

class TreeSliverExample extends StatefulWidget {
  const TreeSliverExample({super.key});

  @override
  State<TreeSliverExample> createState() => _TreeSliverExampleState();
}

class _TreeSliverExampleState extends State<TreeSliverExample> {
  TreeSliverNode<String>? _selectedNode;
  final TreeSliverController controller = TreeSliverController();
  final List<TreeSliverNode<String>> _tree = <TreeSliverNode<String>>[
    TreeSliverNode<String>('First'),
    TreeSliverNode<String>(
      'Second',
      children: <TreeSliverNode<String>>[
        TreeSliverNode<String>(
          'alpha',
          children: <TreeSliverNode<String>>[
            TreeSliverNode<String>('uno'),
            TreeSliverNode<String>('dos'),
            TreeSliverNode<String>('tres'),
          ],
        ),
        TreeSliverNode<String>('beta'),
        TreeSliverNode<String>('kappa'),
      ],
    ),
    TreeSliverNode<String>(
      'Third',
      expanded: true,
      children: <TreeSliverNode<String>>[
        TreeSliverNode<String>('gamma'),
        TreeSliverNode<String>('delta'),
        TreeSliverNode<String>('epsilon'),
      ],
    ),
    TreeSliverNode<String>('Fourth'),
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('TreeSliver Demo'),
      ),
      body: CustomScrollView(
        slivers: <Widget>[
          TreeSliver<String>(
            tree: _tree,
            controller: controller,
            toggleAnimationStyle: AnimationStyle(
              duration: const Duration(milliseconds: 0),
              curve: Curves.easeInOut,
            ),
            treeNodeBuilder: (
              BuildContext context,
              TreeSliverNode<Object?> node,
              AnimationStyle animationStyle,
            ) {
              Widget child = GestureDetector(
                behavior: HitTestBehavior.translucent,
                onTap: () {
                  setState(() {
                    controller.toggleNode(node);
                    _selectedNode = node as TreeSliverNode<String>;
                  });
                },
                child: TreeSliver.defaultTreeNodeBuilder(
                  context,
                  node,
                  animationStyle,
                ),
              );
              if (_selectedNode == node as TreeSliverNode<String>) {
                child = ColoredBox(
                  color: Colors.purple[100]!,
                  child: child,
                );
              }
              return child;
            },
          ),
        ],
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration

https://github.com/user-attachments/assets/05cf6085-c224-4173-8d94-d2621edc928f
Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel [user-branch], 3.25.0-1.0.pre.67, on macOS 14.6 23G80 darwin-arm64, locale pt-BR)
    ! Flutter version 3.25.0-1.0.pre.67 on channel [user-branch] at /Users/mairramersilva/Projects/op/flutter
      Currently on an unknown channel. Run `flutter channel` to switch to an official channel.
      If that doesn't fix the issue, reinstall Flutter by following instructions at https://flutter.dev/setup.
    ! Upstream repository https://github.com/Mairramer/flutter.git is not a standard remote.
      Set environment variable "FLUTTER_GIT_URL" to https://github.com/Mairramer/flutter.git to dismiss this error.
    • Framework revision e95462d83b (9 minutes ago), 2024-08-21 18:54:19 -0300
    • Engine revision b94e009703
    • Dart version 3.6.0 (build 3.6.0-164.0.dev)
    • DevTools version 2.39.0-dev.15
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mairramersilva/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/mairramersilva/Library/Android/sdk
    • ANDROID_SDK_ROOT = /Users/mairramersilva/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)

[✓] IntelliJ IDEA Community Edition (version 2023.3.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.92.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.95.20240801

[✓] Connected device (3 available)
    • macOS (desktop)                 • macos                 • darwin-arm64   • macOS 14.6 23G80 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad • darwin         • macOS 14.6 23G80 darwin-arm64
    • Chrome (web)                    • chrome                • web-javascript • Google Chrome 128.0.6613.84

[✓] Network resources
    • All expected network resources are available.

Reproducible using the code sample provided above.

flutter doctor -v
[!] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.24.1 on channel stable at /Users/deanli/dev/stable
    ! The flutter binary is not on your path. Consider adding /Users/deanli/dev/stable/bin to your path.
    ! The dart binary is not on your path. Consider adding /Users/deanli/dev/stable/bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (35 hours ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[!] Flutter (Channel master, 3.25.0-1.0.pre.83, on macOS 14.6.1 23G93 darwin-arm64, locale en-US)
    • Flutter version 3.25.0-1.0.pre.83 on channel master at /Users/deanli/dev/master
    ! The flutter binary is not on your path. Consider adding /Users/deanli/dev/master/bin to your path.
    ! The dart binary is not on your path. Consider adding /Users/deanli/dev/master/bin to your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 420755dcfa (5 hours ago), 2024-08-21 20:40:09 -0700
    • Engine revision b94e009703
    • Dart version 3.6.0 (build 3.6.0-164.0.dev)
    • DevTools version 2.39.0-dev.15
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.


cli doesn't work

I tried to build cli on MacOS and Ubuntu, but both didn't work because goreportcard-cli is not found.
❯ git clone https://github.com/gojp/goreportcard.git
cd goreportcard
make install
go install ./cmd/goreportcard-cli
goreportcard-cli

Cloning into 'goreportcard'...
remote: Enumerating objects: 6136, done.
remote: Counting objects: 100% (2648/2648), done.
remote: Compressing objects: 100% (1313/1313), done.
remote: Total 6136 (delta 1391), reused 2389 (delta 1205), pack-reused 3488
Receiving objects: 100% (6136/6136), 10.07 MiB | 1.05 MiB/s, done.
Resolving deltas: 100% (3233/3233), done.
./scripts/make-install.sh
zsh: command not found: goreportcard-cli

ubuntu@wonkun-ubuntu:~$ git clone https://github.com/gojp/goreportcard.git
Cloning into 'goreportcard'...

remote: Enumerating objects: 6136, done.
remote: Counting objects: 100% (2648/2648), done.
remote: Compressing objects: 100% (1313/1313), done.
remote: Total 6136 (delta 1391), reused 2389 (delta 1205), pack-reused 3488
Receiving objects: 100% (6136/6136), 10.07 MiB | 22.82 MiB/s, done.
Resolving deltas: 100% (3233/3233), done.
ubuntu@wonkun-ubuntu:~$ cd goreportcard
ubuntu@wonkun-ubuntu:~/goreportcard$ make install
./scripts/make-install.sh
ubuntu@wonkun-ubuntu:~/goreportcard$ go install ./cmd/goreportcard-cli
ubuntu@wonkun-ubuntu:~/goreportcard$ goreportcard-cli
goreportcard-cli: command not found

@wongni can you provide the output of go list -f '{{.Target}}'?


README refers to a done, should that be build instead?

Howdy, first off, thanks for this library. The only issue I have found so far after having used it for several months is that the README refers to a method called done() in the cache examples, but I can't find that in the source. I suspect that should be build() instead? Or I'm completely wrong, which happens quite often. Thanks.

Thanks for reporting this! And you're 100% correct, the README was wrong. Fixed.


83.33 kbit rate not configured properly

I've checked with an oscilloscope and the 83.33 kbit rate is not sending messages in the correct frequency. I use the https://www.kvaser.com/support/calculators/bit-timing-calculator/ for my esp32 projects and it shows correct results on the oscilloscope. I don't know what sample point percentage are you targeting so i cannot propose CNF1-3 values. If you fix it I would gladly give you feedback from an oscilloscope.

I noticed this as well. However it only seems to affect me if my canbus module uses an 8MHZ crystal. A 16Mhz crystal works perfectly.


Add support for UserManager CreateAsync to add external login as an atomic operation

Right now, if you look at the templates of Individual Account you will see code like this:
// ...
var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
var result = await _userManager.CreateAsync(user);
if (result.Succeeded)
{
    result = await _userManager.AddLoginAsync(user, info);
    if (result.Succeeded)
    {
        await _signInManager.SignInAsync(user, isPersistent: false);
        return RedirectToLocal(returnUrl);
    }
}
AddErrors(result);

Interesting enough, if AddLoginAsync fails, the result is a new user with no way to log in nor register again.

This happens if, for example, email confirmation is required. https://github.com/aspnet/Templates/issues/242 for details.

But that may not be the only reason, it could be because server error, or whatever.
I think it will be great if we can add a new overload to CreateAsync that accepts UserLoginInfo so instead of the above code, we can have
// ...
var user = new ApplicationUser { UserName = model.Email, Email = model.Email };
var result = await _userManager.CreateAsync(user, info);
if (result.Succeeded)
{
    await _signInManager.SignInAsync(user, isPersistent: false);
    return RedirectToLocal(returnUrl);
}
AddErrors(result);

The current workaround is to set UserStore.AutoSaveChanges = false; and manage all the SaveChanges operations manually.
or delete the user in case of fails (which introduces another point of failure on the delete operation itself).
Thoughts?

@rustd we can consider deleting the user if AddLogin fails in this flow (or they might be able to still reset their password today)

Meh...


Baseline Notify

Summary | Résumé
ADR to determine how to do baseline performance testing

I don't think we need this anymore... closing for now but will keep the branch around...


Bratseth/string bucket convenience constructor

@bjorncs please review
The thing you want to see is in the second commit


Remove unnecessary usage of eval

the Entity class in the object.js file uses eval twice in it's constructor.
https://github.com/ZaidMade/CatRat/blob/master/src/objects.js#L6
https://github.com/ZaidMade/CatRat/blob/master/src/objects.js#L7
This could easily be fixed by just using computed property keys instead of running JS code from strings.
this.type = types[_type];
this.sprite = sprites[_type];

I know that this isn't a real issue, but i don't really understand why eval is used.
i really like this game and would like to see it get finished.

I know that this isn't a real issue, but i don't really understand why eval is used.
I was working very quickly on this project at the time and clearly made a few simple mistakes. Now that you've pointed it out though, no clue what I was thinking. I was prioritizing just getting it to work over everything else.

I also noticed an unnecessary inline if statement right below that.
this.bop = ((Math.random() >= 0.5) ? true : false);
Thank you for playing around with it, giving feedback and showing interest! Makes me want to get back to working on this again!


Does fpdart have an orElse for IO ?

I am trying to reproduce this scala code with fpdart.
But I can not see in fpdart an IO method similar to orElse.
val noNumber: IO[Int] = IO.delay(throw new Exception("no number"))
assert(noNumber.orElse(IO.delay(2020)) == 2020)

Is there an fpdart alternative to the scala orElse?
Thanks !

Closed


feat: better handling for content block

idea: when processing content blocks, split contents to prefix/postfix spaces and lines. If a content block has prefix & postfix spaces, we can decide whether to use
[ a ] or [
  a
]

. Otherwise we should keep it untouched

Will this patch turn
[
word]

into
[
  word
]

Will this patch turn
[
word]

into
[
  word
]

maybe. but this is wrong. because this adds an extra space at the end of word. ideally we should distinguish between "inline block" and "multiline block"


He

Help! --> SignalRClient.SignalRError.webError(statusCode: 500))
I moved the working code to my project and ran it.
However, I don't know if Status Code: 500 is displayed.
The log contents are
2021-03-17T07:18:56.817Z debug: HttpConnection init
2021-03-17T07:18:56.819Z debug: HubConnection init
2021-03-17T07:18:56.819Z info: Registering client side hub method: 'receiveMessage'
2021-03-17T07:18:56.819Z info: Registering client side hub method: 'echo'
2021-03-17T07:18:56.819Z info: Starting hub connection
2021-03-17T07:18:56.819Z info: Starting reconnectable connection
2021-03-17T07:18:56.819Z debug: Attempting to chage state from: 'disconnected' to: 'starting'
2021-03-17T07:18:56.819Z debug: Changing state to: 'starting' succeeded
2021-03-17T07:18:56.820Z debug: Starting or reconnecting
2021-03-17T07:18:56.820Z debug: HttpConnection init
2021-03-17T07:18:56.820Z debug: HttpConnection deinit
2021-03-17T07:18:56.820Z info: Starting connection
2021-03-17T07:18:56.820Z debug: Attempting to chage state from: 'initial' to: 'connecting'
2021-03-17T07:18:56.820Z debug: Changing state to: 'connecting' succeeded
2021-03-17T07:18:56.863Z error: HTTP request error. statusCode: 500
description:
2021-03-17T07:18:56.863Z debug: Attempting to chage state from: '(nil)' to: 'stopped'
2021-03-17T07:18:56.863Z debug: Changing state to: 'stopped' succeeded
2021-03-17T07:18:56.863Z debug: Leaving startDispatchGroup (failOpenWithError(error:changeState:leaveStartDispatchGroup:): 176)
2021-03-17T07:18:56.863Z debug: Invoking connectionDidFailToOpen
2021-03-17T07:18:56.863Z debug: Attempting to restart connection
2021-03-17T07:18:56.863Z debug: nextAttemptInterval: milliseconds(0), RetryContext: RetryContext(failedAttemptsCount: 0, reconnectStartTime: 2021-03-17 07:18:56 +0000, error: SignalRClient.SignalRError.webError(statusCode: 500))
Please tell me how to fix it. please.

HTTP Status Code 500 means Internal Server Error. You need to debug your server to figure out why it is failing.

Closing as I don't think there is anything that needs to be done on the client. Feel free to re-open with a repro if you determine it is a client issue.


González/Antequera data sets

Two  tracks of nucleosome positioning .
paired-end (PE) sequencing. higher resolution than existing  single-end (SE)
Also provided  information to incorporate to the “Conditions” column in the tracks already in the browser.

we need to load GSM2253905 and GSM2253906
Kim is downloading the data from GEO
I have added the metadata for the tracks

Is that just one file. Maybe the telomeric contig? that's about that size...

I've had a look at the other files from GEO for this publication.  They all cover small regions in pombe and cerevisiae.  Do we want to host tracks that have values only in a small region?
I had a quick look at the paper.  I can't see any mention of genome coordinates for the fragments.

From Paco:
Dear Val and Kim,
I attach the nucleosome wig files for the files SRR3956100 and SRR3956101
corresponding to biological duplicates of nucleosome maps of S. pombe 972
h- made using the paired-end protocol of Illumina as described in González
et al. Genome Res 2016 Nov;26(11):1532-1543. PMID: 27672899
I guess you should be able to upload them directly to the PomBase browser.
If you need any further details, please, let me know.
Best wishes,
Paco
MN_Spombe_972h-_Rep2.wig
https://drive.google.com/a/usal.es/file/d/19VN2AARVwOK4ZceMbIb3rnY6Z6UBgC04/view?usp=drive_web
MN_Spombe_972h-_Rep1.wig
https://drive.google.com/a/usal.es/file/d/1TWl42kzPnrFkp7o2Lw4YJGVriTRA_u8a/view?usp=drive_web

We need to announce with  the explanation from Paco about why these datasets are improved from the existing ones.

"The reason is that they were
made using paired-end (PE) sequencing and the resulting maps are of higher
resolution than those made with single-end (SE) that are in the browser."

@Antonialock do you want to announce?

Yes, just one issue.
Only the features and DNA tracks are part of the URL...I'm sure any selected tracks also used to be part of the URL?
@kimrutherford

Only the features and DNA tracks are part of the URL...I'm sure any selected tracks also used to be part of the URL?

After a bit of testing I think the problem was having commas in the track titles.  Most tracks didn't "stick" when I went back to the same URL, but these two tracks did stick:

nucleosome positioning in pcr1delta during vegetative growth - Soriano et al. (2013)
Poly(A)+ transcripts during vegetative growth (reverse strand) - Lemay et al. (2014)

So I've changed the commas to semicolons and it now seems to work.

perfect! I've announced


Square icons for results in searchbar

When merged

#5723

oki lets change that

we can keep the size that is now - just remove the border radius

Originally posted by @exezbcz in https://github.com/kodadot/nft-gallery/issues/5500#issuecomment-1494379431

👋


RFC AppwriteExceptions on SDKs

@lohanidamodar please suggest how the swagger format should provide information on the possible errors the API can throw based on the official spec if possible. Some examples would make implementation easier.
Another issue I think we should reference is how to present information about the exceptions in the Appwrite documentation or on the SDKs repo themselves.


Soundbars

Will be there any support of soundbars? Like Q70T.
Thanks

Looks to me like the Q70T is a TV.  Not planning to support TVs.  There really isn't good overlap between Smartthings and Homekit in the space of sound bars.  Home kit has a speaker and smart speaker, and Smartthings has a audio volume capability, but other than controlling volume, I see no overlap.

Its a soundbar:
https://www.samsung.com/cz/audio-video/soundbar-hw-q70t/HW-Q70TEN/
Tonesto had soundbars in his plugin.
Ok then. Thanks for the info.

What were you able to do in home kit with it?Sent from my iPhoneOn Dec 10, 2022, at 11:31 AM, nseries100 @.***> wrote:
Its a soundbar:
https://www.samsung.com/cz/audio-video/soundbar-hw-q70t/HW-Q70TEN/
Tonesto had soundbars in his plugin.
Ok then. Thanks for the info.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Technically the Q70T is a TV (full model: QN65Q70TAFXZA), and the HW-Q70T is the soundbar. Gotta love reusing shortened model numbers for multiple devices. I have this Soundbar as well. Even within SmartThings, functionality is limited. For some reason it can't even control input source from a routine (whereas my Samsung tv can). It also creates 2 separate devices in ST, a soundbar and a music player.
In the Tonesto plugin, both of those devices were shown in HomeKit as "Not Supported" so I didn't bother trying to do anything with them.

If one of you guys can send me the debug logs upon start up I can see what the device is reporting as its capabilities and that will help to see if there is anything I can do.


✨ [REQUEST] Mealie Ingress Support

Checked

[X] If a new addon, I have checked on  Google that such as addon doesn't already exists
[X] If a new feature, I have searched in the discussions & issues that it was not already covered

Which addon?
Mealie
Is your feature request related to a problem? Please describe
it would be great to Access Mealie through NabuCasa URL / Ingress
Describe the solution you'd like
it would be great to Access Mealie through NabuCasa URL / Ingress

Just a +1

Hi, sorry this is not supported by the app : https://nightly.mealie.io/documentation/getting-started/faq/#can-i-serve-mealie-on-a-subpath

Is there a way to rewrite the paths?

Hi actually easiest is to use an iframe. It will work straight away! As long as you have exposed the mealie port through your router : https://www.home-assistant.io/integrations/panel_iframe/

I've given up after lots of tries some time again experimenting with nginx commands that modify the input such as redirect or sub_filter, each time modifying the nginx config of my mealie test addon using portainer, and never could find something that allowed to work. I haven't tried using auth through nginx though, perhaps it could help!

But what's the reason why it doesn't work? Does it try to resolve the URLs absolute?

that's my reminder indeed - that everything is hardcoded to /, I had a discussion with the dev that led to the same conclusion that sub path are not supported

Hi actually easiest is to use an iframe. It will work straight away! As long as you have exposed the mealie port through your router : https://www.home-assistant.io/integrations/panel_iframe/

@alexbelgium Would this also work with nabu casa?
Too bad it isn't possible to use Mealie over ingress!

Hi actually easiest is to use an iframe. It will work straight away! As long as you have exposed the mealie port through your router : https://www.home-assistant.io/integrations/panel_iframe/

@alexbelgium Would this also work with nabu casa?
Too bad it isn't possible to use Mealie over ingress!

Hi, it should as long as nabu casa allows to map external ports as a domain name would ! It works with my free self hosted domain at least

AFAIK it doesn't. HA cloud doesn't even use the normal way of calling the http server (that's what I experienced from working with cloudhooks), so I don't expect they can connect to a separate port

You could try with a free (or paid) domain also instead of nabu casa

Me neither but there are solutions such as duckdns i think to dynamically map your IP to domain

Let me rephrase, I don't own my public IP. I live in an apartment building where there is central routing, thus I can't open ports

@alexbelgium I don't want to ride a dead horse. But ingress would be realy nice and I just found this post:
https://github.com/mealie-recipes/mealie/discussions/695#discussioncomment-9888004
Does that help?

Hi, the proposed solution will not work `
ENV SUB_PATH=$SUB_PATH # this environment var will only exist during
docker build time
`
Alas the ingress url is defined not during the build time, but only after
the add-on is installed. You would have a much easier time to install
Mealie with iframe to have it in the sidebar
On Sat, Jun 29, 2024 at 15:08 Ingo Theiss @.***> wrote:

@alexbelgium https://github.com/alexbelgium I don't want to ride a dead
horse. But ingress would be realy nice and I just found this post:
mealie-recipes/mealie#695 (comment)
https://github.com/mealie-recipes/mealie/discussions/695#discussioncomment-9888004
Does that help?
—
Reply to this email directly, view it on GitHub
https://github.com/alexbelgium/hassio-addons/issues/1061#issuecomment-2198171989,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKRB2GIZRTD4HLKZ5ZTA6NDZJ2WUJAVCNFSM6AAAAAA66GRFBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJYGE3TCOJYHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ingress is now implemented! Please let me know how that goes


Tagged releases and changelog

Could you tag your releases and make the changelog directly visible in your GitHub releases? This would increase transparency for potential users and distribution maintainers. Something like https://skywinder.github.io/github-changelog-generator/ could be used to generate the changelog based on merged PRs and closed issues since the last release tag.

Will look into it! Thanks for the suggestion!
Cheers!!!


Adding an event listener to a xaml file using tab complete fails with Ensure Event Failed.

Describe the bug

Trying to add a new event for test page controls in XAML fails with "Ensure event failed":

Steps to reproduce the bug

Open test page
Try to add event (e.g. Button.Click) using XAML

If those don't repro, building, starting MUXControlsTestApp and retrying the stops usually shows the error message.
Expected behavior

Should create function instead of showing error message.
Additional context

Uno is also suffering from this (https://github.com/unoplatform/uno/issues/982 , https://github.com/unoplatform/uno/issues/1348#issuecomment-520300471)

Uno platform is also hitting this issue: https://github.com/unoplatform/uno/issues/1348#issuecomment-520300471

@chingucoding is this an issue in the MuxControlsTest app or an issue when using Winui?

Both, this happens in the WinUI solution itsself with MUXControlsTestApp but also when writing simple UWP/WinUI apps.

So changing the title from "test pages" to "pages" would be appropriate?

@YuliKl can we had this off to the VS team?

So changing the title from "test pages" to "pages" would be appropriate?

Yes, new title is fine.


fix(kit): ComboBox v3.x fix empty string option (#6307)

…(#6307)
PR Type
What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Build or CI related changes
[ ] Tests related changes
[ ] Documentation content changes

According to #6307, fix to v3.x

@splincode, fix to v3

@furevor thank you, your changes have already been implemented


Check errors

Fixes issue 428
Please take a look @vishrutshah @jhendrixMSFT

Changes look good.

Travis is passing. How does this look @ahmetalpbalkan ?


OpRegularizerManager could not handle ops

Hello,
I have tried a few examples from tensorflow/model with morphnet (lenet and resnet), a simple mnist model (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/mnist/mnist-tutorial.py) works. However, I ran into problems in some other more complex models under tensorflow estimator interface.
I wonder is there a recommended way to use morphnet in tf estimator inferface? I know there is quite some overhead in the estimator's graph. Detailed infromation below:
Regarding lenet (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/mnist/mnist.py) from https://github.com/tensorflow/models/tree/master/official/mnist, I observe that:
    I0904 13:14:27.240477<PHONE_NUMBER>61888 op_regularizer_manager.py:125]
    OpRegularizerManager found 63 ops and 4 sources.
    ......
    File "/home/dongm/workspace/laptop_mapping/morph-net/morph_net/framework/op_regularizer_manager.py", line 137, in __init__
    ['%s (%s)' % (o.name, o.type) for o in self._op_deque])
    RuntimeError: OpRegularizerManager could not handle ops: ['sequential/conv2d/BiasAdd (BiasAdd)', 'sequential/max_pooling2d_1/MaxPool (MaxPool)', 'sequential/conv2d_1/BiasAdd (BiasAdd)', 'sequential/max_pooling2d/MaxPool (MaxPool)', 'sequential/conv2d/BiasAdd/ReadVariableOp (ReadVariableOp)']

Regarding ResNet (https://github.com/mengdong/morph-net/blob/master/morph_net/examples/resnet/imagenet_main.py), I observe:
    I0904 11:27:34.397989<PHONE_NUMBER>42688 op_regularizer_manager.py:125]
    OpRegularizerManager found 629 ops and 53 sources.
    .....
    RuntimeError: OpRegularizerManager could not handle ops:
    ['resnet_model/batch_normalization_45/FusedBatchNormV3 (FusedBatchNormV3)',
    'resnet_model/Pad_6 (Pad)', 'resnet_model/batch_normalization_44/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_49/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_48/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_47/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_52/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_51/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Squeeze (Squeeze)', 'resnet_model/final_reduce_mean (Identity)', 'resnet_model/Mean (Mean)', 'resnet_model/batch_normalization_50/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_43/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_24/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_11/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_1/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad (Pad)',
    'resnet_model/batch_normalization/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_4/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_3/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/max_pooling2d/MaxPool (MaxPool)', 'resnet_model/initial_max_pool (Identity)', 'resnet_model/batch_normalization_2/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_7/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_6/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_5/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_10/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_9/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_8/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_14/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_13/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad_2 (Pad)', 'resnet_model/batch_normalization_12/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_17/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_16/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_15/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_20/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_19/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_18/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_23/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_22/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_21/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_27/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_26/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad_4 (Pad)',
    'resnet_model/batch_normalization_25/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_30/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_29/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_28/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_33/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_32/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_31/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_36/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_35/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_34/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_39/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_38/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_37/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_42/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_41/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_40/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_46/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_45/ReadVariableOp (ReadVariableOp)', 'resnet_model/batch_normalization_45/ReadVariableOp_1 (ReadVariableOp)']

@ayp-google

@mengdong Thanks for rising this issue.
We routinely work with ResNet and other complicated models so I don't think that the complexity is the issue.
Are you using  the encoding where channels is in dim=3?
Could you recover this behavior with a single ResNet unit and  print the entire trace?

Hello @eladeban,
Thanks for the prompt response. I don't think complexity is the issue. I suspect the additional node/ops created by tensorflow estimator interface. I will try with tensorflow slim to see how it works seems like you more success on tensorflow slim.

took another look. it might be reduce_mean in line 542.
can you apply the regularizer to take inputs prior to that?
qq: are you using channels_first?

Sorry for the late reply, yes, I am using channels_first. Let me modify the regularizer and give it a try

Hello, thank you for looking into the code. I have tried to modify the input_boundary to:
name: "resnet_model/block_layer4"
op: "Identity"
input: "resnet_model/Relu_48"
device: "/replica:0/task:0/device:GPU:0"
attr {
  key: "T"
  value {
    type: DT_FLOAT
  }
}

The entire trace is here:
I0910 17:29:56.384171<PHONE_NUMBER>60480 op_regularizer_manager.py:122] OpRegularizerManager starting analysis from: [<tf.Operation 'resnet_model/block_layer4' type=Identity>].
I0910 17:29:56.385807<PHONE_NUMBER>60480 op_regularizer_manager.py:125] OpRegularizerManager found 618 ops and 53 sources.
Traceback (most recent call last):
  File "imagenet_main.py", line 391, in <module>
    absl_app.run(main)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/absl/app.py", line 300, in run
    _run_main(main, args)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "imagenet_main.py", line 385, in main
    run_imagenet(flags.FLAGS)
  File "imagenet_main.py", line 378, in run_imagenet
    shape=[DEFAULT_IMAGE_SIZE, DEFAULT_IMAGE_SIZE, NUM_CHANNELS])
  File "/home/dongm/workspace/laptop_mapping/morph-net/morph_net/examples/resnet/resnet_run_loop.py", line 705, in resnet_main
    max_steps=flags_obj.max_train_steps)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 367, in train
    loss = self._train_model(input_fn, hooks, saving_listeners)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1156, in _train_model
    return self._train_model_distributed(input_fn, hooks, saving_listeners)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1219, in _train_model_distributed
    self._config._train_distribute, input_fn, hooks, saving_listeners)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1299, in _actual_train_model_distributed
    self.config))
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_core/python/distribute/distribute_lib.py", line 1810, in call_for_each_replica
    return self._call_for_each_replica(fn, args, kwargs)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_core/python/distribute/one_device_strategy.py", line 356, in _call_for_each_replica
    return fn(*args, **kwargs)
  File "/home/dongm/python-virtual-env/tftot/lib/python3.6/site-packages/tensorflow_estimator/python/estimator/estimator.py", line 1146, in _call_model_fn
    model_fn_results = self._model_fn(features=features, **kwargs)
  File "imagenet_main.py", line 347, in imagenet_model_fn
    label_smoothing=flags.FLAGS.label_smoothing
  File "/home/dongm/workspace/laptop_mapping/morph-net/morph_net/examples/resnet/resnet_run_loop.py", line 398, in resnet_model_fn
    gamma_threshold=1e-3
  File "/home/dongm/workspace/laptop_mapping/morph-net/morph_net/network_regularizers/flop_regularizer.py", line 72, in __init__
    regularizer_blacklist=regularizer_blacklist)
  File "/home/dongm/workspace/laptop_mapping/morph-net/morph_net/framework/op_regularizer_manager.py", line 137, in __init__
    ['%s (%s)' % (o.name, o.type) for o in self._op_deque])
RuntimeError: OpRegularizerManager could not handle ops: ['resnet_model/batch_normalization_31/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_36/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_35/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_34/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_39/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_38/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_37/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_42/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_41/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_40/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_46/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_45/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad_6 (Pad)', 'resnet_model/batch_normalization_44/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_49/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_48/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_47/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_52/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_51/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_50/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_43/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_24/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_11/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_1/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad (Pad)', 'resnet_model/batch_normalization/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_4/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_3/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/max_pooling2d/MaxPool (MaxPool)', 'resnet_model/initial_max_pool (Identity)', 'resnet_model/batch_normalization_2/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_7/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_6/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_5/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_10/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_9/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_8/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_14/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_13/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad_2 (Pad)', 'resnet_model/batch_normalization_12/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_17/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_16/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_15/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_20/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_19/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_18/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_23/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_22/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_21/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_27/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_26/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/Pad_4 (Pad)', 'resnet_model/batch_normalization_25/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_30/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_29/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_28/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_33/FusedBatchNormV3 (FusedBatchNormV3)', 'resnet_model/batch_normalization_32/FusedBatchNormV3 (FusedBatchNormV3)']


feat: add support for COBOL

Add support for COBOL
Ive added a basic COBOL provider and am looking for some feedback as its very minimal RN.
Some things for discussion:

Would support for https://cobolget.com/ be good?, or ironically that might fall under the remit of the nodeProvider as COBOLGet is a CLI published to npm for COBOL. ( although its installation guide does not suggest to install COBOLGet locally with a package.json, so maybe its not a node provider thing ).
I believe each COBOL is a separate thing ( you cant import COBOLS into other COBOLS ). Ive done a bit of looking and have seen some people concatenate many COBOLS into one output binary. We should support this right? example. Behind a flag or automatically if we find multiple COBOLS.

Ive reached out to a COBOL community asking for their standard workflows, still awaiting a response, but the community is not that active so i don't hold much hope. And we have @MarkMeridius writes COBOL at work.
Gonna do some more Github trawling of COBOL codebases to find more use-cases this weekend / week.

[x] Tests are added/updated if needed
[x] Docs are updated if needed

Me neither lol, and im getting the impression that COBOL varies alot between companies, for example it sounds like cusotm cobol compilers are somewhat common after speaking to Markey. Not even mentioning the proprietary ones. So ive decided the best starting point was GnuCOBOL.
But yea sounds like a good idea to get this merged then iterate on it in some way or another.

windows path issues i think  😭

Cant help noticing that get_app_path is looking like a bunch of triangles. Is there a preferred method for handling options and results? I guess its not to bad because there is only one path for the code to follow. Even clipy was pushing for the  if let syntax.

Awesome! 🎉


Envoy should be able to describe (Wasm) ABIs it supports

Title: Envoy should be able to describe (Wasm) ABIs it supports
Context:

consider a use case of a marketplace with Wasm extensions for Envoy
from a user perspective, it's important to know whether a given extension is supported by a particular Envoy distribution he is using right now
the assumption is that an answer like "use Envoy vX.Y.Z+" is not good enough (a user might be using either a 3rd party closed source Envoy distro, or a nightly build of upstream Envoy, etc)

Proposal:

Add to Envoy the ability to describe (Wasm) ABIs it supports
The initial focus is on the offline scenario where it is a user, or a marketplace, or a vendor, who needs to know this info
The online scenario, where it is a Control Plane who needs to know this info, is currently out of scope

Example use cases:

a user runs envoy --list-abis to get the precise list of (Wasm) ABIs this particular Envoy distro supports, e.g.envoy:
  version:
   ...
  abis:
    v1:
      host:
        network_filter:
          ...
        http_filter:
          ...
        access_log:
          ...
        http_client:
          proxy_http_call:   SUPPORTED
        grpc_client:
          proxy_grpc_call:   SUPPORTED
          proxy_grpc_stream: SUPPORTED
          proxy_grpc_send:   SUPPORTED
        tcp_client:
          ...
        udp_client:
          ...
      ...
      extension:
        network_filter:
          ...
        http_filter:
          ...
        access_log:
          ...
        http_client:
          proxy_on_http_call_response:           SUPPORTED
        grpc_client:
          proxy_on_grpc_create_initial_metadata: SUPPORTED
          proxy_on_grpc_receive:                 DEPRECATED
        tcp_client:
          ...
        udp_client:
          ...
      ...

a user then comes to a marketplace site, provides info from above and gets back the exact info on what extensions (and their versions) are applicable to him
a marketplace runs envoy --list-abis on popular Envoy distributions (e.g. upstream, getenvoy, istio, solo, etc) to provide compatibility info in advance
a vendor of a closed source Envoy distribution runs envoy --list-abis on his own binaries and submits this info to a marketplace in order to be present in the compatibility matrix for each extension in the catalog

I think it is easy to implement this with a dynamic approach by fetching symbols with wasm_vm_->registerCallback and any other functionality to provide ABI support.

Agreed. This is similar also for Envoy expressing what extensions it supports. cc @jpeach

Here is the re-worked schema that is meant to meet the following requirements:

it should support not only proxy-wasm but also Envoy-specific ABIs (see 2 examples below)
it should have the same form both for proxy-wasm and Envoy-specific ABIs (unlike in the original proposal)
it should be simple (given that the entire Wasm support in Envoy is new and might evolve significantly)

'@type': type.googleapis.com/envoy.data.abi.v3alpha.ABI
apis:
- name: proxy-wasm:0.1.0 # reference name
  description: Wasm for Proxies (github.com/proxy-wasm/spec)

  api: proxy-wasm # name of the API without a version component
  version:
    semantic:
      major: 0
      minor: 1
      patch: 0

  # API provided by host.
  host:
    # Module through which host API will be exposed to the extension.
    module: env

    functions: # use Wasm terms
    - name: proxy_log
      status: IMPLEMENTED # by default

    - name: proxy_configuration
      status: DEPRECATED # to flag the extensions that are still using this function

    - name: proxy_get_buffer

    - name: proxy_open_grpc_stream

  # API expected from the extension.
  extension:
    functions: # use Wasm terms
    - name: proxy_abi_version_0_1_0
      expectation: MANDATORY # Envoy will reject those extensions that are not exposing this function

    - name: proxy_on_memory_allocate
      expectation: MANDATORY

    - name: proxy_on_vm_start
      expectation: OPTIONAL # by default

    - name: proxy_on_new_connection

- name: envoy.extensions.tracers.v1alpha0 # reference name
  description: Wasm ABI for tracing providers

  api: envoy.extensions.tracers # name of the API without a version component
  version:
    grpc:
      major: v1
      stability: alpha0

  host: {} # API implemented only by the extension

  extension:
    functions:
    - name: envoy_extensions_tracers_v1alpha0_tracer_create # functions exposed by the extension must have fully qualified names
      expectation: MANDATORY

    - name: envoy_extensions_tracers_v1alpha0_tracer_destroy
      expectation: MANDATORY

    - name: envoy_extensions_tracers_v1alpha0_span_start
      expectation: MANDATORY

    - name: envoy_extensions_tracers_v1alpha0_span_set_operation

    - name: envoy_extensions_tracers_v1alpha0_span_set_tag

    - name: envoy_extensions_tracers_v1alpha0_span_finish
      expectation: MANDATORY

- name: envoy.sdk.udp.client.v1alpha0 # reference name
  description: Wasm ABI for Envoys-specific APIs, such as UDP client

  api: envoy.sdk.udp.client # name of the API without a version component
  version:
    grpc:
      major: v1
      stability: alpha0

  host:
    # Module through which host API will be exposed to the extension.
    module: envoy.sdk.udp.client.v1alpha0

    functions:
    - name: create_client
      status: NOT_IMPLEMENTED # explicitly indicate that this API is not implemented yet

    - name: destroy_client
      status: NOT_IMPLEMENTED

    - name: send_message
      status: NOT_IMPLEMENTED

  extension: {} # API implemented only by the host


See lots of 'Error updating Consul health check: "500"' messages in the logs

I'm using the 0.6.1 release w/ Consul 0.7.1 and RabbitMQ 3.6.5. The cluster starts up OK, but then I see lots of messages like this in the RabbitMQ logs:
=ERROR REPORT==== 30-Nov-2016::17:34:10 ===
autocluster: Error updating Consul health check: "500"

I'm not sure how concerned I should be by that, things generally seem to work. But it doesn't fill me with confidence either.

My guess is you're getting a 500 error back from consul. I'd check the consul logs to see what it has to say.

Errors from Consul log look like this:
2016/11/30 17:36:55 [ERR] http: Request GET /v1/agent/check/pass/service%3Arabbitmq, error: CheckID "service:rabbitmq" does not have associated TTL from=<IP_ADDRESS>:34919

Sorry for the delay, what version of Consul?

0.7.1

@Gsantomaggio Not in my case, no. Consul is running the entire time.

Addressed in team RabbitMQ's fork: https://github.com/rabbitmq/rabbitmq-autocluster/pull/2.

This plugin was forked by the RabbitMQ team and is now part of RabbitMQ. More information can be found @ https://github.com/rabbitmq/rabbitmq-autocluster