Instructions with links are coming through in Markdown

For the parameters task, the help text prints this:
Request parameters are passed as an object through the first function parameter
for the runtime interface. Here's an example of using this with the NodeJS
runtime
https://github.com/openwhisk/openwhisk/blob/master/docs/actions.md#passing-parameters-to-an-action.
Default parameters for Actions can bound using the wsk command-line utility
https://github.com/openwhisk/openwhisk/blob/master/docs/actions.md#setting-default-parameters
Hopefully GitHub won't replace the Markdown...

And shoot - they did. So... yeah, just imagine those links in their MD version. :)

What I mean is, I saw this, and I'll try to get GitHub to not parse it:
 You can learn more about it [here](http://someurl)

In other words, it was Markdown that wasn't processed - which makes sense since it is plain text. Normally I do links like that in this format in plain text:
You can learn more about it here: http://someurl

or
You can learn more it here:  Foo Docs (http://.....)

Closing as project is being archived.


Add a '-T/--test' option

Usage would be something like 'pssh $WHATEVER_OPTIONS --test 30', which would run the command against 30 hosts and then stop and ask you if you want to continue on the rest of the hosts.

Implemented in jcmcken/parallel-ssh@241bb8f2e0b33c2d3e72415497939a84c3d1b4a1


Update ISO country codes

Context
We haven't updated the codes for a while and there is an issue with Romanian nationality country code
Guidance to review
Romania was the only nationality we had with the wrong code.
There don't seem to be any on the list that we don't have: https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/664133/CH_Nationality_List_20171130_v1.csv/preview
Link to Trello card
https://trello.com/c/xExSGQol/4324-update-nationality-list-and-codes
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] Required environment variables have been updated added to the Azure KeyVault

Good point @cwrw. Maybe we could lose the date in the comment and use the commit history?

I went with just removing the comment. The updated at date isn't useful since we have git, and the code instructions no longer work since that API now requires authentication.


index.js is suspiciously obfuscated

i can't trust a library if i can't read its source code ;)
i also cannot contribute

That's just google's script, untouched and exported as an npm package. You prettify it if you want, or you could just use google's script directly.

