Create Service for endpoint entry in devfile

User Story
As an odo user, I want other applications on cluster access my application that I'm developing
Acceptance Criteria

[x] odo should create Kubernetes Service resource for each endpoint in devfile (It can be one Service with multiple ports)
[x] The Service should expose the same ports as they are defined in the endpoint field in devfile

Links

Feature Request:
Related issue:

/kind user-story
/area devfile
/area component
/area push

/assign

The pr has been merged. Can we close this issue?

/close


[MusicBERT] Conflicts in tokenizing OctupleMIDI string to indices

Hi!
With reference to musicbert/eval_genre.py and fairseq examples, it was found that there are two ways to tokenize and OctupleMIDI string into indices:

By using label_dict = RobertaModel.task.label_dictionary as hinted in musicbert/eval_genre.py
By using RobertaModel.encode as hinted in fairseq examples

However, the RobertaModel.encode seems to be totally disfunctional considering that it should work like the snips below:

Can you confirm what is the correct way to encode an OctupleMIDI string to token indices to feed forward to MusicBERT (RobertaModel)?

Another confusion I have is that how do we decode of Token indices back to OctupleMIDI string (which could be encoded back to miditoolkit.midi.parser.Midifile using preprocess.encoding_to_MIDI(preprocess.str_to_encoding(OctupleMIDI string)) )?
The RobertaModel.task.label_dictionary does not seem to have any decode function, and it seems that RobertaModel.decode() would give random output too.

The RobertaModel.encode and RobertaModel.decode methods use BPE which is used for NLP, so it won't recognize MusicBERT tokens. It's better to encode and decode with the dictionary directly.

After reading musicbert/musicbert/__init__ & fairseq roberta model, things are a bit clearer too, thanks!


Consolidate MapLayerSettings/BackgroundMapSettings

No longer sync BackgroundMapSettings.providerName/providerData with MapImagery.BaseMapProps.   MapImagery.BaseMapProps now accepts 'BackgroundMapProviderProps' which is essentially the same as the old 'BackgroundMapSettings.providerName/providerData'.
Internally BackgroundMapProviderProps will be converted on-the-fly to MapLayersSettings by the MapTileTreeReference : the difference with the previous implementation is that we never go from MapLayerSettings to  'BackgroundMapProviderProps'.  The resulting MapLayerSettings is never persited: If ''BackgroundMapProviderProps' was used to define BaseMapProps, 'BackgroundMapProviderProps' should be persisted.
Breaking changes:
BackgroundMapSettings.providerName and BackgroundMapSettings.providerData are no longer part of BackgroundMapProps.
Even though 'DisplayStyleState,changeBaseMapProps' now accepts BackgroundMapProviderProps, any previous call should continue to work as before.

Could all the if (instanceof X) else if (instanceof Y) checks be simplified?

Do you mean remove them?  Thats  a side effect of having a union type for BaseLayerSettings.  Any suggestion?

Do you mean remove them? Thats a side effect of having a union type for BaseLayerSettings. Any suggestion?

