About the generation metric for questions with multiple correct answers

I am wondering for questions with multiple correct answers (or those with many alternative answers), can the current generation metrics handle this?
Thank you for the great codebase!

Hi, @caiqizh!
Indeed, it can be done with current codebase. You can look up at example for TriviaQA. If there's multiref option set to true in the yaml config, like here: https://github.com/IINemo/lm-polygraph/blob/main/examples/configs/polygraph_eval_triviaqa.yaml#L24, all generation metrics will be wrapped into AggregatedMetric class (https://github.com/IINemo/lm-polygraph/blob/main/src/lm_polygraph/generation_metrics/aggregated_metric.py). This will apply aggregation (currently only max) to values of generation metric produced by comparing model's output to all references. For Accuracy, for example, this means that for a given input, Accuracy metric will be equal to 1 if any of the alternative references match the output of the model.
We really need to work on updating and expanding documentation... @IINemo

I will keep this issue open until we ship docs with this functionality clearly explained.


How to config all inputs and outputs for custom component?

Question I
I have a custom component, which has some input properties and output events, for example, 'colorType', 'preSize', 'icon', and so on. Do I need define all properties in the component class, like below:
@Component({
    selector: 'formly-custom-button',
    template: `
        <custom-button [colorType]="to.colorType"
                       [disabled]="to.disabled"
                       [preSize]="to.preSize"
                       [width]="to.width"
                       [height]="to.height"
                       [icon]="to.icon"
                       (xxxEvent)="to.xxxEvent && to.xxxEvent($event)"
                       (click)="to.click && to.click($event)">
            {{ to.text }}
        </custom-button>
    `,
    changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FormlyCustomButton extends FieldType {}

config:
fields: FormlyFieldConfig[] = [{
        type: 'jigsaw-button',
        templateOptions: {
            text: 'FormlyJigsawButton',
            disabled: false,
            preSize: 'default',
            colorType: 'primary',
            icon: 'fa fa-edit',
            height: 60,
            width: '200px',
            click: ($event) => alert('You clicked me!'),
        },
        expressionProperties: {
            'templateOptions.disabled': 'model.checkbox',
        }
}];

If the component have many inputs and outputs, it will be very cumbersome. Is there an easy way？
Question II
My custom componen can accept the content between tag, implement by ng-content. How can I config the html template, which can be projected to the component?

Question I

I really need such a feature but unfortunately not possible with Angular, in React they use a spread operator:
<Button {...props}></Button>

Question II

The question is not clear, you may use CDK Portal to project a component see https://github.com/ngx-formly/ngx-formly/issues/555#issuecomment-342776429

Hei is this been solved ? Can you link to me a example ?


Bump the player when running into a corner if that will get them unstuck

With the current setup you kind of have to go out of your way to get stuck, though I can see some utility in this, especially if we decide to change at what point the entity collides with a tile like we were discussing earlier.
We may even add a "clip" option for the author to set how far the entity must be over the tile before clipping.

Here is what I'm thinking:

If an entity is trying to move up-right but there is a wall above them, we should change their move to a move right.

This involves changing the stance... and even the facing! That means the PixelModeEntity must contain logic to change the stance and facing in response to a bump.

If an entity is trying to move up but there is a wall above them, we should check to see if they are within "clip" pixels away from its left or right edge. If it's the left edge, check to see if there's no tile to the left. If there is no tile, we change their move from an up to a left. We can also choose to limit the entity's speed to the precise distance required to get past the tile currently blocking them in case the entity has a high speed value. And etc. if it's the right edge.

Here is an idea for moving the stance/facing system into entities:

We know facing will only have four values so that can be entirely brought into the entity with no loss. The entity can just calculate this on its own. walk doesn't need to be told a facing.
Stances are more complex. We want games to be allows to have a number of different walk and stand animations for each entity. (Imagine an idle animation for an entity while they're waiting around, or a walking versus running animation for different speed walks.) Entity stances should be composed of two parts: an "animation base name" string that the world can set and a direction that the PixelModeEntity code sets. The final stance is the concatenation of these two. How can PixelModeEntity know whether the stance direction is 4-way or 8-way? It always uses 8-way, and depends on the world never giving both an x and a y coordinate for movement at the same time.

Cool, just make sure not to change the stance in straight bump mode.

The straight bump mode will rotate the player by 90° so it'll have to change the stance. Hmm, it probably shouldn't change the facing though, should it?

I don't think the player should visually turn 90 degrees while bumping. Just make walking up go left for a split second. Turning in this situation would look twitchy.

Oh, that works.

@seisatsu Can you handle this one? You know the entity movement code well.
I'd tackle it in three stages:

Move facing & stance logic from stdlib to entity.
Add either diagonal or straight bumps.
Add the other of diagonal or straight.

Also pick either this or #125 for 0.0.8. There's so many issues requiring changes in entity.py it's scary right now.

I'll push #125 forward.

I am rewriting some of the PixelModeEntity movement code because I don't know how to modify it to add bumps as-is.

@seisatsu Should bumps be restricted to only the player entity? Or might other entities use bumps?
If just the player, then the maximum bump clip can be put in config.json and can be user-editable.
If arbitrary entities can use bumps, then bump clip should be in an entity descriptor file.

I'd put it in the descriptor file.


Truncate a string with ternary operator

Challenge Truncate a string has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4.
My code:
function truncate(str, num) {
  var newString = str;
  var trim;

  num < 3 ? trim = num : trim = num - 3;

  if(str.length > num) {
    newString = newString.slice(0, trim) + "...";
  }
  return newString;
}

truncate("A-tisket a-tasket A green and yellow basket", 11);

Using a ternary operator to check if the num is less than 3 results in all tests passing but throws an error in the editor. The error is on num - 3 and states Expected an assignment or function call and instead saw an expression.

This is normal. It's the linter telling you this is a bad practice use of a ternary that results in hard to read code. It should pass because the code isn't technically wrong, it's just something you probably want to not do. Thanks and happy coding!


Allow rotation of axes tick labels

This patch allows arbitrary rotation of tick labels. If the rotation is the same for every label on the given axes, it will apply a global xticklabel style. If the rotation values differs, it will create an array of the rotation value and apply the one at the given tick index.
In addition, I've attached a small test set with different rotated labels on both, the x and y axes.

Looks good.
One possible improvement would be to make the rotation code a little function (since it's virtually the same for x and y). Just pass in a string (x or y), the label rotations, and return the code for the rotations. Append that to self.axis_options.

I've updated the patch to support more options: Now the horizontal alignment is respected (an additional parameter has to be passed to matplotlib2tikz.save in the extra dictionary) and the visibility on the axis of the ticks can be defined.

Very nice work on the tests.
I see that some of the older tests needed a change in the phash, so things do look differently now. Do you know what exactly changed there? (Perhaps two screenshots would be useful.)

I honestly can't see any visual changes to it (also not with a tool). However, I haven't checked how phash works, but maybe it is because I add the used alignment in the generated tex file.

It's a perceptual hash (hence the name), so it only works on the output file. For comparing the images, you could check out http://stackoverflow.com/a/11362152/353337. (That's what I use.)

Okay, I did a mistake this afternoon and used the wrong method to compare the files. The difference is that before my patch, the generated tikz file shows the ticks on all axes (x: top, bottom, y: left, right), while now only those that are set by matplotlib are displayed:
Before:

After:

Ah, makes sense that so many test cases are affected then. Very nice work!


The redirect URI is not registered properly with DocuSign

After create and download a Quickstart App, I folloed the steps listed in installation guide and I recieve this error when try to run the application. I set my account datas and the message "The redirect URI is not registered properly with DocuSign" continue to apear.
Did I forget any settings?

@rbmarques  can you copy/paste the URI that your browser is using when you get the error? it would have the encoded redirectURI, which you can add, but we can also add on our end to ensure this doesn't happen as well.

@rbmarques can you copy/paste the URI that your browser is using when you get the error? it would have the encoded redirectURI, which you can add, but we can also add on our end to ensure this doesn't happen as well.

https://account-d.docusign.com/oauth/auth?prompt=login&client_id=0b5ad2f2-8cd5-408b-93e6-37ff1842faed&redirect_uri=http://localhost:8080/loginnull&response_type=code&scope=signature&state=46OzHx#/username

you can try to add http://localhost:8080/loginnull to the list of URIs you have in there, and it would get rid of this error, but I'm wondering why this is happening. I'm looking into this.

the correct URI should be http://localhost:8080/login?type=acg. This part is cut off, the URI is not encoded and you get a null coming from somewhere. Not sure yet how to reproduce this issue.

http://localhost:8080/loginnull

When I added this URL, it's works.
Thank you so much!


Chiptole  : Finding the highest ordered item

When I tried using the following code the ordered item quantity is different
chipo['item_name'].value_counts().head(1)
Out[48]:
Chicken Bowl    726
Name: item_name, dtype: int64
But when i try your method it is having different value.
chipo.groupby('item_name').sum().sort_values(['quantity'],ascending =False).head(1)

order_id
quantity

713926 | 761
can you please help me with same and explanation would very much appreciated

The groupby(...)sum() code is accounting for item_count. Chicken bowls were ordered 726 times, but 35 of those were for 2 chicken bowls.

chipo["item_name"] makes a series...
chipo["item_name"].value_counts....gives the number of times each item is present in that series.
Meanwhile chipo.groupby("item_name")..makes an object and then adding the sum function further to it adds the quantity column for each time the item is present.
So basically value_counts adds the number of time item is present in "item_name" column and group_by().sum() add the quantity column elements for the items.

Sorry - didn't get it. I count max using chipo['item_name'].value_counts() and got 726 items. Method, shown in exercise gives 761. When I actually check original file in excel it gives me 726 as well. What is right way to count and how did this error appear?

Fixed with last PRs.


Uncaught ReferenceError: ionic is not defined, http://localhost:8100/?ionicplatform=ios, Line: 85

From @JosephMendez on April 17, 2016 16:45
Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
What behavior are you expecting?
Steps to reproduce:
1.
2.
3.
insert any relevant code between the above and below backticks

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version? 1.x or 2.x
Plunker that shows an example of your issue
For Ionic 1 issues - http://plnkr.co/edit/jnOrQRtE8rN2WCXDQYQY?p=info
For Ionic 2 issues - http://plnkr.co/edit/TW20lftdc5s622pcJPkp?p=info
Run ionic info from terminal/cmd prompt: (paste output below)
Copied from original issue: driftyco/ionic#6208

From @RAMDdFLEET on April 17, 2016 17:52
when you are using ionic 2 and ionic cli to test run in your browser, do not use ionic serve --lab, should only use ionic serve. Anyways, you won't see any damage due to that warning. That is actually a problem with Ionic CLI which will be fixed when rolled out.
Workaround: you can type ionic serve -b, wait for Running dev server message and then open it manually: http://localhost:8100/?ionicPlatform=android for platform specific emulation

Hello! Thanks for opening an issue with us! As this is an issue with the ionic cli and not an issue with the framework i will be moving this issue to that repo. Thanks again!

Thanks for the issue! Should be fixed in the next release of the CLI by https://github.com/driftyco/ionic-app-lib/commit/379008c292a791c8aa4396312607b4de0f2fbfdd


fix: we should generate bootstrap.server.jsx when ssr mode

Summary
Related Links

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

that's last piece of mf rspack ssr  !


Could Not see the Dashboard example - only box plot

Describe the bug
"No matching visualization found for type: boxplot, in app: splunk_plotly_collection_viz"
Error occurs randomly.
To Reproduce
Steps to reproduce the behavior:

Go to "Apps / Search & Reporting / Dashboards"
Click on the dashboard Overview of Plotly Charts for Splunk

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
I cant' upload capture image in this issues page, (I don't know why..)
So to put it in words
I just can't see viz type "splunk_plotly_collection_viz.boxplot" randomly.
(But in most cases it is not visible)
The other viz type work fine.
The Permission is

All apps(system)

The properties is

Update checking : YES
Visible : NO

The Dashboard code is this.
<row>
<panel>
      <title>Boxplot Chart</title>
      <viz type="splunk_plotly_collection_viz.boxplot">
        <search>
          <query>
            | makeresults count=100
            | streamstats count as group_num
            | eval group_num = ((group_num-1) % 5)+1
            | eval group_num = "Test ".group_num
            | eval y=random() %51
            | fields - _time
          </query>
          <earliest>-24h@h</earliest>
          <latest>now</latest>
          <sampleRatio>1</sampleRatio>
        </search>
        <option name="drilldown">none</option>
        <option name="trellis.enabled">0</option>
        <option name="trellis.scales.shared">1</option>
        <option name="trellis.size">medium</option>
      </viz>
    </panel>
  </row>

Desktop (please complete the following information)

OS: Window
Browser : edge
Version  : v2.4.0
Splunk Version : 8.2.9

Hi @lem0n43 ,
Thanks for reaching out! Unfortunately I cannot reproduce this behaviour. Have you tried using a different browser (e.g. Chrome, Firefox, etc)?
"No matching visualization found for type: boxplot, in app: splunk_plotly_collection_viz" suggests there may be an issue with your app folder structure. There must be $SPLUNK_HOME/etc/apps/splunk-plotly-collection-viz/appserver/static/visualizations/boxplot and you should see a file named visualization.js in there. If that's not the case, please re-install the app.

@edro15
The problem is my Splunk enviroment.
I  had already downloaded another box plot app.
When I disable the app(already one), I can see the box-plot graph clearly.
Maybe there are some conflict wit these two app, So it can't see the graph.
Thank you for your help!


PresentationDetents

Hi, is it possible to backport more presentationDetents like .fraction and .height ?

I managed to do it using private apis would this be acceptable ?

No private APIs I'm afraid. The point of the backports is that they are identical to existing API and are shippable in all apps.
The additional detent APIs where introduced from iOS 15+ at which point you can use the official APIs, so it made no sense to backport them.
Thanks.

Make sens that's why I called it out in the PR. Too bad I can't use .height though.

Are you suggesting you could implement the height API without private API usage? I'd consider that but from your PR I don't see that being the case.

.height is implementable on iOS 16 without private api in the pr I was using both options private on ios 15 and public above ios 16

.height is implementable on iOS 16 without private api in the pr I was using both options private on ios 15 and public above ios 16

Sure, but then it's not a backport. It's just using the official support. Height and fraction came in iOS 16, so there's nothing to 'backport' or am I missing something?

That's right. So there's no point in "back porting" something that's officially available if you're already targeting iOS 16+
Also, keep in mind this depends on features being available in UIKit in order to backport, which again was only made available since iOS 16+
Backporting these would require CUSTOM UIPresentationControllers and re-implementing the entire stack, I don't see the value for a feature that's almost never requested I'm afraid.

I thought exposing iOS 16.4 apis to 16.0 had value. Thanks you anyway for having looked at it.

Ok, I'll make a proper PR for iOS 16 then. I wasn't sure I there was a misunderstanding or if you were politely telling me you weren't interested. Sorry for the confusion too, that's probably on me since I'm not a native speaker.

No no, no need to apologise. I'd never dismiss or necessarily be "uninteresting" in an idea. I just like to understand it fully before committing to something.
Look forward to it 👍


Volunteer link does nothing and gets a js error

http://allready-d.azurewebsites.net/Event/5

quick note to list it and steve is looking at it

So far I've been able to replicate this locally by setting up an event with a task that has a skill linked to it. If you then try to click volunteer and have no skills assigned to you, this error seems to occur.
I then added a matching skill to my user and tried again. This time the event details page blows up with a Json.Net self referencing error. This seems to be because the EventViewModel which is trying to serialise uses the domain/EF models which cause the self referencing. I'm playing with a cut down skill model for the userSkills which has helped at least get the page loading, but the event.js still seems to be doing some stuff with knockout that causes other JS errors.
So long story short, I'm out of my depth with the JS stuff. I'll keep looking at this is pretty critical to the functionality, but if anyone else has more JS experience and can take a look / assist please do. Just leave a comment here so I know I can give up!

I think I fixed this problem although I can't say for certain whether or not it is currently implemented they way it was intended. The problem was because the SkillViewModel class was missing an Id property. I have added that and now the "Matching" tag shows up as expected if your skills match the skills required for the task. The user also able to Volunteer without errors.

So I can volunteer now - good news.
I can't go to a task after I volunteered - bad news.

This can be closed, right?

thought I closed it already


A few issues

Hi! I downloaded this to use for streaming paper magic. I'm having trouble with a few things. The program doesn't want to "load" more than about 8 sets at once. After this, it just sits on "1 set loading" for a long time and does nothing.
I also cannot see the buttons you're talking about like the browser button or the create custom set button. It could be my own reading. Thank you for whatever reply you can offer!

I wasn't able to reproduce an inability to load multiple sets. It may help to select "Only Trigger Recognition Manually" before loading set files, though the synchronization mechanisms in place should catch any potential issues anyway.
The readme file was updated ahead of any actual release with upcoming features. Since I was not actively developing YamCR for some time, this meant the released version was significantly out of date compared to the feature set on the project page. I've pushed a pre-release build that makes these features available. Note that it uses a new set format, necessitating re-generation of set files. The included features may still be unstable, as they haven't had any polishing in the time since I was developing them.
If you still have trouble loading sets after updating, please include the errorlog.txt file in the YamCR directory in this issue.


Fix Prettier

Fix Prettier
This pull request reverts the changes made in https://github.com/the-hideout/tarkov-dev/commit/557a66df3918484707dbc1be23cf71533e728379 as it botched lots of the formatting. I have reverted that commit in this PR and also modified the way the linter handles line length. I won't even run the linter for now as it seems to introduce more problems than it solves

.deploy


Add Molajo Installers

Add Composer installers for Molajo Plugin, Resource, and Theme extension types.

@AmyStephen this branch has conflicts, update your PR, please.


More demos?

Can you provide some generated video demos? Do not see any link to your generated videos in your paper

Hi, we provided a short demo video on the project webpage (you may miss that): https://doubiiu.github.io/projects/codetalker/.


added pixel_exporter

Added pixel_exporter and an accompanying jupyter notebook demo. The pixel exporter renders the maze pixel by pixel as opposed to using the PIL's Draw method. This allows for rendering really large mazes.

changed the demos to use argparse library
changed colorgrid to use a slightly more distinct matplotlib colormap

(Also checked that it works well on a Mac)


Task: Relative DID URL support

In DID Documents, it is valid for a DID URL to omit the DID when referencing another part of the same document.
For example:
{
    "@context": "...",
    "id": "did:example:123",
    "verificationMethod": [
        {
            "id": "#key-1",
            ...
        }
    ],
    "authentication": [
        "#key-1"
    ]
}

With the last version of pydid. replicating your example:
{
    "@context": "https://w3id.org/did/v1",
    "id": "did:example:123",
    "verificationMethod": [
        {
            "id": "#key-1",
            "type": "EcdsaSecp256k1VerificationKey2019",
            "publicKeyBase58": "020a5"
        }
    ],
    "authentication": [
        "#key-1"
    ]
}

It founds error due:

DID could not be parsed from URL #key-1 for dictionary value @ data['verificationMethod'][0]['id']
pydid.doc.verification_method.VerificationMethodValidationError: Failed to validate verification method: expected a dictionary (However if the id is complete as  "did:example:123#key-1", it is validated properly)

The most clear example that pydid validates properly:
{
    "@context": "https://w3id.org/did/v1",
    "id": "did:example:123",
    "verificationMethod": [
        {
            "id": "did:key:test#key-1",
            "type": "EcdsaSecp256k1VerificationKey2019",
            "publicKeyBase58": "020a5"
        }
    ],
    "authentication": [
        "did:key:test#key-1"
    ]
}

I have not clear if it is a task for aries-cloudagent-python or for the py-did


Is it the course attenable online?

Hi,
I am interested on topic of sustanability of software engineering, wonder if any online course available to attend

Hi @gftea not yet but I'll keep that in mind. Thanks!


RKE2 Cluster is stuck in provisioning state after an upgrade to 2.6-head and rollback to 2.6.3

Rancher Server Setup

Rancher version: 2.6-head commit id: bab14a
Installation option (Docker install/Helm Chart): docker install

Information about the Cluster

Kubernetes version: v1.21.9+rke2r1
Cluster Type (Local/Downstream): 3 etcd, 2 cp and 3 worker nodes

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) admin

Describe the bug
RKE2 Cluster is stuck in provisioning state after an upgrade to 2.6-head and rollback to 2.6.3
To Reproduce

Deployed a 3 etcd, 2 cp and 3 worker node RKE2 cluster on v1.21.9+rke2r1 version
deployed resources on the downstream cluster
Upgrade rancher to 2.6-head
Cluster is in an error state for sometime, before going back Active and the nodes start getting deleted and reprovisioned (logged bug )
Noticed that the nodes got deleted in parallel - 1 etcd, 1 control and 1 worker nodes got deleted in parallel and reprovisioned.
Existing resources on the clusters worked fine, and new resources were deployed
Rollback rancher to 2.6.3 (via Docker install path per https://rancher.com/docs/rancher/v2.6/en/backups/docker-installs/docker-restores/)
CLuster is stuck in provisioning state

Result

Rancher logs:

x6cb: Node "sowmya-rke2-263-pool3-02226a03-6vtgx" not found
2022/03/11 23:43:06 [ERROR] Unable to retrieve Node status: error retrieving node sowmya-rke2-263-pool3-02226a03-g56wd for machine fleet-default/sowmya-rke2-263-pool3-778dd4448d-cz8fx: Node "sowmya-rke2-263-pool3-02226a03-g56wd" not found
2022/03/11 23:43:06 [ERROR] Unable to retrieve Node status: error retrieving node sowmya-rke2-263-pool3-02226a03-tmwmj for machine fleet-default/sowmya-rke2-263-pool3-778dd4448d-rc2qh: Node "sowmya-rke2-263-pool3-02226a03-tmwmj" not found
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool1-5b8559c8dc-md9x4" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool3-778dd4448d-2x6cb" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool2-78d868bf74-jbrg6" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool1-5b8559c8dc-sh9ff" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool2-78d868bf74-mm5m6" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool3-778dd4448d-rc2qh" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool3-778dd4448d-cz8fx" in namespace "fleet-default": cannot find node with matching ProviderID
2022/03/11 23:43:14 [ERROR] Reconciler error: no matching Node for Machine "sowmya-rke2-263-pool1-5b8559c8dc-kkk5w" in namespace "fleet-default": cannot find node with matching ProviderID

And the rancher logs are flooded with ^^^ these logs

Expected:

I am not sure if on a rancher server upgrade if replacing the nodes is the best option as mentioned here, since on a rollback, the cluster is broke.
Also the rancher logs should NOT flood with the error messages

@thedadams  to look into it time permitting; the fix may be on the backup-restore operator side.

Moving this one to 2.6.5 to properly address it there. As of now the plan is to consider this a known issue and release note it.

Since there were so many new features added to RKE2 provisioning from v2.6.3 to v2.6.4 and the fact that RKE2 provisioning is in Tech Preview: it was deemed OK for RKE2 clusters to be re-provisioned on upgraded from v2.6.3 to 2.6.4.
Because of this, new machines are provisioned for RKE2 clusters on upgrade. This means that rolling back to v2.6.3 after upgrade will cause this issue; the nodes that were there when Rancher was at v2.6.3 no longer exist.
Manual steps can likely be applied to the cluster and machine objects on rollback to get the cluster to reconcile with the new nodes. However, this has not been tested thoroughly.

notes:

this is specifically for rke2 provisioned clusters (won't affect 2.5.x if any rke2 clusters are there)
actionable items: we need a documented way to (manually) roll back from 2.6.4+ -> 2.6.3-.
if this isn't done already, we should have a nice alert for customers who are upgrading from 2.6.3- that they will have some manual steps if for whatever reason they roll back from 2.6.4+

This will (should) not be an issue for 2.6.4 -> 2.6.5 upgrade because we're not adding anything extra to machines or deployments (which trigger reprovisioning).
So, we will be addressing this issue if we need to introduce new fields in the following releases.
Meanwhile, we have release noted this behavior in 2.6.4 and it should be sufficient.

This has since been resolved with the improvements made to provisioning. We can re-open or re-create if we stee something similar since we're a long way from v2.6-->Rollback to 2.6.3 happening.


Add support for full node mesh

Full node mesh can be support with the wireguard VPN implementation.
Full node mesh adds the following:

maximum theoretical bandwidth exploitation
best possible resilience to node failure, in fact with n active gateways (#34 ) a node failure causes a drop in bandwidth of 1/n. But with full node mesh a node failure causes a drop in bandwidth of zero as the only workload that is impacted by it is also failed.

How would full-node mesh work in enviroments were not all nodes have PublicIPs ? would we create a load balancer per worker node?
The AWS Implementation of the K8s network load balancer works particularly bad when multiple ports are added (if that is an alternative), at least it's what I have been experiencing empirically.

this old project gives an idea of how it would be possible: https://github.com/Huang-Wei/shared-loadbalancer . I realize there is some work do to there. In the immediate, having the feature when the nodes are reachable (VPC peering, bare metal on prem), would be still a win.

@sridhargaddam mentioned there is a dependency on Load Balancer work here.

This was discussed in the Submariner community and the general feeling is that this is not aligned with our short-to-medium term goals.


feat: SDA-1515 (Remove memory refresh logic completely)

Description
Remove memory refresh logic completely
SDA-1515
Solution Approach

Remove the memory refresh logic completely and just log the data

Related PRs
List related PRs against other branches/repositories:

branch
PR

6.x
#780

Thanks guys.

Closing this as products want improvements instead of disabling the feature


First draft

Created first draft

Hey guys!
This is the first draft of the abstract I put together for BOSC. Please take a look, merge the PR, and make a pull request with any comments, suggestions or edits. In particular, please fill in your affiliation/s (you can see the format used by the template if you look at mine).
The deadline for submission is April 13, so please get comments to me by early next week.


Updated command-line usage

New command-line usage with full list of accepted parameters and an example invocation of the command. Also slightly edited the tool description to match the vision of mirroring grep as closely as possible.

I've learned some interesting things from the failed lint check for this, considering I didn't change any code.
It looks like clippy had some updates regarding the useless_vec lint in the latest 1.72.0 version. It shouldn't lint inside macros, but it does, despite being fixed previously: https://github.com/rust-lang/rust-clippy/pull/11094
Here's the problematic part
Compiling fqgrep v1.0.3 (/home/runner/work/fqgrep/fqgrep)
error: useless use of `vec!`
   --> src/main.rs:163:1
    |
163 | / arg_enum! {
164 | |     #[derive(PartialEq, Debug, Clone)]
165 | |     enum Color {
166 | |     Never,
...   |
169 | | }
170 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec
    = note: `-D clippy::useless-vec` implied by `-D warnings`
    = note: this error originates in the macro `arg_enum` (in Nightly builds, run with -Z macro-backtrace for more info)

error: could not compile `fqgrep` (bin "fqgrep") due to previous error
Error: The process '/home/runner/.cargo/bin/cargo' failed with exit code 101

Now, the workflow is actually supposed to run the 1.64.0 toolchain (which passes the checks locally) as it was set in the rust-toolchain.toml, but it instead installs the latest stable toolchain (1.72.0). This, I believe, circles back to another issue in fqtk (https://github.com/fulcrumgenomics/fqtk/issues/23), in which I also believe @nh13 is correct about not using toolchain but I haven't tested it.
Open to suggestions here while I keep investigating.


meshscatter function broken ?

Last update of MakiE seems to have broken meshscatter function
using MakiE, GeometryTypes, Colors, Interact
scene = Scene(resolution = (500, 500))
large_sphere = HyperSphere(Point3f0(0), 1f0)
positions = decompose(Point3f0, large_sphere)
meshscatter(positions, color = RGBA(0.9, 0.2, 0.4, 1))
scene

gives
ERROR: MethodError: no method matching vec2quaternion(::Reactive.Signal{GeometryTypes.Vec{4,Float32}})
Closest candidates are:
  vec2quaternion(::StaticArrays.StaticArray{Tuple{4},T,1} where T) at $HOME/.julia/v0.6/GLVisualize/src/visualize/particles.jl:255
  vec2quaternion(::StaticArrays.StaticArray{Tuple{3},T,1} where T) at $HOME/.julia/v0.6/GLVisualize/src/visualize/particles.jl:258
...

Oh, seems like i've pushed halve baked changes... sorry :(

I pushed some fixes to GLVisualize sd/makie

... and the great meshscatter function is back :-)!

I wonder if the yesterday updates also broke the axis labeling.. ?

Oh yes it did :( let me check it out! I really need to get back a CI for MakiE and start working with PRs....

Just fixed it in https://github.com/JuliaGL/GLVisualize.jl/pull/206/commits/162fc6b23092dfb346fba6cc5bdb2bd16f918859

.. but it seems that there is now a problem with the main source file: MakiE.jl became Makie.jl which creates loading error.

Yes, I just renamed it to Makie :D  so you need to use using Makie now!

ok, I thought to this option, wanted to be sure ;-), best.

Makie.Scene() produces today
WARNING: Compat.UTF8String is deprecated, use String instead.
  likely near no file:0
WARNING: Compat.UTF8String is deprecated, use String instead.
  likely near no file:0
WARNING: Compat.UTF8String is deprecated, use String instead.
  likely near no file:0
ERROR: UndefVarError: empty_shader_cache! not defined
Stacktrace:
 [1] #create_glcontext#46(::Tuple{Int64,Int64}, ::Bool, ::Int64, ::Int64, ::Array{Tuple{UInt32,Int64},1}, ::Array{Tuple{UInt32,Integer},1}, ::Bool, ::Bool, ::GLWindow.#create_glcontext, ::String) at $HOME/.julia/v0.6/GLWindow/src/screen.jl:183
[2] (::GLWindow.#kw##create_glcontext)(::Array{Any,1}, ::GLWindow.#create_glcontext, ::String) at ./<missing>:0
 [3] #Screen#47(::Tuple{Int64,Int64}, ::Bool, ::Int64, ::Int64, ::Array{Tuple{UInt32,Int64},1}, ::Array{Tuple{UInt32,Integer},1}, ::Array{Function,1}, ::Bool, ::ColorTypes.RGBA{Float32}, ::Tuple{Float32,ColorTypes.RGBA{Float32}}, ::Bool, ::Bool, ::Bool, ::Type{T} where T, ::String) at $HOME/.julia/v0.6/GLWindow/src/screen.jl:237

...

Always an adventure... You need to pull sd/makie in GLAbstraction!

Part of the fun ;-), thanks.

A very small detail: a call to axis(r, r) with r a Range of length n only print n - 1 labels. I tried to fix it without success :-(. Not a priority for sure.

Ah, that's kind of on purpose, so that they don't overlap,.... But the axis needs to get an update anyways, to match Plots.jl axes ;)


Forklift should no longer be a statefulset

Forklift no longer requires a persistent storage connection or network identity based on relatively old refactors as of this writing.
Having it implemented as a statefulset instead of a deployment adds overhead and makes deployments unnecessarily difficult. It also makes unnecessarily difficult to horizontally scale the forklift service for concurrency.

Forklift is a Deployment at the time of this comment


Make delay completion test use a single variable.

Hi there!
I thought I'd contribute this little snippet to make the delay_test a little more efficient.
Instead of capturing a "base time" and a "delay time" and adding them together each loop; this modification sets a "delay_done_ms" time up front (a target time after which the delay has finished) and then tests directly against that.
I also couldn't see what the (!delay_ms) was adding so I removed it. If it's actually required, then some equivalent can be put back.  Just in case having a non-zero value makes a difference to you; I went ahead and initialized delay_done_ms = 1.  (But that initialization can be safely removed.)
Cheers!

Hey. Thanks for contributing to the project. I will gladly merge this improvement. Am away today, will probably get to it tomorrow. Thanks.

Actually, I'm going to take this one back and replace it.
Both versions have a bug at the rollover mark; it's trivial to fix, but not like this.


DRAFT: CD-Event project

You can find in this pull request:

Core pkg
CLI pkg
Receiver pkg (under construction)
docker management
Makefile
Full test coverage for Core & CLI pkgs

Main-TODO-list:

Update create object for Receiver pkg
Documentation

Merging as per WG discussion.
We shall address CI tests and remaining work as independent issues.

This pull-request was created to point to skeleton-project branch.
Please let me know, If you would like me to create another pull-request to point to main branch.

Thanks @tarekbadrshalaan, sure, that would be nice.
Otherwise I can also do it if you prefer.


Subsegments with the wrong parent id

Using: 2.3.6-experimental.1
I'm running an async-heavy lambda.  Frequently subsegments are assigned to the wrong parent.  The screenshot below shows an example.  I will continue investigating.  I understand that it would be ideal if I could provide a reproducible example.  That might be tricky.  If there's any other useful information I can provide, let me know.
I understand that this is kind of sparse on specific details, so I'll understand if you have to close it in a few days.

Hi @gdw2,
async functions in Lambda has caused some bugs in the past with X-Ray. Although your specific use case is unknown, one thing that can happen is Lambda can drop subsegments if execution reaches the end of the handler and there are still functions in process, Lambda will allow them to resolve but terminate immediately after, interfering with or dropping subsegments that were still open at the time.
The best way to guarantee correctness of subsegments is to use await to pause until the completion of a Promise that is being traced by X-Ray. This ensures these requests will be completed and their subsegments closed before the Lambda terminates and causes inconsistent behavior.
If you would like further specific assistance, could you provide the (redacted as necessary) JSON from the "raw data" tab? And where do you expect these annotation-segments to be instead of where they are now?

I'm going to close this, but feel free to follow up if you still have questions.


Check for error_message when update analysis node.

This PR fixes https://github.com/CartoDB/cartodb/issues/9415
When an analysis fails, the error message come wrapped inside the maps api request as error_message parameter:

When the model is updated, we look for this parameter to set error properly. Otherwise the error message will be empty.
I know there were some intents of solving notifications from the maps api in the past, and I guess some of the solutions implemented aren't valid now. Not sure if this change of behaviour obey to a change in Whidshaft but this is the easy way to fix this today.

cc @xavijam @alonsogarciapablo

:+1: :es:


[Macros] Support @discardableResult on macro declarations.

The result of an expansion of such macros can be silently ignored.
Fixes rdar://104040446

@swift-ci please smoke test


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

Merging #655 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #655   +/-   ##
=======================================
  Coverage   92.91%   92.91%
=======================================
  Files           7        7
  Lines        1073     1073
=======================================
  Hits          997      997
  Misses         76       76

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 b94ec58...ec2aec2. Read the comment docs.

Coverage remained the same at 89.74% when pulling ec2aec221bbdb28957cf3af378ad27b278bf4649 on template-sync-1 into b94ec586f3e3a185253e4a604e808d55b20ebf3d on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


License ?

Hello, under what license is this project released under ? I would like to study it to learn from it. Thank you.

I have added a license to the repo. Please, feel free to study and learn, that is why this exists :-). Tomas

Thank you so very much :)


9pfs directory sharing

https://gist.github.com/woachk/3a7c88d8b04acea8633a6297600f2a21
Apply this to our QEMU fork and implement a way to interface with it.

There's some work going on in this regard in other projects as well. This patch-set is not fully functional as for now.
See:
https://github.com/AkihiroSuda/lima/issues/20
https://github.com/NixOS/nixpkgs/pull/122420
https://github.com/Tarik02/qemu/commit/d0bcdb03394579d87e94bef154b8012fc8448903
https://github.com/NixOS/nixpkgs/issues/108984#issuecomment-842192023
https://github.com/r2r-dev/nixpkgs/commit/58142a0fa46a3e920cb4e92fcd0420eeec62ae27

Looks like virfs/9pfs support on Mac was just merged to QEMU: https://github.com/NixOS/nixpkgs/pull/122420#issuecomment-1061760608

https://github.com/qemu/qemu/tree/f45cc81911adc7726e8a2801986b6998b91b816e
https://lists.gnu.org/archive/html/qemu-devel/2022-03/msg02594.html

Duplicate of #2184


@microsoft/kiota-bundle versioning

Hello,
I'm a bit confused about the current @microsoft/kiota-bundle versioning.
Currently, kiota info -l typescript instructs me to install version 1.0.0-preview.11 of @microsoft/kiota-bundle.
kiota info -l typescript
The language TypeScript is currently in Preview maturity level.
After generating code for this language, you need to install the following packages:
Package Name                           Version           Type
@microsoft/kiota-authentication-azure  1.0.0-preview.63  Authentication
@microsoft/kiota-bundle                1.0.0-preview.11  Bundle
[...]

The bundle package, however, has dependencies on * for all the different kiota-* packages.
https://github.com/microsoft/kiota-typescript/blob/21c64215379027db0cb2b2b9755006b9fc80f99b/packages/bundle/package.json#L32-L38
This means that all of them will be installed with the latest version.
✗ yarn add<EMAIL_ADDRESS>➤ YN0000: · Yarn 4.3.1
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + @microsoft/kiota-bundle@npm:1.0.0-preview.11, @microsoft/kiota-abstractions@npm:1.0.0-preview.70, @microsoft/kiota-http-fetchlibrary@npm:1.0.0-preview.70, @microsoft/kiota-serialization-form@npm:1.0.0-preview.70, @microsoft/kiota-serialization-json@npm:1.0.0-preview.70, and 5 more.
➤ YN0000: └ Completed in 2s 965ms

Is this the intended behaviour? How can I tell if those (.70) are the correct versions compatible with the code generated by kiota?

Thanks for raising this @hognevevle
Apologies for the confusion here. At the moment, running kiota info -l typescript will show the dependency list at the time of the release of the kiota version you are using (which would get outdated if a new version was released later on). This information are the versions compatible/validated with the kiota generator version you are using. On the next release of the Kiota this information should be updated to higher versions of the dependencies validated against the generator.
To also alleviate confusion here, going forward, versions for the Typescript libraries will be aligned to the same version as we also do for other languages like C#,java and python(see example release here). So, if you use the bundle version 1.0.0-preview.63 the other libraries e.g. serialization that are compatible with the version will be of the same version 1.0.0-preview.63.
Let us know if you have further questions.

Thanks for the clarification, @andrueastman !
I might be missing something, but won't the dependencies on * from the bundle package still cause problems here? I.e. whenever you install the bundle package (be it version preview.10 or preview.70), you will always get the latest version of the dependencies. Wouldn't it make sense for the bundle package to depend on specific dependency versions as well?

@hognevevle I do think you're correct since if you run the following
npm init -y
npm i @microsoft/kiota-bundle -S
cat<EMAIL_ADDRESS>
you get (for the dependencies section)
 "dependencies": {
                "@microsoft/kiota-abstractions": "*",
                "@microsoft/kiota-http-fetchlibrary": "*",
                "@microsoft/kiota-serialization-form": "*",
                "@microsoft/kiota-serialization-json": "*",
                "@microsoft/kiota-serialization-multipart": "*",
                "@microsoft/kiota-serialization-text": "*"
        },

I think we've operated under an assumption that lerna would replace the versions for us, which is not happening right now.
This can have serious side effects, and needs to be investigated. All the packages beyond kiota-abstractions are most likely impacted since this is how they refer to abstractions.
Solving this might also have a positive impact on #1369

Thanks for the clarification here. In that case, I believe we can set a version in the projects and release please will update the dependencies by updating the versions once we use the node-workspace plugin.
https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#node-workspace


Added user friendly messages if blank fields

BEFORE :

AFTER :

@Aayush-Kapur Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@Aayush-Kapur Thank you for signing the Contributor License Agreement!

Pls approve and merge this PR

Hey @roxspring , @dsyer
Can you please look into the above PR and merge

I merged by mistake and had to revert - there are test failures (trivial but should be fixed).


TST: stats: do not use the deprecated F attribute in tests

This avoids a DeprecationWarning noise when running the stats test suite.

Argh, I should have fixed that.  Thanks!


add a  maximum ban time

this pull request automatically upgrades perm banned players to temp banned players with a ban-time of 1 year
the ban time can be changed in the init.lua file (also it probably will not work as intented  )
anyway    the issue this solves is when a banned player moves to a new location ,   and the IP of the banned players old location is still banned   so the person that moves there cannot play on whatever server the banned player got banned on

[ ] adjust max ban time to balance the risk vs reward --  adjust it to balance how likely it is someone new moves to the banned IP and finds it unbanned (if he tries to go to server )    vs how likely it is the banned player will discover he / she got unbanned

[ ]  get merged

[ ] wait 1 year and get unbanned from ctf server       ,yeah just close this pull request now xD

yeah i'll just close this PR now  bevore someone else gets the idea to run /ban bm5 IRL


[Skunkworks] experimental crds for auditing

All Submissions:

[X] Have you signed our CLA?

I believe this was made redundant by https://github.com/mongodb/mongodb-atlas-kubernetes/pull/1605


0.12.2: two test failures

When running the selftests for the 0.12.2 distfile from pypi on NetBSD 8.99.7/amd64 with python-3.6.3 and werkzeug 0.12.2, I see two failures:
======================================================================================= ERRORS ========================================================================================
____________________________________________________________________ ERROR at teardown of test_session_expiration _____________________________________________________________________

recwarn = WarningsRecorder(record=True)

    @pytest.yield_fixture(autouse=True)
    def catch_deprecation_warnings(recwarn):
        yield
        gc.collect()
>       assert not recwarn.list
E       assert not [<warnings.WarningMessage object at 0x7ede1af11d58>]
E        +  where [<warnings.WarningMessage object at 0x7ede1af11d58>] = WarningsRecorder(record=True).list

conftest.py:134: AssertionError
====================================================================================== FAILURES =======================================================================================
______________________________________________________________________________ test_no_error_swallowing _______________________________________________________________________________

flaskext_broken = None

    def test_no_error_swallowing(flaskext_broken):
        with pytest.raises(ImportError) as excinfo:
            import flask.ext.broken

>       assert excinfo.type is ImportError
E       AssertionError: assert <class 'ModuleNotFoundError'> is ImportError
E        +  where <class 'ModuleNotFoundError'> = <ExceptionInfo ModuleNotFoundError tblen=4>.type

test_ext.py:183: AssertionError
============================================================== 1 failed, 314 passed, 10 skipped, 1 error in 7.12 seconds ==============================================================
*** Error code 1

Does this fail on master?

On master I see some failed tests because python3 (in particular, click) does not recognize the default locale as UTF-8, and:
_____________________________________________________________________________ TestRoutes.test_all_methods _____________________________________________________________________________

self = <test_cli.TestRoutes object at 0x78c1a0905818>
invoke = functools.partial(<bound method CliRunner.invoke of <click.testing.CliRunner object at 0x78c1a0906e58>>, <flask.cli.FlaskGroup object at 0x78c1a0916f18>)

    def test_all_methods(self, invoke):
        output = invoke(['routes']).output
        assert 'GET, HEAD, OPTIONS, POST' not in output
        output = invoke(['routes', '--all-methods']).output
>       assert 'GET, HEAD, OPTIONS, POST' in output
E       AssertionError: assert 'GET, HEAD, OPTIONS, POST' in ''

tests/test_cli.py:434: AssertionError

but not this particular error.
python-2.7 runs fine.
I do use different testing methods though: the 0.12.2 distfile, when using 'tox', has very little output:
GLOB sdist-make: /tmp/a/Flask-0.12.2/setup.py
python inst-nodeps: /tmp/a/Flask-0.12.2/.tox/dist/Flask-0.12.2.zip
python installed: click==6.7,Flask==0.12.2,itsdangerous==0.24,Jinja2==2.10,MarkupSafe==1.0,Werkzeug==0.12.2
python runtests: PYTHONHASHSEED='476525965'
_______________________________________________________________________________________ summary _______________________________________________________________________________________
  python: commands succeeded
  congratulations :)

so I do python setup.py build/install/test. Mentioning this just in case it matters.

You should be testing from source, not sdist.

When I'm packaging, I always test the pypi distfile, since that's what I'm packaging.
Then I try running the self tests to see if there are any issues.

The only test scenario I'm supporting is creating a virtualenv, installing the source, installing tox or pytest, and running the tests with the appropriate tool. Also, I tried setting up NetBSD but didn't have time to figure it out. If you want this fixed, you're going to need to investigate and contribute a PR.

When I'm packaging, I always use the pypi distfile.
Then I try running the self tests to see if there are any issues.

setup.py test is definitely not supported. I'm surprised it does anything at all.

tox.ini isn't in MANIFEST.in which is why tox doesn't output anything. I can fix that in master.
make test does work, assuming you have pytest installed, but it will skip tests for missing optional dependencies which tox would install.

I'm sorry I didn't clarify that earlier: I'm running the tests using py.test. Skipping tests for optional dependencies without installing them is perfectly fine in a packaging scenario.
Thanks for adding the tox.ini file.
What in particular would you want investigated?

I don't have access to a NetBSD setup. All tests pass for me on my setup, and on Travis. So if you're observing a failure that I can't reproduce, you'll need to debug it.

I do get those errors by doing git checkout 0.12.2 and tox -e py. I recall that the warning checks were overly aggressive or something, but that's fixed in master. You're going to need to ignore those.

If click is having an issue detecting the locale, that needs to be reported to click.

Thanks for confirming that the original two bugs are gone.
The click problem is known. You need to set the LANG (some others work too) environment variable to en_US.UTF-8 (or another UTF-8 locale). I have that in my environment, so I guess tox cleans the environment?

I'll fix that in master, it looks like I dropped that line while rewriting the tox file.

tox.ini is passing LANG, in 0.12.2 and master, so not sure why that's not working.

That's easy to explain - because I only set LC_CTYPE by default, not LANG, and only is passed by tox. So I think we're good here after all!

An sdist from master should now work with tox, just pushed a fix.
Sorry for the confusion, and thanks for reporting it.


Incorrect statistics

 Issue by li1191863273
Wednesday Sep 01, 2021 at 07:11 GMT
Originally opened as https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/2192

Guidelines
Call apoc.meta.stats()

labelCount
relTypeCount
propertyKeyCount

35
36
70

Get labelCount: MATCH (n) RETURN count(distinct labels(n))
34
34 is the correct number
The real number of propertyKeyCount is 69
How to Reproduce the Problem
https://neo4j.com/labs/apoc/4.3/export/cypher/#export-cypher-cypher-shell

Export Cypher statements from existing Neo4j

CALL apoc.export.cypher.all("all.cypher", {
    format: "cypher-shell",
    useOptimizations: {type: "UNWIND_BATCH", unwindBatchSize: 20}
})
YIELD file, batches, source, format, nodes, relationships, properties, time, rows, batchSize
RETURN file, batches, source, format, nodes, relationships, properties, time, rows, batchSize;

Recreate a new Neo4j container, and then run the Cypher statement obtained in the previous step

cat all.cypher | ./bin/cypher-shell -a <bolt-url> -u neo4j -p <password> --format verbose

Restart the container, run the statistical statement Call apoc.meta.stats(), and find that the statistical data is incorrect

Versions

OS: CentOS Linux 7 (Core) x86_64
Neo4j-docker: neo4j:4.3.3
Neo4j-Apoc: apoc-<IP_ADDRESS>-all.jar

 Comment by vga91
Thursday Sep 02, 2021 at 15:18 GMT

@li1191863273
I think that the labelCount problem should be fixed with #2097, which has been merged for 4.2, but not yet for 4.3.
Regarding the propertyKeyCount, it is an internal problem in neo4j, in fact the same problem also occurs with the CALL db.propertyKeys() which is used by the apoc.meta.stats (it is explained here: https://neo4j.com/developer/kb/why-do-my-deleted-property-keys-appear/).
This happens because during the export, a UNIQUE IMPORT ID property and a UNIQUE IMPORT LABEL label are created, which are deleted at the end of the script, but the property remains in the count.
To be sure, can you try using the jar I attached (with the above fix) to verify that the labelCount remains 34?
apoc-<IP_ADDRESS>-all.jar.zip

 Comment by li1191863273
Friday Sep 03, 2021 at 01:21 GMT

Thank you very much, labelCount is correct

 Comment by li1191863273
Friday Sep 03, 2021 at 01:22 GMT

But propertyKeyCount is still 70 instead of 69

Closing as propertyKeyCount is explained by given article https://neo4j.com/developer/kb/why-do-my-deleted-property-keys-appear


Update sbt-scalac-opts-plugin to 0.0.5

Updates com.evolutiongaming:sbt-scalac-opts-plugin from 0.0.4 to 0.0.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "sbt-scalac-opts-plugin" } ]

labels: sbt-plugin-update, semver-patch

Pull Request Test Coverage Report for Build 106

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 78.767%

Totals

Change from base Build 105:
0.0%

Covered Lines:
115

Relevant Lines:
146

💛  - Coveralls


nested keys ?

when trying to use nested dict it won't allow me:
db['first']['second'], what is the proper solution ?

Not clear what you're asking, closing. Feel free to add more context and tracebacks, then we'll have a look.

@piskvorky
Let me explain.
I would like to create a dict that the keys are nested as so:
db[user] = 'piskvorky'
db[user]['contacts'] = ['s','b'...]
db[user]['social'] = facebook
and so on ...
I can't achive it now.

Strings do not support assignment: you cannot do 'piskvorky'['contacts'] = ['s', 'b'] in Python.
This is more a Python syntax question, not  a sqlitedict question. If you read the tracebacks Python shows you carefully, you'll figure it out.


slack invite expired

@hubrix Let's keep the discussion in one issue, find a temporary invite link here: https://github.com/kubeflow/website/issues/3252#issuecomment-1132410100
/close


[Event Request] Codeunit 7600 "Calendar Management" - OnBeforeSetSource

Describe the request
Dear ALAppExtensions team,
On behalf of 4PS I would like to request integration event 'OnBeforeSetSource' to be added to procedure SetSource in codeunit 7600 "Calendar Management".
    procedure SetSource(SourceVariant: Variant; var NewCustomCalendarChange: Record "Customized Calendar Change")
    begin
        OnBeforeSetSource(SourceVariant, NewCustomCalendarChange); //new
        if not SourceVariant.IsRecord then
            Error(SourceErr);

        FillSource(SourceVariant, NewCustomCalendarChange);
        CombineChanges(NewCustomCalendarChange, TempCustChange)
    end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeSetSource(SourceVariant: Variant; var NewCustomizedCalendarChange: Record "Customized Calendar Change")
    begin
        //new
    end;

Additional context
Additional context
In some scenario's we use the calendar of a different company. Therefore we should be able to call NewCustomizedCalendarChange.ChangeCompany().
Internal work item: AB#521543

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 18489.


Upload with an image (renderer)

Hello,
I tried to export a chart with an image in it ( I use the fonction "renderer"). But this doesn't word. Like you can see here:
http://jsfiddle.net/sonf6Ln9/
Please can you help me ?

Hi Geoffrey,
First, I can see the image in your jsfiddle. Next, what version are you using? Is it the latest one?
This issue seems linked to #1 and as been fixed in 1.1.0.
Regards.

Hello, thank you for your answer ! =)
I change the version and this is better !!! but not good yet =)
I upadted the jsfiddle: http://jsfiddle.net/sonf6Ln9/1/
I can also see the image on the jsfiddle but when I try to export, I get "The operation is insecure" on jsfiddle. On my side, I get the chart but without image, I think that this is about the adress ... I mean when I add this "nice" sun "http://highcharts.com/demo/gfx/sun.png", this is ok, I get it.
But when I want to add MY image "http://localhost/project/images/image_name.jpg", I have nothing in the export (only the chart).
Any idea ?