Yep, sorry for the obscurity @chase-moskal – @joshpitzalis is correct. This package is merely a wrapper around Google's JS client library. You are welcome to run a diff yourself to confirm.
Perhaps a better solution would be to automate this process (yarn/npm script to pull from Google's site, minify, and release an exported version).
I don't have time to do that at the moment but welcome contributions. In the absence of a contribution, you are free to use the library as-is or use another package. Thanks!


What providers are you going to support?

Hello,
I saw in the code:

https://vimeo.com/131417856

After Youtube and Vimeo, who's next? :)
Cheers

Hi @aloisdg! I'm thinking maybe one of the websites listed here, e.g. Vine. However, I may be doing it in another library, since I think it's better to keep focus on YouTube for now. Most of the code here is already YouTube-specific, so it would be kinda hard to add another platform at the moment.

It would be nice to write an Interface and let any provider works with it, wouldn't it?

Just refactored the codebase to be a lot less coupled to YouTube (7dadee8), so I may revive Vimeo support soon. I'll keep you updated.

Is Vimeo supported now? Can't find it on the changelog


ecto_import is inconsistent

the question why is Yemen even in ecto?

so it seems Yemen ecoregion instance comes from envo. I'm guessing this is something to do with the 'feature' of SLME where instances are always included?
the main problem here seems to be an issue with the version of envo included in ecto, when you superimpose with the envo import you get ecoregion being both material and immaterial

so it seems Yemen ecoregion instance comes from envo. I'm guessing this is something to do with the 'feature' of SLME where instances are always included?
the main problem here seems to be an issue with the version of envo included in ecto, when you superimpose with the envo import you get ecoregion being both material and immaterial


compose: Add banner to go to conversation when composing in search view.

When a user is composing a message while in a search view, we now warn them that the full conversation is not visible and urge them to go to the conversation they are composing to, so they can see the complete conversation.
Fixes: #25893.

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Thanks! I think this should apply to @-mentions and starred messages as well... I believe we can use the same definition as the "To preserve your reading state, this view does not mark messages as read." banner?

Let's play with the wording a bit.. Maybe:
"The conversation you are composing to may have recent messages you don't see."

Makes sense, just 1 question -- Do we want to show this banner when we are in a stream view with interleaved topics? Technically all the messages in the conversation we are composing to are there in this view, but they are scattered and interrupted by other messages.

Hmm. I think you can ask in #design ... Interleaved views are certainly less risky, in that your view does include all the messages in the topic that you are composing to.

FYI @alya https://chat.zulip.org/#narrow/stream/101-design/topic/Banner.20urging.20to.20go.20to.20conversation.20in.20interleaved.20view.3F

@timabbott and I can't reopen this PR; it looks like you need to start a new one.

BTW the reason this was closed is that GitHub's regular expressions are really silly, so apparently even Fixes: [issue brought up here](https://github.com/zulip/zulip/pull/27509#discussion_r1389955254)  closes the whole issue. I guess you can write "Reference https://github.com/zulip/zulip/pull/27509#discussion_r1389955254" and maybe that'll work.

I guess you can write "Reference #27509 (comment)" and maybe that'll work.

You can also avoid this by rephrasing to put one or more words between "fixes" and the issue/PR link. So e.g.

Fixes the issue brought up here

or

Fixes the issue brought up here: https://github.com/zulip/zulip/pull/27509#discussion_r1389955254


Update HTTP.jl to v1.0.x

HTTP.jl recently have a major verion update to v1.0,  which breaks some old functionality and add many new ones, my project need to depend on new HTTP.jl and your project.
So is there any chance to update dependence of Telegram.jl?I may open a pull request later after I test new version locally.
Btw, does this project still maintained? Seems it does not get updated for quite a while.

Closed by https://github.com/Arkoniak/Telegram.jl/pull/17

Thank you for your commit, package has been updated with new HTTP.jl version.
Project is maintained, it's just that there is not much to do here other then occasional updates.


Update 0 suggestion delay to 50

After doing some experimentation after #226, adding a 50ms delay adds a little debouncing, while still keeping the results snappy.

LGTM.


Event Example

Having a bit of trouble calling a track event from a controller. Not too sure if I've found a bug or I'm just doing it wrong. Can someone post an example?

I've also had some trouble finding examples. This has been working for me (using mixpanel)
let metrics = Ember.get(this, 'metrics');
metrics.trackEvent('Mixpanel', {
 'event': 'NAME_OF_YOUR_EVENT',
 'custom-property1': 'custom-property-value1',
 'custom-property2': 'custom-property-value2',
});

In case of Mixpanel the 'event' property is required, or else it won't work.

A google event
Ember.get(this, 'metrics').trackEvent('GoogleAnalytics', {
    // (required) The name you supply for the group of objects you want to track.
    category: 'ui-interaction',
    // (required) A string that is uniquely paired with each category, and commonly used to define the type of user interaction for the web object.
   action: 'copied-deeplink',
   // (optional) string to provide additional dimensions to the event data.
   opt_label: 'copied-deeplink',
   // (optional) An integer that you can use to provide numerical data about the user event.
   opt_value: window.document.location.href,
   // (optional) boolean that when set to true, indicates that the event hit will not be used in bounce-rate calculation.
   opt_noninteraction: false
});

hi, I tried like this but it didn't send any event to google analytics.
import Ember from 'ember';
import config from '../config/environment';

export default Ember.Controller.extend({
    metrics: Ember.inject.service(),
    actions: {
		someAction() {
			this.get('metrics').trackEvent('GoogleAnalytics', {
				hitType: 'event',
				eventCategory: 'Videos',
				eventAction: 'play',
				eventLabel: 'Fall Campaign'
			});
		}
	}
});


regarding Location dialogue in CRM app

My CRM form deals with google maps, when I open the CRM application it opens the location dialogue, how to accept and close that dialogue.  Screenshot attached.

Could anyone please help regarding this.
Thanks in Advance,
Chandra.

chandramohand This option is not supported now by Framework, but you can try extend with the custom solution https://stackoverflow.com/questions/48007699/how-to-allow-or-deny-notification-geo-location-microphone-camera-pop-up
One more option implement custom login and use WinAppDriver to handle dialog

Thanks @Shakevg, let me try and update you if any issues.

Hi @Shakevg, I am unable to pass this extra option to the same browser, where I am using the following browser options.
If i declare [ ChromeOptions opt;
opt.AddArgument("--disable-geolocation");  ]  I need to pass this new webdriver, where its going to apply for new broswer.
How can I pass this location disable option, to the existing client only?
public static BrowserOptions Options = new BrowserOptions
{
BrowserType = (BrowserType)Enum.Parse(typeof(BrowserType), Type),
PrivateMode = true,
FireEvents = false,
Headless = false,
UserAgent = false,
DefaultThinkTime = 2000,
UCITestMode = true,
CookieСontrolsMode = 0,
    };

chandramohand 2 options:

Include library source code to your project and modify the source with a new option
Implement new option in Framework and commit to GitHub

I didn't test it for this argument, but, if you use Chrome you can use the ExtraChromeArguments Option as follow.
            //1. Global in [ClassInitialize] or [AssemblyInitialize] methods
            TestSettings.SharedOptions.ExtraChromeArguments = new[] { "--disable-geolocation" };

            // 2. just for one test
            var options = TestSettings.Options;
            options.ExtraChromeArguments = new[] { "--disable-geolocation" };
            var client = new WebClient(options);
            using (var xrmApp = new XrmApp(client))
            {
            ...

Thanks @AngelRodriguez8008, I am trying to use the second options in my settings where not allowing the ExtraChromeArguments options
protected XrmApp XrmApp
{
get
{
if (_xrmApp == null)
{
var options = TestSettings.Options;
options.ExtraChromeArguments = new[] { "--disable-geolocation" };
var client = new WebClient(options);
_xrmApp = new XrmApp(Client);
}
return _xrmApp;
}
}
I am getting the following error.
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS1061	'BrowserOptions' does not contain a definition for 'ExtraChromeArguments' and no accessible extension method 'ExtraChromeArguments' accepting a first argument of type 'BrowserOptions' could be found (are you missing a using directive or an assembly reference?)	Nhsbt.Irdp.Tests	C:\Users\dast0002\source\repos\IRDPLatest\Nhsbt.Irdp.Tests\Nhsbt.Irdp.Tests\XrmBinding.cs	41	Active
Could you please help me.
Thanks,
Chandra.

@chandramohand
Sorry, this logic was implemented just in my fork. I add a Pull Request that support my sample code.
You can download & compile it or wait until the PR get approved.
I also added this particular configuration to a Sample Test Case
options.ExtraChromeArguments = new[] { "--disable-geolocation" };

Hi @AngelRodriguez8008, Thanks for quick response.
Few things just want to check, whether this supports the old chrome browser 102 version, when I ran the lab test its expecting 113 version.  Please confirm.
2nd hope this will work fine in private mode.
Thanks and Regards,
Chandra.

@chandramohand
you should up- or downgrade the Selenium.WebDriver.ChromeDriver to the desired version.
private mode should not be a problem

Hi @AngelRodriguez8008,
Applied the changes to my portal but its not working, where the location dialogue opens after login which is required to load the map. I tried both enable and disable, but didnt work.
Thanks,
Chandra.

Hi @AngelRodriguez8008,
Hope you are doing good.  Any update regarding this?
Thanks,
Chandra

Hi @AngelRodriguez8008, Hope you are doing good. Any update regarding this?
Thanks, Chandra

The Pull Request is waiting to be reviewed. How I say, you can try to get the new code/branch & compile it for yourself.
In other case you should wait for some of the repository owners.

Hi @chandramohand
The Pull Request is waiting to be reviewed. How I said, you can try to get the new code/branch & compile it for yourself. In other case, you should wait for some of the repository owners.

Thanks @AngelRodriguez8008, I got the code for Browseroptions and TestSetting and tried on my CRM app, please refer to the following code.  Still after login the dialogue still remains.  Here in the CRM app I need to allow the location, where it pulls only those location points.  I want to check initally whethere the dialog get closes, later I will try making enable location.
[TestCategory("Labs - TestsBase")]
[TestMethod]
public void NotUsing_TheBaseClass()
{
var options = TestSettings.Options;
options.PrivateMode = true;
options.TimeFactor = 1.5f;
options.ExtraChromeArguments = new[] { "--disable-geolocation" };
        options.UCIPerformanceMode = false; // <= you can also change other settings here, for this tests only

        var client = new WebClient(options);
        using (var xrmApp = new XrmApp(client))
        {
            xrmApp.OnlineLogin.Login(_xrmUri, _username, _password, _mfaSecretKey); // Here I am passing my app details

            Assert.IsNotNull("Replace this line with your test code");

        }  // Note: that here get the Browser closed, xrmApp get disposed
    }

Thanks and Regards,
Chandra.

Hi @chandramohand
The Pull Request is waiting to be reviewed. How I said, you can try to get the new code/branch & compile it for yourself. In other case, you should wait for some of the repository owners.

Thanks @AngelRodriguez8008, I got the code for Browseroptions and TestSetting and tried on my CRM app, please refer to the following code. Still after login the dialogue still remains. Here in the CRM app I need to allow the location, where it pulls only those location points. I want to check initally whethere the dialog get closes, later I will try making enable location. [TestCategory("Labs - TestsBase")] [TestMethod] public void NotUsing_TheBaseClass() { var options = TestSettings.Options; options.PrivateMode = true; options.TimeFactor = 1.5f; options.ExtraChromeArguments = new[] { "--disable-geolocation" };
        options.UCIPerformanceMode = false; // <= you can also change other settings here, for this tests only

        var client = new WebClient(options);
        using (var xrmApp = new XrmApp(client))
        {
            xrmApp.OnlineLogin.Login(_xrmUri, _username, _password, _mfaSecretKey); // Here I am passing my app details

            Assert.IsNotNull("Replace this line with your test code");

        }  // Note: that here get the Browser closed, xrmApp get disposed
    }

Thanks and Regards, Chandra.

Hi @AngelRodriguez8008, Any update regarding this.  Thanks, Chandra.

Hi @AngelRodriguez8008, any update of this PR?
Thanks,
Chandra.


I copied + pasted your code, but there are changes for some reason

Cannot be automatically merged, has conflicts.


Ban discussion

So just wondering what the consensus is. How many people have experience the IP Bans? Anyone have their main accounts banned? Just wondering if that's possible even if you run electron with other accounts than your main. From what I've been reading Niantic just bans the accounts using the tracker. I've had my two old ones banned but that was before the update.

I'm a bit curious on this as well. I have been using this app acceptng that I could be banned because of the drastic improvement in gameplay that just one instance of the app provides. The things you can do to cheat in this game are insane levels of cheating. When I learned about Pokemon Sniping I was like "Wow! they can do that?" I kinda take a little pride in that I have had to visit all these places that I would of never even of thought to just walk had I not had the aid of something giving me knowledge of a goal that existed there. Just today even, saw a Gengar on the nearby tracker for the first time ever. I was visting a college and it was actually off the main road and out on a nature trail. I would not of thought to check out on that trail for a second, just the idea of "well if I am wrong, then I waste all that time walking out there and it despawns." but I knew it was out there and walked my butt out into the middle of the woods to nab a Gengar (crappy IV but I found an awesome new bike riding spot).
I still havent had my IP banned and I still havent had my fresh PTC account that I made banned, although the first account I had has been banned (I used it for months and back when you could beehive scan huge areas in 15 mins.) Lately I have been turning the scanner on only when I need it. Toggling it on and off and never letting it restart a cycle by teleporting.  So I hope that they distinguish the difference in levels of cheating if they actually do start taking action against main accounts.  It's pretty much open season on doing everything I deplore to catchup another account to my current legitly played one (I just cant accept using one app is cheating, the game needs less staring at a screen and more destination objectives)

I got one banned saturday morning...got off work at about 0600, headed home, knew I was going to do some hunting on my way (wife and kid were out of town and I had nothing to do but sleep) so I teamviewered into my PC and launched the app with my alternate gmail account, I don't recall why I used that instead of my PTC account, but....I did...
went out, hunted for less than an hour, got home, checked locally, and then went to the throne room, and went to plug my phone in, forgot to go kill the scanner...got an email at 11:44 from niantic stating that my account has been terminated, permanently, unless I choose to appeal it.  I may, just for S&G to see what they do, but, if you'd like, I'll happily post the contents of the ban notice for all to see....

I may have just gotten my main account banned despite rarely using it for this app but I never spoofed/botted/logged in to anything else so I'm pretty sure it was this

why would you use your main account?

Don't anymore but I did initially before api changes and haven't done anything else ban worthy. I didn't expect this to actually be an issue for niantic I figured spoofing and botting were more important but whatever I was almost at a full pokedex and was getting sick of it anyway


[FLINK-31814][runtime] Enables Precondition that checks that the issuedLeaderSessionID is set on revoke processing

What is the purpose of the change
This Precondition can be enabled because the processing of revoke calls is not happening anymore during close. The event processing is protected by the running flag within DefaultLeaderElectionService which is set to false as part of the close mechanism.
Brief change log

Enables the Precondition

Verifying this change
I left the test case (with some refactoring) because it's a valid test to verify that we don't run into issues when an event is processed after the contender was already deregistered.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Force-pushed the master rebase


Major overhaul

Revised training materials to make them consistent with the format we're using for other trainings (like Ruby, Node, etc.). Summary of changes:
Created new project "graph-tutorial". Since we want to build on this training in the future to include other workloads, having calendar in the project name wasn't ideal.
Integrated Windows Community Toolkit for login and Graph calls

WOOT! Great to see UWP Toolkit in here! Thanks @jasonjoh !


VEGA-1393 prefix add and edit payment links correctly

prefixed add and edit payment link so that they are correct when embedded in sirius

Codecov Report
Base: 77.83% // Head: 77.83% // No change to project coverage :thumbsup:

Coverage data is based on head (3de9f9f) compared to base (ad6dd96).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #123   +/-   ##
=======================================
  Coverage   77.83%   77.83%
=======================================
  Files          59       59
  Lines        1421     1421
=======================================
  Hits         1106     1106
  Misses        198      198
  Partials      117      117

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Update podcasts.md

Added Full Stack Radio as a good podcast resource.

Done merging conflicts!

Hello @MarkFChavez!
Unfortunately, the podcasts list page is no longer maintained, so this PR can't be merged as this page no longer exists in the docs.
Let me close this as outdated, but please feel free to create new PRs to open issues!


[NEW] User status indicator in member info bottomsheet in a chat room

@RocketChat/android
Closes #953
This pr adds an indicator to show the status (online, offline, etc) of a user in the bottomsheet fragment for info of a user in a chat room.
The following screenshots show the changes clearly:
Before:

After:

@leonardoaramaki @filipedelimabrito can you have a look at this one?

I loved it.
We'll review @aniketsingh03 .
Thank you.

@filipedelimabrito can this be merged or some more changes are required?

Just updated the branch with develop-2.x so I can review it. 👍

@rafaelks, resolved some conflicts, the function getUserStatusDrawable in DrawableHelper.kt has multiple similar declarations which is there in develop-2.x branch itself, and is present in this branch too.This'll be resolved as soon as it is resolved in the parent branch. Please review this.

Can this be merged @filipedelimabrito ?

@aniketsingh03 Can you change your implementation to use the database value instead and fix the conflicts? Thanks a lot for the PR! :-)

Closing this one for now @aniketsingh03, let us know if you still want to resolve/merge this one.

@rafaelks I am a bit busy presently, I'll inform you to reopen this one when I get some time!


Match logrotate and syslog configuration

On a vanilla baseimage daily logrotate is failing:
root@84c9d1b59665:/# /etc/cron.daily/logrotate
error: /etc/logrotate.conf:7 unknown group 'syslog'
root@84c9d1b59665:/#

I've attached a fix.

zOMG please fix apply this patch on the next release.  I needed to disable a cron's ddclient job from writing to the syslog for this reason.

I started making an updated fork of this project, containing Ubuntu 16.04 fixes, including this one. Have a look here:
https://github.com/hyperknot/baseimage16


[BUG] Can't update shared service instance

Is there an existing issue for this?

[X] I have searched the existing issues

What version of the Terraform provider are you using?
1.0.0
What version of the Terraform CLI are you using?
1.9.8
What CF API version are you using?
3.178.0
What type of issue are you facing
bug report
Describe the bug
Then updating paramters an shared service instance, the update fails with the following error:
The name of the service instance is not changed.
cloudfoundry_service_instance.postgres: Modifying... [id=REDACTED]
╷
│ Error: API Error in updating managed service instance
│
│   with cloudfoundry_service_instance.postgres,
│   on cf_config.tf line 25, in resource "cloudfoundry_service_instance" "postgres":
│   25: resource "cloudfoundry_service_instance" "postgres" {
│
│ Unable to update service instance postgres-test: executing PATCH request for /v3/service_instances/REDACTED failed: cfclient error (CF-UnprocessableEntity|10008): Service instances that have been shared cannot be renamed
╵

In addition to that, the terraform state does not seem to be aware of this error and the new parameters are stored in the terraform state, so the next run exits with "already up to date" although the service instance is still not updated.
Expected Behavior

Shared service Instances should allow updates.
In case the update fails, the terraform state should keep the old values to detect changes in future runs.

Steps To Reproduce

Run terraform init
Edit the placeholders for the cf org name and cf space name
Configure the cloudfoundry provider via cf login or via env variables
Run terraform apply
Share the service instance with another space via cf cli
Increase the storage or memory of the postgres service instance in TF
Run terraform apply again
See the error

Your Terraform Configuration
terraform {
  required_providers {
    cloudfoundry = {
      source  = "cloudfoundry/cloudfoundry"
      version = "1.0.0"
    }
  }
}

# https://registry.terraform.io/cloudfoundry/SAP/cloudfoundry/latest/docs
# configured via env vars or cf login
provider "cloudfoundry" {}

data "cloudfoundry_org" "team_org" {
  name = "MY_ORG_NAME"
}

data "cloudfoundry_space" "team_space" {
  name = "MY_SPACE_NAME"
  org  = data.cloudfoundry_org.team_org.id
}

data "cloudfoundry_service_plans" "postgres" {
  name                  = "standard"
  service_offering_name = "postgresql-db"
}

resource "cloudfoundry_service_instance" "postgres" {
  name         = "postgres-test"
  type         = "managed"
  space        = data.cloudfoundry_space.team_space.id
  service_plan = data.cloudfoundry_service_plans.postgres.service_plans[0].id
  parameters   = jsonencode({
    storage = 10
    memory  = 2
  })
}

Roles

Org Manager
Space Manager
Space Developer

Add screenshots to help explain your problem
No response
Additional context
These is already an issue in the "old" community provider covering the same topic: https://github.com/cloudfoundry-community/terraform-provider-cloudfoundry/issues/566, but I thought I'll raise it in the new repository as well.

Hi @MarcusNotheis,
Thanks for raising the issue. A PR to address the issue has been created and will be available in the next release


Fix left column height on small screen

This change fixes where there is no margin at the bottom of the left columns. The cause was the current CSS set a small height for the left column when the content is more than one viewport.

(before -> after)

Thanks!


MS Teams SDK Location API disambiguation needed

Disambiguate what "current user coordinates" means in this page. Does it mean "current user's coordinates same as usageLocation of the user"? or does it mean "current user's current location"?
Please help. Thanks.

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

ID: a444c05e-51e3-0877-45ac-c45a914f6e50
Version Independent ID: 04c36b67-a595-7670-27b5-e6b2155dbb6f
Content: location module - Teams
Content Source<EMAIL_ADDRESS>Product: msteams
GitHub Login: @charlesprakash
Microsoft Alias: o365devx

@sushruth - "current user coordinates" means latitude and longitude details of user's current location.

@Nivedipa-MSFT - can you modify the language in documentation to clearly represent what you just mentioned here? Thanks.

@surbhigupta12 - Could you please help here to update the document.
Content need to be updated: current user coordinates(latitude,longitude)
Document Link - https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/microsoftteams.location?view=msteams-client-js-latest

Hi @Nivedipa-MSFT,
This is out of doc team's scope. We do not update SDK content. Need to reach out to the engineering team. Removing the doc-enhancement label.

Hi @sushruth,
The return type of the API is clearly documented and location coordinates always include lat/long.
https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/microsoftteams.location.location?view=msteams-client-js-1.12.1

@Nivedipa-MSFT - For a given user, location may mean "user data location", "current geological location", "tenant location", etc. So Specifying exactly what location this refers to will disambiguate the explanations. For example - instead of "current user coordinates", if it says "current geological location of the user as provided by the user's device" or something of that sort, it will be more explanatory. That is my ask here - to explain in detail.

@surbhigupta12 - Can you please help us here to update the documentation?

@surbhigupta12  - Can you please help us here to update the documentation?
Content need to be updated : "current geological location of the user as provided by the user's device"
instead of "current user coordinates"
Content need to be updated here : https://docs.microsoft.com/en-us/javascript/api/@microsoft/teams-js/microsoftteams.location?view=msteams-client-js-1.12.1#@microsoft-teams-js-microsoftteams-location-getlocation

@Nivedipa-MSFT, this is out of our scope. Please reach out to the engineering team.


No way to pass Input label via Form.Input

Steps
I would like to create a form input field with an input label. This is currently a bit harder to do due the fact that both FormField and Input use a label property. This makes impossible to use FormInput and pass a label through to Input
Expected Result
It would be convenient if there was a way to either specify extra control properties, for example:
<Form.Input
  name="discount"
  label="Discount"
  controlProps={{label: '%', labelPosition: 'right'}}
/>

or to alias the input label prop:
<Form.Input
  name="discount"
  label="Discount"
  inputLabel="%"
  labelPosition="right"
/>

The version is more generic and will work for all similar conflicts, so might be a better choice.
Testcase
https://codesandbox.io/s/n7qrzk63l

Form.Input is convenience for <Form.Field><Input /></Form.Field>:
<Form.Field>
  Discount
  <Input name='discount' label='%' labelPosition='right' />
</Form.Field>

See https://react.semantic-ui.com/collections/form#form-example-subcomponent-control:
<Form.Input label='Enter Password' type='password' />
// vs

<Form.Field>
  Enter Password
  <Input type='password' />
</Form.Field>

@wichert Did you found a workaround for this?
I need to show the error popup when using Form.Input but also use the label prop.


The call is ambiguous between the following methods or properties

List of NuGet packages and version that you are using:

Microsoft.ApplicationInsights.AspNetCore:2.17.0
Microsoft.ApplicationInsights.WorkerService:2.17.0

Runtime version: net5.0

Describe the bug
Both packages Microsoft.ApplicationInsights.AspNetCore and Microsoft.ApplicationInsights.WorkerService use the same namespace for their extension methods with the same extension methods names. That causes build errors when your code has to reference both packages.
Microsoft.ApplicationInsights.WorkerService/ApplicationInsightsExtensions.cs
Microsoft.ApplicationInsights.AspNetCore/Extensions/ApplicationInsightsExtensions.cs
To Reproduce

Create a project
Reference both packagages: Microsoft.ApplicationInsights.AspNetCore and Microsoft.ApplicationInsights.WorkerService
Try to configure ApplicationInsights, e.g. services.AddApplicationInsightsTelemetryProcessor<T>();
Receive the build error:Error CS0121 : The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.AddApplicationInsightsTelemetryProcessor<T>(Microsoft.Extensions.DependencyInjection.IServiceCollection)' and 'Microsoft.Extensions.DependencyInjection.ApplicationInsightsExtensions.AddApplicationInsightsTelemetryProcessor<T>(Microsoft.Extensions.DependencyInjection.IServiceCollection)'

These packages are intended for usage in different types of workloads, and are not designed to be used in the same project. Could you elaborate on the need for having both of these in the same project?

It is a single executable that can work either as a web application or as a background app. Depending on the command line passed.

Came accross the same problem. One executable that has two threads: one for background work and other for an API.

I honestly think this issue should be reopened. It's a rather odd design choice to not allow different assemblies to be used in the same project without namespace conflicts.
The only workaround I've found is to alias the assemblies and the create an extern alias.
This, however, shouldn't be necessary, but since the SDK code is littered with preprocessor directives, I can only assume this was a deliberate design choice.
I would have preferred a core package with shared logic and the a specialized packages for each workload, in different namespaces.

@siewers please share how u solved this in code.

I ended up solving it by creating two separate projects, but the solution I mentioned above was as follows:
Add NuGet package references to both the WorkerService and AspNetCore ApplicationInsights SDKs and add an alias to each package, like this:
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" Aliases="AIAspNetCore" />
<PackageReference Include="Microsoft.ApplicationInsights.WorkerService" Version="2.21.0" Aliases="AIWorkerService" />

(The actual alias you use doesn't matter as long as it's unique)
Now, when you need to use either package, you'd have to do something like this:
// In a file that uses AspNetCore
extern alias AIAspNetCore;
using AIAspNetCore::The.Namespace.From.ApplicationInsightsAspNetCore.Package;
using SomeType = AIAspNetCore::You.Get.The.Point;

For another file that needs to use the WorkerService assembly, use extern alias AIWorkerService at the top instead.
Now, I haven't actually tested this, but theoretically it should work and the entire concept about using extern alias is to solve this exact issue: Two different assemblies sharing the same fully-qualified type names.
https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/extern-alias
I hope it helps.

@siewers Thanks alot! It works perfectly in my class library. Big thanks.


formal specification and verification for teaclave access control module

The access control module plays a key role in the teaclave architecture, it works as a base security function for other functions to use in teaclave. Because of that, the vulnerabilities of access control module can cause severe threats which breaks down the whole system. So, it is necessary to provide rigorous evidences showing that the implementation of access control policy complies with the security objectives required.
In order to achieve the rigorous compliance between implementation and security objectives required, I propose formal specification and verification for tealcave access control module in Isabelle. Here is a brief summary of steps to achieve this:

identify the security objectives required by teaclave access control module
decompose the security objectives to security functional requirements(SFR) based on CC (common criteria for information technology)
use axioms and uninterpreted types, constants, and functions as formal specifications in terms of SFR to represent the system architecture and high level design of teaclave access control module
state the security objectives as theorems in the context of formal specifications created in step 3.
demonstrate by proving with Isabelle that the security objectives specified as theorems are satisfied by the formal specifications created in step 3.

After the steps above, the verified formal specifications are provided. The axioms used for constructing the formal specifications can then be used to verify the implementation by creating test cases following MC/DC procedure.
There are many other base security function modules in teaclave. In the future, I hope to provide formal specification and verification for all such  modules.

Thanks for your proposal. Sorry for the late reply. Can you provide a simple example to clarify your goal. More specifically, I'd like to see what kind of outputs you will contribute (e.g., formal document, proof, and readme to reproduce). Please try your best to list them. The followup question is about how to integrate your contributions into the project. If you have can provide several sample repositories on how to open source specifications, that would be very helpful.

Thanks for your proposal. Sorry for the late reply. Can you provide a simple example to clarify your goal. More specifically, I'd like to see what kind of outputs you will contribute (e.g., formal document, proof, and readme to reproduce). Please try your best to list them. The followup question is about how to integrate your contributions into the project. If you have can provide several sample repositories on how to open source specifications, that would be very helpful.

Thanks for your proposal. Sorry for the late reply. Can you provide a simple example to clarify your goal. More specifically, I'd like to see what kind of outputs you will contribute (e.g., formal document, proof, and readme to reproduce). Please try your best to list them. The followup question is about how to integrate your contributions into the project. If you have can provide several sample repositories on how to open source specifications, that would be very helpful.

The outputs of my work include:

atomized decomposition of access control module based on CC(common criteria),along with the standardized documentation
formal representation of specification of the access control module constructed by decomposed components
formal representation of security objectives required by model.conf
mechanic proof with readable steps showing that the specification complies with the security objectives.

Isabelle/Isar/HOL is used as a programing language for the formal presentation. The specification is constructed using built-in module called locale of Isabelle. The consistency proof between specifications is also proved using interpretation mechanism. For the explanation of the mechanism provided by Isabelle, such as locale, please refer to: https://isabelle.in.tum.de/documentation.html.
As for open sourced specifications, links below might be helpful:
https://github.com/ZipCPU/wbuart32/tree/master/doc

Thanks for your proposal. Sorry for the late reply. Can you provide a simple example to clarify your goal. More specifically, I'd like to see what kind of outputs you will contribute (e.g., formal document, proof, and readme to reproduce). Please try your best to list them. The followup question is about how to integrate your contributions into the project. If you have can provide several sample repositories on how to open source specifications, that would be very helpful.

The outputs of my work include:

atomized decomposition of access control module based on CC(common criteria),along with the standardized documentation
formal representation of specification of the access control module constructed by decomposed components
formal representation of security objectives required by model.conf
mechanic proof with readable steps showing that the specification complies with the security objectives.

Isabelle/Isar/HOL is used as a programing language for the formal presentation. The specification is constructed using built-in module called locale of Isabelle. The consistency proof between specifications is also proved using interpretation mechanism. For the explanation of the mechanism provided by Isabelle, such as locale, please refer to: https://isabelle.in.tum.de/documentation.html.
As for open sourced specifications, links below might be helpful:
https://github.com/ZipCPU/wbuart32/tree/master/doc


EOS-23256: Factory reset(data+logs) command implementation failing as After cluster start all services are failed.

Solution:
From Reset state removes cleanup logic for consul-kv and adds into the Cleanup state of provisioning.
Signed-off-by: Supriya Yadav<EMAIL_ADDRESS>

Can one of the admins verify this patch?

3N deployment is successful for this PR:
http://eos-jenkins.colo.seagate.com/job/Cortx-Deployment/job/VM-Deployment-R2-3Node/587/console
@supriyachavan4398 @mssawant @SwapnilGaonkar7

@supriyachavan4398, please shorten the summary of the commit message, try to restrict it to 80 columns.
Please elaborate the problem in the commit message.
what is the issue?
when does it occur?
why does it occur?
Solution.

@supriyachavan4398, please shorten the summary of the commit message, try to restrict it to 80 columns.
Please elaborate the problem in the commit message.
what is the issue?
when does it occur?
why does it occur?
Solution.

Addressed.

Please reword the commit message. The commit message (i.e. the very first line of the commit) should be not longer than 50 characters.

Done @knekrasov

@mssawant we have tested deployment on 3N VM with this PR custom build and also tested factory reset - EOS-23256 is updated for the same. We are good to merge if all looks good.

@supriyachavan4398 , the 1st line,
Factory reset command used to reset data and logs of all component

of the solution in the commit message must be part of the Problem.
So the commit message must be,
EOS-23256: Factory reset failing and cluster going in bad state …
Factory reset command deletes Hare data from Consul KV and Hare logs. This is not as expected,
because post reset hare_setup init will not be invoked to recreate the deleted Consul KV. Thus,
deletion of Hare Consul KV must be done as part of Cleanup and not reset hare_setup command.

Solution:
As hare_setup init command is expected to be executed post hare_setup cleanup, delete Consul KV in hare_setup cleanup command.
Signed-off-by: Supriya Yadav<EMAIL_ADDRESS>
Kindly update, thank you.

@supriyachavan4398 , the 1st line,
Factory reset command used to reset data and logs of all component

of the solution in the commit message must be part of the Problem.
So the commit message must be,
EOS-23256: Factory reset failing and cluster going in bad state

Factory reset command deletes Hare data from Consul KV and Hare logs. This is not as expected,
because post reset hare_setup init will not be invoked to recreate the deleted Consul KV. Thus,
deletion of Hare Consul KV must be done as part of Cleanup and not reset hare_setup command.

Solution:
As hare_setup init command is expected to be executed post hare_setup cleanup, delete Consul KV in hare_setup cleanup command.
Signed-off-by: Supriya Yadav<EMAIL_ADDRESS>
Kindly update, thank you.

Addressed.


temp disable to allow pipeline to move

Warnings

:warning:
Please include a description of your PR changes.

  Generated by :no_entry_sign: dangerJS against ba8d1a1e1586e55a14c62e00f944d41e2200c5b8


add diagram and update examples

add diagram to show components
updated generate CR script to combine secret to one yaml
DexClient needs public: false or need to update api to default false if not defined.

/lgtm


Support React 16

hi, it's been a long time since my last update :)
in this update:

change watchers in order to support react 16 see this issue
fix collisions between once and value events
add PERMISSION_DENIED_ERROR to the state.
improve merge logic
add option to deliver setFunc  in order to bypass redux

thank you so much, btw I'm no longer maintain this repo as I'm moving away from Firebase until they will fix their query system


buildDynamicFinders use attribute names instead of column names

Would it not be appropriate to use the attribute names in the Dynamic Finder method names?
Now I have column names with table name repeated in it, plus they have underscores. In instances of a model, one can use friendly attribyte names, but for the findBy methodes one must fall back to the column name

@HaKr thanks, marking as a bug. Could you attach a quick test case?
Also note in the future the dynamic finder methods will probably be deprecated but they will be around until a 1.0 release candidate more than likely.

Thanks for the response.
Just curious what concept will replace the findBys. From Ruby on Rails I do
appreciate these
Regards
Op 28 jan. 2016 18:07 schreef "Cody Stoltman"<EMAIL_ADDRESS>
@HaKr https://github.com/HaKr thanks, marking as a bug. Could you
attach a quick test case?
Also note in the future the dynamic finder methods will probably be
deprecated but they will be around until a 1.0 release candidate more than
likely.
—
Reply to this email directly or view it on GitHub
https://github.com/balderdashy/waterline/issues/1290#issuecomment-176286052
.

I haven't specced anything out yet but it will probably just be removed. The overhead of attaching functions to the model for each attribute just isn't worth the maintenance cost. These two are just too similar to keep both: findByName('foo') and find({ name: 'foo' }).
If you have a real use case that makes the first version better I would love to hear it though!

I would say profiling, but foremost optimization.
findBy({}) has to parse the parameter each call and build the SQL from
there.
findByXXX() you can (possibly even through the singleton pattern) prepare
the statement [SELECT c1,c2...cn FROM table WHERE XXX like ':xxx'] and
cache that prepared statement.
2016-01-28 18:28 GMT+01:00 Cody Stoltman<EMAIL_ADDRESS>
I haven't specced anything out yet but it will probably just be removed.
The overhead of attaching functions to the model for each attribute just
isn't worth the maintenance cost. These two are just too similar to keep
both: findByName('foo') and find({ name: 'foo' }).
If you have a real use case that makes the first version better I would
love to hear it though!
—
Reply to this email directly or view it on GitHub
https://github.com/balderdashy/waterline/issues/1290#issuecomment-176292469
.

/**

Test Model dynamic finders to use attribute names instead of column names
*/

describe('Models must have Finders by attribute name, not by column name',
function() {
var should = require('should');
var User;
var user;

/**
 * Build a test model
 */

before(function(done) {

var Waterline = require('waterline');
var sailsMemoryAdapter = require('sails-memory');
var waterline = new Waterline();
var userCollection = Waterline.Collection.extend({
identity: 'user',
connection: 'default',
migrate: 'alter',
autoPK: false,
autoCreatedAt: false,
autoUpdatedAt: false,
tableName: 'HR.tbl_users',
attributes: {
name: {
type: 'string',
columnName: 'USER_NAME'
},
firstName: 'string',
migrate: 'safe',
}
});
waterline.loadCollection(userCollection);
var config = {
adapters: {
'memory': sailsMemoryAdapter
},
connections: {
default: {
adapter: 'memory'
}
}
};
waterline.initialize(config, function (err, ontology) {
if (err) {
return console.error(err);
}
User = ontology.collections.user;
User.create({ // First we create a user.
firstName: 'Neil',
name: 'Armstrong'
}).then(function (created_user) {
user = created_user;
}).catch(function(err){ // If any errors occur execution jumps to the catch
block.
console.error(err);
}).finally(function(){
done();
});
});
});

it('Models must have Finders by attribute name, not by column name',
function(){
User.should.have.property('findByFirstName').and.be.a.Function();
User.should.not.have.property('findByUSER_NAME');
User.should.have.property('findByName').and.be.a.Function();
});
it('The user instance must have the correct attributes', function(){
user.should.have.property('name');
user.should.have.property('firstName');
user.should.not.have.property('USER_NAME');
});
});
2016-01-29 9:20 GMT+01:00 Harry de Kroon<EMAIL_ADDRESS>
I would say profiling, but foremost optimization.
findBy({}) has to parse the parameter each call and build the SQL from
there.
findByXXX() you can (possibly even through the singleton pattern) prepare
the statement [SELECT c1,c2...cn FROM table WHERE XXX like ':xxx'] and
cache that prepared statement.
2016-01-28 18:28 GMT+01:00 Cody Stoltman<EMAIL_ADDRESS>
I haven't specced anything out yet but it will probably just be removed.
The overhead of attaching functions to the model for each attribute just
isn't worth the maintenance cost. These two are just too similar to keep
both: findByName('foo') and find({ name: 'foo' }).
If you have a real use case that makes the first version better I would
love to hear it though!
—
Reply to this email directly or view it on GitHub
https://github.com/balderdashy/waterline/issues/1290#issuecomment-176292469
.

Fixed in #1298


MPI: computation/communication overlap

Not ready for review.
I'm opening it only to trigger pipelines.
The huge diff is mainly due to  #762

Codecov Report

Merging #765 into master will decrease coverage by 0.34%.
The diff coverage is 87.31%.

@@            Coverage Diff             @@
##           master     #765      +/-   ##
==========================================
- Coverage   88.99%   88.64%   -0.35%
==========================================
  Files         105      103       -2
  Lines       10327    10675     +348
  Branches     2070     2147      +77
==========================================
+ Hits         9190     9463     +273
- Misses        877      942      +65
- Partials      260      270      +10

Impacted Files
Coverage Δ

devito/dle/utils.py
86.36% <ø> (ø)

devito/parameters.py
88.46% <ø> (ø)
:arrow_up:

devito/yask/operator.py
92.56% <ø> (-0.24%)
:arrow_down:

devito/core/operator.py
92% <100%> (-2.6%)
:arrow_down:

devito/types/basic.py
94.4% <100%> (+0.31%)
:arrow_up:

devito/mpi/halo_scheme.py
94.44% <100%> (+1.46%)
:arrow_up:

devito/ir/iet/scheduler.py
95.06% <100%> (ø)
:arrow_up:

devito/core/autotuning.py
86.55% <100%> (+0.14%)
:arrow_up:

devito/dle/__init__.py
100% <100%> (ø)
:arrow_up:

devito/operator.py
89.61% <100%> (-0.87%)
:arrow_down:

... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7d3f7ce...be1d0a8. Read the comment docs.

Merged.


Use crowdin to translate documents

          As for my experiences in other repos, it may be better to put [Crowdin](https://crowdin.com/) into practice. Strings may be updated there for approval.

Originally posted by @jasonren0403 in https://github.com/hexojs/site/issues/133#issuecomment-954872464

Is it possible to use crowdin for document translation?
It can update the changes of the original language into other languages, which I think is a good feature.

I had made some test, and it perform not bad.

configuration and CI: https://github.com/hexojs/site/compare/master...uiolee:site:crowdin
repo(github): https://github.com/uiolee/site/
project(crowdin): https://crowdin.com/project/hexo-site

@uiolee  cc: @hexojs/core
LGTM 🎉
Can we proceed this?

Just to start small, I would do it for a small minor subset (like a single small page) to work the angles before applying to all?

Just to start small, I would do it for a small minor subset (like a single small page) to work the angles before applying to all?

We now have about 45 files.
You can add by folder if you wish. Otherwise you need to write more rules

manager register an account and create a project in Crowdin.

Is it possible to create org project to crowdin?

generate a github token and add it into secrets of hexo/site.
member account or new a bot account.

I think bot account is better, but how should we manage it? (e.g: share password)
If its difficult member account's token is acceptable.

Just to start small, I would do it for a small minor subset (like a single small page) to work the angles before applying to all?

Personally, I think it's okay to do it all at once.

To small start is complex and time-consuming
Within the previous discussions in the Hexo project, there have been several instances where no conclusion was reached, leading to a lack of progress.
https://crowdin.com/project/hexo-site seems works well
Even if there were any issues, it wouldn't be a significant problem compared to bugs into the program.

Is it possible to create org project to crowdin?

I don't see such a description in crowdin. But crowdin project can add multiple administrators.

I think bot account is better, but how should we manage it? (e.g: share password)
If its difficult member account's token is acceptable.

the github toekn is used to summit PR. I think we dont need do anything else.

@uiolee
Can we use your project?
https://crowdin.com/project/hexo-site

We'd better create a new one. I may have mixed in something weird while testing

We'd better create a new one. I may have mixed in something weird while testing

Would you please create a new one?

ok. I have created a new. https://crowdin.com/project/hexo

https://crowdin.com/profile/d-sketon


Please support to auto-completion Objective-C code and give hint on Visual Studio

I suppose to add the feature, auto-completion Objective-C code, Code Hint. It's helpful for deveopler .

@CyangYu  were you able to solve this, I'm having trouble


Right-click context menu and chat counter

Added a chat counter that is displayed inside the chat search bar placeholder text.

Added a right-click context menu in the Electron app that allows the user to: undo, redo, cut, copy, paste, delete, and select all. Also includes spellcheck correction and 'add to dictionary'.

Added cross-platform functionality for the browser function.

I've no idea what's going on, why does it want to deploy 💀


Add job management docs for cutover in physical cluster replication jobs

Fixes DOC-8998
This PR adds detail on jobs management to the cutover page under physical cluster replication. This affects scheduled jobs and changefeeds.

TFTRs!


A grafted sampler for multi-objective optimization

Motivation
I want to improve sample efficiency of NSGA2.
Description
My understanding is that the NSGA2Sampler generates the first generation (default is 50 trials) using the RandomSampler. On the other hand, the MOTPESampler also uses the RandomSampler for its first 10 trials by default, but often finds a diverse set of good params within the following 40 trials. So, there can be a strategy that the first 50 trials to the MOTPESampler and then transfer to the NSGA2Sampler for the 51st trial and onwards.
It's worth noting that NSGA2Sampler sets some system_attr on the study and trials, so implementing the strategy correctly may not be a straightforward process.
Alternatives (optional)
No response
Additional context (optional)
No response

I think you can do like this:
class NSGAIIAfterTPESampler(NSGAIISampler):
    def sample_relative(
        self,
        study: Study,
        trial: FrozenTrial,
        search_space: dict[str, BaseDistribution],
    ) -> dict[str, Any]:
        if trial.number < self._population_size:
            sampler = TPESampler(...)
            study._storage.set_trial_system_attr(trial._trial_id, _GENERATION_KEY, 0)
             return sampler.sample_relative(study, trial, search_space)

        return super().sample_relative(study, trial, search_space)


Question about pcm-iio measurement

Question about pcm-iio measurement

Where is this traffic measured on? I want to see the throughput between device A and device B
Is the documentation available ?I am just looking following document.
https://www.intel.com/content/www/us/en/developer/articles/technical/utilizing-the-intel-xeon-processor-scalable-family-iio-performance-monitoring-events.html
pcm-iio duration time is 3 second. So the throughput per  sec should devide by 3?

 _____________________________ ________________ _______________ _______________ ________________ _________ __________ ______________ ____________ ____________ ____________ _____________
|IIO Stack 3 - PCIe2          |IB write (bytes)|IB read (bytes)|OB read (bytes)|OB write (bytes)|IOTLB Hit|IOTLB Miss|VT-d CTXT Miss|VT-d L1 Miss|VT-d L2 Miss|VT-d L3 Miss|VT-d Mem Read|
|_____________________________|________________|_______________|_______________|________________|_________|__________|______________|____________|____________|____________|_____________|
| Part0 (1st x16/x8/x4)       |1495 M          |1189 M         | 143 K         |1225 K          |  19 M   | 192      |   0          |   0        |   0        |   0        | 553         |
| Part1 (2nd x4)              |   0            |   0           |   0           |   0            |
| Part2 (2nd x8/3rd x4)       |   0            |   0           |   0           |   0            |
| Part3 (4th x4)              |   0            |   0           |   0           |   0            |
|_____________________________|________________|_______________|_______________|________________|_________|__________|______________|____________|____________|____________|_____________|

Hello,
Traffic is measured in the IIO PMU, the doc you're referring to is the good one. Also refer to uncore performance monitoring guides, e.g. that one is for Skylake servers: https://cdrdv2.intel.com/v1/dl/getContent/671389?explicitVersion=true&wapkw=xeon scalable uncore

I want to see the throughput between device A and device B
Do you mean your devices perform "peer to peer" accesses? Note that pcm-iio shows only device to main memory (inbound, "IB") and cores to devices (outbound, "OB") traffic.

If you want to see per-sec counts, specify sampling interval like this:
pcm-iio.x 1

@ilia-kurakin  Thank you for description
Is there any peer-to-peer traffic monitoring tool?

@sakaia there's no tool at the moment that implements p2p bandwidth metrics. However you can collect raw IIO events (e.g. with pcm-raw):
DATA_REQ_OF_CPU.PEER_READ.PART{x}, DATA_REQ_OF_CPU.PEER_WRITE.PART{x} - count every 4 bytes of inbound p2p data
DATA_REQ_BY_CPU.PEER_READ.PART{x}, DATA_REQ_BY_CPU.PEER_WRITE.PART{x} - count every 4 bytes of outbound p2p data
To learn more about these events refer to the paragraph 2.4 of the guide I've pointed above.


fix: Correctly set up truststore password property

When creating consumer or producer properties, fix
KafkaConfiguration to put truststore password into
the correct property field.

Issure created: https://issues.apache.org/jira/browse/CAMEL-13477


not(foo) auto-corrected to notfoo

Using rubocop 0.36.0 and b9205cbcd7f2103d4de54da71694ac43de865228 (ruby 2.3.0 and no .rubocop.yml) not(foo) is incorrectly autocorrected:
✔ ~/tmp/rubobug
12:32 $ cat bug.rb
#!/usr/bin/env ruby

def foo
  false
end

puts "banana" if true && not(foo)
✔ ~/tmp/rubobug
12:32 $ bundle exec rubocop --auto-correct bug.rb
Inspecting 1 file
W

Offenses:

bug.rb:7:18: W: Literal true appeared in a condition.
puts "banana" if true && notfoo
                 ^^^^
bug.rb:7:26: C: [Corrected] Use ! instead of not.
puts "banana" if true && not(foo)
                         ^^^
bug.rb:7:26: C: [Corrected] Space after keyword not is missing.
puts "banana" if true && not(foo)
                         ^^^
bug.rb:7:29: C: [Corrected] Do not use parentheses for method calls with no arguments.
puts "banana" if true && not(foo)
                            ^

1 file inspected, 4 offenses detected, 3 offenses corrected
✘-1 ~/tmp/rubobug
12:32 $ cat bug.rb
#!/usr/bin/env ruby

def foo
  false
end

puts "banana" if true && notfoo

There are at least three bugs shown in this report. :) My PR fixes two of them. but Style/Not should still either accept not(foo) or actually auto-correct it instead of just saying so. I'll try to find some time to fix that one tomorrow, unless someone else is quick to do it before.


Wordpress not working

Not integrating properly with wordpress, the functions aren't even firing at all. I need to have the current content slide to the left as the new content slides from the right. But it isn't even reloading my pages with Ajax. Working with wordpress.
This is my code:
(function($){
  'use strict';
  var $page = $('#panel'),
      options = {
        //anchors: 'a',
        debug: true,
        prefetch: true,
        cacheLength: 7,
        blacklist: '.no-smoothState',
        prefetchOn: 'mouseover touchstart',

        onStart: {
          duration: 1250, // Duration of our animation
          render: function ($container) {

alert('working');
            // Add your CSS animation reversing class
            // and remove class page current
            smoothState.restartCSSAnimations();

          }

        },
        onReady: {
          duration: 0,
          render: function ($container, $newContent) {
            // Remove your CSS animation reversing class
            alert('working');
            $container.addClass('is-exiting');
            // Restart your animation
            smoothState.restartCSSAnimations();

            $container.removeClass('is-exiting');
            // Inject the new content
            $container.html($newContent);
          }
        }
      },
      // onAfter: {
      //   //add class page current
      // },
      smoothState = $page.smoothState(options);
})(jQuery);
smoothscroll to top
(function () {
  'use strict';
  var $body    = $('html, body'), // Define jQuery collection
      content  = $('#panel').smoothState({
        onStart : {
          duration: 750,
          render: function () {
            content.restartAnimationClass('is-exiting');

            // Scroll user to the top
            $body.animate({ 'scrollTop': 0 });

          }
        }
      }).data('smoothState');
});

Can someone help please?? Or suggest another plugin to add page transitions.

Did you try this code while being logged in? I'm asking because WP adds a few "helpers" to JS which might interfere, esp. with the smoothscroll part.
Eg. when clicking on the admin bar, WP executes a smooth scroll up to the top - so these events might overlap and cancel out each other.
Further issues could arise from JS code supplied by the currently used theme, and maybe also thanks to the strongly dated version of jQuery in use even in the most current WordPress versions.
Also, whenever working with WP, I prefer to use the normal form of jQuery (ie. "jQuery" instead of the "$" short form), to avoid further issues.
cu, w0lf.

I'm having the same issue. No errors in the console and no other scripts (other than the core WP scripts) interfering.

@tobiasger With what theme? When I tested it out with a classic _s-based theme, everything worked fine. But I wouldnt vouch for some kind of premium theme, which tend to be overloaded with excessive JS clutter ..
cu, w0lf.

It’s a custom theme built from underscores. with extremely minimal js.
On Mon, Jun 18, 2018 at 8:21 AM Fabian Wolf<EMAIL_ADDRESS>wrote:

@tobiasger https://github.com/tobiasger With what theme? When I tested
it out with a classic _s-based theme, everything worked fine. But I wouldnt
vouch for some kind of premium theme, which tend to be overloaded with
excessive JS clutter ..
cu, w0lf.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/miguel-perez/smoothState.js/issues/360#issuecomment-398092124,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALd2MVBPn0yBd-mCSu2Z9OvPiGjPVBHlks5t98WTgaJpZM4TfrRw
.

--
Katrina Bell
front-end developer
T<PHONE_NUMBER> http://www.katrinabell.com/

same issue.
not working with buddypress theme.

Hello all,
Late to the party, but I'm having issues with X Theme Pro by Themeco. The page loads fine, but no animation and no CSS are loaded on the page. Styling only loads if the page has been previously visited (refresh or URL).
I think the theme's scripts are not being loaded, but not sure what I can do to fix it. Since SmoothState requires adding a container after body, I tried to apply X Theme's default #x-root and adding my own div. It does seems like not updating body classes (and perhaps head?) is problematic.
If anyone can shed some light on this or point me in the right direction, that'd be great. Thank you!


tf.keras.layers.Conv3D throws error when backprop

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
tf 2.14.0
Custom code
Yes
OS platform and distribution
windows colab
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
When I try to do back prop on tf.keras.layers.Conv3D layer, it throws error. I think this bug is related to tensorflow because the error message contains tensorflow backprop ops.
Standalone code to reproduce the issue
filters = 1
kernel_size_0 = 4
kernel_size_1 = 2
kernel_size_2 = 1
kernel_size = [kernel_size_0, kernel_size_1,kernel_size_2, ]
strides_0 = 1
strides_1 = 1
strides_2 = 1
strides = [strides_0, strides_1, strides_2, ]
padding = "valid"
data_format = "channels_last"
dilation_rate_0 = 1
dilation_rate_1 = 1
dilation_rate_2 = 1
dilation_rate = [dilation_rate_0,dilation_rate_1,dilation_rate_2,]
groups = 1
activation = "relu"
use_bias = True
kernel_initializer = None
bias_initializer = None
kernel_regularizer = None
bias_regularizer = None
activity_regularizer = None
kernel_constraint = None
bias_constraint = None
x = tf.random.uniform([1, 3, 3, 3, 1], minval=0.7301831337248943, maxval=3.0, dtype=tf.float32)
layer = tf.keras.layers.Conv3D(filters, kernel_size, strides=strides, padding=padding, data_format=data_format, dilation_rate=dilation_rate, groups=groups, activation=activation, use_bias=use_bias, kernel_initializer=kernel_initializer, bias_initializer=bias_initializer, kernel_regularizer=kernel_regularizer, bias_regularizer=bias_regularizer, activity_regularizer=activity_regularizer, kernel_constraint=kernel_constraint, bias_constraint=bias_constraint)
with tf.GradientTape() as g:
    g.watch(x)
    res = layer(x)
grad = g.jacobian(res, x) # Error

Relevant log output
InvalidArgumentError                      Traceback (most recent call last)
<ipython-input-16-7a29e2e0c3b9> in <cell line: 34>()
     32     res = layer(x)
     33 print(res.shape)
---> 34 grad = g.jacobian(res, x) # Error

3 frames
/usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
     58         for t in inputs
     59     ]
---> 60     tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
     61                                         inputs, attrs, num_outputs)
     62   except core._NotOkStatusException as e:

InvalidArgumentError: Graph execution error:

Detected at node gradient_tape/Conv3DBackpropInputV2/pfor/TensorArrayV2Stack/TensorListStack defined at (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main

  File "/usr/lib/python3.10/runpy.py", line 86, in _run_code

  File "/usr/local/lib/python3.10/dist-packages/colab_kernel_launcher.py", line 37, in <module>

  File "/usr/local/lib/python3.10/dist-packages/traitlets/config/application.py", line 992, in launch_instance

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelapp.py", line 619, in start

  File "/usr/local/lib/python3.10/dist-packages/tornado/platform/asyncio.py", line 195, in start

  File "/usr/lib/python3.10/asyncio/base_events.py", line 603, in run_forever

  File "/usr/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once

  File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run

  File "/usr/local/lib/python3.10/dist-packages/tornado/ioloop.py", line 685, in <lambda>

  File "/usr/local/lib/python3.10/dist-packages/tornado/ioloop.py", line 738, in _run_callback

  File "/usr/local/lib/python3.10/dist-packages/tornado/gen.py", line 825, in inner

  File "/usr/local/lib/python3.10/dist-packages/tornado/gen.py", line 786, in run

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelbase.py", line 361, in process_one

  File "/usr/local/lib/python3.10/dist-packages/tornado/gen.py", line 234, in wrapper

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelbase.py", line 261, in dispatch_shell

  File "/usr/local/lib/python3.10/dist-packages/tornado/gen.py", line 234, in wrapper

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/kernelbase.py", line 539, in execute_request

  File "/usr/local/lib/python3.10/dist-packages/tornado/gen.py", line 234, in wrapper

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/ipkernel.py", line 302, in do_execute

  File "/usr/local/lib/python3.10/dist-packages/ipykernel/zmqshell.py", line 539, in run_cell

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 2975, in run_cell

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3030, in _run_cell

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/async_helpers.py", line 78, in _pseudo_sync_runner

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3257, in run_cell_async

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3473, in run_ast_nodes

  File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3553, in run_code

  File "<ipython-input-16-7a29e2e0c3b9>", line 34, in <cell line: 34>

  File "/usr/local/lib/python3.10/dist-packages/tensorflow/python/ops/parallel_for/control_flow_ops.py", line 212, in f

Tried to stack elements of an empty list with non-fully-defined element_shape: [?,?,?,?,?]
	 [[{{node gradient_tape/Conv3DBackpropInputV2/pfor/TensorArrayV2Stack/TensorListStack}}]] [Op:__inference_f_4984]

@cheyennee I was able to replicate the issue on colab, please find the gist here. Could you either increase the strides or decrease the kernel_size to avoid such an issue?
Thank you!

Hi, @sushreebarsa. Decreasing the kernel_size can avoid such an issue. But shouldn't this error message be set to be more user-friendly, so that the user knows how to adjust the parameters appropriately?

Hi @cheyennee,
The issue here is with input dimensions.  So please make sure the input dimensions are larger than the kernel size with valid padding or if you would like preserve the same input dimensions use same padding.  The first approach is recommendable. Please find the gist.
At the end of error log, the errorTried to stack elements of an empty list with non-fully-defined element_shape: [?,?,?,?,?] 	 [[{{node gradient_tape/Conv3DBackpropInputV2/pfor/TensorArrayV2Stack/TensorListStack}}]] [Op:__inference_f_4984]  is displayed. It's describing the tensors you want to stack have shapes that are not fully determined.
Thank You


Fix plymouth.themePackages.

Motivation for this change
Adding extra theme packages would make the themesEnv dir contain symlinks,
which would get copied as-is into the initrd, failing the build.
Things done
Pass -L to cp to copy the actual files instead.

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

[ ] 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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

I fixed this in https://github.com/NixOS/nixpkgs/pull/30665 too.

Along with patching out some store references.

Fixed in #30665


[FLINK-1775] BarrierBuffer fix to avoid end of stream deadlock

This fixes several corner-cases in the barrier buffer logic.

Hey gyula,
What is the problem with the stream writer? And how can I reproduce the record writer broadcast problem? If you give me some instructions to reproduce the problem, I could also look into it.

Should we merge this anyway? The recordwriter issue seems to be independent from this, and this commit solves some other bugs.

Now it seems that all these issues are fixed.

I think we need to refactor some parts, but this is a crucial fix. Tests are passing.
+1 to merge after throwing the Exception Robert mentioned.

Ok I will add that one

Changes Unknown when pulling 83db1db1c93b45943a788a8bd61f023b389d4af2 on mbalassi:FLINK-1775 into ** on apache:master**.


Phil fix up non promise

Pull Request Test Coverage Report for Build 1956

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 79.187%

Totals

Change from base Build 1942:
0.02%

Covered Lines:
717

Relevant Lines:
843

💛  - Coveralls


build: Allow hard-coding a default kernel headers directory

This helps with building bpftools under Nix. On NixOS, the directory /lib/modules doesn't exist.
It adds an optional cmake variable for specifying the directory under which an include directory with linux headers will exist.
The nix build would do something like:
cmake ../ -DKERNEL_HEADERS_DIR=/nix/store/lx3lv5b2y0r1ydjq0254spm3s9aypdpx-linux-headers-4.18.3

The BPFTRACE_KERNEL_HEADERS environment variable is still available to use at runtime if necessary.

Sorry, some other changes to this file got merged and caused a conflict. The changes looked good though

No problem. I have rebased and fixed the conflict.

It would be nice to have a default instead of #ifdefs but it's not possible.
The KERNEL_HEADERS_DIR CPP macro works like the BPFTRACE_KERNEL_SOURCE environment variable. It's simply a path that contains an include directory.
The other code for /lib/modules paths is more complicated. It looks for one of /lib/modules/$(uname -r)/{source,build}, sets a flag depending on which one exists, then ....

Fair enough, thanks for putting in the work to get bpftrace packaged on NixOS!

Thanks, my pleasure!


Update to 5.15.5

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin please rerender

@conda-forge-admin please rerender

Is this ready?

If so, do you mind adding this file: https://github.com/conda-forge/qt-main-feedstock/pull/47/files#diff-639f9b797377cbe9a41206de59731c03afb55563f0063ea1c678786f4dce91b6

@Tobias-Fischer are you able to build aarch?

Not at the moment - the disk is full on the conda-forge aarch server:
/dev/sda3        39G   39G   20K 100% /

Cleaned it up for you.
/dev/sda3        39G   13G   26G  33% /

Should we integrate https://github.com/conda-forge/qt-main-feedstock/pull/45 here?

linux-aarch64 build: https://anaconda.org/TobiasRobotics/qt-main/5.15.5/download/linux-aarch64/qt-main-5.15.5-hb0efc4c_0.tar.bz2
log: https://www.dropbox.com/s/cwqndn4axvif04n/qt-aarch-build.log?dl=0

@conda-forge-admin please rerender

@andfoy - I am not sure what you mean?

See https://github.com/conda-forge/qt-main-feedstock/blob/c023bc7f622415faf661fcb9e8ed5a4c2b55bc44/recipe/build.log

Thanks for the catch!

can you force push instead?

to delete it from the history

Done

@conda-forge-admin please rerender

@conda-forge-admin please rerender

I bumped to 5.15.6 while at it

Awesome, thanks for that @jschueller! My question from above is still open - should we integrate https://github.com/conda-forge/qt-main-feedstock/pull/45? I think it would be beneficial. If we agree it is, I can rebuild on aarch64.

Ok, done

Updated package: https://anaconda.org/TobiasRobotics/qt-main/5.15.6/download/linux-aarch64/qt-main-5.15.6-hb0efc4c_0.tar.bz2
Updated build log: https://www.dropbox.com/s/hsspbzqxqggq159/qt-aarch-build5156.log?dl=0


ImportError on extras.forms.RelationshipModelForm

Environment

Python version: 3.8
Nautobot version: 1.4.0b1

Steps to Reproduce

Upgrade nautobot to 1.4.0b1
Install plugin using extras.forms.RelationshipModelForm
On startup of any nautobot-server command an ImportError is thrown

Expected Behavior
A. Import work the same between 1.3 & 1.4
B. IF old name deprecated a deprecation warning is thrown with drop version but still allowed to be used in 1.4

Observed Behavior
Must change import and either perform conditional imports OR drop support for nautobot <1.4.0

New location is extras.forms.mixins.RelationshipModelFormMixin

Regression introduced by #2012.

Closed via #2151


Request: Support OAuth 2.0 Authorization Code Flow with Refresh Tokens

The fact stated in for e.g. #304 didn't state the test of time: Having refresh tokens that are used to exchange short lived access tokens (gladly) is much more common and secure to date.
Is there a possibility to get this feature into the plugin? Currently we are resorting back to Insomnia, Hoppscotch, Postman and the likes to have the ability to perform one request to fetch an access token before the actual request. It would be great if this would be available in the plugin as well.
Thanks a ton for your work anyway!

Hi @franz-josef-kaiser! Which IDE do you use? If it's one of the Ultimate versions, such as IntelliJ IDEA Ultimate, PyCharm Professional, or WebStorm, you can try the IntelliJ HTTP Client. I'd love to hear your feedback on it when used with GraphQL. The plugin can also handle authorization — here.
As I'm considering deeper integration of the HTTP Client with the GraphQL plugin, your feedback could be very valuable.

Hi @vepanimas, I appreciate reading this. Thank you very much.
What I am aiming for is to run auth as preliminary request for a query from within a .graphql or .gql file. The reason is, that we have these files loaded on demand and would like to develop where we stand. From what I read while glancing over the IntelliJ HTTP Client docs, I would have to use .http or similar files, call GraphQL from wrapper scripts. Is there something I missed or can you give me a quick intro on how I should test and what your expected result is/ how I can provide the data or results you need? Thank you.

@franz-josef-kaiser

I would have to use .http or similar files, call GraphQL from wrapper scripts.

Yes, that's correct. While it may be inconvenient at the moment because the plugin isn't integrated with the HTTP Client, my intention was to verify whether the HTTP Client plugin infrastructure is capable of handling your authentication request when making queries, and AFAIU it should be. If it works well for you, we'll consider implementing WEB-69781 in the upcoming updates.

Hi,
I tried this as well. I have a GraphQL API that needs OAuth Authorization (commercetools). When using GraphQL in the HTTP-Client, the OAuth 2.0 flow works like a charm:
### Commercetools GraphQL Introspection
GRAPHQL {{ct_api_url}}/{{ct_project_key}}/graphql
Authorization: Bearer {{$auth.token("commercetools")}}

What I would love to be able to do would be something like the following in my graphql.config.yaml:
schema:
  - https://api.<region>.commercetools.com/graphql:
      headers:
        Authorization: Bearer {{$auth.token("commercetools")}}

Maybe some additional parameters are needed, idk, but I hope you get the idea :-)