First question is whether the introduction of a new type (BackgroundMapProvider) to the union is necessary. Previously it was either a ColorDef or a MapLayerSettings, where the MapLayerSettings might have been created from a BackgroundMapProps.
If adding a third type to the union is necessary, can BackgroundMapProvider and MapLayerSettings be implemented such that you don't need to know which type it is when using its API?
For example, you have this:
  public get baseTransparency(): number {
    if  (this._backgroundBase instanceof ColorDef) {
      return (this._backgroundBase.getTransparency() / 255);
    } else if (this._backgroundBase instanceof BackgroundMapProvider) {
      return  (this._backgroundBase ).transparency;
    } else {
      return  (this._backgroundBase ).transparency;
    }

But the second instanceof check is unnecessary. Both BackgroundMapProvider and MapLayerSettings have a transparency property with identical semantics, so you can simplify:
  public get baseTransparency(): number {
    if (this._backgroundBase instanceof ColorDef)
      return this._backgroundBase.getTransparency() / 255;
    else
      return this._backgroundBase.transparency;
  }

public get baseTransparency()

If if make BackgroundMapProvider and MapLayerSettings looks the same, then I won't be able distinguish props inside changeBaseMapProps:
  public changeBaseMapProps(props: ColorDef | MapLayerProps | BackgroundMapProviderProps) {
    if (props instanceof ColorDef) {
      let transparency = 0;
      if (this.settings.mapImagery.backgroundBase instanceof ColorDef)
        transparency = this.settings.mapImagery.backgroundBase.getTransparency();
      this.settings.mapImagery.backgroundBase = props.withTransparency(transparency);
    } else if (BackgroundMapProvider.isMatchingProps(props)) {
      // props is BackgroundMapProviderProps
      if (this.settings.mapImagery.backgroundBase instanceof BackgroundMapProvider) {
        const mapProvider = this.settings.mapImagery.backgroundBase;
        this.settings.mapImagery.backgroundBase = mapProvider.clone(props);
      } else {
        this.settings.mapImagery.backgroundBase = BackgroundMapProvider.fromJSON(props);
      }
    } else {
      if (this.settings.mapImagery.backgroundBase instanceof MapLayerSettings)
        this.settings.mapImagery.backgroundBase = this.settings.mapImagery.backgroundBase.clone(props as MapLayerSettings);
      else {
        const backgroundLayerSettings = MapLayerSettings.fromJSON(props as MapLayerSettings);
        if (backgroundLayerSettings)
          this.settings.mapImagery.backgroundBase = backgroundLayerSettings;
      }
    }
    this._synchBackgroundMapImagery();
  }

Problem is that I need to call .fromJSON based on 'type' of the props.  Do you have a workaround for this?

Problem is that I need to call the right fromJSON method based on 'type' of the props. Do you have a workaround for this?

One workaround is to not write a function that takes a variety of "props" types and has to distinguish between them. Instead, let the caller figure out what he wants the base layer to be.
For example, if you allow the base layer to be a BackgroundMapProvider | MapLayerSettings | ColorDef, make this function take one of those; and add functions like BackgroundMapProvider.clone(changedProps: Partial<BackgroundMapProviderProps>).


Formik 2.0: Include value as an important prop in Checkbox

I don't think this pull request is fully complete, but I believe that the below is should at least be included for making this library compatible with Formik 2.0.
In the migration guide they outline that value is now an important prop and follows roughly how it is used in HTML checkboxes.
If we currently use this library's Checkbox with Formik 2.0 it breaks with this warning:
Failed prop type: Invalid prop `checked` of type `array` supplied to `ForwardRef(Checkbox)`, expected `boolean`.

because field.value comes back with an array when a value prop is given. Normally the value would be something like ['designer'] as in the migration guide, but it should be omitted when it's only a simple boolean field with no value prop. But here it comes back as [""] when it instead should return a boolean. This is because of line 26 in Checkbox.tsx.
Apologies I can't finish off the pull request right now, but I thought I'd write up my discoveries for everyone at the least.

Coverage remained the same at 79.231% when pulling 9cc0835dce28bbce20d450c597d32fabda49cf41 on eedrah:patch-1 into 29848beb73bc4aa53c01e227376e835f58f036bc on stackworx:master.

haha, I did that in such a rush yesterday in the github editor, and now that I look at it, it is soooo wrong. But at least I've identified a spot that needs to be fixed up. Might have some time to come back to this at some point, but it's probably something like this:
const CheckboxWithLabel = ({
  name,
  Label,
  field: { value: fieldValue, ...field },
  form: { isSubmitting },
  disabled,
  value,
}) => {
  const valueProp = {}
  if (value) {
    valueProp.value = value
  } else if (fieldValue) {
    valueProp.value = 'checked'
  }

  return (
    <FormControlLabel
      control={
        <MUICheckbox
          disabled={disabled || isSubmitting}
          {...field}
          checked={value ? !!(fieldValue.indexOf(value) + 1) : fieldValue}
          {...valueProp}
        />
      }
      {...Label}
    />
  )
}

But I never got to finish it and there's still something wrong with it

haha, I did that in such a rush yesterday in the github editor, and now that I look at it, it is soooo wrong. But at least I've identified a spot that needs to be fixed up. Might have some time to come back to this at some point, but it's probably something like this:
const CheckboxWithLabel = ({
  name,
  Label,
  field: { value: fieldValue, ...field },
  form: { isSubmitting },
  disabled,
  value,
}) => {
  const valueProp = {}
  if (value) {
    valueProp.value = value
  } else if (fieldValue) {
    valueProp.value = 'checked'
  }

  return (
    <FormControlLabel
      control={
        <MUICheckbox
          disabled={disabled || isSubmitting}
          {...field}
          checked={value ? !!(fieldValue.indexOf(value) + 1) : fieldValue}
          {...valueProp}
        />
      }
      {...Label}
    />
  )
}

But I never got to finish it and there's still something wrong with it

Just wondering where fieldValue is coming from? cheers

I managed to get it working using:
    name,
    Label,
    field: { value: fieldValue, ...field },
    form: { isSubmitting },
    disabled,
    value,
}) => {
    const valueProp = {}
    if (value) {
        valueProp['value'] = value
    } else if (fieldValue) {
        valueProp['value'] = 'checked'
    }

    return (
        <FormControlLabel
            control={
                <MuiCheckbox
                    disabled={disabled || isSubmitting}
                    {...field}
                    checked={value ? !!((fieldValue as string[]).indexOf((value as string)) + 1) : fieldValue}
                    {...valueProp}
                />
            }
            {...Label}
        />
    )
};```


Mpbn support

#50
Created new condition MPBN_update for many functions
In case of MPBN_update:
Time reverse stable motifs are not calculated
new function finding source motifs
new check for terminal reduction
new function creating attractor dictionary

I tried MPBN update for all codes in Example and Tutorials Folder.
TLGL_Small_analysis.py gives an error because it tries to print time reversal stable motifs,
but no other errors than that.


Ability to switch between grid 'variations'

The grid block doesn't have support for 'variations' as it seems to be more focused on providing separate block types for each type of UI. However, it could be possible to switch between blocks by including a select field with an id of @type. Below is a rough code sample of how this would work:
const gridBlocks = [
  {
    id: 'cardGrid',
    title: 'Card grid',
    icon: sliderSVG,
    group: 'teasers',
    view: GridViewBlock,
    edit: GridEditBlock,
    restricted: false,
    mostUsed: true,
    sidebarTab: 1,
    security: {
      addPermission: [],
      view: [],
    },
    gridAllowedBlocks: ['card'],
  },
  teaserGrid: {
    id: 'teaserGrid',
    title: 'Teaser Grid',
    icon: imagesSVG,
    group: 'teasers',
    view: GridViewBlock,
    edit: GridEditBlock,
    restricted: false,
    mostUsed: true,
    sidebarTab: 1,
    security: {
      addPermission: [],
      view: [],
    },
    gridAllowedBlocks: ['teaser'],
  },
];

gridBlocks.forEach((block) => {
    config.blocks.blocksConfig[block.id] = block;
  });

schema.properties['@type'] = {
      title: 'Grid type',
      type: 'string',
      factory: 'Choice',
      choices: [
        ['__grid', 'Default'],
        ...gridBlocks.map((block) => [block.id, block.title]),
      ],
    };

@sneridagh Would love to hear your thoughts on this and whether the @type implementation is hacky or a good use of how Volto type data is stored. It would be really nice to have the ability to switch between block types in core (similar to Notion), but there's many more edge cases there.

@sneridagh this is really what this ticket is about - https://github.com/plone/volto/issues/4478


DOC: add SOP for when segmentation fails

how to correct, what software, etc.

Done in commit 9ba6dd7ac2c1df9ad4c9d4e24327caada3f9e787.

the commit reference to the notebook modif is missing. Please add

Commit for the notebook:<PHONE_NUMBER>1ee0c0bd51b8879879db412cbb37a2

reopened because of this:
https://github.com/neuropoly/axondeepseg/commit/42810475481ee0c0bd51b8879879db412cbb37a2#r26452234
from now on: open a specific PR and we will take it from there


add: AJ1732

Description
Added My Details to the devFind Open Source Project
Checklist

[ ] I have read and followed the Contribution Guidelines.
[ ] All new and existing tests passed.
[ ] I have updated the documentation to reflect the changes I've made.
[ ] My code follows the code style of this project.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots
Note to reviewers
Thank you

@AJ1732 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


test/e2e: disable operator upgrade test

Operator upgrade using OLM is throwing below error about updating deployment
label selector:
+ /home/avalluri/work/pmem-csi/_work/bin/operator-sdk run bundle-upgrade --namespace default --timeout 5m <IP_ADDRESS>:5000/pmem-csi-bundle:v1.0.0 --skip-tls
....
INFO[0068]   Found ClusterServiceVersion "default/pmem-csi-operator.v1.0.0" phase: Pending
INFO[0069]   Found ClusterServiceVersion "default/pmem-csi-operator.v1.0.0" phase: Failed
FATA[0069] Failed to run bundle upgrade: error waiting for CSV to install: csv failed: reason: "InstallComponentFailed", message: "install strategy failed: Deployment.apps \"pmem-csi-operator\" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{\"app\":\"pmem-csi-operator\", \"name\":\"pmem-csi-operator\"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable"

There was no logical conclusion yet regarding this failure. Till we resolve
this issue let us disable the test.

https://github.com/intel/pmem-csi/pull/968 supposed to fix the issue. So disabling the 'upgrade' test not required anymore once that PR got merged.


Support bonsai version with v prefix

Pull Request Checklist

Description

Support sensu_bonsai_asset with version starting with "v". This is something added to Sensu Go v5.18.0.

Tests will fail until #1225 is merged


[AutoDiff] TF-199: Set ParamDecl types in createEntryArguments.

The createEntryArguments helper creates arguments for an entry basic block
based on the type of its enclosing function.
Dummy ParamDecls created in createEntryArguments must explicitly have
their type set to prevent crashes during optimizations.
Resolves TF-199.

@swift-ci Please test tensorflow


Add ifndef define macros into class snippet

Most of the time I think coders would end up deleting the first few lines. Not sure, if this would be fruitful to merge.

You can still start with a define snippet and then use the class snippet.
Or one can create a completely new snippet. But I doubt people will remember the new snippet against the common ones. For example, I, for one, always forget that there is a reverse for loop snippet available, even though I have written one for this extension.
Anyway, I think a new snippet would be a better add instead of doing this.


bin/validate-doc-paths.js doesn't find all invalid paths

The bin/validate-doc-paths.js script doesn't find all invalid paths. For example, if you look at the invalid files listed in this PR/job and compare it to the files in docs/en/prisma-cloud-ag/admin-guide/fragments/, you'll see the script fails to identify some invalid files. It appears to be an issue with the INVALID_PATH regex.
GSheet that compares files in the repo vs what the script finds: GSheet

Another repro. In the ian/fix-paths branch of the prisma-cloud-docs repo, the bin/validate-doc-paths.js script lists files that should be valid.
$ node bin/validate-doc-paths.js docs/en/prisma-cloud-ag/admin-guide/**/*.adoc
Invalid file paths:
 - docs/en/prisma-cloud-ag/admin-guide/fragments/features-at-a-glance--id89f15e0e-2831-4680-b5f5-5cfeb8627296.adoc
 - docs/en/prisma-cloud-ag/admin-guide/fragments/id3d308e0b-921e-4cac-b8fd-f5a48521aa03--idd73e7807-44d4-4bc0-b57f-97876da93ad8.adoc
 - docs/en/prisma-cloud-ag/admin-guide/fragments/idee00fe2e-51d4-4d26-b010-69f3c261ad6f--id50a63347-4291-4210-99fa-f51de04106be.adoc

*** Note: paths can only contain lowercase letters, numbers, and -

could you go add some examples of the paths that aren't identified?
I think those are actually invalid paths, -- should fail since that will be collapsed to - by Franklin

the purpose of the path validation job is to avoid having files in the repo that, when published, will have different paths

@maxakuru Makes sense.

Yes, will do.
Totally agree. But then the script/regex should catch abd report all such files. In the fragments dir, there are five files with the double dash. But the script only reports three.

Files in the repo in the fragments dir with double dashes:
features-at-a-glance--id89f15e0e-2831-4680-b5f5-5cfeb8627296.adoc
id3d308e0b-921e-4cac-b8fd-f5a48521aa03--idd73e7807-44d4-4bc0-b57f-97876da93ad8.adoc
idece1e97f-31e4-4862-bc93-da79383b0392--id5b4dc25b-4887-4032-a5a4-183158c74351.adoc
idee00fe2e-51d4-4d26-b010-69f3c261ad6f--id50a63347-4291-4210-99fa-f51de04106be.adoc
idee00fe2e-51d4-4d26-b010-69f3c261ad6f--id82a563a3-ea83-444d-a6ab-f1f8b5e116d8.adoc

Files reported as invalid by the script:
features-at-a-glance--id89f15e0e-2831-4680-b5f5-5cfeb8627296.adoc
id3d308e0b-921e-4cac-b8fd-f5a48521aa03--idd73e7807-44d4-4bc0-b57f-97876da93ad8.adoc
idee00fe2e-51d4-4d26-b010-69f3c261ad6f--id50a63347-4291-4210-99fa-f51de04106be.adoc

Here's another example of the script returning weird results.

Create a dir structure like this:

├── bin
│   └── validate-doc-paths.mjs
└── docs
    ├── fragments
    │   └── id2eac1406-00df-4530-bcc7-dfa1795d6e4a__iddf0edb02-009c-4780-8bdb-f22c30459d96.adoc
    ├── id2eac1406-00df-4530-bcc7-dfa1795d6e4a__iddf0edb02-009c-4780-8bdb-f22c30459d96.adoc
    ├── test-test.adoc
    ├── test.adoc
    └── test_test.adoc

Run the script: node bin/validate-doc-paths.mjs docs/**/*.adoc

Review the results:

Invalid file paths:
 - docs/fragments/id2eac1406-00df-4530-bcc7-dfa1795d6e4a__iddf0edb02-009c-4780-8bdb-f22c30459d96.adoc
 - docs/test_test.adoc

Notice that the script returns docs/fragments/id2eac1406-00df-4530-bcc7-dfa1795d6e4a__iddf0edb02-009c-4780-8bdb-f22c30459d96.adoc, but not docs/id2eac1406-00df-4530-bcc7-dfa1795d6e4a__iddf0edb02-009c-4780-8bdb-f22c30459d96.adoc. They both have the same file name, but located in different directories. I'd expect the script to return both files.


DataBroadcaster sends data only to the first linked target if it is used as output property

Hi. Recently, I was trying to move one of my pipeline from low-level TPL Dataflow to DataflowEx and I met quite an unexpected behavior (as I think).
Let's say, we have class A which is inherited from Dataflow<TIn, TOut> and OutputBlock property is equal to the output block of DataBroadcaster field:
internal sealed class A : Dataflow<string, IReadOnlyList<string>>
{
    private readonly DataBroadcaster<string> _inputBroadcaster;

    private readonly DataBroadcaster<IReadOnlyList<string>> _resultBroadcaster;

    public override ITargetBlock<string> InputBlock =>
        _inputBroadcaster.InputBlock;

    public override ISourceBlock<IReadOnlyList<string>> OutputBlock =>
        _resultBroadcaster.OutputBlock;

    public A()
        : base(DataflowOptions.Default)
    {
        // Init code goes here.
    }
}

However, if I link this dataflow with several external targets, it sends data only to the first linked target:
var a = new A();
var b1 = new TransformBlock<IReadOnlyList<string>, IReadOnlyList<string>>(d => d);
var b2 = new TransformBlock<IReadOnlyList<string>, IReadOnlyList<string>>(d => d);

a.LinkTo(b1); // b1 gets data from a.
a.LinkTo(b2); // b2 do not get data from a.

Is this behavior by design or not?
By the way, using LinkToMultiple solves the problem (but it would cost additional DataBroadcaster implicitly):
a.LinkToMultiple(b1, b2); // b1 and b2 get data from a.

Changing DataBroadcaster to BroadcastBlock with .ToDataflow() call also fixes the problem.
If this example is poor, I can attach the full code to reproduce the issue.

@karldodd, thanks for reply! I simplified the logic of current pipeliene a little bit with some usefull and handfull methods from DataflowEx and switched to LinkToMultiple instead of DataBroadcaster in my Dataflow class.
Current pipeline version works as I expected))


AMQ-9625 - Prevent queue messages from becoming stuck

Fixes a race condition bug that can lead to a message being missed on dispatch and stuck on a Queue until restart when caching and concurrentStoreAndDispatch are enabled on a Queue and the cache becomes disabled.
This is pretty much impossible to reproduce or test in a unit test so there's no test for this but the risk of breaking anything is very low because all this is doing is just waiting for the future to complete to ensure the task finishes before we continue.
For a detailed description of the problem see https://issues.apache.org/jira/browse/AMQ-9625

I updated the PR slightly as we needed the check/wait for the async to be done not only when the store is being synced, but also for any outstanding in flight async messages that were in progress by other threads when the mode switched.


WIP: first draft d4win, d4mac stable 1.13.0

d4win updates for stable 1.13.0, d4mac updates TBD
Signed-off-by: Victoria Bialas<EMAIL_ADDRESS>

LGTM, tested fine locally


New theme

i made this new theme for UpSnap.

Okey now its all good.

i found a bug let me fixit.

sorry for publishing 3 or 4 pull request im starting using github desktop .


Error scrolling thru table with down arrow: "TypeError: Failed to execute 'removeChild' on 'Node'

Issue
When scrolling through a Table.VirtualBody row-by-row, using the down arrow key, a TypeError is thrown when reaching the last item.
Expected Behavior
Reach the end of the list, last item becomes highlighted, and nothing else happens when the down arrow is pressed again.
Actual behavior
TypeError
Steps to Repro
Create a table with a virtual body. Select a row. Keep pressing down until you reach the end.
You can't do this super slowly-- you have to scroll through them semi-quickly, at a believable pace for someone scanning a list, and it doesn't seem like you can trigger this by starting the selection on any of the last few rows. Would recommend starting (clicking on an initial row) at least five or six rows from the bottom of the list.
It may or may not be important for the following handlers to be present on the table rows, so here is a copy-paste of the code I'm using:
<Table.VirtualBody height={400}>
    {resources.map((item, idx) => (
        <Table.Row
            isSelectable
            key={item.id}
            onDeselect={() => {
                this.handleRowDeselected(item.id);
            }}
            onSelect={() => {
                this.handleRowSelected(item.id);
            }}
            onKeyPress={(evt) => {
                this.handleTableRowKeypress(evt, item.id);
            }}
        >
         ... // row contents

Specs

Chrome 72
macOS 10.14
react/react-dom 16.6.1
Evergreen 4.13.1

Sentry Logs
Sentry Error Logs
Etc
This technically errors in the development build of react-dom, but the stack trace points to maybe something in the tiny virtual list code, so I'm not sure if the catalyst here is Evergreen or not. Screenshot:

What the UI looks like just before this is thrown:

I'm not able to repro this. Can you create a codesandbox that reproduces the error?

Closing as this is stale and cannot reproduce. Feel free to reopen with a minimal reproduction linked in the issue!


Send Intraledger Flow works

Findings:

Schema is outdated (fix it) - Separate PR possibly touches other mutations bcoz very outdated
Intraledger inputs although being same as expected doesn't work bcoz error schema mismatch

galoy-cli send-intraledger --to test --usd 100
galoy-cli send-intraledger --to test --btc 1

This has been fixed in #127 and #131


Fix Issue 17262 - Better docs for rdmd

We should really auto-generate this like e.g. DUB does ...

Respective PR at the tools repo: https://github.com/dlang/tools/pull/232

Its --tmpdir. It's not in --help` though.