Please read #1 in its entirety.
If you have this kind of error in the console:
Uncaught SecurityError: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.

Then you're using an image from a non-CORS-enabled source.
Check there for more information: https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image

ok thank you, I read, and I use the base64 and it works ! BUT like you said in the post, the scale doesn't work anymore ... so this is a problem, because the image is ugly without a scale :/
Is it possible to do something about it ?

Sorry, it doesn't depend on my code, but on canvg I'd say. You can either set the scale option to 1 or scale the image manually.

Ok thanks. But when I change the resolution manually, I get an issue.
The quality is good but the font-size is very very very small.
If I use 1000/690, I have 9 tick on Y and 11 ticks on X
IF I use 2000/1380, I have 19 ticks on Y and 21 ticks on X.
Then this is very difficult to read the image
I don't know what to do about it, I would like to have 20001380 with the same amount of tick that 1000690
An idea ? (sorry to disturb you ... )

I don't believe we're talking about the same thing, I'm talking about the scale options. Not sourceWidth / sourceHeight.
I don't really know why the scale is set to 2 by default (that's HighCharts default value, so it's mine too), but that's how it is. That shouldn't change the number of ticks, just the image size (that will be half its current size).
Reference's here: http://a----.github.io/highcharts-export-clientside/#reference
There's nothing more I can do in the current state of things, unfortunately.