Review and refactoring of configurations and states

Make configuration functional mutators (beacause creation of ovveriding class  for changing configuration parameter is not cool)
Think about moving some parameters into state
Make immutable collections (not for only configurations, in all project)

Done (1.3.0)


Draft: feat(STONEINTG-454): Copy build labels/annotations from pipeline runs…

Copy build labels/annotations prefixed with build.appstudio from pipeline runs to new Snapshots

Changes have been tested on a local cluster. See here


File duplicated during copying

Description
When I copy a file during copying/moving it will create the original file and another one with the copy thing at the end

Steps To Reproduce
No responce
Expected behaviour
It shouldn't make another file.
Files Version
1.9.18
Windows Version
10.19043.1151
Relevant Assets
debug.log
debug_fulltrust.log

Thanks for this report.

Does it happen repeatably?
Does it happen when copying multiple files at once or also when copying a single file?

I only tested it with a single file to a new empty directory and it happen 2/2 when I tested it

Uff can't reproduce.

Do you find this happening only for "big" files?
Do you find this happening only in "particular" locations, e.g network share?
What happens if after the file gets duplicated you press "Ctrl+Z" (undo copy)? Do both files get deleted?
What happens if after "Ctrl+Z" you press "Ctrl+Y" (redo copy)?

I did it with an about 230GB file and i haven't tried the CTRL + Z and Y. It was from my internal HDD to my external bit locker enabled one