Argh. Thanks!
-> https://github.com/dlang/tools/pull/232/files

Travis stuck again.

Better formulation:

By default, the executable is placed in the source file directory

By default, the executable is placed in the source file directory

Good idea. Thanks!


[#release] prepare for 2.2.0

2.2.0-SNAPSHOT -> 2.2.0

Codecov Report

Merging #7467 (140636b) into master (9a6fa78) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #7467      +/-   ##
==========================================
- Coverage   38.71%   38.68%   -0.03%
==========================================
  Files        3345     3345
  Lines       96480    96480
  Branches    11896    11896
==========================================
- Hits        37348    37326      -22
- Misses      56221    56246      +25
+ Partials     2911     2908       -3

Impacted Files
Coverage Δ

...rp/pinpoint/rpc/control/ControlMessageDecoder.java
64.28% <0.00%> (-14.29%)
:arrow_down:

...p/pinpoint/rpc/stream/StreamChannelRepository.java
75.00% <0.00%> (-10.00%)
:arrow_down:

.../pinpoint/rpc/client/PinpointClientHandshaker.java
58.74% <0.00%> (-7.00%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70.00% <0.00%> (-3.34%)
:arrow_down:

...tor/metric/datasource/DefaultDataSourceMetric.java
75.00% <0.00%> (-3.13%)
:arrow_down:

...cluster/zookeeper/ZookeeperClusterDataManager.java
52.90% <0.00%> (-1.94%)
:arrow_down:

...java/com/navercorp/pinpoint/rpc/DefaultFuture.java
72.50% <0.00%> (-1.67%)
:arrow_down:

...point/rpc/client/DefaultPinpointClientHandler.java
72.40% <0.00%> (+0.32%)
:arrow_up:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
80.13% <0.00%> (+0.69%)
:arrow_up:

...pinpoint/profiler/monitor/DeadlockMonitorTask.java
19.76% <0.00%> (+1.16%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


need additional CST node in for-statement to be consistent

Need additional CST node in for-statement to be consistent.  If users are used to keyword token it will be both strange and weird to be forced to write something like this
printPunctuator(node.initializer.flags & NodeFlags.Const ? 'const' : 'let', printer, node.initializer.start, node);
Need 1) CST node to save the varKeyword and 2) for lexicals const and let.
@aladdin-add Can you add this?

Closed as fixed.


Incorrect results

For 65 byte inputs, I am consistently getting wrong outputs.
Hex input: 12EDA9FE8DFCDD25D5430EA64229D04F6B41B2E5A1587C29CD499A63EB79D117113076A02B73D130FB904C9E91075FCD16F735C6850DFADB125EB826D96A113F09
Expected output: a57120a3aef5d9df892cf1a6c2858107a98739f9bb6a7794e42d401491286d17
Actual output: 4FB64EDF838DDA7F47336E0791409B30D871CF26D838F7760EE6E15F7BFD44B7
Website to check: https://moneroaddress.org (Use Ctrl + Shift + I, console, this.cn_fast_hash("hex string here"))

I have fixed this by transcribing romus' keccak256 branch from java

Interesting - can you elaborate? Thought @romus is not yet finished as this change is not yet on master

@svegaxmr be careful with this - I uncovered another problem with the implementation: https://github.com/romus/sha/issues/4 - just as a warning as it sounds you use it currently

@svegaxmr this repo now also contains the changes and a fix for the bug I found

@svegaxmr - this lib should be ready to use now - also now tested against the Nist test vectors - so should be ready for usage ..-)


refactor (@embark/embarkjs-ens): move embarkjs-ens to its own module

This PR should probably update the following deps array once #1632 is merged into master:
https://github.com/embark-framework/embark/pull/1632/files#diff-db05293eb075e53309fee8541e1b2cd0R316
Also may need some similar changes as seen in:
https://github.com/embark-framework/embark/pull/1632/files#diff-d926414cf9b79b9af00b6abdbb70cb97L126

I have rebased against master and made several changes, including ones complementary to #1632. However, it's not in a fully working state yet.  embark run|build produces output that works correctly in the browser but there are problems init'ing the console code having to do w/ EmbarkJS not being defined globally at the expected time (I think). There also seems to be a race condition in the cli console|dashboard related to code generation for the blockchain provider (I think), but it's very hard to track down; I believe it's responsible for promise rejection errors that are seen intermittently when doing embark run.


Call to Google Palm2 not processing messages correctly

Passing messages into using model.call(messages) format does not work correctly for Palm2.  It works for other models, but not for Palm2.
An example of messages is:
messages =
Chat messages:  [
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: 'As an AI assistant, your role is to provide accurate and informative answers to questions using the information from the current sources combined with your vast general knowledge.',
additional_kwargs: {}
},
lc_namespace: [ 'langchain', 'schema' ],
content: 'As an AI assistant, your role is to provide accurate and informative answers to questions using the information from the current sources combined with your vast general knowledge.',
name: undefined,
additional_kwargs: {}
},
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: 'The current source information is provided in the prompt as CONTEXT.',
additional_kwargs: {}
},
lc_namespace: [ 'langchain', 'schema' ],
content: 'The current source information is provided in the prompt as CONTEXT.',
name: undefined,
additional_kwargs: {}
},
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: CONTEXT: revolutionize their industries, as we expect NPE will do in p............<<continues with all of the embeddings>>'        additional_kwargs: {}      },      lc_namespace: [ 'langchain', 'schema' ],        content: CONTEXT: revolutionize their industries, as we expect NPE will do in p............<>'
name: undefined,
additional_kwargs: {}
},
HumanMessage {
lc_serializable: true,
lc_kwargs: { content: 'QUESTION: who is NPE?', additional_kwargs: {} },
lc_namespace: [ 'langchain', 'schema' ],
content: 'QUESTION: who is NPE?',
name: undefined,
additional_kwargs: {}
}
]
Does Palm2 support passing System and Human messages?  Or, should these all be converted to text when interacting with Palm?

If I convert all of the messages into text using the following command and then pass that into the call, it works.....
textPrompt = chat_messages.map(message => message.content).join("\n");
If this is a limitation of Palm, then I think Langchain should do the conversion from messages into text as part of the call to the model.

@dosu-bot
it is not processing the system messages correctly.  If I convert all of the messages to straight text using:
textPrompt = chat_messages.map(message => message.content).join("\n");
then the model understands the messages and context and responds accordingly; however, when passing as text, it assumes each are human messages and not a combination of human  and system.

@dosu-bot
how can I use chat.call(messages) when the messages varaible contains a collection of system and human messages as shown below without using the prompt template, since I do not need to complete any values:
messages =
Chat messages: [
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: 'As an AI assistant, your role is to provide accurate and informative answers to questions using the information from the current sources combined with your vast general knowledge.',
additional_kwargs: {}
},
lc_namespace: [ 'langchain', 'schema' ],
content: 'As an AI assistant, your role is to provide accurate and informative answers to questions using the information from the current sources combined with your vast general knowledge.',
name: undefined,
additional_kwargs: {}
},
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: 'The current source information is provided in the prompt as CONTEXT.',
additional_kwargs: {}
},
lc_namespace: [ 'langchain', 'schema' ],
content: 'The current source information is provided in the prompt as CONTEXT.',
name: undefined,
additional_kwargs: {}
},
SystemMessage {
lc_serializable: true,
lc_kwargs: {
content: CONTEXT: revolutionize their industries, as we expect NPE will do in p............<>' additional_kwargs: {} }, lc_namespace: [ 'langchain', 'schema' ], content: CONTEXT: revolutionize their industries, as we expect NPE will do in p............<>'
name: undefined,
additional_kwargs: {}
},
HumanMessage {
lc_serializable: true,
lc_kwargs: { content: 'QUESTION: who is NPE?', additional_kwargs: {} },
lc_namespace: [ 'langchain', 'schema' ],
content: 'QUESTION: who is NPE?',
name: undefined,
additional_kwargs: {}
}
]

@dosu-bot
The system messages are being stripped out and not passed to the model.  Only the human message gets sent to the model.
The chat.call(messages) is the call that I can successfully use for the other models, but it fails to pass the system messages for Palm2.
This appears to me to be a bug.