And yes, you can't have scaled images in the export. I'd say that canvg do not apply scaling to SVG assets when pasting on the canvas.
I hope you can work out a configuration that suits you.

So, there is a misunderstanding. =)
Before I update the library(highcharts-export-clientside), this was perfect, I have
sourceWidth: 1000
sourceHeight: 690
scale: 5
And this was working perfectly.
BUT I added an image (renderer), then when I tried to export, I had nothing.
So I updated the library(highcharts-export-clientside), but I had to put scale: 1 or like you know there is a big issue.
So I tried this:
sourceWidth: 1000
sourceHeight: 690
scale: 1
And this work, but the image is ugly ^^
So I tried:
sourceWidth: 2000
sourceHeight: 1380
scale: 1
Then, the quality is better but like you can see on the image, there is a lot of ticks ! so this is hard to read !
Your previous method (1.0.0) was working for the scale, but not the new one :)

The scale still works for everything but images.
You can still have a somewhat decent output by setting:

scale to 1
sourceWidth / sourceHeight to whatever you want
and configure chartOptions for bigger fonts, less ticks, etc.

Or:

scale /  sourceWidth / sourceHeight to whatever
configure the chartOptions if feasible with a manually upscaled version of your image

I am very glad that you try to help me ! =)
But please can you explain with examples.
Here I have 3 jsfiddle, I only changed the libraries, nothing else. If I add your library, last version, scale is not working anymore. But if I add your library, first version, scale is working. So What I have to do ? you say that I can put scale to whatever ... Here I don't have image.
working (Default Highchart): http://jsfiddle.net/r5v2yfjo/
working (your library first version): http://jsfiddle.net/93yrb0qj/
not working (your library last version): http://jsfiddle.net/b5grLj7j/
I am really sorry to disturb you, but this is important for me :)