I've had it happen with at under 200MB file transferring to a new folder on the same drive also in 1.9.19

Merging with 5714

Reopening as I believe this has a different cause.. unless you verified that on 1.9.21 this issue does not happen anymore?

Currently it hasn't with my backup file at 38% complete.

Thanks @josh-65, please let us know if it happens again.


Supabase Inferencer Foreign Key "Cannot Render" [BUG]

Describe the bug
When you have a foreign key in supabase while using the inferencer, it displays Cannot Render instead of the actual value. Is there a way around this?
Steps To Reproduce
Use supabase and inferencer and set up a foreign key
Expected behavior
Either Have a link to the referenced row or display the actual value
Screenshot
No response
Desktop
No response
Mobile
No response
Additional Context
No response

Hello @InsightfulFuture please provide a minimal reproducible example with more details.

Hey @InsightfulFuture, "Cannot Render" is displayed when Inferencer fails to understand how to represent the field or cannot find the appropriate resource for the field. You can hover over it to see the reason why it failed to render.
You can easily fix it by copy-pasting the generated code from the Inferencer and update it according to your needs. Inferencer components are for generating starter codes for your components to give you a faster development process and not recommended for production.


Notes from review

Generally this looks fantastic.

Interfaces look fine, compliant with ICS 23 function signatures
New hash functions can easily be added in a backwards-compatible way - :+1:
Cross-language test vectors - :+1:
ProofSpecs can more easily be stored in clients due to recent changes in ICS 2
What is the "TODO" on InnerSpec - https://github.com/confio/ics23/blob/master/go/proofs.pb.go#L747 ?
Do you have any suggestions for ICS 23?