No settings panel when built from source

Well, there could be I don't know, but I was building EvenBetterSEQTA from source using the instructions given and I get this:

I built it on Windows, I do have a linux dual boot there if I need to use that to build it

Have you looked at #50?

No I didn't, I redid the entire thing and still the same outcome

Could you please post your console output upon opening and your environment details?

I would but I deleted the built version and tried to recompile following the new instructions but the scripts don't work, no build folder is created Edit: I will try and compile on Pop!_OS, maybe it is a Windows thing

oo, well thats sad. I'll make sure to update that documentation and say that currently the script isn't working :O

I've been compiling on both my windows and Linux dual boots, have you kept your version of node/npm up to date?
Also have you kept the packages as the same version as the package lock? 'npm ci'
Try using pnpm to build to see if that works

Any updates?

Kinda can't build it anymore #67 my linux distro got bricked (I managed to fix it) but I can't use npm anymore as it says it is installed but it isn't (????)
Windows script just crashes immediately
Long story short: No

Kinda can't build it anymore #67 my linux distro got bricked (I managed to fix it) but I can't use npm anymore as it says it is installed but it isn't (????)
Windows script just crashes immediately
Long story short: No

I'll have to drop in and help you maybe in a call in discord. We'll be able to figure it out.

alright, pm me anytime

Kinda can't build it anymore #67 my linux distro got bricked (I managed to fix it) but I can't use npm anymore as it says it is installed but it isn't (????)
Windows script just crashes immediately
Long story short: No

I have almost bricked my UEFI like 6 times, and my linux partition countless times lmao.

Kinda can't build it anymore #67 my linux distro got bricked (I managed to fix it) but I can't use npm anymore as it says it is installed but it isn't (????)
Windows script just crashes immediately
Long story short: No

Which distro? Chat on Discord, I can help out
It might be registered as installed on your package manager but the files managed to get corrupted somehow.
Anyways, this isn't a channel for tech support, we can talk on Discord though.

Hey @MEGA-Dawg68,
I've just overhauled the whole compilation process of the project, so we are now using parcel so that everything packages a lot faster. Which means finally I don't have two separate packages. Just take a look at the updated readme on instructions and see whether that works for you.
:)

I'll close this as it's pretty stale, but everything should be a lot easier for oyu now @MEGA-Dawg68

I'll close this as it's pretty stale, but everything should be a lot easier for oyu now @MEGA-Dawg68

I will test it out, in a VM this time :)


Add Reproducible Research Evangelist

There's no exactly corresponding entry on the jobscore page - is this for the Statistical and Methodological Consultant? Perhaps best to name them the same thing to avoid confusion? Perhaps we should change the official title of the job on our page to Statistical and Methodological Consultant?

Ok awesome, thanks for adding that @betsyferronato!


Return type for beforeLaunch and onPrepare does not make sense

The typings for the lifecycle hooks methods in protractor/config.ts should properly and any or void instead of {}
Example of current typings:
beforeLaunch?: () => {};

Current workaround needed because of the current typings:
  beforeLaunch: () => {
    launchWebServer();
    return {};
  },

I did not want to raise a separate issue as I feel this is related. I am trying to use onPrepare with some browser related settings such as browser.ignoreSynchronization in my config.ts file with 4.0.3. But I am always getting an error when I run my scripts.
Note: At compile time I do not get any errors, only when I run my scripts i.e. protractor config.js I get this error
TypeError: Cannot read property 'browser' of undefined
    at Object.<anonymous> (/Users/pasalar/Documents/Coding/protractor-typescript/node_modules/protractor/globals.js:3:37)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)

This is my config.ts -
import {Config} from 'protractor';
import {browser} from 'protractor/globals';

export let config: Config = {
  framework: 'jasmine2',
  capabilities: {
    browserName: 'firefox'
  },
  specs: [ 'spec.js' ],
  directConnect: true,
onPrepare: () => {
    browser.ignoreSynchronization =true;
}
};

The error specified above points an issue at line 3 at globals.js file
exports.browser = exports.protractor.browser;

I think there were some changes to the namespace not sure what is causing the issue?

Yup. This is a problem... I originally had this as global['protractor']['browser']. This however is assuming that protractor is an object and it has a property of type browser. This should be fixed. Reopening issue.

@igniteram From my investigation, if you import the file, protractor/global, values are assigned at import from global. Since protractor generates the global values after it reads in the config file, this could result in having null values. This is definitely a weird gotcha.
So let's say you do not use onPrepare but you use import {browser} from 'protractor/globals';, the way Protractor works, none of your tests will pass. So this is my thought how to get this to work in TypeScript land for the config file:
import {ProtractorBrowser, Config} from 'protractor';

export let config: Config = {
  onPrepare: () => {
    // after the globals are set, you can read the globals
    let globals = require('protractor/globals');

    // then you can assign the type of browser here.
    let browser: ProtractorBrowser = globals.browser;
    console.log('browser:', browser);
  }
}

This is the same other Issue that I mentioned in #3430.
Since the values are already globally available, I simply do like this
(<any> browser).ignoreSynchronization(...)

Without importing

Yup, that could be done too. As long as you do not import browser from 'protractor/globals' before the global variable is set up.

Didn't get time to comment on this issue, yes I had this feeling that globals were available after import but it would not work somehow, now this clears it up for me and I am using the above work around and its working. I think the imports will change in the coming releases. @cnishina  please include unit tests in releases! just kidding 😄

I'll have more information on https://github.com/angular/protractor-cookbook
Going to close this issue.

Would be great if the browser simply was passed to onPrepare as a parameter.


Test failure in core.event

Weird test failure in core.event
6/97 Test  #6: core.event .............................***Failed    0.03 sec
Running 2 test cases...
/compute/test/test_event.cpp:45: error in "event_callback": check callback_invoked == true failed [true != true]

*** 1 failure detected in test suite "TestEvent"

Sometimes it also fails with false != true which is understandable but true != true ?

I think it was fixed in https://github.com/boostorg/compute/commit/417cb03670adf4fa52dde2f0a6f0e4b89bf252ac (added a mutex and a condition_variable to ensure thread safety).


MAINT: sparse.csgraph: Allow any valid MST in the tests

Reference issue
Fixes gh-18494. See also related issue gh-17734.
What does this implement/fix?
Our tests were expecting a particular MST representation in the upper-right triangle of a sparse adjacency matrix, but it's technically also valid to have the edges appear in the lower-right triangle (as the MST is really an undirected graph). This test update checks for any of the four valid adjacency matrix representations of the true MST.
Additional information
I'm still not clear why/how the behavior of our MST code is changing on the same Linux platform between Python versions 3.10 and 3.11. Nothing in the MST Cython code seems to be doing anything particularly subtle, so at this point I'm assuming the discrepancy is in the generated code. We might still want to look into that, in case there are other functions that are affected.

If we are not going to guarantee that only the upper-triangle of the result is used, we should instead fill in both the upper and lower parts to make the result symmetric.  Otherwise users have to deal with the ambiguity, which is an annoying API.
@jakevdp, was the original intent to only fill in the upper triangle?

Let me convert my comment to a concrete recommendation: let's strengthen the API to state that the result is guaranteed to always use only the upper-right triangle.  This means fixing the code to ensure this is true.  I haven't tried to figure out why this failure is occurring now, and only on one platform (maybe something to do with recent work on sparse array/matrix representations), but ensuring that i < j when assigning a value to result[i, j] should be straightforward (yeah, I know, famous last words...).  Then there is no need to adjust the test, and the format of the result is unambiguous.

I think I may have a handle on the source of the inconsistency now. The MST code runs np.argsort on the input CSR-format graph's data array, which in our tests happens to be: array([1, 1, 8, 5, 8, 1, 5, 1]).
By default, np.argsort will use quicksort, which doesn't guarantee a stable ordering in the presence of duplicate entries. I suspect that if we pass kind='stable', the flaky test failure will disappear.
@WarrenWeckesser This doesn't address the underlying issue of "we return a directed graph with arbitrary edge direction", though. What do you think of stabilizing the sort first, then fixing that later?

@perimosocordiae, sounds good, give it a shot.

https://github.com/scipy/scipy/pull/18527 is merged; OK to close this?
P.S. Great detective work!

Yup, I'll close this now.


I cannot get any result from API call

Hello. I am trying out the bitter API and learning javascript. So I have an index.html file and a main.js file. I included the js file in the HTML, however, this doesn't produce any output. Can anybody see why this doesn't work?

Can you post the error in your console log? I'm assuming you are using it on front-end since you mention index.html, etc. this API Wrapper is meant for node.js(server-side) and not on frontend. however you can still use some fetch API (non-websocket) on frontend using requirejs or browserify.

It is not even printing any errors. Thank you for letting me know that, I didn't know node.js is for only frontend. So how can I use this API on my frontend ? Will it be slow because of the things I need to do to make it work on frontend ? Thank you so much

Create app.js
var bittrex =  require('node-bittrex-api');

bittrex.getmarkethistory({ market : 'BTC-LTC' }, function( data, err ) {
	document.getElementById("messages").innerHTML = JSON.stringify(data);
});

Create index.html
<!doctype html>

install browserify more info at http://browserify.org/
in command line type browserify app.js -o output.js

I get this error: Error: Cannot find module 'node.bittrex.api/node.bittrex.api'
I am sure the file is there, what do you think might be the issue?

I did it but i it outputting a strange result full of codes in the output.js file. And how can I see the change on the list? I open the index.hmtl in safari but it is not changed when I run this. Can you please help me ? I am a beginner


Android toolchain - develop for Android devices (Android SDK version 29.0.0)  ! Some Android licenses not accepted.

Steps to Reproduce

when  i run "flutter doctor"  This is the output I get
Logs

[√] Flutter (Channel stable, v1.5.4-hotfix.2, on Microsoft Windows [Version 10.0.17134.765], locale en-US)
• Flutter version 1.5.4-hotfix.2 at C:\Users\Administrator\Desktop\flutter
• Framework revision 7a4c33425d (6 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
• Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.4)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 36.0.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[√] VS Code (version 1.35.0)
• VS Code at C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.1.0
[√] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)

When I run flutter --andriod-licenses

$ flutter doctor --andriod-licenses
Could not find an option named "andriod-licenses".
Run 'flutter -h' (or 'flutter  -h') for available flutter commands and options.
Administrator@DESKTOP-35FC6VU MINGW64 ~
$ flutter -h
Manage your Flutter app development.
Common commands:
flutter create
Create a new Flutter project in the specified directory.
flutter run [options]
Run your Flutter application on an attached device or in an emulator.
Usage: flutter  [arguments]
Global options:
-h, --help                  Print this usage information.
-v, --verbose               Noisy logging, including all shell commands executed.
If used with --help, shows hidden options.
-d, --device-id             Target device id or name (prefixes allowed).
--version               Reports the version of this tool.
--suppress-analytics    Suppress analytics reporting when this command runs.
--bug-report            Captures a bug report file to submit to the Flutter team.
Contains local paths, device identifiers, and log snippets.
--packages              Path to your ".packages" file.
                        (required, since the current directory does not contain a ".packages" file)