Huh, okay… Big issue there. See #16 for that specific issue.


detection error

Describe the bug
person distance prediction is always showing red color (wrong) when only one person standing in the camera.
Screenshots

running the code on jetson nano (4.3) and viewing the client on the desktop (chrome).
please advise.

@SaddamBInSyed It seems something is wrong with visualization when there is one object (1 person) at the image. However, the environment score is 0.99.
I try to reproduce the bug.

#101 The bug is fixed.


added language support

You mind merging master back into this so I can one click merge? Your fix from #16 is conflicting.

I merged it, hope it helps ;)


Deploy admin application

Purpose
We want to deploy the frontend build on our cluster. Unfortunately
we can't inject environment variable at the runtime. So we decided in a
first version to export in full static with our preprod ou production
url.
Proposal

[x] fix static build
[x] create docker image and CI steps

I realized to make it work, the environment variable JOANIE_BACKOFFICE_BASE_URL is missing in the tray configuration.
JOANIE_BACKOFFICE_BASE_URL: {{joanie_admin_host}}

oups I didn't notice I have activated the automerge...

Already merged, but JoanieDockerflowMiddleware seems ok to me.


Introduce ValidationException

This PR brings ValidationException class as a future replacement for ConstraintViolationThrowable.
The framework version has been increased to <IP_ADDRESS>-SNAPSHOT, which states for an intermediate version, not suitable for immediate use by other Spine libraries. This version is only required for the migration of tools library.
In scope of the following PRs tools repo is migrated to the ValidationException. After that core-java will be migrated to the updated tools version, eliminating ConstraintViolationThrowable.