I'll also note that ICS 2 has been restructured in a way conducive to custom client code defined at time of client creation (e.g. in WASM), so non-standard Ethereum proofs could potentially be supported that way.
Also left a few comments on https://github.com/confio/ics23/pull/24#pullrequestreview-279461688.
cc @mossid

Moving some comments here from #24 as to suggestions for ICS23 spec:
One point is that there is no such function as VerifyMembership(proof, key, value). It needs to know the context of the type of tree. You could rewrite it to example:
VerifyMembership: (spec) => (proof, key, value) => bool
or anything else, but capturing some spec (definition of a particular merkle format) is critical, especially for non-membership proofs.
The idea of range/batch/neighbor calculations can definitely be expanded.
You may note that I expose non-membership proofs for stores that only themselves have a membership proof (ics23-tendermint). If the underlying store is ordered by key, we can produce all kinds of proofs, with a bunch of processing (client-side?) on the native proof format.
I'd be happy for more discussion on the ics23 spec, informed by what is built here (and what seems easy/hard to add).

The TODO on the InnerSpec was to validate if this made sense, but then I did code it and it worked. To properly test it, I need test vectors were the branch ordering is not the same as the proof ordering.
eg. merk hashes (left branch || right branch || key-value) since the node stores the value between left and right, the child_order would be [0, 2, 1]. Which is the key purpose of the child_order field and definitely needs to be tested (one the merk codebase finished the rewrite and stabilizes).