Available commands:
analyze                  Analyze the project's Dart code.
attach                   Attach to a running application.
bash-completion          Output command line shell completion setup scripts.
build                    Flutter build commands.
channel                  List or switch flutter channels.
clean                    Delete the build/ and .dart_tool/ directories.
config                   Configure Flutter settings.
create                   Create a new Flutter project.
devices                  List all connected devices.
doctor                   Show information about the installed tooling.
drive                    Runs Flutter Driver tests for the current project.
emulators                List, launch and create emulators.
format                   Format one or more dart files.
help                     Display help information for flutter.
install                  Install a Flutter app on an attached device.
logs                     Show log output for running Flutter apps.
make-host-app-editable   Moves host apps from generated directories to non-generated directories so that they can be edited by developers.
packages                 Commands for managing Flutter packages.
precache                 Populates the Flutter tool's cache of binary artifacts.
run                      Run your Flutter app on an attached device.
screenshot               Take a screenshot from a connected device.
stop                     Stop your Flutter app on an attached device.
test                     Run Flutter unit tests for the current project.
trace                    Start and stop tracing for a running Flutter app.
upgrade                  Upgrade your copy of Flutter.
version                  List or switch flutter versions.
Run "flutter help " for more information about a command.
Run "flutter help -v" for verbose help output, including less commonly used options.

i'm getting this error on ubuntu 19.04
can you guide me step by step
/home/aatikakhan/development/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Linux, locale en_IN)
• Flutter version 1.7.8+hotfix.4 at /home/aatikakhan/development/flutter
• Framework revision 20e59316b8 (2 weeks ago), 2019-07-18 20:04:33 -0700
• Engine revision fee001c93f
• Dart version 2.4.0
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at /home/aatikakhan/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.1
• Java binary at: /home/aatikakhan/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses
[✓] Android Studio (version 3.4)
• Android Studio at /home/aatikakhan/android-studio
• Flutter plugin version 38.1.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b16-5323222)
[✓] VS Code (version 1.36.1)
• VS Code at /usr/share/code
• Flutter extension version 3.3.0
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Process finished with exit code 0

estou com o mesmo erro. ainda não encontrei solução.

im getting this error,
anyone solve it pls
Android toolchain - develop for Android devices (Android SDK version 29.0.2)
! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

Uninstall the flutter and dart plugin then update the IDE. After this install the plugins again.

To fix :

Android toolchain - develop for Android devices (Android SDK version 29.0.0)
Open Android Studio > Configure > SDK Manager > Check boxes with desired API Level (this case 29) > Click Apply > OK

Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
Go to your flutter installation folder > git bash > paste and run command :
flutter doctor --android-licenses

Connected device
Open Android Studio > Configure > AVD Manager > Select Virtual Device (or create virtual device) > Run

How to fix:
I was heaving the following message
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.592], locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
X Android SDK file not found: D:/SDK\build-tools\29.0.3\aapt.
[√] Android Studio (version 3.5)
[√] VS Code (version 1.42.1)
[!] Connected device
! No devices available
To solve it, I uninstalled the version in which he was saying not to find

After uninstalling and running the flutter doctor command, the error disappeared.
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.592], locale en-US)
[√] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[√] Android Studio (version 3.5)
[√] VS Code (version 1.42.1)
[!] Connected device
! No devices available

Roda esse cara aqui
doctor --android-licenses

good, it is worked for me

[✓] Flutter (Channel stable, v0.0.0-unknown, on Linux, locale en_IN.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from:
https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK
components.
(or visit https://flutter.dev/setup/#android-setup for detailed
instructions).
If the Android SDK has been installed to a custom location, set
ANDROID_HOME to that location.
You may also want to add it to your PATH environment variable.
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.40.1)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.

Help


Data loss issue with Push Notification Capture service

iOS 17.6.1 / Xcode 16 / Embrace SDK version 6.5.1 (also tried 6.5.0, 6.4.2)
When using the Push Notification Capture service, some data in push notifications is stripped out, causing app routing logic to fail upon tapping a notification. UNUserNotificationCenterDelegate methods + application(_:didReceiveRemoteNotification:fetchCompletionHandler:) are not invoked in AppDelegate with the push notification capture service enabled. Push notifications function normally when the push notification capture service is disabled.
We use an old version of the Branch SDK 0.36.0 to intercept notifications. The Branch handler is invoked, but some data gets nil'd out.
Setup:
      let captureServices = CaptureServiceBuilder()
           .addDefaults()
           .add(.pushNotification(options: .init(captureData: true))) // also tried false
           .build()

        try Embrace
            .setup(
                options: .init(appId: Constants.embraceKey,
                               captureServices: captureServices,
                               crashReporter: EmbraceCrashReporter(),
                               logLevel: .debug))
            .start()

@nlash-livly - thanks for submitting the issue. A member of our team will take a look and get back to you shortly.

Hey @nlash-livly ! We're trying to reproduce this issue.
A few questions:

Which push notification methods are you implementing in your AppDelegate?
Are you using UNUserNotificationCenterDelegate at all in your code? (I've checked Branch SDK v0.36.0's code and they don's seem to use UNUserNotificationCenter).
Can you clarify on the behavior you are seeing? From what I understand the issue is that some methods are not being called but you also mention "data being nil'd out".

Hey @nlash-livly! We made some changes in version 6.5.2 that we believe might fix the issue mentioned. Could you test it to confirm? If it doesn't, could you respond to @NachoEmbrace 's previous post?

Hello @ArielDemarco and @NachoEmbrace! Apologies for the delay.
Version 6.5.2 does not fix our issue.

Push notication methods implemented in AppDelegate:

application(_  UIApplication, didRegisterForRemoteNotificationsWithDeviceToken:)
application(_:didFailToRegisterForRemoteNotificationsWithError:)
application(_:didReceiveRemoteNotification:fetchCompletionHandler:)
-userNotificationCenter(_:willPresent:notification:withCompletionHandler:)

We are using UNUserNotificationCenterDelegate. We set the delegate in application willFinishLaunchingWithOptions.

Behavior: When tapping a push notification with the service enabled, the app opens but does not perform routing.

Upon further investigation, I was mistaken about the data being stripped out of our notification payload.

Our other app works fine with the notification capture service enabled. The difference between the two apps is that in the working app, we implement userNotificationCenter(_:didReceive response:withCompletionHandler:).
Implementing this method on our problem app allows routing to work when the capture service is enabled. I'll change the code for now, but the original code works with v5.x (with the old push notification capture plist setting enabled).

Thanks for the detailed explanation once again!
Will look into this ASAP.

Hey @nlash-livly !
A few more questions:

Are you initializing the Embrace SDK before or after setting the UNUserNotificationCenterDelegate? Is it the same in both cases?
What is the iOS target version of the apps?

Hi @NachoEmbrace,

The Embrace SDK is initialized before setting UNUserNotificationCenterDelegate. Following initialization, we start a span and then set the delegate. It's the same in both apps.
We target iOS 14 in both apps.


Possible bug in script resolution

I am not 100% this is a bug but here's an extremely convoluted demo:
{
  "name": "test-lint-staged-script",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "demo-bin": "node index.js",
    "lint-staged": "lint-staged"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "lint-staged": "^4.2.1"
  },
  "lint-staged": {
    "*.js": "demo-bin hello"
  }
}

I have defined the script entry and am trying to pass additional parameters to it. This is supported if demo-bin was installed through npm. If I try to run lint-staged, this happens:
λ yarn run lint-staged
yarn run v1.0.2
warning ..\package.json: No license field
$ lint-staged
 > Running tasks for *.js
   × demo-bin hello
     → demo-bin could not be found. Try `npm install demo-bin`.
demo-bin could not be found. Try `npm install demo-bin`.
error Command failed with exit code 1.

We split the command into bin and args while using npm-which:
https://github.com/okonet/lint-staged/blob/fd79a318985cdc7d94fa8e2969b0a98817c2b4e1/src/findBin.js#L35-L37
Should we be doing this for packageJson.scripts[cmd] as well?

Yeah, I think so. We should add tests for this as well. Thanks!


Project status

This project is inherited from @vitejs/plugin-vue

Does this mean this project has the same codebase as @vitejs/plugin-vue, but repackaged to be compatible with ESBuild, Rollup and Webpack?
Is there a roadmap to a stable version?

Does this mean this project has the same codebase as @vitejs/plugin-vue, but repackaged to be compatible with ESBuild, Rollup and Webpack?

Yes.

Is there a roadmap to a stable version?

It is now stable enough to be used in a production environment. I updated readme.