@alexander-yevsyukov PTAL.


Produce a go-lego.json ontology product

In https://github.com/biolink/ontobio we use the go.json in http://snapshot.geneontology.org/ontology/index.html.
For https://github.com/biolink/ontobio/issues/432, we are prodoucing go-cam models from GPADs, and we ideally would have the whole merged import ontology. For example, @dustine32 requires RO, in addition to GO. Having the whole ontology as a JSON would be great.
Can we create a JSON of go-lego for ontobio and the pipeline?

Hi @dougli1sqrd, to whom should this be assigned?

We may as well produce go-gaf.json as well. I can add these.

I am going to hold off on this until @dustine32's more efficient JSON export is available in a ROBOT release (https://github.com/ontodev/robot/pull/671).

@dougli1sqrd the published final version of these ontologies are merged these days. Do you still need the JSON format as well?

I don't believe this is needed anymore.


refactor(TimelineLock): Lock button was added to the timeline panel a…

…nd the view window loops back to the locked position.
resolves #352

The animation behavior isn't what I would expect. The Next/Previous/Last buttons are still changing the left edge of the view (blue) window when it's locked. The only time we should change the locked position is if it's outside the animation range when the user presses Play/Next/Prev/First/Last. If that happens, move it to the start of the animation range.
Animation is also broken when explicit animation ranges are drawn. You can draw these with shift click+drag, then choose Animate from the menu. Multiple animation ranges can be drawn, and when the view hits the end of one it will jump to the first frame of the next range. Currently, when the view is locked and one or more animation ranges are present, the view gets reset in an odd way as shown here:

As before, the left/locked edge of the view should not change if it's within the animation range. The right edge should jump correctly between multiple ranges, and when it hits the end of all animation ranges it should reset to the locked position.

One minor request to fully resolve #352 - can you remove the lock button displayed in the top/left of the view window? It should be replaced by the one in the timeline button bar. Thanks!


Fixing CI workflow to use matrix.os

Signed-off-by: Joshua Palis<EMAIL_ADDRESS>Description
Fixing CI workflow to use matrix.os
Check List

[ ] New functionality includes testing.

[X] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #292 (f3abd23) into 2.x (ab73c97) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                2.x     #292   +/-   ##
=========================================
  Coverage     52.33%   52.33%
  Complexity       65       65
=========================================
  Files             8        8
  Lines           449      449
  Branches         50       50
=========================================
  Hits            235      235
  Misses          195      195
  Partials         19       19

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


Update README.md

update installation script

Your proposal is distribution-specific (what about people using an RPM-based distro, or arch, or...).
It's better to assume the requirements for installing the software are already met by the user. If these requirements aren't obvious, then add a preamble to the installation commands to list what they are.
Moving forward, could you please revert the changes to the installation commands and write a short preamble instead. Something along the lines like "Ensure [autoconf](link-to-autoconf-install) or [meson](link-to-meson-instal) is installed on your system."