Looks like great work, thanks Frey. Some questions:

How were the test vectors generated?
Is it worth trying to align at all with IPLD multishash/serialization standards efforts?
On first glance it looks like the expected encoding of leaves is hand composed concatenations - is this general enough to eg capture a proto encoded leaf? Does it just mean the eg. field numbers and typ3 etc. would be incorporated into the length prefix ?

A bit concerned that we might be trying to generalize too far or that there will be serious limits to this approach, as we're already seeing for the patricia tree and possibly for sparse merkle trees too (which iiuc encode keys in the path through the tree as well). How do we expect to deal with these kind of issues? Might we not just need to deal with tree-specific code in the end anyways, and if so, will the current generalization really be worth it? Maybe this effort can at least help guide us in the design of future trees (or re-design of current ones) that can better lend themselves to a somewhat generalized verification scheme ...

Thanks for the feedback @ebuchman I will reply to each point in a separate comment - I wish there were threads in these issues, but at least I can get separate emojis for each point :smile:

How were the test vectors generated?

I should add to the readme file, but to answer this, they come from make testgen from https://github.com/confio/ics23-iavl and https://github.com/confio/ics23-tendermint (See iavl Makefile and tendermint Makefile

Is it worth trying to align at all with IPLD multishash/serialization standards efforts?