Reject invalid SearchBackpressureMode (#6832)

ClusterState updates of SearchBackpressureMode are persisted without validation which causes the entire cluster to become unstable or corrupted when a cluster tries to load invalid mode.

Description
This fixes #6832 that causes cluster state corruption due to a lack of validation of SearchBackpressureMode.
Related Issues
Resolves #6832

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
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

Backwards tests failing.  Will update my YAML tests to run > 2.9.99.

Changelog updated.


[#2970] change file name

Codecov Report

Merging #2982 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2982      +/-   ##
==========================================
- Coverage   37.06%   37.05%   -0.02%
==========================================
  Files        1874     1874
  Lines       63054    63054
  Branches     8775     8775
==========================================
- Hits        23372    23364       -8
- Misses      37257    37264       +7
- Partials     2425     2426       +1

Impacted Files
Coverage Δ

...n/java/com/navercorp/pinpoint/flink/Bootstrap.java
0% <0%> (ø)
:arrow_up:

...corp/pinpoint/flink/config/FlinkConfiguration.java
0% <0%> (ø)
:arrow_up:

...pinpoint/rpc/ChannelWriteFailListenableFuture.java
42.85% <0%> (-28.58%)
:arrow_down:

.../com/navercorp/pinpoint/rpc/packet/PongPacket.java
50% <0%> (-14.29%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
68.67% <0%> (-7.23%)
:arrow_down:

.../profiler/sender/StandbySpanStreamDataStorage.java
72.88% <0%> (-3.39%)
:arrow_down:

...ofiler/sender/StandbySpanStreamDataSendWorker.java
80.59% <0%> (-2.99%)
:arrow_down:

...navercorp/pinpoint/rpc/common/SocketStateCode.java
81.25% <0%> (-2.5%)
:arrow_down:

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
76.13% <0%> (+0.75%)
:arrow_up:

...rp/pinpoint/web/mapper/stat/AgentStatMapperV2.java
68.29% <0%> (+7.31%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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


Search field status

Please refer to Zeplin for the status of search filed, and the hovering status of dropdown

can we use blue as the hovering status for search icon?

- the icon at the left shouldn't be clickable
- ideally, when you expand the search field by clicking the search button at the top right, your cursor will focus on the field so you can start typing without clicking on the field again.

- don't need the lable

@xinyil We can definitely make it so the input is active when shown, change the placeholder text, and add padding?
There are a few minor issues with the spec as is when translating to the web:

There is not a different on inputs betweenwith focusand active - they are the same state
It looks like there is a cursor on the "hover" state. For inputs, the cursor is only visible if the field is "active".
I'm not seeing the hover states for the dropdown menu. Let's add those so we are on the same page

As an aside, the icon is part of the label, which has the action of focusing in on the input. Making it focus on the input seemed like a better option than for it to be non-functional. However, we can disable that functionality too if you would like.

yes they are different states. I looked into this a while ago, and there isn't marjor benefit to visually differentiate the tow, a lot of design treat with focus and active the same.

yes hovering won't activate the form

Sorry  I seemed to use "active" differently! The last "active" row in spec means the search is functioning, but the text field is not active. It's how it looks when you are browsing the result, and text field is out of focus.

I personally find the clickable search icon in front really confusing. When I first notice it's clickable, I don't know what the function is - submitting the form? reset the search? Let hold on this, I'd like to know how others react to this. The rounded background doesn't go with the rest of the site, if keeping it can we use blue as the hovering status for search icon?

@xinyil
You are right that they are technically different states, but for inputs especially. focus typically is only the style you see when you use the TAB button to highlight the input. The active state is when you are typing - by default the browser doesn't even style this state. However, when you are typing the input is also in focus.
Thanks for the clarification on the "Active" state.
I can remove the circle for the icon and make it blue

@kevinglover I'm following up on the search icon in front of the search field, people do confuse by what it does. Let's extend the text field line, and make the icon looks like a part of the search hint, but it won't go away as you type. It shouldn't be clickable.
I update this in Zeplin elements/form.

@xinyil 👌

It's not been fixed or not in the test site

text field is still getting the focus bolded underlune and animation
dropdown menu moved to a position on click
rollover status doesn't match (see first comment)

update after redeploying:

dropdown misposition issues still exist

can't collapse the dropdown menu by clicking the collapse button

instructional text  "search" should be grey

reduce pacing between dropdown items

currently selected category should be blue

display all the search categories all at once, there shouldn't be a scroll

if the mouse moved out of the dropdown, should it collapse? the last hovered item is shown in a different grey now.

add white backgrund across SML please

This seems done? It appears grey on all pages except home.

Text and underline for search bar without focus seems to be gray as desired.  However:

[ ] search bar needs a white background; it is currently transparent; this is problematic when you scroll and particularly bad on the home page (not readable over the dark blue)
[ ] the selected category for what content will be searched should be black and not grey

Search bar background looks good. However, when I select a category for what will be searched, previous selections retain the blue color, so it's possible to make the entire menu blue.

Looks good now.


Include tmpfs in inspect

Other container runtimes include the tmpfs mount points in their inspect
output.  Podman should as well.  It is under hostconfig.
Resolves: #483
Signed-off-by: baude<EMAIL_ADDRESS>

LGTM

@rh-atomic-bot r+

 Image resolution - stage 3

@baude Tagged wrong PR in trello, FYI


Flutter app keeps stopping on initialization on Android using 0.5.0

Building and delivering on Android emulator using VS Code as debugging environment.
When deploying in a debug session on 0.5.0, app will not launch and says that it keeps stopping.
All works fine when using 0.3.0 and no other changes to my flutter app.
Have not tried 0.4.0 yet.

Use it at real device instead of emulator

Thanks. It works when I run it on my device.
Is this a problem with the emulator? Or does it need to be accomodated for somehow in code?
Bluetooth support is only a part of the overall functionality of my app. Debugging and iterative development is more of a hassle when you need to use a real device. For now I can use the older version for development as it basically has feature parity for my purposes. Can switch to the latest version for deployment testing and delivery.

Yeah, it's already come in my mind too. I'll take a look on a few days.


Xcode recommends "Don't Code SIgn" for CODE_SIGN_IDENTITY

this patch is the result of accepting the upgrade suggestion for the
warning when upgrading to Xcode 12.3 .  it seems correct.

ping


in_tail performance is very low with time_format

Describe the bug
in_tail plugin's performance is very low with time_format configured under <parse> tag.
To Reproduce
Configure fluentd to tail logs from docker container log files with json parsing and time_format enabled and then measure the reading per second by configuring "flowcounter_simple" plugin.
Expected behavior
According to fluentd-benchmark, the performance should be much higher than what I am observing.
 Please check the below output.
 I can't reproduce this problem on my Mac environment.
Here is the result:

log

2019-07-19 07:20:29 +0900 [info]: using configuration file: <ROOT>
  <source>
    @type tail
    @id in_tail_container_logs
    path "./time.log"
    tag "test.perf"
    read_from_head true
    <parse>
      @type "json"
      time_format "%Y-%m-%dT%H:%M:%S.%NZ"
      time_type string
    </parse>
  </source>
  <match test.**>
    @type flowcounter_simple
    unit "second"
  </match>
</ROOT>
2019-07-19 07:20:29 +0900 [info]: starting fluentd-1.6.2 pid=39155 ruby="2.6.3"
2019-07-19 07:20:29 +0900 [info]: spawn command to main:  cmdline=["/Users/repeatedly/.rbenv/versions/2.6.3/bin/ruby", "-Eascii-8bit:ascii-8bit", "/Users/repeatedly/dev/fluentd/fluentd/bin/fluentd", "-c", "check_time_perf.conf", "--under-supervisor"]
2019-07-19 07:20:29 +0900 [info]: gem 'fluent-plugin-flowcounter-simple' version '0.0.4'
...[snip]...
2019-07-19 07:20:29 +0900 [info]: adding match pattern="test.**" type="flowcounter_simple"
2019-07-19 07:20:29 +0900 [info]: adding source type="tail"
2019-07-19 07:20:29 +0900 [warn]: #0 'pos_file PATH' parameter is not set to a 'tail' source.
2019-07-19 07:20:29 +0900 [warn]: #0 this parameter is highly recommended to save the position to resume tailing.
2019-07-19 07:20:29 +0900 [info]: #0 starting fluentd worker pid=39172 ppid=39155 worker=0
2019-07-19 07:20:29 +0900 [info]: #0 fluentd worker is now running worker=0
2019-07-19 07:20:33 +0900 [info]: #0 [in_tail_container_logs] following tail of ./time.log
2019-07-19 07:20:34 +0900 [info]: #0 plugin:out_flowcounter_simple      count:9995      indicator:num   unit:second
2019-07-19 07:20:35 +0900 [info]: #0 plugin:out_flowcounter_simple      count:9996      indicator:num   unit:second
2019-07-19 07:20:36 +0900 [info]: #0 plugin:out_flowcounter_simple      count:9996      indicator:num   unit:second
2019-07-19 07:20:37 +0900 [info]: #0 plugin:out_flowcounter_simple      count:9996      indicator:num   unit:second
2019-07-19 07:20:38 +0900 [info]: #0 plugin:out_flowcounter_simple      count:9996      indicator:num   unit:second

gen code

require 'strptime'
require 'oj'

hash = {"num":100,"mesage":"hello","flag":true}
formatter = Strftime.new('%Y-%m-%dT%H:%M:%S.%NZ')

f = open('time.log', (File::WRONLY | File::APPEND | File::CREAT))
f.sync = true
loop {
  t = Time.now
  10000.times {
    hash['time'] = formatter.exec(Time.now)
    puts Oj.dump(hash)
  }
  diff = Time.now - t
  sleep(1.0 - diff)
}
f.close

One possible case is CPU usage. In pricinpal, parsing time string is very heavy task(you can find many articles about it on the Web). For example, above test consumes 10% - 20% cpu on my Mac.

Hi @repeatedly
Thanks for your reply. I did check again and it turned out to be CPU usage problem, which was at 100% during my 10k lines/sec test. Though I was running it in a 4 CPU machine but due to fluentd tail plugin limitation, only one cpu at a time was used. I have few queries regarding this.

Is there any way to improve performance of in_tail in this situation and using the same hardware?
What are the consequences if I don't parse the time while reading the logs? will I loose logs?
I was testing with a 2.3 GHz CPU and it was giving me only ~5k lines/sec throughput, what would be the CPU spec if I need around 20k lines/sec? What is your Mac's configuration?
Is there any difference in terms of performance between running fluentd directly on Mac/Windows vs running it in docker/kubernetes environment?

@repeatedly Could you please take some time to answer the questions?


When copying and filling in the address of the image warehouse installed online, the containerd image warehouse is not automatically supplemented

Describe the Bug
When copying and filling in the address of the image warehouse installed online, the containerd image warehouse is not automatically supplemented
Versions Used
Kubernetes:
Kubeclipper:
Environment
How To Reproduce

Expected behavior
When the address of the image warehouse installed online is copied and filled in, the containerd image warehouse will be automatically supplemented

/label need-verify

has beed fixed
/close

/kind need-to-test
@Mengchenchen @sacredartr
/remove-kind need-verify


PASS production reported a call to the schema service without being passed any repository ids

What?
The problem shows up as two metadata schema service requests without the entityIds parameter. The requests fail and show up as errors in the logs.
I managed to recreate this once by starting a submission, going through to the metadata step, going back to the dashboard, going to submissions, clicking on delete for that draft submission and then clicking on the submission.
But of the three times I tried, the bug only happened once.
Why?
This is a minor bug that should be fixed.
How?
The schema service is only called by setupSchemas in app/components/workflow-metadata/index.js. For some reason it is getting called in this situation.
Acceptance Criteria
The problem doesn't occur when doing the above test.
Related Issues

I have not been able to reproduce following those steps, but It might be worth making the part of the UI that calls the schema service a bit more defensive to not issue the request when it finds no entityIds

@jabrah That makes sense.

I believe this was caused by some odd behavior from Ember: when using the service from the Submission Details page, the arguments passed to the service would be Proxy objects, instead of the expected array of strings. ObjectProxy.toArray() before passing the arg into the service seems to work alright in tests
I've also made it so that no or empty args passed to the service don't make REST requests to the schema-service


Revert manual attempts at enabling osx-arm64

Essentially reverting #2 so we can afterwards try to simply add mcstas-suite to:
https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/migrations/osx_arm64.txt
But keeping 3b843db and bumping build number to be safe.

@conda-forge-admin, rerender


Blank Screen

My app isn't throwing any exceptions, I'm simply calling. Testing on Android x86 Nexus 5 Emulator
return new FutureBuilder(
        future: _presenter.downloadPDF(),
        builder: (BuildContext context, AsyncSnapshot snapshotURL) {
          if (!snapshotURL.hasData) {
            return new Center(
                child: new LoadingIndicator(Constants.msgLoading));
          } else {
            print("PDF path: ${snapshotURL.data}"); //"file://$documentsdirectory/${file.name}/example.pdf"
            return new Center(
                child: new PDFViewerScaffold(
              appBar: AppBar(title: Text(' PDF'), actions: <Widget>[
                IconButton(icon: Icon(Icons.home), onPressed: () {}),
              ]),
              path: '${snapshotURL.data}',
            ));
          }
        });

After upgrading my installation I am receiving errors. It returns FileNotFoundException
I know the file exists because I can see it in Device Explorer and I know I pointing to it correctly because I can open html files stored in the same directory. I have also tried accessing the file directly from the server.


Feature request: custom proxy config for Gitalk to solve 403 error

According to https://github.com/gitalk/gitalk/issues/433, new proxy is needed to solve CORS issue. Current theme version seems not available to config it.
Similar issue in another theme: https://github.com/auroral-ui/hexo-theme-aurora/issues/16

Well, I've found a solution for myself:

Add the following line next to /_config.yml#L131:

proxy: 'https://<your customized proxy url>'

Add the following line next to /_includes/comments-providers/gitalk.html#L23:

{%- assign _proxy = _proxy | slice: 2, _last -%}

And this line next to /_includes/comments-providers/gitalk.html#L33:

proxy: [{{ _proxy }}],

Use the latest version of gitalk at L48 and L59 in /_data/variables.yml

gitalk:
  js<EMAIL_ADDRESS>  css<EMAIL_ADDRESS>
Not perfect but it works now.


Royal-Jayden

My artwork represents a playing card, which has spread around the world, through many different cultures
I created it with the online editor at https://blot.hackclub.com/editor
I created the shapes with some of blots built in tools like nurbs and catmullRom, although I mostly used polylines
I also utilized some loops and some features from blots toolkit to help me create it.
I also decided to make a program that takes a black and white image, usually 480p or less and scales it down to fit in the 125x125 frame. Then it prints out a list of points that can be copy pasted into the editor, which created the letter K on the playing card. I also used that script for other blot projects that i linked here: https://github.com/zFa3/BlotJS/tree/main
I had an awesome time making this project, and I like the concept of teens hacking, thanks!

First time learning javascript, hope its decent

Interesting piece. Definitely recognizable as a card.
Congrats you've earned a Blot, you can order it here.

Thanks so much! This was my first time writing JavaScript, hope to learn
more in the future
On Fri, Jul 12, 2024, 1:50 a.m. leomcelroy @.***> wrote:

Merged #657 https://github.com/hackclub/blot/pull/657 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/blot/pull/657#event-13482208895, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/BER2S5AIU5ZXEAPLUSZLIADZL5VC3AVCNFSM6AAAAABKTLHH2KVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGQ4DEMRQHA4DSNI
.
You are receiving this because you authored the thread.Message ID:
@.***>


[zh]Sync kubeadm-2

related issue:https://github.com/kubernetes/website/issues/33479

[ ] kubeadm-2

17	4	content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubeadm.md
17	4	content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_all.md
17	4	content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_init_phase_upload-config_kubelet.md
26	13	content/en/docs/reference/setup-tools/kubeadm/generated/kubeadm_join_phase_control-plane-prepare_certs.md

"kubeadm_init_phase_upload-config_kubelet.md" has been sync： https://github.com/kubernetes/website/pull/33490

/lgtm
/approve


Add table-transformer like baseline

I verified that the trianings run for a few epochs, but not that they finish and give the same results as before.

Thanks for the help! :-)


Data carried across sessions

When running multiple video coding sessions back to back, the loaded video data load is carried across sessions.  This potentially leads to freezing and stuttering of cometrics in some machines.
Solution

Garbage collect session_manager_ui object when window is closed.

Closed with #21


feat: Control where embedding of Appsmith is allowed

Currently, Appsmith apps can be embedded in frames on other websites, with no restrictions/controls. This PR adds fine controls on this.
By default, embeddind in frames is only allowed on the same domain. That is, if your Appsmith is available at http://mydomain.com, then only pages on http://mydomain.com will be able to embed apps.
To change/customize this, we've introduced APPSMITH_ALLOWED_FRAME_ANCESTORS environment variable. To allow another domain like http://trusted-other.com to also embed apps from your Appsmith, use:
APPSMITH_ALLOWED_FRAME_ANCESTORS="'self' http://trusted-other.com"

Or, to allow all subdomains on mycompany.com, use:
APPSMITH_ALLOWED_FRAME_ANCESTORS="'self' http://*.mycompany.com"

Under the covers, this feature uses a Content-Security-Policy header with frame-ancestors directive. Learn more at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors.

@sharat87 For my understanding, once this PR is merged, existing embedded Appsmith apps will stop working right? If yes, is there a way that we can communicate this clearly to them?

@mohanarpit, yes. We should add this to our release notes, but other than emailing everybody and announcing on Discord, I don't think there's much we can do. Once this is merged, I'll add this to our docs as well so we have a link to share along with these announcements. Does that sound okay?

@sharat87 I'd suggesting adding this to docs earlier (read: right now). This way, we'll have the resolution recorded for users and we can link to that page in our Discord, Release notes, and any other communication. I'm suggesting this because the documentation team will also need to allocate bandwidth to add this change.

@mohanarpit Sure. I was going to do it after it goes to release, and before it goes to master, but this PR being approved is enough reason to believe that it'll be merged anyway. I'll start drafting up a page for this right away. Thanks!

Docs PR at https://github.com/appsmithorg/appsmith-docs/pull/430

Hi Everyone,
Kindly Please help
Refused to frame 'our self deployed domain' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
I am getting the above error
on our self deployed domain
As per your solution, we have to add --> APPSMITH_ALLOWED_FRAME_ANCESTORS="'self' http://trusted-other.com/"
But I got confused where to add this one --> APPSMITH_ALLOWED_FRAME_ANCESTORS="'self' http://trusted-other.com/"
Appsmith apps doesn't have any option to add this one

Hey @lodhi2017294, sorry this wasn't clear. This is an environment variable to be added to the file stacks/configuration/docker.env on the server where your Appsmith instance is running. This stacks folder should be located in the same folder as your docker-compose.yml file.

I'm having this same issue: Refused to frame 'our self deployed domain' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".
But i have set up my app in appsmith cloud and i want to embed the app in my custom domain. But i don't know where i have to indicate that i want to connect to appsmith from my html iframe


Added global redux rejected loading handler.

Changes

New redux middleware for rejected actions

is triggered by rejected action creator
sets loading state to false in redux store
UI no longer "spins" after unsuccessful requests

solves: #181 and #182

Codecov Report

Merging #184 into master will decrease coverage by 0.37%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master     #184      +/-   ##
==========================================
- Coverage    82.4%   82.03%   -0.38%
==========================================
  Files          86       87       +1
  Lines         830      835       +5
  Branches       71       78       +7
==========================================
+ Hits          684      685       +1
- Misses        133      136       +3
- Partials       13       14       +1

Impacted Files
Coverage Δ

src/utilities/store.js
0% <ø> (ø)
:arrow_up:

src/utilities/loading-state-middleware.js
0% <0%> (ø)

src/redux/reducers/approval-reducer.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/share-reducer.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/order-reducer.js
100% <100%> (ø)
:arrow_up:

src/redux/action-types.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/platform-reducer.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/portfolio-reducer.js
100% <100%> (ø)
:arrow_up:

src/redux/reducers/rbac-reducer.js
100% <100%> (ø)
:arrow_up:

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 0685b72...2b6f5e2. Read the comment docs.

@mkanoor can you please test if it fixed problems in #181 and #182? This should cover everything but i would if someone double checked it.

@Hyperkid123 - I still see the infinite spinner - the error occurs in the add notification for the error.

@lgalis can you PM me steps to reproduce? I was testing in with 401 and 5xx errors and it was working for those.

@lg ok the error should be fixed now. There was error key missing in the notifications middleware config.


[BUG] TestKubeOpsCreateDeleteWithCoreResource test fails intermittently on CI

KubeOpsSuite.TestKubeOpsCreateDeleteWithCoreResource should use generateName for the resource to avoid flakes as shown below.
FAIL: kubeops_test.go:248: KubeOpsSuite.TestKubeOpsCreateDeleteWithCoreResource

kubeops_test.go:263:
    c.Assert(err, IsNil, Commentf("Phase %s failed", p.Name()))
... value *errors.StatusError = &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"Status", APIVersion:"v1"}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"services \"test-deployment-2\" already exists", Reason:"AlreadyExists", Details:(*v1.StatusDetails)(0xc000aacd20), Code:409}} ("services \"test-deployment-2\" already exists")
... Phase createDeploy failed