I dropped the autotools build in favor of Meson and updated the installation instructions accordingly.
Closing.


fix: Fix the driver block hanging issue in serialized execution mode

Fix the driver block hanging issues in serialized execution mode such as for
Gluten. When task calls next, it will
keep iterating through the drivers from the all pipelines from all drivers. If there is no runnable drivers, it generate a future
by collecting all the blocked driver futures and return to the user. If there is no cross blocked drivers dependence, then
the user can wait for all the drivers to resume to continue, otherwise it will simply hanging there. Gluten found these in the
following two cases which might also happen for Meta internal use case when we have more complex pipelines:
(1) hash join: the probe operator initially wait for the build to finish, the hash build (or its associated pipeline) might
wait for external event for input. Then the whole task will hang;
(2) local exchange: the producer pipeline might wait for the consumer pipeline to consume data to proceed. Then the
whole task will hang.
This PR fixes the issue by using collect any instead of collect all. The use of collect any will also accelerate performance
as a task can proceed with the first ready future instead of waiting for all the blocked drivers to proceed, e.g. the gluten union
case for Spark under serialized execution mode.
Given a future is not usable after passing to collect any and we can't call into a driver if it has a pending future or waiting event,
we introduce a BlockingDriverState in task to capture the blocking driver state under serialized execution mode:
When a driver returns a future, we set it into the blocking state which setups the blocking state (a bool indicating if a driver
is blocked or not) and the continuation to clear the blocking state such as the derived the future for collect any operation;
When task to collect any future from the blocking drivers, it gets a derived future from the blocking driver state which creates
a promise contract and keeps the promise to signal when the corresponding driver future becomes ready.
Since the driver future ready is from async code path, there is a lock inside each blocking driver state to prevent the concurrency
Unit tests added to reprod and verification.
Differential Revision: D66438632

**Linux Build using GCC / Build with GCC / Linux release with adapters (pull_request) ** Failing after 48m

It is multi-fragment test which is not supposed to use serialized execution mode.

The failing test is probably related

it is due to the registered customized operator which mess up other test cases as they run together in the same process. Fixed.


Array.of conflicts with ES6 Array.of proposal

See: http://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.of
According to MDN, it is currently implemented in Firefox 25, so clientside use of js-schema may cause unexpected behavior.

Yeah, we should find a new name or syntax for this soon.

:+1:

IMO this is the exact reason you don't extend natives in javascript, that's the one thing I really don't like about this library.  What if we had an option to disable extending natives? and instead use a new global
e.g schema.Array.of.  This seems like a much safer way to handle this... my two cents

:+1: to leave the built-in types alone

+1 for schema.Array.of

:+1:


Global 'page' doesn't exist by default.

Should a page with a slug 'global' be parked by default?

I'd say it should be, and that there should be a loader to pull it into a
normal pageServe situation, and also an easy way to call that loader from
other situations, like a notfound page...
On Tue, Mar 29, 2016 at 12:50 PM, Jimmy Harrison<EMAIL_ADDRESS>wrote:

Should a page with a slug 'global' be parked by default?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/479

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

In fact I'd say it should be straight-up middleware
On Tue, Mar 29, 2016 at 12:51 PM, Tom Boutell<EMAIL_ADDRESS>wrote:

I'd say it should be, and that there should be a loader to pull it into a
normal pageServe situation, and also an easy way to call that loader from
other situations, like a notfound page...
On Tue, Mar 29, 2016 at 12:50 PM, Jimmy Harrison<EMAIL_ADDRESS>
wrote:

Should a page with a slug 'global' be parked by default?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/479

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

It shouldn't be part of the normal parking API I think. It's a pretty
special case, you always want one. The docs module could take care of it,
but it would be cleanest to have an apostrophe-global-doc module.
On Tue, Mar 29, 2016 at 12:51 PM, Tom Boutell<EMAIL_ADDRESS>wrote:

In fact I'd say it should be straight-up middleware
On Tue, Mar 29, 2016 at 12:51 PM, Tom Boutell<EMAIL_ADDRESS>wrote:

I'd say it should be, and that there should be a loader to pull it into a
normal pageServe situation, and also an easy way to call that loader from
other situations, like a notfound page...
On Tue, Mar 29, 2016 at 12:50 PM, Jimmy Harrison <
<EMAIL_ADDRESS>wrote:

Should a page with a slug 'global' be parked by default?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/punkave/apostrophe/issues/479

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

--
*THOMAS BOUTELL, *DEV & OPS
P'UNK AVENUE |<PHONE_NUMBER>  |  punkave.com

Makes sense to me. Currently there is an apostrophe-global module that fetches it on pageServe, it's just not created anywhere. My current workaround is to park a global page at project-level.

Resolved by #547


Big number of requests made to SignalR Service using Managed Identities

Describe the bug
We are observing a big number of authentication (token generation) requests made to SignalR Service with Managed Identities.
Our services are hosted with Kubernetes, and we are using the mcr.microsoft.com/oss/azure/aad-pod-identity/nmi:v1.8.0 image for one of our containers to associate pod identities.
Lately we noticed a huge number of requests made by our aad-pod-identity container for https://signalr.azure.com which we believe are authentication/token-generation requests.
by a huge number I mean 8309 requests during a little less than 4 hours.
Example for some of the logs:
	2022-07-12T20:00:00Z	I0712 20:00:05.116504       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.116508       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.116623       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.116697       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.116752       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.138968       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.164610       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.171979       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.171978       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.175762       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.239293       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:05.351882       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:07.291576       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:07.298987       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:07.338822       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:07.351186       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com
	2022-07-12T20:00:00Z	I0712 20:00:07.355384       1 standard.go:179] matched identityType:0 clientid:5f79##### REDACTED #####f26a resource:https://signalr.azure.com

We are struggling to understand what may be causing this big number of requests, and whether this is a bug or is behaving as intended.
A bit more our system and architecture- We have about 6 services (different containers) connected to the same Azure SignalR Service, and each service is connected to the same SignalR Hub and handle new user connections the same way by adding users to the same groups.
Further technical details

Your Azure SignalR SDK version - 1.18.1
Your Server ASPNETCORE version or Assembly version of Microsoft.AspNetCore.SignalR - 6.0.6

@terencefan to take a look

@MoaidHathot Could you share us your resourceId so we could check the server log to see what happened at that time?

Hi @terencefan, is it safe to post here the ArmResourceId of the services? We have two SignalR Service, one primary and one secondary.
I can send you the Ids privately as well via Teams.


[feature testing bug] UI Extensions page- when an extension is 'upgraded' or 'rolled back' to the version that is currently installed the 'installing' process in the UI hangs indefinitely

Setup
Rancher HA
rancher image - v2.7head- 0dcfd16
Describe the bug
as an admin, when i navigate to hamburger menu > configuration > extensions page and install a chart with multiple versions, when I select that chart and decide to 'upgrade' or 'roll it back' i'm offered the ability to select the extensions' current version number. if i select that, the UI extensions page hangs in an 'installing' state indefinitely.
note: a minor UI bug, the UI extension does not crash or become unavailable to users, if the user navigates away from that page and returns everything appears as normal.
To Reproduce
install UI operator
install a repro with an example plugin of multiple versions - https://github.com/rancher/ui-plugin-examples
select a extension with multiple versions - homepage for instance.
install the extension with latest version
you will find the extension in the 'installed' tab
click 'rollback'
select the latest version you just installed.
click update
Result
Expected Result
the 'installing' grayed out button displays on the extension and hangs there indefinitely.
Screenshots

Additional context

this has been fixed, users can no longer select the version they currently have installed. marking as 'done'


Images

Use Smugmug for images, a la the History Site
(Originally from @nhyty)

changing this slightly, host in smug and just use url


fix(oidc) issue #1029 by moving minimum sleep duration to query string

A picture tells a thousand words
As mentioned in issue #1029, OidcKeepAliveServiceWorker.json requests were failing because of the GET fetch requests not being allowed to contain a body.
Before this PR
SW throws exception TypeError: Failed to execute 'fetch' on 'Window': Request with GET/HEAD method cannot have body. for keep alive requests.
After this PR
Keep alive requests succeed properly.

Thank you again @dcopestake !


Ticks do not match tooltip for stacked area chart

Take a look at the kitchen sink. The stacked area chart dates and tooltip do not match
Expected Behavior
I would expect the tooltip and the stacked area ticks to agree with each other
Current Behavior
The tool tip and the ticks are not in agreement
Possible Solution
I believe it has to do with the date processing, this is also an issue in EB core analytics suite so we can see it in both places
Steps to Reproduce (for bugs)

kitchen sink
play with stacked area
See tool tip does not match ticks

i'm going to take a look at this one

As of right now, britecharts should receive localized data which it will display. If you have utc data, consider localizing it first.


HBASE-22827 Expose multi-region merge in shell and Admin API

(cherry picked from commit 4b704346b519fd9c7cb1f0b658e76b259ebd5960)

The feature is already in 2.3.0 and 3.0.0.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ branch-2.2 Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
5m 15s
branch-2.2 passed

+1 :green_heart:
compile
0m 52s
branch-2.2 passed

+1 :green_heart:
checkstyle
0m 51s
branch-2.2 passed