I assume you refer to https://multiformats.io/multihash/ which could replace the use of HashOp in the protobuf spec.
I don't see these as the same, as multihash encodes <hash type><hashed length><hash>, while we encode the preimage data - so this is a different format (they encode result, we encode how to calculate the result).
What would be doable in this respect is to standarize the integers used in the enum for the different operations to match their multicodec table. In particular, the subset that have tag = multihash. There are many, many types for blake2b, blake2s, skein and some other formats that we don't need to implement yet (imo). However, we can use the same numbers for those we do implement.
Interestingly, this table does not list ripemd160 (even though it does have md4 and md5!) not the bitcoin hash algorithm (sha256 + ripemd160) which seem useful to support. I could make a request to add them to the table.

On first glance it looks like the expected encoding of leaves is hand composed concatenations - is this general enough to eg capture a proto encoded leaf? Does it just mean the eg. field numbers and typ3 etc. would be incorporated into the length prefix ? What if other information is encoded in a leaf beyond just the key and value, like maybe something about the tree structure for an iavl tree which is insertion-order-dependent) ?

I don't fully understand the question, but if you are talking about how the LeafOp determines the leaf hash from key and value? There is a space for a prefix, which the Spec can enforce to start with a particular set of bytes (eg. iavl uses 0 for leaf and 1 for inner).
In particular, we capture the encoding of iavl leafs here which are 0x0002<amino encoded version>. It turns out amino is using protobuf sint64 encoding here, which is double the integer and then encode it (which is designed to support small negative numbers well). The checker accepts any prefix that starts with 0x00, and I could even make it stricter to enforce 0x0002.
Is this clear? It seems like better docs are needed... particularly geared to adding support to another format

A bit concerned that we might be trying to generalize too far or that there will be serious limits to this approach, as we're already seeing for the patricia tree and possibly for sparse merkle trees too (which iiuc encode keys in the path through the tree as well). How do we expect to deal with these kind of issues? Might we not just need to deal with tree-specific code in the end anyways, and if so, will the current generalization really be worth it? Maybe this effort can at least help guide us in the design of future trees (or re-design of current ones) that can better lend themselves to a somewhat generalized verification scheme ...

I have done some reflection on this. This format should handle all cases where the key and value are present in the leaf hash calculation. The ethereum patricia trie format is a nasty mess (please look at https://github.com/confio/proofs-ethereum The sparse merkle tree is much cleaner design and could be supported by some generic algorithm. However, I do agree including it in this design would be generalizing too much, and I don't have any other examples of keys encoded in path designs in use of other blockchains. If you have a list, maybe we could make a related format to support them all - one for key-value in leaf, one for value in leaf + key in path.
In terms of utility, maybe ics23 will have to support store specific code. However, even at the current state, I think this represents a large advance for the iavl and tendermint map proofs. There is custom logic - especially in iavl range proofs - which is embedded in much unexported go code. Parsing and verifying those in pure js (or rust) land is a huge challenge, and I think unspec'd go-only codecs are no longer viable in the interchain world. With a relatively small amount of go code, we can create standardized merkle proofs that can be parsed in 3 languages, with a clearly defined format. If nothing else, I feel this should be one supported proof format for ics, and one exported by cosmos-sdk.

Additional notes: https://github.com/cosmos/ics/issues/282#issuecomment-589690471.

Great, I will implement these changes, let me know current timelines for the ibc implementation so I can properly prioritize it

Subsumed by https://github.com/confio/ics23/pull/28.


Service worker: Cannot read properties of undefined (reading 'local')

The createAuth0Client function seems to be shimmed well, and I can actually get a reference to it:
const auth0 = createAuth0Client({
  domain: AUTH_DOMAIN,
  client_id: AUTH_CLIENTID,
  audience: AUTH_AUDIENCE,
  redirect_uri: chrome.runtime.getURL("/authSuccess.html"),
  // useRefreshTokens: true,
});

console.log({ auth0 });

/**
  {
    cacheLocation: "memory"
    cacheManager: e {cache: {…}, nowProvider: ƒ}
    customOptions: {}
    defaultScope: "openid profile email"
    domainUrl: "https://[...].us.auth0.com"
    messenger: e {}
    nowProvider: ƒ ()
    options: {...}
    scope: undefined
    tokenIssuer: "https://[...].us.auth0.com/"
    transactionManager: e {storage: e, ..., transaction: undefined}
  }
**/

But trying to call any of the utility functions throws a TypeError, trying to read a value like l.storage.local:
const token = await auth0.getTokenSilently();
console.log({ token });

// Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'local')

All similar methods like getUser() etc. cause the same issue.

Also thank you for your work on this library, it is the closest I've been able to get to a working state in SW context so far.

@ctjlewis you have to add :
  "permissions": ["storage"],
to you manifest.json.


feat(Condensed): characterise epimorphisms in condensed sets and modules

This PR characterises epimorphisms in condensed sets and condensed R-modules for any ring R, as morphisms of sheaves which are objectwise surjective on Stonean.

[x] depends on: #13897
[x] depends on: #13898

Thanks!
bors merge


[home] the home button doesn't work on gh-pages and local previews

The home button seems to take you to the root level and therefore doesn't seem to work on gh-pages
https://quantecon.github.io/lecture-python-programming.myst/intro.html

Same with the title in the header

Maybe this would fix it?
baseurl                   : ""  # The base URL where your book will be hosted. Used for creating image previews and social links. e.g.: https://mypage.com/mybook/

https://jupyterbook.org/customize/config.html#configuration-defaults

actually I would rather not use that setting because that would then break local previews
we should have a look at sphinx_book_theme to see how it is done there.

Interestingly the title/home in the lhs sidebar toc works in gh-pages -- so maybe that is the template path we need to use for home?

I've linked to intro.html for now. There is the following option, however I think it's similar to base_url. It really depends on what the home file is called.
  path_to_book              : ""  # A path to your book's folder, relative to the repository root.

could we just link to <master_doc>.html?

thanks @DrDrij

thanks @DrDrij


Vectorization

Vectorization might take some time as otherwise anticipated. I'm facing the following issues really:

Rollout Buffers also have to be vectorized. Most buffers just push into a collections object. New buffers will have to maintain a vectorized state and at the same time these trajectories should be kept intact. Terminal observations should be checked because after that at the index in the vectorized collection new trajectories have started (This really is the main issue).
Algorithms. Direct reshaping is not possible in most envs. As terminal conditions have to be taken care of. Also, env resetting conditions.
Logging standardization: Should we store timesteps/episodes/etc. Most of these would just be mean.
Standardization of callback timesteps. E.g. logging_interval, policy_update_interval, policy_copy_interval, etc. These values get greatly affected with an increasing number of envs running in parallel.

Most algos will face a major re-write. So it'll probably be until the end of the week until its complete.

Suggestion: Can we have the VecEnv method get_spaces be 2 separate methods as observation_space and action_space? This would be seamless to integrate later on with wrappers and would be uniform too.

Yup, have it in my PR #111


ISPN-13999 CLI client certificate

https://issues.redhat.com/browse/ISPN-13999

@dvagnero @dfitzmau some doc changes here that need your review

Thanks, Tristan.
I'll review this shortly. Thanks for the notification!
On Wed, Jul 20, 2022 at 10:04 AM Tristan Tarrant @.***>
wrote:

@dvagnero https://github.com/dvagnero @dfitzmau
https://github.com/dfitzmau some doc changes here that need your review
—
Reply to this email directly, view it on GitHub
https://github.com/infinispan/infinispan/pull/10214#issuecomment-1190020037,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN2E6HAJUGQX3ZZPI4RSCC3VU66KRANCNFSM53AXICUA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Darragh Fitzmaurice
Technical Writer 2
Red Hat EMEA https://www.redhat.com/
Communications House
Cork Road, Waterford, X91 NY33, Ireland
@.***
https://www.redhat.com/

Thanks @tristantarrant and @dfitzmau


How can I use Pixate Framework in a swift framework?

I always can create a bridging header to import headers in Swift App. But How can I do the same with the swift framework?

This Stack Overflow post describes how to do it: http://stackoverflow.com/questions/28444216/how-to-initialize-pixate-freestyle-with-swift

You can use https://github.com/StylingKit/StylingKit (freestyle reborn) with CocoaPods with use_frameworks!


Make the 'order canceled' function optional

If you decide to give the customer a partial refund for whatever reason (discount or other agreement), still the module will automatically put the entire order as ''refunded''. This causes the customer's account to show the order value at 0.00, while in fact it could be a different value that is still paid. This has consequences for the order status being shown as incorrect, and for example the email that is automatically sent out by Prestashop that says: ''Order refunded''. It also removes the customer loyalty points for that order, considering Prestashop thinks the complete order was cancelled and refunded.
I would like to have the ability to turn off this connection. While it seems a good idea, it's definately not a good solution for every shop and situation.

Hi @x0royx ,
Thank you for taking the time and efford to post this issue. We will look into this and we will inform you about upcomming changes.
Kind regards

Hi @basemedia ,
We are currently working on a major update for the Mollie module. This issue has been taken into account. As soon as the update is ready to be released, we will provide further information concerning this issue as well.
Kind Regards

We just released the new version in which this issue has been fixed. Therefore, we are closing this issue.
Regards