If we are planning to use generateName. How are we supposed to verify the core resources? I was thinking if we can provide custom names to the resources.


Release for DRF 3.7 Compatibility issues

DRF OpenAPI version: 1.0.0
Python version: 3.6+
Operating System: OS X

Description
Please upload a patch on Pypi with #77 included.

So I was previously getting around this by using pip3 install<EMAIL_ADDRESS>hoever, now pip is setfaulting while doing that...

@alantrick  We know that way. But it's not good way.

Hello, I recently requested (and was granted) contributor status to this repository. I've uploaded a new version of drf_openapi on PyPI: https://pypi.python.org/pypi/drf-openapi/1.0.1
I plan on going through and triaging open issues in the next couple of days.
Marking this issue as closed  :smiley:


Wrong string in "level" filter

The labels of the check boxes in the "level" filter are Error, Warning, Updated, None. "Updated" should be "Note".

Fix in "branch".


SAM-3165 - When editing an extended time entry, old row should be dea…

…ctivated/deleted

This fixes up quite a bit of workflow edge cases on how the new extended time UI is presented.
When you click edit on a row it will remove the row and put it into editing.
Clicking update will update with the new information
Clicking cancel will return the previous information
This makes it clearer what was updated. If you Save or Save and Publish it should save what is being currently edited if the group and/or user is not empty this was from a previous change.
There were a few edge cases before where you could delete an entry when it was being edited, and if you saved while you were editing it left you in edit mode.


Duplicate repository with plpgsql?