+1 :green_heart:
shadedjars
4m  3s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
branch-2.2 passed

+0 :ok:
spotbugs
1m 21s
Used deprecated FindBugs config; considering switching to SpotBugs.

+1 :green_heart:
findbugs
1m 20s
branch-2.2 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
5m  7s
the patch passed

+1 :green_heart:
compile
0m 52s
the patch passed

+1 :green_heart:
javac
0m 52s
the patch passed

+1 :green_heart:
checkstyle
0m 52s
the patch passed

+1 :green_heart:
rubocop
0m 11s
There were no new rubocop issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
shadedjars
4m 26s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
hadoopcheck
22m 10s
Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.

+1 :green_heart:
javadoc
1m  3s
the patch passed

+1 :green_heart:
findbugs
2m  8s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
3m 32s
hbase-client in the patch passed.

+1 :green_heart:
unit
7m 29s
hbase-shell in the patch passed.

+1 :green_heart:
asflicense
0m 30s
The patch does not generate ASF License warnings.

71m 22s

Subsystem
Report/Notes

Docker
Client=19.03.6 Server=19.03.6 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1204/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1204

Optional Tests
dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile rubocop

uname
Linux ad5c4d871be6 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/Base-PreCommit-GitHub-PR_PR-1204/out/precommit/personality/provided.sh

git revision
branch-2.2 / 481e9c8a50

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1204/1/testReport/

Max. process+thread count
2649 (vs. ulimit of 10000)

modules
C: hbase-client hbase-shell U: .

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1204/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11 rubocop=0.80.0

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


The Icon of the Latest Version Is Not Displaying Properly

As you can see at the bottom, Brevent's icon seems to be cropped...
Maybe I should generate again to avoid this?
You can see the change here: https://github.com/brevent/Brevent/commit/8ac5b6f2219a407ec74b26b5431555cce0bec3d6

I just checked those icons changed since 8ac5b6f but everything looks fine in Chrome... Does Pixel launcher use Adaptive Icons feature to display app icons? Is there any chance that it's a bug of Android itself?


Improve table & columns description formatting (#98)

Summary of Changes
Introduced support of Markdown descriptions for tables & columns.
This module changes are intended to pass description text as a request body (instead of using URI parameter).
Related changes at amundsenfrontendlibrary.
Tests
No tests yet
Documentation
Markdown description format demo:
https://rexxars.github.io/react-markdown/

Seems pretty safe. In the mean time, could you also fix the CLA check? Normally it is due to you didn't configure your github handle(username, email) in your local box.
cc @jinhyukchang

the backend code looks fine. So once we are agree with the FE part, we are good to go with this pr. And please increase the version as well.

Codecov Report

Merging #79 into master will increase coverage by 0.04%.
The diff coverage is 100%.

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

Please note that I've got rid of reqparse because of this (also faced issues while writing unit tests):
https://stackoverflow.com/questions/19384526/how-to-parse-the-post-argument-to-a-rest-service


Add Plutus to the ExecutionController

Currently the dev graphQl schemas are going straight to the execution engine, when they should instead be using the execution controller.
This work should include:

Adding Plutus support to the ExecutionControler
Update the dev bundles in test/bundles to go through the ExecutionController

#48


Weird syntax highlighting for placeholder selectors

the placeholder selector name used to appear all same colour (green) like other selectors before updating sublime text to new build (4143)

this issue affects SCSS syntax but not Sass syntax.
my current workaround is capitalizing the first letter of every placeholder class i create.

please fix soon

Sorry, this dropped off my radar for a while, but it's a seemingly easy fix.

You'll have to wait a while until the simplify branch lands though.


Cross-chain authorizers

Currently, the authorizer contracts specified in chains.*.authorizers are required to be located on the chain specified by chains.* (as in on Ethereum mainnet, only authorizer contracts that are deployed on mainnet can be used).
Especially for monetization functionality, we want to be able to specify authorizers on other chains. For example, say there is an authorizer on mainnet that authorizes requesters automatically when they pay USDC to the Airnode address. The Airnode is set up to have providers defined for both Rinkeby and mainnet. The authorizer on mainnet is only used on Rinkeby, while mainnet is closed to requests. This allows the Airnode operator to monetize their usage on Rinkeby.
This feature is required for ChainAPI, so I would have it in 0.9.0. Some issues with it:

Currently, we have no way of specifying a chain with providers that doesn't accept any requests (as in the example above). In pre-alpha, when authorizers was defined to be [], this meant everything is unauthorized on that chain. Currently, [] means everything is authorized, and one needs to remove the chain from chains to not accept any requests from it. However, in this case, we need to be able to specify providers without them being used to pick up requests, which is not supported with the current config format.
We isolate interactions with providers (as in one Lambda invocation per provider). This flow requires two arbitrary providers to be used together. There are multiple ways of designing the Lambda invocation scheme for this and we need to decide on one (the solution below foresees no changes to the scheme, which is probably ideal since we want to wrap up v0).
The config format needs to be updated to specify these cross-chain authorizers.

Here's a proposal (modifying https://github.com/api3dao/airnode/issues/1196 a bit):
"chains": [
    {
      "id": "3",
      "authorizers": [
        {
          "type": "crossChainRequesterAuthorizer",
          "chainType": "evm",
          "chainId": "1",
          "chainProvider": "${CP_SELF_HOSTED_MAINNET_URL}",
          "address": "0x1234..."
        }
      ]
    }
  ]

By embedding the entire chain information in the authorizer object, we don't need a chain object for Ethereum mainnet to exist. This means we don't need to worry about receiving requests on Ethereum mainnet. This provides flexibility in that we can come up with new authorizers that are not even on-chain conditions. So something like this:
"chains": [
    {
      "id": "3",
      "authorizers": [
        {
          "type": "http",
          "url": "https://some-authentication-api-that-is-practically-relay-metadata-but-much-nicer-because-it-lives-outside-of-ois.com"
        }
      ]
    }
  ]

Finally, this still allows provider-level redundancy to be specified, such as
"chains": [
    {
      "id": "3",
      "authorizers": [
        {
          "type": "crossChainRequesterAuthorizer",
          "chainType": "evm",
          "chainId": "1",
          "chainProvider": "${CP_SELF_HOSTED_MAINNET_URL}",
           "address": "0x1234..."
        },
        {
          "type": "crossChainRequesterAuthorizer",
          "chainType": "evm",
          "chainId": "1",
          "chainProvider": "${CP_INFURA_MAINNET_URL}",
           "address": "0x1234..."
        }
      ]
    }
  ]

We can also define same-chain authorizers as we did before
"chains": [
    {
      "id": "3",
      "authorizers": [
        {
          "type": "requesterAuthorizer",
          "address": "0x1234..."
        }
      ]
    }
  ]

I think the proposed solution looks good. Just to be clear, we want to support only requesterAuthorizer and  crossChainRequesterAuthorizer. The http` type was just an example of how that can be extended in the future.

Just to be clear, we want to support only requesterAuthorizer and crossChainRequesterAuthorizer. The http type was just an example of how that can be extended in the future.

Yes

The two can be merged this way maybe?
"chains": [
    {
      "id": "3",
      "authorizers": {
        "requesterEndpointAuthorizers": [
          {
            "address": "0x1234..."
          }
        ],
        "crossChainRequesterEndpointAuthorizer": [
          {
            "chainType": "evm",
            "chainId": "1",
            "chainProvider": "${CP_SELF_HOSTED_MAINNET_URL}",
             "address": "0x1234..."
          },
          {
            "chainType": "evm",
            "chainId": "1",
            "chainProvider": "${CP_INFURA_MAINNET_URL}",
             "address": "0x1234..."
          }
        ]
      }
    }
  ]

The two can be merged this way maybe?

Generally it looks like it so far, and this structure lends itself to simpler validation as well 👍

Thanks again for the thorough testing @martinkolenic!


How to export public key?

I have read the documentation and code as best as I can but am still struggling with some basics that seem rather easy with other crypto libraries (Bouncy Castle, default Java, etc.).   For example, imagine that an iOS/Android app generates a key pair using Tink.
KeysetHandle ksh = KeysetHandle.generateNew(
			        HybridKeyTemplates.ECIES_P256_HKDF_HMAC_SHA256_AES128_GCM);

How then to send the public key generated to the server where it may be used to encrypt data intended for the user?   There seems no obvious way looking at the code.  The only kludgy work-around I have come up with is as follows:
String str = writeKeyToString(ksh.getPublicKeysetHandle());
where the writeKeyString() method uses CleartextKeysetHandle's write method to write the public key as a Json set of bytes using the JsonKeysetWriter which we then send to server after Base64 encoding the bytes.
I am sure I am missing something - that an easier and cleaner method lurks.   Hoping someone can clear this up...
Thanks!

You got it right. It's a bit clumsy because we want to encourage users to store keysets encrypted at rest and we also want to support different keyset formats.
Sorry about that! Do you have any suggestions to simplify it?

@thaidn - thank you, and sorry if I came across as complaining.  That was not my intent.  My solution is to use the method I outlined above.  Is this correct (it works, I know, because I tried it - but I know in crypto - where I am not expert - that correctness is subtle)?
Thanks for an awesome library!

No, you didn't come across as complaining :).
What you're doing is correct. Since Tinkey [1] is the key management tool, I recommend reviewing its source code if you're not sure if you're using the key management APIs correctly. Of course you can always file a bug or drop us a line at<EMAIL_ADDRESS>We're glad that you found the library useful!
[1] https://github.com/google/tink/tree/master/tools/tinkey/src/main/java/com/google/crypto/tink/tinkey

Thanks @thaidn !  Will do.

Is writing to JSON, parsing the JSON and then taking it from there still the only way to do this? I think some other way of doing this should be possible - especially considering most people already have a framework that serialises to JSON (spring etc) so that JSON string isn't of much use and just pure overhead.
Piotr