Maybe it's not a duplicate, but then it would be interesting to explain the difference to PLpgSQL.
Perhaps this repo aims to build a Postgres EXTENSION, wheras PLpgSQL can be imported by a postgres as a FUNCTION (using a non-superuser role / at runtime)?

Good question. The reason there's two is because of older Hashids projects:

https://github.com/array-analytics/plpg_hashids/blob/master/src/all_hashids.sql
https://github.com/iCyberon/pg_hashids/blob/master/hashids.c

Not sure if anyone will take on porting Sqids the same way, but it's important that those two pages on the website link to the original implementation so it can be found easily.


At The Speed of Light x Squid Game vs. MrBeast

Song Name
At The Speed of Light x Squid Game vs. MrBeast
Artist Name
Dimrain47 & Freshy Kanal
Source
Direct file download
Youtube Link
No response
Direct File Link
https://www.mediafire.com/file/pfnlugfvqd4zrvk/bloodbath_vs_mrbeast.mp3
Song ID
467339
Extra
Used in the level "Bloodbath" - 10565740

mediafile links are not supported. I suggest uploading to YouTube or using an existing video from YouTube.


Improve preview of school specific description in activity editor

tested against ids => [6, 10, 24, 31, 35, 42, 43, 44, 45, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 67, 68, 78, 79, 80, 83, 84, 85, 86, 87, 91, 94, 95, 96, 97, 98, 99, 100, 102, 112, 113, 116, 117, 118, 119, 136, 137, 138, 147]

https://user-images.githubusercontent.com/25906/191706541-0b7d5e30-197d-475a-b62f-5afb8e95affe.mov


Provision failed with SPServiceApplication Managed Metadata Service Application in non-enUS

Details of the scenario you try and problem that is occurring:
Provision failed with SPServiceApplication Managed Metadata Service Application in non-enUS.
The propertie TypeName does't work because it returns french name instead of "Managed Metadata Service"
Add GetType().FullName in FilterScript parameter for Where-Object Function:
        $serviceApp = $serviceApps | Where-Object -FilterScript {
            $_.TypeName -eq "Managed Metadata Service" -or `
            $_.GetType().FullName -eq "Microsoft.SharePoint.Taxonomy.MetadataWebServiceApplication"
        }

The DSC configuration that is using the resource:
SPManagedMetaDataServiceApp APPLICATION_SpsSvcAppManagedMetadataServiceApp
{
            DependsOn            = '[SPServiceAppPool]APPLICATION_SpsSvcAppMainServiceAppPool','[SPServiceInstance]APPLICATION_SpsSvcAppManagedMetadataServiceInstance'
            PsDscRunAsCredential = $InstallAccount
            Name                 = "***"
            ProxyName            = "***"
            ApplicationPool      = "***"
            DatabaseServer       = "***"
            DatabaseName         = "***"
        }

Version of the Operating System and PowerShell the DSC Target Node is running:

PowerShell Version: 5.0.10586.117
OS Version : Windows 2012 R2 + French Language Pack

Version of the DSC module you're using: SharePointDSC <IP_ADDRESS>

Fix suggested in PR #418

We will have this issue in most of our service apps I would think. I'll review your fix and the other resources tomorrow to confirm.

Yes I confirm, what do you prefer:
One PR by Service Apps
Or One PR for All Service Apps

One for All of them would be easier to review and manage

Fix suggested in PR #421

I forgot a few resrouces with the typeName property.
Fix suggested in PR #433

@BrianFarnhill The two mentioned PR's are merged, so this issue can be closed.


[FEATURE] Configurable kernel parameters in node containers

Scope of your request
k3d is awesome! I have a need to modify namespaced kernel parameters (e.g. kernel.sem) in the k3s cluster node containers that k3d creates. These parameters can't be modified from inside a running container so they must be specified at the time it's created.
Describe the solution you'd like
"docker run" provides a --sysctl option that provides this functionality when creating containers manually. It would be nice to have a k3d configuration option which allows modifications to kernel parameters to be specified and that can pass this information to the node container creation when creating the cluster.

Hi @ehaymore , thanks for opening this issue!
Out of curiosity, can you tell a bit more about your use case that requires you to modify kernel parameters?

Sure - I'm running a distributed application with a lot of complex interacting pieces and it's pretty demanding in its use of shared memory and semaphores. (I don't have any ability to try to reduce those needs.) When run with the standard kernel defaults for those parameters in CentOS 7, which is what the k3s node containers get, the app crashes and burns because it reaches those limits. The pods within k3s inherit the parameter values of the environment they're run in, so if I can get them set properly in the node containers, I'll be OK.
I know there's some ability in Kubernetes to modify kernel parameters for pods using a securityContext which could have been an option, but because I have to run my pods with hostIPC within each k3s node (but not across nodes), I'm not allowed to change the parameters via Kubernetes - they have to be already set within the node container.


Error loading project zip from bucket starting with S (incorrect use of lstrip)

Parsing project_zip_path incorrectly performed using string.lstrip which probably doesn't behave intuitively.
remote_bucket, remote_file = project_zip_path.replace('s3://','',1).split('/', 1)
Existing method:
"s3://mypath/myfile.zip".lstrip('s3://').split('/', 1)
['mypath', 'myfile.zip']
// ok because bucket doesn't start with s
"s3://somepath/somefile.zip".lstrip('s3://').split('/', 1)
['omepath', 'somefile.zip']
^ missing s
Fixed method:
"s3://mypath/myfile.zip".replace('s3://','',1).split('/', 1)
['mypath', 'myfile.zip']
// ok
"s3://somepath/somefile.zip".replace('s3://','',1).split('/', 1)
['somepath', 'somefile.zip']
^ correct even though bucket starts with s
Expected Behavior
Allow any bucket name, including starting with 's'
Actual Behavior
Buckets starting with letter s have s stripped, resulting in failure to load zip from S3.
Possible Fix
See above, fix handler.load_remote_project_zip() (and any other invalid usage of lstrip).
Steps to Reproduce

Use a s3_bucket starting with letter 's' in zappa_settings.json and set slim_handler=true
Deploy and tail logs to see that project zip is not found and path has starting s character stripped.

Your Environment

zappa==0.41.3
Python 2.7

Already resolevd... I was working off old version due to confusion between virtual environments.


Remove character restrictions

This is a quick WIP to check for XSS / other problems.

@matmair did you perhaps branch off an older commit here?

@SchrodingersGat I made a new PR #3370


Error while compling Examples

I am getting the following error when trying to compile the examples
/Users/ankit/Documents/Arduino/fauxmoESP_Basic/fauxmoESP_Basic.ino: In function 'void setup()':
fauxmoESP_Basic:133:6: error: no matching function for call to 'fauxmoESP::onSetState(setup()::__lambda0)'
});
^
/Users/ankit/Documents/Arduino/fauxmoESP_Basic/fauxmoESP_Basic.ino:133:6: note: candidate is:
In file included from /Users/ankit/Documents/Arduino/fauxmoESP_Basic/fauxmoESP_Basic.ino:7:0:
/Users/ankit/Documents/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:98:14: note: void fauxmoESP::onSetState(TSetStateCallback)
void onSetState(TSetStateCallback fn) { _setCallback = fn; }
^
/Users/ankit/Documents/Arduino/libraries/FauxmoESP/src/fauxmoESP.h:98:14: note:   no known conversion for argument 1 from 'setup()::__lambda0' to 'TSetStateCallback {aka std::function<void(unsigned char, const char*, bool, unsigned char)>}'
exit status 1
no matching function for call to 'fauxmoESP::onSetState(setup()::__lambda0)'

This should be fine now. This was a result of changes for RGB Colour in Master branch which have been reverted. (I wasn't really happy with the way I implemented it and will revisit that soon)


Summing two integers - how?

Hi,
first, thanx a lot for excellent plugin!
Now the trouble: I'm trying very easy thing: tu sum two integer fields. But when one (or both) custom fields (integer type) are blank, there is an ruby/app error. So there should be some kind of condition to sum field only when both custom fields are not blank. It will something very simple, but trouble is I'm complete Ruby lama. Plz can you help?
I'm using something like this:
%{cf_1} + %{cf_2}
but it should be more like s'this:
if %{cf_1}.??? and if %{cf_2}.??? <- if both defined (number, not blank)
%{cf_1} + %{cf_2}
else
0 or blank / not defined
end

Hi. Try this:
'%{cf_4}'.to_i + '%{cf_5}'.to_i

Cha, it worked, thanx! :) (now I'm going to learn Ruby, really!)

:+1:


[Fabric Sync] Follow ups on data-model-no-unique-id example application

After https://github.com/project-chip/connectedhomeip/pull/35195 merged we need to address two issues:

When zap codegen generates examples/lighting-app-data-mode-no-unique-id/lighting-common/lighting-app.matter it adds the mandatory UniqueId even though it is removed from .zap file
Need to fix scripts/tools/zap/update_cluster_revisions.py to not update the ZAP file or this app, in a separate PR. from this comment

@jlatusek For some reason I cannot assign the issue to you

@tehampson
Unfortunately I will not be able to finish this task. I've changed project that I'm working on.


Error referencing 'FUTURENET' and 'SANDBOX' in SorobanClient.Networks

Describe the bug
I'm working on documentation for a project that uses soroban-client and I've encountered a problem with references to FUTURENET and SANDBOX in SorobanClient.Networks. When trying to reference these networks I get the following errors:
Property 'FUTURENET' does not exist on type 'typeof Networks'
Property 'SANDBOX' does not exist on type 'typeof Networks'
I've searched the documentation and repository but haven't found any mention of FUTURENET or SANDBOX that can help me solve this problem.
Have these constants been replaced or removed in a recent version? If so, what are the alternatives I should use instead? I would appreciate any help to resolve this issue.
What version are you on?
"0.8.0"
To Reproduce
Steps to reproduce the behavior:
This occurs even after successfully installing all the dependencies specified in the package.json of the packages and the root directory of the project.
Expected behavior
not having the error and successful reference
Additional context
"My dev environment includes Node.js v16.18.0, npm v8.19.2, on a MacOS Ventura. I'm using VSC as text editor."

It comes from an underlying dependency (stellar-base@soroban), defined here: types/index.d.ts.
There was a bug in the 0.8.0 version of this package that used the wrong version of this dependency when starting a fresh project. Is this reference still missing in v0.8.1?

Perfect!. Thanks.
Now working without a problem with the v0.8.1 update.


Compared to Microsoft's official PROPVARIANT structure, the Win32 library's PROPVARIANT class lacks union content. How should I call blob related?

Fixed in v5.5.0.


Add bot-base/scan-tool-bot

It seems to be offline?

@KnorpelSenf It works for me. Can you check again? Is the bot not responding at all?

It has been working for me, too.

Checked again, now it is working. Previously, it did not respond at all.