Update glium to 0.25.0

Mostly this seems to have been a new version of glutin.
Manually testing shows this working on all examples on macOS. (I have no reason to believe it wouldn't also work on other platforms).

Thanks! :smile:


'Could not find the secret with provided UUID'  response

Sometimes when I click the 'Get secret value' button it shows me 'Could not find the secret with provided UUID'. But Sometimes works fine

Is it okay of you refresh the same link and get back the secret? or the secret also gets lost?

When I refresh the same link (once or more) I can see the secret when I press the 'Get secret value' button

Interesting. Let me check.

Added sleep and gunicorn with a single worker, it seems to be fixed.


extension commands fail with :  command 'vscode-couchbase.createClusterConnection' not found

Describe the bug
extension commands fail with :
command 'vscode-couchbase.createClusterConnection' not found
command 'vscode-couchbase.refreshConnection' not found
Steps to reproduce
Install the extension, click on +
What did you expect to see?
A clear and concise description of what you expected to see.
What did you see instead?
A clear and concise description of what you saw instead.
What version did you use?
VSCode Version:
Extension Version:
Additional context
Add any other context about the problem here.

Maybe remove the UI widgets until they are working.

Hi @mikereiche - these commands do work as long as you have a local binding file that CB Node SDK can use to to work with lcb. The VSCE package does include a amd64 binding file and we're working on improving that for all platforms / node versions.

Thanks.   What is nice to do for known issues is create an issue for it and then close it if there is a solution.   Then when someone hits that issue they will find it when searching for it.


wysiwyg editor?

Any chance of a wysiwyg editor? I have implemented one using tinymce and this binding handler.
https://github.com/michaelpapworth/tinymce-knockout-binding

Are you talking about this?
http://surveyjs.org/builder/
https://github.com/andrewtelnov/surveyjs.editor
Thank you,
Andrew

No, like a comment but accepts html.
I managed to implement it duplicating the 'comment' files and changing the binding handler from "value" to wysiwyg. but it would be nice to have one in the master branch.

I am afraid, I missed something.
Should I look closely at: https://github.com/michaelpapworth/tinymce-knockout-binding
or do you have a surveyjs branch that may look at?

Looks like I am not authorised to create a branch..

https://github.com/andrewtelnov/surveyjs/tree/knockout-binding

I will accept all your pull requests to this branch.

Sorry, I am not too familiar working with github, am I doing anything wrong, or is it a permissions issue for the project
$ git push origin origin/knockout-binding
Username for 'https://github.com': fredle
Password for<EMAIL_ADDRESS>remote: Permission to andrewtelnov/surveyjs.git denied to fredle.
fatal: unable to access 'https://github.com/andrewtelnov/surveyjs.git/': The requested URL returned error: 403

No problem.
You may fork my repo. You will have the full copy of my repo under your account. You may modify the new repo as you wish.
The idea, that you modify the "knockout-binding" branch.
You may commit from your repo to my (original) repo by doing pull requests. As I told, I will accept all your pull requests to the knockout-binding branch as soon as I see a request. It will synchronize the branch in two repos (my and yours).
Thank you,
Andrew

I have accepted the request. Now you should convince me to include it into the master branch :-)
I do not see any harm to have this.
I will move the code to the knockout version only: https://github.com/andrewtelnov/surveyjs/tree/master/src/knockout. So reactjs doesn't have this code.
Do you have any example, so I understand what it is? :-)
Thank you,
Andrew

A simple editor: https://www.froala.com/
https://github.com/helpbase/vue-froala
https://github.com/froala/vue-froala-wysiwyg

@xibman Here is the example of implementing editor by using custom widgets: https://surveyjs.io/Examples/Library/?id=custom-widget-ckeditor
Thank you,
Andrew


"Update my Email" button does not do anything

Describe your problem and - if possible - how to reproduce it
Enter valid and matching email and press "Update my Email"
Add a Link to the page with the problem
https://www.freecodecamp.org/settings/update-email
Tell us about your browser and operating system
Google Chrome
67.0.3396.99
Windows 7
If possible, add a screenshot here

Bug repeatable. I'll see what I can solve this weekend.

@LBWright any progress?

@thecodingaviator I think I made the PR months ago.

@LBWright What is the PR # you created for this issue?

@RandellDawson I see only one PR #17100 made by @LBWright over on this repo

I am able to change my e-mail from my Settings page. How do you get to that settings/update-email page?


Randomize/shuffle childred

Hey, in the live demo there is a button to randomize children. How is that implemented? Can you please let me know?

I just checked the demo/src, thanks!!


Add Gaius_sama as Polkadot Delegate

Adding Gaius_sama (me) as Polkadot Delegate.

Extrinsic ID: https://polkadot.subscan.io/extrinsic/16901315-2

Hello @Gunit2481 ,
Thank you for request!
Sorry for the delay, there is how it will looks like int the app:

Screens

I've made a little changes to improve your formating

Hi @stepanLav.
Thanks for correcting my markdown, it looks good to me.
You can continue!


Trying debug flaky test

What does this PR do?
One of test seems to be flaky. See for example this CI run:
https://github.com/Lightning-AI/torchmetrics/actions/runs/10037067157/job/27736179139?pr=2636#step:16:839
Trying to debug why this is happening

Before submitting

[ ] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?
Make sure you had fun coding 🙃

📚 Documentation preview 📚: https://torchmetrics--2650.org.readthedocs.build/en/2650/

seems like added retry helped but it would still be worse to know what is happening there...

@borda should be good now, found that the issue had to do with how torch.unique deals with multidim tensors


Determining new parent for nested lists

For a nested list, is there a way to determine in the dragEnd action which "sub-list" the item has been dropped into? (e.g. a class name, id etc)
In my scenario, I am sorting ember data records that can belong to each other (i.e. a nested, 'tree' structure). When I drag one nested record "into" another (making the dragged record a child of the second record), I need to update the parent attribute in ember-data. My question is, how do you pass some id of the second record (the new parent) to the dragEnd action?
Is this even possible?

Hey, @andrewsyd!
Thank you for trying out ember-drag-sort and sharing your use case.
I've replied to your question on StackOverflow, please have a look: https://stackoverflow.com/q/47266348/901944
I've updated the support policy for this project: support requests should be performed via StackOverflow and the ember-drag-sort tag.
I'm closing this issue, assuming it's resolved. We can still continue the discussion in the closed issue.
If you try my suggestions report your problem is still unresolved, I'll reopen it.
Good luck and don't hesitate to ask any other questions.

Thanks so much for your detailed response, Andrey. I am the original poster and had already posted the same question here

@andrewsyd, I missed it because the ember-drag-sort tag didn't exist on SO and I wasn't subscribed.
You should make effort to gain some initial rep on SO, so that you can upvote and comment fully. It's not that hard. While you can't, let's continue the discussion here. I didn't mean to make it harder for you.

Now I'm more confused than before, ha! Not quite sure where 'isParent' came from.

Initially you said: "I need to update the parent attribute". So I just renamed parent to isParent to make a distinction from the parent relationship.

All I am attempting to do is the following:
Move one object from List A (representing the parent record) to any of lists B, C or D.
When it is dragged into List B, I need to somehow identify which list it actually is, so I can tell ember data that the record now belongs to List B. As far as I can tell, by default, dragEnd has no idea which list the "target list"/receiving list actually is.
Think of it like dragging one file from one folder to another folder. When moving the file to another folder, you are saying that the file now belongs to that new folder. How can I tell which "folder" is the new one?
Does this make more sense?

It looks like you're confusing terms. By "parent attribute" do you actually mean "parent relationship"? And by "which list the target list actually is" you mean which record the target list belongs to?
As I mentioned in my SO answer, Ember Data performs automatic relationship bookkeeping. To enable it, you need to define inverse relationships:
export default Model.extend({
  parent: belongsTo('item', {inverse: 'children', async: false}),
  children: hasMany('item', {inverse: 'parent',   async: false}),
})

Now, a standard dragEnd action is sufficient:
  actions : {
    dragEnd ({sourceList, sourceIndex, targetList, targetIndex}) {
      if (sourceList === targetList && sourceIndex === targetIndex) return

      const draggedItem = sourceList.objectAt(sourceIndex)

      sourceList.removeAt(sourceIndex)
      targetList.insertAt(targetIndex, draggedItem)
    },
  },

In this action, the sourceList is the oldParent.children relationship, and targetList is the newParent.children relationship. By doing sourceList.objectAt(sourceIndex) you obtain the dragged record.
When you manipulate the children relationship, Ember Data automatically updates the other end of the relationship, so you don't need to update the parent relationship manually.
Here's a demo: https://ember-twiddle.com/f1c737d3bc106cb9cca071fd01fe334f?openFiles=controllers.application.js%2C
If this still doesn't resolve your issue, I have to insist that you create your own demo of the issue via Ember Twiddle. You can start off my twiddle by forking my gist, copying the hash from the URL of the new gist and inserting it into the Ember Twiddle URL.

I see what's happened now, so for the record...
I was first sorting the child items in my component with:
  ...

  childrenSorting: ['rowOrder'],
  sortedChildren: Ember.computed.sort(
    'item.children',
    'childrenSorting'),

  ...

... and passing sortedChildren instead of item.children to the drag-sort-list component as items. Once I get rid of that (probably flawed) sorting method and just pass in item.children, the parent relationship updates by itself. This not working for me the way I had it is why I thought I had to manually update the relationship.
So the issue for me to figure out now is really how to properly display the items in order of their rowOrder attribute in the first place, which of course is an entirely different question :)
And yes, I did mean 'parent relationship' before.
(Thanks again @lolmaus for your help, your advice - and your patience! Much appreciated.)

All right, I think I understand your problem now.
The easiest way to pass the parent record into the drag end function is to make it a property on the array:
export default Model.extend({
  rowOrder: attr('number'),
  parent: belongsTo('item', {inverse: 'children', async: false}),
  children: hasMany('item', {inverse: 'parent',   async: false}),

  childrenSortOrder: ['rowOrder:asc'],
  childrenSorted: Ember.computed.sort('children', 'childrenSortOrder'),

  childrenSortedBound: Ember.computed('childrenSorted.[]', function () {
    const children = this.get('childrenSorted').slice() // Making a shallow copy of the array, because CPs should never have side effects
    children.__parent__ = this
    return children
  })
})

This indeed feels hacky, but the approach is legit.
Now you need to pass the childrenSortedBound array into the drag-sort-list component, but in the dragEnd action you need to manipulate the original children list. You can access it like this:
      targetList
        .__parent__
        .get('children')
      	.addObject(draggedItem)

The whole dragEnd action can look like this:
{
  actions : {
    dragEnd ({sourceList, sourceIndex, targetList, targetIndex}) {
      if (sourceList === targetList && sourceIndex === targetIndex) return

      const draggedItem = sourceList.objectAt(sourceIndex)

      // Updating rowOrder of items in source list
      sourceList
        .slice(sourceIndex + 1)
      	.forEach(item => {
          const rowOrder = item.get('rowOrder')
          item.set('rowOrder', rowOrder - 1)
        })

      // Updating rowOrder of items in target list
      targetList
        .slice(targetIndex)
      	.forEach(item => {
          const rowOrder = item.get('rowOrder')
          item.set('rowOrder', rowOrder + 1)
        })

      // Updating rowOrder of dragged item
      draggedItem.set('rowOrder', targetIndex)

      // Moving dragged item into the target list
      // We can't do it directly because the list is a derived one,
      // so we need to access the original list using a hack from the model
      targetList
        .__parent__
        .get('children')
      	.addObject(draggedItem)

      // Note, that we don't need to remove the item from the source list.
      // Ember Data does this automatically because our relationship is
      // two-way.
    },
  },
}

Demo: https://ember-twiddle.com/0a52fd0d8e8a81cdca008023f5798cdf?numColumns=2&openFiles=controllers.application.js%2Ccontrollers.application.js
I hope this resolves your use case.
PS We've spend a lot of time figuring out what you actually need. This short guide will help you save a lot of time time (both yours and maintainer's) when asking questions: The XY Problem. Also, please be careful and precise with terms: the attribute vs relationship confusion lead me in a totally different direction, making me spend time on two demos unrelated to your problem.
PPS Please create a new StackOverflow question where you ask the final version of your question. Make effort for the question to be correct and explicit, don't just copy what you already said. I will repost my answer there. Everyone will benefit from it: you and I will get a few SO rep points, and the ember-drag-sort SO tag will receive a new use case study.
PPPS I've noticed that nested list behavior is wonky: sometimes the placeholder jumps to and fro while you hold the pointer still. If you experience that, please open an issue.

PPPS I've noticed that nested list behavior is wonky: sometimes the placeholder jumps to and fro while you hold the pointer still. If you experience that, please open an issue.

I've just fixed this in ea15cbe7b1dbb15414c9c456acae417d4a53f767, released as v1.1.1.

Sorry @lolmaus, will do. New to this! This works for me now, thanks again for your help.

@rwwagner90 has implemented the additional arguments feature that lets you achieve this in a much simpler and more straightforward way.


[IBCDPE-292] Add function for drafting Cavatica tasks

Just a note on terminology, in Cavatica parlance, apps are workflow definitions and tasks are workflow runs. These are organized into projects, which are similar to Tower workspaces or Synapse projects. Each task is first drafted with some inputs and then launched. These Cavatica tasks (or workflow runs) are distinct from the Prefect tasks (i.e. the functions that power nodes in a DAG) that are being used in this prototype.
I also want to acknowledge the CHOP team for sharing the Python script (private link) they use for creating Cavatica tasks with their RNA-seq workflow. It was super helpful to get started.
Now, onto the actual work.

The main challenge I found with this work is that the code for preparing the inputs for a specific app (e.g. the Kids First DRC RNAseq Workflow) needs to be uncoupled from the code that creates the draft tasks. In our case, we will likely be generating these inputs from a manifest data frame.
Another challenge is that Cavatica tasks always output files in the root of the project. Given that this will result in tons of files getting dumped in the project root, CHOP started prefixing the output files with the task ID. Unfortunately, this task ID is created after you draft the task, which is typically done after providing some inputs. I addressed this with a callback function, which can do anything with the task object, including updating the output basename with the task ID. That said, as I was writing this, I realized that a task could be drafted without any inputs and then passed to the function that prepares the inputs. I will have to check if this approach works, which would obviate the need for a callback function.
Something else to keep in mind is that the inputs cannot be fully prepared separately from the task creation. This limitation is due to the fact that file inputs need to be specified as File objects in Python, not just strings with file IDs. Unfortunately, all entity objects in the SevenBridges Python client include a reference to the active API connection, which cannot be pickled since it contains a thread pool. As a result, Prefect is unable to pickle an inputs dictionary with these File objects. All that being said, we could explore a way of using plain file ID strings and "upgrade" them to File objects immediately before submission, but I'm unsure whether this would be worth the extra work (at least for this prototype).

[x] Look into getting rid of the callback function

Agree with all 3.  I think we can start adding tests in another testing PR.  I can see the more generic code needing to be tested.

I tried eliminating the callback function, but that introduces another complication. In the spirit of keeping this a prototype, I'll skip on this.
With regards to tests, I consider the demo.py to act as an integration test for the functions that I've written so far. I haven't written unit tests because I expected the current code organization would likely change during the transition from a prototype to a long-term solution.
I did flesh out the function documentation.


Use SimpleTreeLayout

Hello,
I try to use Tree Layout but i get a NullRefernceError. The other layouts like circular work.
Area.GenerateGraph(true, true);
This is were i get the Error.
Thanks :)

This error is still happening :(


Tokio comparison

I think having such comparison would be very helpful for people new to Rust trying to understand async ecosystem mess. Why would I want to use async-std over tokio? How can I answer this question?
https://www.reddit.com/r/rust/comments/l1rnn6/is_asyncstd_a_second_class_citizen/

And what might be even more important - is the project dead?

Anyway, this is probably more of an answer than you were expecting.

This kind of answer is great. Thank you very much for that. It gives context, an actual insight and allows for a proper interpretation of project/repository statistics, otherwise hard to evaluate.

@yoshuawuyts Great answer. Thank you!


Web-app-v3-Issue-12-1

Things got fixed in this PR

Add Place holder text ( USFM)
Avoid page scroll bar
Message on bottom with error message
Mobile View
BCS Logo

Not a vite app closing the PR
Raised a new pr #11
Liju to review and merge to dev and continue work on it from his files


Intellisense stuck on loading after trying to index absolute import

VSCode Version:

Version: 1.46.1
Commit: cd9ea6488829f560dc949a8b2fb789f3cdc05f5d
Date: 2020-06-17T21:17:14.222Z (5 days ago)
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.5.0

OS Version: OSX 10.15.5 (19F101)

Steps to Reproduce:

My js config:

{
    "compilerOptions": {
        "baseUrl": "./src"
    },
    "include": [
        "src"
    ]
}

Bootstrapped with Create react app. Try to import {} from "app/..." goes loading. Afterwards intellisense won't work for 1-2 minutes until it starts working again in the code.

Does this issue occur when all extensions are disabled?: Yes
Same thing goes on, if i try to index some files from the import. intellisense stays on loading on the code for 1-2 mins. Its pretty annoying when I need to code fast so sometimes when it loads i moved back to vim :(
Can anyone help please?

Can you share the project that causes this?

Sorry its a private repo from my company...
 Although it happens even when I disabled extensions so I doubt that the eslint is having effect..
module.exports = {
    env: {
        browser: true,
        es6: true,
        node: true
    },
    parser: "babel-eslint",
    extends: [
        "plugin:react/recommended",
        "airbnb",
        "prettier",
        "prettier/react",
        "plugin:prettier/recommended"
    ],
    globals: {
        Atomics: "readonly",
        SharedArrayBuffer: "readonly"
    },
    parserOptions: {
        ecmaFeatures: {
            jsx: true
        },
        ecmaVersion: 2018,
        sourceType: "module"
    },
    plugins: ["react", "jsx-a11y", "import", "prettier"],
    rules: {
        "prettier/prettier": "error",
        "react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
        "no-console": "off",
        "no-use-before-define": "off",
        "react/destructuring-assignment": "off",
        "react/jsx-props-no-spreading": "off",
        "react/no-danger": "off",
        "react/require-default-props": "off",
        "react/default-props-match-prop-types": "off",
        "react/no-unused-prop-types": "off",
        "import/prefer-default-export": "off",
    },
    settings: {
      'import/resolver': {
        'node': {
          paths: ['src']
        }
      }
    }
};

Can you create a minimal project that demonstrates the problem?

Hmm its pretty hard to reproduce. I just created a copy project stripping out all of the core files and it works just fine.. but in a big projects it stucks at depth 1-2 of app/components/...loading then it goes loading
But if I stripped all of the core files (which has 5-6 main folders) it actually works just fine. But on the other hand it also works fine on sublime and vim. So i'm not really sure how to reproduce it

Hey I think this is the same problem with #53541.. I am still having it after coming back right now :/


[SPARK-34482][SS] Correct the active SparkSession for StreamExecution.logicalPlan

What changes were proposed in this pull request?

Set the active SparkSession to sparkSessionForStream and diable AQE & CBO before initializing the StreamExecution.logicalPlan.
Why are the changes needed?

The active session should be sparkSessionForStream. Otherwise, settings like
https://github.com/apache/spark/blob/6b34745cb9b294c91cd126c2ea44c039ee83cb84/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala#L332-L335
wouldn't take effect if callers access them from the active SQLConf, e.g., the rule of InsertAdaptiveSparkPlan. Besides, unlike InsertAdaptiveSparkPlan (which skips streaming plan), CostBasedJoinReorder seems to have the chance to take effect theoretically.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Tested manually. Before the fix, InsertAdaptiveSparkPlan would try to apply AQE on the plan(wouldn't take effect though). After this fix, the rule returns directly.

cc @viirya @xuanyuanking @HeartSaVioR Please take a look, thanks!

Test build #135306 has started for PR 31600 at commit 52a6999.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39886/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39886/

Just wondering, does anyone know the reason the code uses both sparkSession and sparkSessionForStream? Are there any known conditions when we should still use sparkSession and when we should use sparkSessionForStream instead?

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39886/

Test build #135306 has finished for PR 31600 at commit 52a6999.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135306/

Just wondering, does anyone know the reason the code uses both sparkSession and sparkSessionForStream? Are there any known conditions when we should still use sparkSession and when we should use sparkSessionForStream instead?

That's a good question. After taking another look, IIUC, I think sparkSessionForStream  is used for  runActivatedStream() only and sparkSession is used for everything  out of runActivatedStream().  Thus, I think the better fix should be:
sparkSessionForStream.withActive {
 ...
 runActivatedStream(sparkSessionForStream)
 ...
}

What do you guys think?

Given we assume that the code might have a bug, it may not be safe if we try to answer the question based on current code. Probably we'd need to try to ask and figure about the "historical" information what sparkSessionForStream is for, and why sparkSession should be co-used even after cloning the session.
cc. @mukulmurthy @zsxwing @jose-torres who authored/reviewed SPARK-26586. also @tdas who is likely having context.

I don't remember why we didn't set the active session to sparkSessionForStream. Probably just overlook when we introduced the cloned session for streaming queries.
@Ngone51 could you add a unit test for this?

@Ngone51 could you add a unit test for this?

Yeah, I'm trying...

Hi all, I realized that the issue actually only affect the StreamExecution.logicalPlan. (I have added the test for it).
While for the runActivatedStream(sparkSessionForStream), the active session has been correctly set to sparkSessionForStream.
I have updated the PR, so please take another look.

Test build #135472 has started for PR 31600 at commit ddbeca7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40052/

Test build #135472 has finished for PR 31600 at commit ddbeca7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135472/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40052/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40052/

Looks reasonable to me. I'll merge it within a few days if there is no objection.

retest this please

Test build #135587 has started for PR 31600 at commit ddbeca7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40168/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40168/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40168/

Test build #135587 has finished for PR 31600 at commit ddbeca7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135587/

thanks, merging to master/3.1!

Thank you so much, @Ngone51 and all!

thanks all!


Github API call return headers

In the return headers from git hub api there is some information that is useful.

x-ratelimit-limit
x-ratelimit-remaining
x-ratelimit-reset
x-ratelimit-used

These should be made available to a front end component for display

Hi, I was wanting to work on the UI for this, but I was confused on how to find the information of the return headers. When I console logged the values that are returned from the API call, I just saw the response data, which is what's already being used to display the profiles. Perhaps do I need to set up the Github API with an access token to be able to see it?

This is using fetch for the API call. Here is an example: https://developer.mozilla.org/en-US/docs/Web/API/Response/headers
You don't need a token for this as all http requests should have request and response headers.

Okay, thanks! I'll try working with that and see what I can build.

@EnterOrion Should I unassign this? Just checking in.

No problem, you can go ahead and unassign it.


[FEATURE]

Is your feature request related to a problem? Please describe.
no, it's merely a feature request
What I am looking for is more flexibility on how we use the modules and the plugin itself.

Being able to disable some of the core features, like team homes or balance.
Being able to specify in which worlds does the plugin work (this is especially important for me)
A form of score system for better competition (maybe hooks for plugins like goldenchallenges or quest plugins for better point collecting?)
A chat hook for VentureChat so that we are able to generate a specific channels for it, which we may spy without the help of BetterTeams; allowing the developers/server owners to collect all things chat in one place. (not much of a priority, but would  be really nice to have)

Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.
(im yet to figure out why the feature request template looks like a bug report)

What I am looking for is more flexibility on how we use the modules and the plugin itself.

Being able to disable some of the core features, like team homes or balance.

You can do this with a permissions: https://github.com/booksaw/BetterTeams/wiki/Permissions
If the feature shows in /team info, you can disable that message to ''. For example:
info.name: ''
This will stop it from showing up when you run /team info

Being able to specify in which worlds does the plugin work (this is especially important for me)

Why do you want this? Have you looked into plugins like 'PerWorldPlugin'

A form of score system for better competition (maybe hooks for plugins like goldenchallenges or quest plugins for better point collecting?)

This can often be done by setting the other plugin to run the command /teama score add <player> to add score to a players team
If the plugin you are interested in does not have support to run commands, make a feature request specifically for that plugin, including exactly what you want the integration to do along with a link to the plugin spigot page.

A chat hook for VentureChat so that we are able to generate a specific channels for it, which we may spy without the help of BetterTeams; allowing the developers/server owners to collect all things chat in one place. (not much of a priority, but would  be really nice to have)

How is this different from /teama chatspy (im not familiar with VentureChat)

Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.
(im yet to figure out why the feature request template looks like a bug report)
The feature request template does not look like the bug report one. They are similar but have different questions.

No reply has been received within 17 days. I am closing the issue.
Feel free to open another issue to address the comments made in this one.


adding in dependency check plugin

This adds the depenency check plugin which reports on dependency vulns

This plugin is reporting one false positive.

This plugin is reporting one false positive.

False positives can be suppressed if necessary: https://jeremylong.github.io/DependencyCheck/general/suppression.html

cp: cannot stat './acceptance-tests/build/reports//': No such file or directory

The reason for build failing is because analyzeDependencies task is raising warning hence no tests are ran/generated and a later step in CircleCI fails.

Should be able to configure failOnError to false: https://jeremylong.github.io/DependencyCheck/dependency-check-gradle/configuration.html
Happy to have a look when I get a chance


docker-entrypoint.sh didn't copy the config file

In docker-entrypoint.sh there is line that place the config file before the MagicMirror starts
if [ ! "$(ls -A /opt/magic_mirror/config)" ]; then
    cp /opt/magic_mirror/mm-docker-config.js /opt/magic_mirror/config/config.js
fi

But when the docker image is built config.js didn't appear. Therefore I guess the docker-entrypoint.sh didn't work as intended.

docker-entrypoint.sh is executed when the container is started not when the image is built.

@Legion2 maybe I am wrong
But the problem here is, the script end up didn't copy the mm-docker-config.js to /opt/magic_mirror/config because the checking condition always return false

I think it checks if there are files in the config directory by using ls

Exactly! But MagicMirror repository) already created the folder, therefore this checking will always return false (because ls -A /opt/magic_mirror/config returns true because when you clone MagicMirror, the config folder would be created)

ls -A /opt/magic_mirror/config returns an empty string because the directory is empty, it does not return a boolean, there are no boolean types in sh/bash. [ ! "" ] returns the exit code 0 which means a true value and the conditional expression is executed.

Yes
May I highlight several things

MagicMirror repository by default have a file config.js.sample sits inside the config folder (started 4 months ago). Therefore the statement would not return empty string and eventually it would not execute the cp command.
MagicMirror would not start if config.js doesn't exist. I would suggest if the script check existence of the file config.js

MagicMirror repository by default have a file config.js.sample sits inside the config folder (started 4 months ago). Therefore the statement would not return empty string and eventually it would not execute the cp command.

Ok I didn't know that. This breaks the check you can open a pr and propose a different method to check. But I don't know if it will be merged soon (see #48).

MagicMirror repository by default have a file config.js.sample sits inside the config folder (started 4 months ago). Therefore the statement would not return empty string and eventually it would not execute the cp command.

yes, but if you start the container with
docker run  -d \
    --publish 80:8080 \
    --restart always \
    --volume ~/magic_mirror/config:/opt/magic_mirror/config \
    --volume ~/magic_mirror/modules:/opt/magic_mirror/modules \
    --volume /etc/localtime:/etc/localtime:ro \
    --name magic_mirror \
    bastilimbach/docker-magicmirror

this will map ~/magic_mirror/config:/opt/magic_mirror/config and everything inside the container in /opt/magic_mirror/config is replaced with the files from the host directory. If you start with an emtpy host dir, the directory inside the container is also empty (config.js.sample is removed in this case) and the copy is executed.
But if you have any file in your host-dir, the copy will not run. It would be better to check if config.js exists.

Also in docker-entrypoint.sh](https://github.com/bastilimbach/docker-MagicMirror/blob/master/docker-entrypoint.sh) have other two checks, I am not sure if it would be better if it check the existence of the file rather than the emptiness of the folder.

No.
The first check copies the default-modules if the mapped directory from the host is empty, that's o.k.
The last check use a config.js.template to create a config.js (only if config.js.template exists), so here is already checked on a file.

@khassel Yeah you are right 🤔 I didn't start docker in that way. I just copied the dockerfile into my environment start the docker.
But I still wonder why the script docker-entrypoint.sh is needed if it map the file in the docker argument?

The docker run ... statement maps volumes from the host into the container. After this mapping docker-entrypoint.sh is executed and this script tries to correct some special cases.

It makes no sense to start without default-modules (if host-dir empty)
It makes no sense to start without config.js (if not exists in host-dir)

It makes no sense to start without default-modules (if host-dir empty)
It makes no sense to start without config.js (if not exists in host-dir)

Thanks
However the checking is still invalid because the config folder exist in the original repository (it is for the special case)


Cleanup and refactor public API in gosnappi SDK

How to consume this branch ?
go get github.com/open-traffic-generator/snappi/gosnappi@refactor-go-sdk

Who all are impacted by these changes ?

ONDATRA
FeatureProfiles
OTG implementations using gosnappi

https://github.com/open-traffic-generator/ixia-c-gnmi-server
keng-controller
lemming / magna ?

Community tests hosted under OTG organization

What are the changes ?

GosnappiApi interface is now renamed to Api interface.

Maybe used in function signatures

Breaks backward compatibility
Before:
type GosnappiApi interface {
   api
   // SetConfig sets configuration resources on the traffic generator.
   SetConfig(config Config) (Warning, error)
  // GetConfig description is TBD
   GetConfig() (Config, error)
   ...

After:
type Api interface {
   api
   // SetConfig sets configuration resources on the traffic generator.
   SetConfig(config Config) (Warning, error)
   // GetConfig description is TBD
   GetConfig() (Config, error)
   ...

All public methods for creation of structs are now removed from GosnappiApi interface

Those public methods are only accessible on package level

Breaks backward compatibility
Before:
  // the following way of creating structs were possible
  api := gosnappi.NewApi()
  config := api.NewConfig()
  ...

After:
   config := gosnappi.NewConfig()
   ...

FromError() method is now exposed on package level instead of api level

Breaks backward compatibility

Before:
 api := gosnappi.NewApi()
 config := api.NewConfig()
 ....
 err := ...
 _, err = api.FromError(err)

After:
 config := gosnappi.NewConfig()
 ....
 err := ...
 _, err = gosnappi.FromError(err)

Warnings() method is now private

Might be exposed later again, in a slightly different form, if use cases arise
Breaks backward compatibility

Before:
// earlier warnings was exposed at api level
api := gosnappi.NewApi()
...
fmt.Println(api.Warnings())

After:
// NA

There are helper methods defined on each struct which have been reorganized or hidden

All marshalling/unmarshalling helpers are now moved behind two methods Marhsal() and Unmarshal()

Breaks backward compatibility

Before:
api := gosnappi.NewApi()
config := api.NewConfig()
...
str, err := config.ToJson()
str, err = config.ToYaml()
str, err =config.ToPbText()
pr, err = config.ToProto()
err = config.FromJson(str)
err = config.FromYaml(str)
err = config.FromPbText(str)
conf, err = config.FromProto(pr)

After:
 config := gosnappi.NewConfig()
 ...
 str, err := config.Marhsal().ToJson()
 str, err = config.Marhsal().ToYaml()
 str, err = config.Marhsal().ToPbText()
 pr, err = config.Marhsal().ToProto()
 err = config.Unmarhsal().FromJson(str)
 err = config.Unmarhsal().FromYaml(str)
 err = config.Unmarhsal().FromPbText(str)
 conf, err = config.Unmarhsal().FromProto(pr)

Msg(), SetMsg() and Validate() are now private

Breaks backward compatibility

Before:
 api := gosnappi.NewApi()
 config := api.NewConfig()
 ...
 msg = config.Msg()
 config.setMsg(msg)

After:
   config := gosnappi.NewConfig()
   ...
   msg, err = config.Marshal().ToProto()
   conf, err = config.Unmarshal().FromProto(msg)

Clone() and String() will remain as is
 config := gosnappi.NewConfig()
 ...
 fmt.Println(config.String())
 conf, err := config.Clone()
 ...

Choice setter SetChoice() was leading to “two ways of doing the same thing” and hence has been made private

In gosnappi, choice is supposed to be implicitly set based on the choice property set by the user

Breaks backward compatibility
Before:
 api := gosnappi.NewApi()
 config := api.NewConfig()
 port1 := config.Ports().Add()
 f1 := config.Flows().Add().SetName("f1")
 txRx := f1.TxRx()
 // explicit call for set choice allowed although not needed
 txRx.SetChoice(gosnappi.FlowTxRxChoice.PORT)
 // when we call port it sets the choice to port if not already set, thats why setchoice need not be called explicitly
 txRx.Port().SetTxName(port1.Name())

After:
 config := gosnappi.NewConfig()
 port1 := config.Ports().Add()
 f1 := config.Flows().Add().SetName("f1")
 f1.TxRx().Port().SetTxName(port1.Name())
 // txRx.SetChoice not allowed

Can you fix your description above to replace "Unmarhsal" with "Unmarshal"?

I would ideally rename marshalConfig -> configMarshaller, etc.
Can be addressed after the merge.
type config struct {
	validation
	obj            *otg.Config
	marshaller     marshalConfig
	unMarshaller   unMarshalConfig


small edits and added a new TSS example for TW Hya

This latest commit should address all your comments, @Rplesha!


[v3] enhance the search interaction experience

Description
These changes represent my opinion. Feel free to close the PR if they are not fit.
Changes:

Keep focus on the search input when highlighting results via keyboard interaction, if the desired result is not found by navigating with the arrow keys in the combobox options, there’s no need to refocus the input field to type again (similar to GitHub).
Show corresponding results when the search input is refocused.

https://github.com/user-attachments/assets/c9f2c7b0-f50b-4187-8e1d-b6a1b5807069

wow, Thanks for the heads-up! I'll close this pull request for now and take some time to review PRs #3037 and #3186.


Converge ES6 module imports for browser and Node.js

With Node.js now supporting ES modules Bacon should be imported in the same fashion on both platforms the browser and Node.js. This allows to use Bacon in "isomorphic" (i.e. running on Node.js and the browser) source files.
The aim is to support import * as Bacon from 'baconjs' regardless if running in Node.js or the browser.
Using relative path import specifiers it is already possible to target dist/Bacon.mjs but that approach is not so flexible as using bare import specifiers.
Currently:
Node.js
// using bare specifiers
require('baconjs')  ---------┐
                             ├-> package.json["main"] -> dist/Bacon.js (ES5)
import Bacon from 'baconjs' -┘

ES6 Browser (all, except IE)
<script type="importmap-shim">
{
	"imports": { "baconjs": "../node_modules/baconjs/dist/Bacon.mjs" }
}                                                            ↑
</script>                                                    |
<script type="module-shim">                                  |
import * as Bacon from 'baconjs'  ---------------------------┘

Proposed change to package.json
"module": "./dist/Bacon.mjs", // <-- helps rollup
"exports": {
	"import": "./dist/Bacon.mjs",	// <-- helps isomorphic JS code
	"require": "./dist/Bacon.js"
},

ES6 browsers and Node.js
import * as Bacon from 'baconjs'  ---(Node.js)-→ package.json["exports"]["import"]
                           |                                                |
                        (Rollup)                                            |
                           ↓                                                ↓
                       package.json["module"]    ---------->          dist/Bacon.mjs

If agreeable I'd assemble a small PR with a smoke test?

Sure, go ahead!


Error: input.fsx (1,1)-(1,1) typecheck error The module/namespace 'System.IO' from compilation unit 'System.Runtime' did not contain the namespace, module or type 'FileInfo'

Describe the bug
Please provide as much information as you can.
Ever since I updated my project to .net6.0, dotnet-interactive no longer runs my code. Instead I get the following error when running a cell:
Error: input.fsx (1,1)-(1,1) typecheck error The module/namespace 'System.IO' from compilation unit 'System.Runtime' did not contain the namespace, module or type 'FileInfo'

Obviously, System.IO does define FileInfo. Of note, if i comment out the last line, the error disappears.
Also, this code works fine in FSharp Interactive.
How should I go about debugging / getting to the bottom of this? Thanks for any help.
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
$ dotnet interactive --version
1.0.255902+b0afbdc47dec91e62b0c5cb587a0f2c24242eca8

OS

[ ] Windows 11
[ ] Windows 10
[ ] macOS
[x] Linux (Please specify distro): debian
[ ] iOS
[ ] Android

Browser

[ ] Chrome
[ ] Edge
[ ] Firefox
[ ] Safari

Frontend

[ ] Jupyter Notebook
[ ] Jupyter Lab
[ ] nteract
[x] Visual Studio Code
[x] Visual Studio Code Insiders
[ ] Other (please specify)

Can you paste the version that VS Code reports when you run #!about?  Both in VS Code and VS Code - Insiders.

VS Code
Version: 1.0.255902+b0afbdc47dec91e62b0c5cb587a0f2c24242eca8
VS Code Insiders
Version: 1.0.256801+86af10f211eed3508fa5c9c957cf3fa5ddf5cfe9


Debuff Priority

How is the debuff priority decided? From what I can tell it's just cycling through the spells where debuff=true in the class file.  As an example these spells get loaded as debuff on my shaman:

It looks like it's ending up alphabetical, and then casting in that order.   Is there a way to make malo -> slow the priority?

the alpha order looks like i just got lucky and wrote the spells out in that order in the big table of spells.
if you look in debuff.lua, castDebuffs has a order it looks for available debuff spells:

dispel
debuff aoe
debuff
slow aoe
slow
snare

Ok, this is something that I would update myself in debuff.lua for specific fights/classes.  Is there any override possible in a class.lua file?

its ugly but you can drag/drop reorder them by type at least. each also corresponds to an option each class with debuffs should have like USESLOW, USESLOWAOE, USEDEBUFF, USEDEBUFFAOE, USESNARE, DISPEL

Nice this is perfect ty


Conditionally render delete modals

Towards RHOAIENG-12117
Description
Update usage of delete modals to render them only when they would be shown rather than having them be rendered but hidden.
How Has This Been Tested?
Run thru the UI and check that delete modals are shown only when they should be shown.

From the Data science Projects page.

use a kebab menu for a project and select Delete project
verify the delete modal is shown

From a project details page

select the Workbenches tab
use a kebab menu for a project and select Delete workbench
verify the delete modal is shown

From a project details page

select the Pipelines tab
use the top level kebab menu for a pipeline version and select Delete pipeline server
verify the delete modal is shown

From a project details page

select the Pipelines tab
expand a pipeline that has pipeline versions
use a kebab menu for a pipeline version and select Delete pipeline version
verify the delete modal is shown

From a project details page

select the Pipelines tab
expand a pipeline that has pipeline versions
and select a pipeline version
from the pipeline version page, use the actions menu and select Delete pipeline version
verify the delete modal is shown

From a project details page

select the Pipelines tab
expand a pipeline that has pipeline versions
select a pipeline run
from the pipeline run page, use thee actions menu and select Delete pipeline version
verify the delete modal is shown

From a project details page

select the Pipelines tab
for a that has no pipeline versions, use a kebab menu for the pipeline and select Delete pipeline
verify the delete modal is shown

From a project details page

select the Models tab
from a models server in the list, use the kebab menu and select 'Delete model server'
verify the delete modal is shown.

From a project details page

select the Models tab
expand the deployed models of a model server
from the deployed models list,  use the kebab menu and select 'Delete'
verify the delete modal is shown.

From a project details page

select the Cluster storage tab
from a connection in the list, use the kebab menu and select 'Delete storage'
verify the delete modal is shown.

From a project details page

select the Connections tab
from a connection in the list, use the kebab menu and select 'Delete'
verify the delete modal is shown.

From a project details page

select the Data connections tab
from a data connection in the list, use the kebab menu and select 'Delete data connection'
verify the delete modal is shown.

From a project details page

select the Permissions tab
from a user in the list, use the kebab menu and select 'Delete'
verify the delete modal is shown.

From a project details page

select the Permissions tab
from a group in the list, use the kebab menu and select 'Delete'
verify the delete modal is shown.

Test Impact
Current tests already test the delete modals.
Request review criteria:
Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

/lgtm
/approve


feat(engine): Update analysis responses to include liquid setup information

As an Opentrons client application, I would like to receive information from the robot (in the analysis results) about the liquid setup at the start of a protocol run.
This work support #8909 and #8833
Acceptance Criteria

[ ] Liquid setup is built into the protocol translation layer
[ ] Engine can consume and store load liquid/liquid setup commands (to be able to report back in analysis results)
[ ] Liquid setup representation in JSON schema v6 is finalized and agreed upon
[ ] Consensus on serialization support

Implementation notes

Add LoadLiquid (and LoadLiquidParams, etc.) command interfaces to ProtocolEngine

Params: check JSONv6 schema
Implementation can be no-op

loadLiquid commands in JSONv6 protocols should be properly translated to engine command

Note: in the engine, params.liquidId should be optional

Not in scope

At this time, we do not need to track liquids in ProtocolEngine state

Instead, the UI will do this based on commands
In the future, adding reactions to the ProtocolEngine state store to LoadLiquid + liquid handling commands will allow us to add backend liquid tracking as needed

moved to Jira


is anyone getting `check_version_conflict': can't activate json-1.8.2, already activated json-1.8.3 (Gem::LoadError)

New Issue Checklist
Issue Description
All my lanes suddenly stopped working last friday. I'm getting the check_version_conflict err. Is anyone else also seeing this issue? Here's a typical lane:
Complete output when running fastlane, including the stack trace and command used
/usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2275:in `check_version_conflict': can't activate json-1.8.2, already activated json-1.8.3 (Gem::LoadError)
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:1404:in `activate'
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:89:in `block in require'
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:88:in `each'
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:88:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/gym-1.6.3/lib/gym.rb:1:in `<top (required)>'
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /usr/local/lib/fastlane_lib/bundle/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:68:in `require'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/actions/gym.rb:54:in `available_options'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/configuration_helper.rb:4:in `parse'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:188:in `block (2 levels) in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:182:in `block in execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:181:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:181:in `execute_action'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:107:in `trigger_action_by_name'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/fast_file.rb:140:in `method_missing'
	from Fastfile:81:in `block (2 levels) in parsing_binding'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/lane.rb:33:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/lane.rb:33:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:50:in `block in execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:46:in `chdir'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/runner.rb:46:in `execute'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/command_line_handler.rb:30:in `handle'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/commands_generator.rb:48:in `block (2 levels) in run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.46.2/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/commands_generator.rb:236:in `run'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/commands_generator.rb:18:in `start'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/lib/fastlane/cli_tools_distributor.rb:47:in `take_off'
	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.94.1/bin/fastlane:5:in `<top (required)>'
	from /usr/local/lib/fastlane_lib/bundle/bin/fastlane:22:in `load'
	from /usr/local/lib/fastlane_lib/bundle/bin/fastlane:22:in `<main>'

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
lane :test_lane do
        update_info_plist(
            plist_path:'XXX/Info.plist',
            app_identifier:"com.xxx.XXX"
        )

        badge()
        sigh(adhoc: true)
        ENV["PROFILE_UDID"] = lane_context[SharedValues::SIGH_UDID] # use the UDID of the newly created provisioning profile
        gym(scheme: "Mist", use_legacy_build_api: true) # Build your app - more options available
        crashlytics(notifications: true, api_token: ENV["CRASHLYTICS_API_TOKEN"], build_secret: ENV["CRASHLYTICS_API_SECRET"], debug: true, emails:["xxx<EMAIL_ADDRESS>        # sh "your_script.sh"
        # You can also use other beta testing services here
    end

Environment
fastlane version (run fastlane -v):
fastlane 1.94.1
Do you use bundler to execute fastlane (i.e. bundle exec fastlane)? No
Do you use a Ruby environment manager (e.g. chruby, rbenv, rvm)? No

Do you have a Gemfile? If so, can you run bundle update? If not, can you run gem cleanup  and gem update fastlane?

That works! Thanks


Consider phpstan.neon to be a default project config

This makes the phpstan file maker automatically check for and use a phpstan.neon file in the current working directory as a phpstan configuration file if one exists. This is still considered a file maker because it is still intended to only analyze the PHP file you are editing, not the entire project.
I also went ahead and added an optional global config value for the strictness level.

You can use neomake#utils#FindGlobFile to look up the config file from the current buffer/dir.

This is great. Fantastic to see PHPStan support improving!

@codeinabox thanks for the encouragement. That gave me the needed motivation to work on this again.

Here is some information I found out about how you can put the level inside a config file:
https://github.com/phpstan/phpstan/issues/432
I am about to attempt to get the level to be honored from a config file. I will post back here what I find out. From the comments in that link it sounds like we might not need to pass the level option at all.

I can't get the developer's suggestions to work. What is more the way the neon file works seems way overly complicated as a way to specify the level. I think it is better to let neomake provide the level as the code is here, and then only use the neon file for other things.

Let's go with this then.
Thanks!


[HOLD for payment 2023-01-19] [$250] Web - Chat - Additional lines appear when pasting as plain text message with links

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to https://staging.new.expensify.com/ and login
Open any chat
Copy any message with links and paste it as plain text to the chat

Expected Result:
Message should be pasted without any additional lines appearing
Actual Result:
Message is pasted with additional lines appearing. Looks like only Web issue as Android, iOS and mWeb do not have "past as plain text" option
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/202210854-d83fd989-09e3-43a5-bca8-51615c5c556e.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013410363a72ffb4cd
Upwork Job ID:<PHONE_NUMBER>767808512
Last Price Increase: 2022-12-20

Job posting: https://www.upwork.com/jobs/~01e9a396b1713a3765

Hello. I am Kelly Owoju. I see that you have an issue with your project. Issue concerning pasting plain text with links, but having a new line being added, I believe I got the issue correctly..?
One thing I need to understand is the practical aspect of this issue, I have tried replicating it on my end by following the link you posted... But I couldn't quite figure out the issue. Please I propose that you send me a message on upwork and tell me more about this issue, I believe I can be of help when I understand the issue more.

Now I have checked to reproduce the issue here on my end.
And I know exactly why that is happening, and I can tell you what to do to make that experience go away.
I see what you posted on the job description on upwork, the fix will not be needing a new code base of some sort, the fix is nothing related to coding.
I have prepared some resources for you in line with the fix. Send me a chat please.

Proposal
Root Cause
This issue can only be found in Windows OS. It's related to a different line end of line character across platforms.
Windows - Lines end with both a  followed by a  character
Linux  - Lines end with only a  character
Macintosh (Mac OSX) - Lines end with only a  character
Macintosh (old) - Lines end with only a  character
If the user access from the window and the API server is Linux, then it can cause unexpected result.
Solution
For this case, it's better to use \n as the universal end of the line for all operating systems.
diff --git a/src/components/Composer/index.js b/src/components/Composer/index.js
index 6ae3ae6cbe..3c997dfd27 100755
--- a/src/components/Composer/index.js
+++ b/src/components/Composer/index.js
@@ -328,7 +328,7 @@ class Composer extends React.Component {
             return;
         }

-        const plainText = event.clipboardData.getData('text/plain');
+        const plainText = event.clipboardData.getData('text/plain').replace(/\r\n|\r|\n/g, "\n");
         this.paste(Str.htmlDecode(plainText));
     }

Result
OS: Windows 10
1st Attempt: Use Expensify's Copy to Clipboard menu
2nd Attempt: Use Ctrl+C
https://user-images.githubusercontent.com/11847279/202388847-a882a4b8-b89d-420a-8edf-0a57ac6dffd5.mp4

@rushatgabhane In Composer ExpensiMark used for HTML paste, not plain text
handlePastedHTML(html) {
        const parser = new ExpensiMark();
        this.paste(parser.htmlToMarkdown(html));
    }

Did you mean we should also use ExpensiMark for this plain text?

@tylerkaraszewski just to confirm, should I be closing the upwork job?

@NicMendonca I believe yes. We will come back and pay any contributors on these issues if their proposed solutions end up being used.

OK, closed the job for now!

Doing this after sequence numbers.

I have to finish my sequenceNumbers bug before this.

@mvtglobally Can you please see if this is still reproducible? I see a comment from a few weeks ago that it was not, but there hasn't been an update since then.

I can replicate this in Chrome on Mac.

@tgolen I added external by reflex here, but lmk if you wanted to pick it up.

Yep, it's over 4 weeks old already, so should stay internal as it's preventing us from hitting WAQ (discussed here yesterday).

I was able to reproduce it! Then I started to work on a fix and I could no longer reproduce it either locally or on staging 😡 It's a little frustrating, but I'll keep at it.

Likes like @sobitneupane has found out has to consistently reproduce in the linked PR! You have something up for review in any case, so that's a great start and next step.

Tim is now OOO til Wed 28 Dec, so we should expect this to go overdue and remain that way til he's back :)

I think this is a good candidate to try and get someone to step in while Tim is OOO. We're super close to getting on top of WAQ – only 5 issues away at the moment – so I don't really want to let off the gas right now if we can move this forward over the coming business days. What about seeing if we can get any volunteers in the linked Slack thread?

OK, @sobitneupane found a regression in my fix which is unfortunate. There are two ways to copy text to the clipboard:

From the popup context-menu of the comment
Highlighting the text and pressing CTRL+c

It seems that the extra newlines are only added with 2, so stripping the extra newlines when pasting will break 1.
I need to dig into the code more to understand what all is happening before I can come up with a better solution

OK, the best solution I can come up with is to add extra newlines when copying a comment from the context-menu.
I know that's not SUPER ideal, because if you paste it outside of NewDot, it'll have the extra newlines. However, that's consistent behavior with highlighting the text and pressing CTRL+c, so I think it's acceptable.
I'm going to move forward with that unless anyone has any objections.

Thanks for jumping back in now that you're back and getting this moving! Sounds like a plan, can't think of any concerns.

We're still running into a few consistency issues (on messages that contain links vs. having no links) so I am going to do a little bit deeper of investigation to see why links would be causing issues.

We are close! PR is approved and just waiting for merge
On Mon, Jan 9, 2023 at 10:28 AM melvin-bot[bot] @.***>
wrote:

@tgolen https://github.com/tgolen, @sobitneupane
https://github.com/sobitneupane, @laurenreidexpensify
https://github.com/laurenreidexpensify Uh oh! This issue is overdue by
2 days. Don't forget to update your issues!
—
Reply to this email directly, view it on GitHub
https://github.com/Expensify/App/issues/12769#issuecomment-1376078737,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJMAB6D4UGKVZ5SCI4PDALWRRKEJANCNFSM6AAAAAASCJ4NHI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@sobitneupane What are your thoughts with this one? Do you think it was a regression, or just something that's always been broken and this was really just making the behavior consistent everywhere? I really don't know that I would be able to find a specific regression which lead to this.

I think it was a regression. I will dive in and try to find the culprit if it's a regression.

@sobitneupane can you accept job in Upwork? Thanks!

@laurenreidexpensify Accepted the offer. Since it is internal PR, payment amount should be $1000.

Paid correct amount @sobitneupane ✔
@tgolen @sobitneupane  I am closing this one now, if you think there is still a path to finding the regression please reopen for follow up. Thanks


Camera orientation problem with sampledPositionProperty and trackedEntity

What happened?
When we have an Entity with a SampledPositionProperty set as trackedEntity, and change the position by a large distance (ie. > 0.01 degree lon or lat) the orientation of the camera changes during the repositioning.
Reported in the forums https://community.cesium.com/t/camera-position-problem-with-sampledpositionproperty-and-trackedentity/36360
From my own reproduction
Screencast from 11-07-2024 12:45:46 PM.webm
Reproduction steps

...
Sandcastle example
https://sandcastle.cesium.com/index.html#c=pVdbU+M2FP4rmrysMzVKAuxuGy5TCuwsLcxSYPuUF2GfEBVZykhyQrqT/96jix3bCVt2CsOMfSR95zvfuchkShpLFhyWoMkJkbAk52B4WdC/vC2Z9DL/fq6kZVyCnvRS8m0iCeFyqn5TL2MyZcJA6kwGBGSWK3klc54xq3RrdcZytTRjYnVZWVQp8jPJC2ahtq/7RxMZfjNPD1l9EvxpZg1S9L4nva/3l3eT3ji8EiKYHZPDQzp8Pzz4OPyQRquSY7I32j+gw4+Hhx9Gv0Q7E7h7tD+Mr2aej0kpc5higHk0Wv28bZwrw11840qlc6YtPjF5QKdaFRfwpAFM0vLZ5OW89j3YGgP1cU5L6TUjMyZzAX/A6kItZQILkLZfxReE4DLTUKAddRjS4eiIDAbkLP+7xDVmUCfIIY+hgyXfnCypUyF1IZN1yHDUkjoJPQOvwZLbbEaCW/oMq9q1d88MkHfLd+ONKepIfjoho6EncuXYuY1o5rbMgTyucA1F5Na0Dz7ixuejLr7Zhb9X41/A/8Q/01otv867XlAkF0Utrnd2oxZApNJ29mZkl7Zd2Hs7sY0qfwD7GqZ2CxtrZjf2Eox9M/Sdq4Zd2Ls1wQz8Bza2DCuxw9q7NNhSS49z+cItmSpNlJ3h2MFii+lbV9UYyr3qNizb77ebr3Bf61ga/UilU+nV6HA/lNLOalotOZT6GWGrZwSunyte0eDa2DNfcokDjrI8v3RddM2NBZyYyTuMMHfFkbZ7PMw516ncfOLauLZ2M7A9FlzRW7hROYik1AIxwPGO/RlGN0V3SAkMxXRhls6ESPqxt39QyxDTjqG5NV0DD/8SNA+eDCvmAvLbjcPGrXLfXrzVag7arpIA0DlKsUaWTOeXL1azucLUoPFhNYdNEFtL9POX64tW5DNgOZdPmzM3zM6oVXdoZtIko4P3TfpzPwdxvjZsWgnRMc3mnfvyc3Bz647f4f4k+k0DYupBmo6U5pg11k7Kg0ZKGHZh6KwD+GeJZaAlbk/qAnQ02nn2hbBCwG5hYFUmsQEkK/C2dbXUvdU6CYjrDabj5ktcLlxpjjfdVWo+xhua0kHI9gWzbOA3mUEI80IrCc1n+iQe8cOiQig4fhKUxS1/AXHP/wF3Wf+8WWUvbvU+YwJX9of4U3ViuFmDylEArI/sGfLLSpcgkN/h/sJY2ljXrc+O+lSzCSc99w3kLvJ2o6LCYaRU8iWBQrpBik0b8Kf1N832pVztwZVGI8UTtEpYnHR8SpI4Qdq3duhHi42+qbDfS4FljzkBKtUy6TcGd1QsEyp7pv7YAy9cs/lnZ5fw+oGs1BplfOVIl9XUsY17t5mhlPeAG3OTvOYjJcO02X+b00m/ybHWvlbNo/vKTGoWaVPpNt/NbPafshF6TbCcYVvttgqvkT/qHkPvbxGjFf/ou/G/UYHo+JX417EhDNgridNnwUSyVebIxLUg2a52j9NLe8fGrgScVpR+5cUcv6zcBEpwSlhAJsjbDB5LbFWsGmOqDB4PmkePc74gPD/Z8U8JyQQzBlempfAzY9I7PR7g/q2jQvm5+mUBWrCV2zYbnV4HI34YHA/wdfdJq5R4ZLqD/C8
Environment
Browser:
CesiumJS Version:
Operating System:

@lukemckinstry I think there is a chance this is fixed in https://github.com/CesiumGS/cesium/pull/12194. Could be worth trying to reproduce in that branch.

I can still reproduce the issue in that branch.

Thanks for trying!

Hi @lukemckinstry. Have you tried setting entity.trackingReferenceFrame to TrackingReferenceFrame.INERTIAL ?

@lukemckinstry I've tried your sandcastle in my branch and setting entity.trackingReferenceFrame to TrackingReferenceFrame.INERTIAL, and it behaves correctly!
What you're  experiencing I guess in this issue is a threshold effect with the auto-detect tracking algorithm: low altitude / low speed objects are tracked into their ENU reference frame, while high speed / high altitude objects are tracked in their VVLH frame. If you decrease the increment in handleKeyDown to 0.01 (which is equivalent to decreasing the entity's velocity) you see the orientation issue disappear...
My PR aims at solving this kind of issue by adding different kind of tracking reference...

@jfayot thanks for following up. You are correct, https://github.com/CesiumGS/cesium/pull/12194 fixes this issue! :+1:


Use the VSCode icon for tasks.json

There is also a settings.json, but I didn't add that because the name might be a little too generic, leading to files using the icon incorrectly... Perhaps it could check that these files (launch.json, tasks.json, settings.json) are within a .vscode folder somehow?

@Gama11 we have no access to our siblings or parents in the scope where we inject the code. Anyway, the extension will have to migrate to the official API as Microsoft is thinking of removing the possibility of injecting code anymore by using checksums [sic].

Hm, I can see where they're coming from. The user experience of needing to start with admin rights for each update of the extension isn't great. :) Besides, there might be extension that aren't careful about it and mess up the VSCode install..


GPU support

Greetings! This is Jason Li @ LSU HPC. I have been helping my previous research group (and now our HPC users) to set up newer version of Octopus. We have been pushing the containerized software packages, and was able to pull and use your latest containerized Octopus 14.0. Thank you very much for providing!
I have one question and one suggestion regarding GPU support.
[Question]
Do you have any plan to add CUDA support to your containers? I was able to do it myself, based on NVidia CUDA container (12.4 development Ubuntu 22.04) and your installation scripts in this repo (modified, of course). The downside is that Ubuntu 22.04 does not support libspglib-f08-dev yet, hence no cmake . Also I am using Singularity and have not tested Dockerfile yet.
Anyways, I wonder if you have any plan to officially support GPU in your container? If so, that would be greatly appreciated! I can branch this repo and add my recipe, if that helps.
[Suggestion]
I noticed Octopus automatically sets DisableAccel to "no" if Octopus is built with CUDA, even if the default value is set to "yes". However, from my understanding, using GPUs is not always beneficial. I think the best practice is to always disable GPUs, regardless whether it is built with CUDA, unless user explicitly indicates to use GPUs in input file. It will also make it easier for us user support to deploy the package, especially considering users have different levels of experience with GPUs.
Thank you very much!

Thanks @jasonleekungfu . Container-based GPU support is currently not a high priority but definitely interesting to learn about and keep open as an option in the future. If you could share your working container recipe (through a pull request, or just in this issue), this could be useful if and when we get to it, or for others reading this.

[Suggestion]

I noticed Octopus automatically sets DisableAccel to "no" if Octopus is built with CUDA, even if the
default value is set to "yes". However, from my understanding, using GPUs is not always beneficial.
I think the best practice is to always disable GPUs, regardless whether it is built with CUDA, unless
user explicitly indicates to use GPUs in input file. It will also make it easier for us user support to
deploy the package, especially considering users have different levels of experience with GPUs.

Regarding this observation, this is the wrong repository. Could you post this an an issue in the Octopus source code repository (at https://gitlab.com/octopus-code/octopus/-/issues)?
Thank very much for the input and feedback.

Thanks @jasonleekungfu . Container-based GPU support is currently not a high priority but definitely interesting to learn about and keep open as an option in the future. If you could share your working container recipe (through a pull request, or just in this issue), this could be useful if and when we get to it, or for others reading this.

Thank you! I will adapt to a Dockerfile and update it.

[Suggestion]

I noticed Octopus automatically sets DisableAccel to "no" if Octopus is built with CUDA, even if the
default value is set to "yes". However, from my understanding, using GPUs is not always beneficial.
I think the best practice is to always disable GPUs, regardless whether it is built with CUDA, unless
user explicitly indicates to use GPUs in input file. It will also make it easier for us user support to
deploy the package, especially considering users have different levels of experience with GPUs.

Regarding this observation, this is the wrong repository. Could you post this an an issue in the Octopus source code repository (at https://gitlab.com/octopus-code/octopus/-/issues)?
Thank very much for the input and feedback.

Will do. Sorry I did not know they were separated repos.

Hi Hans, I have created a pull request with my recipes and notable changes for your references. I also included a Singularity recipe in case you are interested.


docker feedback

(saw your post on discord, grats/nice)
Some feedback:
in Dockerfile.prod you have FROM homebrew/brew:latest
Have you swapped accidentally .prod and .dev?
And for whichever ends up the real prod:
Take a Quick Look at https://laurentsv.com/blog/2024/06/25/stop-the-go-and-docker-madness.html
ie you can reduce your docker final image a lot (FROM scratch ftw)
ps: while I'm at it... why cmd/main.go ... move it up?

Hi @ldemailly thanks for the docker feedback. I'm reading through the article and I like that approach. Since we aren't building prod docker images yet, there's still time to make adjustments to this.
With regard to cmd/main.go, I structured it like that in the early stages of the project when the folder structure was a lot more chaotic. There's definitely no downside moving it up.


Rename Column size to width in dotnet

ref: https://github.com/Microsoft/AdaptiveCards/issues/552

@EricDahlvang,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


ESP32 i2s_write - Idle1 task starved? (IDFGH-569)

Hello ESP-IDF team,
I have a ported a little program to ESP32 and one issue on this is I have no control over when I can put in more samples to the i2s_write after the batch of buffers are being streamed to the I2S's codec.
Worse of all, one of the Idle tasks had been starved and it kept shouting to me the WDT hasn't been reset. Shutting the Idle WDT doesn't help much here as I have other stuff at the background to worry about.
For example:

// Generate Samples here at Task A in Core no. 1:
while (1)
{
GenerateSamplesHere(audio_buffer);
i2s_write(I2S_NUM_0, audio_buffer, sizeof(audio_buffer), &bytesWritten, portMAX_DELAY);
}

Console output after about 6~8 seconds:

E (14243) task_wdt: Task watchdog got triggered. The following tasks did
not reset the watchdog in time:
E (14243) task_wdt:  - IDLE0 (CPU 1)
E (14243) task_wdt: Tasks currently running:
E (14243) task_wdt: CPU 0: TaskB
E (14243) task_wdt: CPU 1: TaskA

Could it be possible if the task or function would yield or wait until the I2S has almost finished streaming the samples, and then place in some more samples instead of just continuously pushing into the I2S buffers?

Hi there,

Is it possible that there is another task running which is also monopolizing the CPU?

I have a summary of available tasks at that time:
1.) Task No.1 processing and pushing samples to the I2S module.

The processing takes 2.217ms for 256 samples.

2.) Task No.2 has a function that is being polled every 1ms (MIDI requirements).
Would (2) actually affect this too? Even if I remove (2) the Idle1 task was still starved.

Hi, sorry for the late response, is your problem solved now?
while (1) { GenerateSamplesHere(audio_buffer); i2s_write(I2S_NUM_0, audio_buffer, sizeof(audio_buffer), &bytesWritten, portMAX_DELAY); }
If (quote) generating the samples is taking longer than transmitting them, then the loop will be problematic. This loop may also be problematic if you have too large a buffer, I guess? Then i2s_write never fills the buffer and blocks before the watchdog causes a reset. (Because the idle task only runs if all other tasks on that CPU are blocked. If this loop never blocks at i2s_write, then the CPU will never go in idle task.) You can call explicitly vtaskdelay if you become too annoyed.
To avoid stutters you need to make data quickly so that the i2s doesn't have to use old data. It depends on your settings and you can calculate it yourself. For example, if you are using 2 channels and 16 bits and 36kHz sample rate, you need to make 36k216bits per second.
You can also set tx_desc_auto_clear in the config struct to 1 to make the i2s (try) to send nothing, instead of sending noise, when it runs out of data.

Hello @wilhelmw201 and ESP team,
Thanks for the assistance and apologies for the late reply. I have not been working on this issue for the time being - I highly suspect that the generating samples part require more computational power (preferably a Raspberry Pi) and could not be done in the ESP32 at a shorter time. I have already found an alternative in the meantime.


Pull Image from Private Registry directory limitations

The Images can be within folders.  In my case two levels in and because of the Image Name Field Validation rules, it does not allow "/".  As a result, I get errors when I try to pull images from a private repository.
As an example, I have my private repository (other than docker) setup and tested properly.
registry.example.com/folder1/subfolder2/image:latest
However, it errors out.  I've tried
foder1/subfoler2/image:latest
but this also fails.
Finally, I tried to export the docker image from my computer to import to the ContainerStation apps but the tar file contents are different.

Can you allow email verification for the registry username validation?
Can you allow "/" as part of the image pull from registry validation image input?
Can you give some examples of matching the containerstation export/import with the docker export/import features?

What kind of registry you are using? Container Station are base under Docker Hub. Docker Hub's username must contain only letters and digits. We will look into it.

"/" is allow in the middle of image name but not start with "/".
Because in image pull dialog we will automatically append image name after registry's URL.
i.e.
Registry URL: example.registry.com
Image name: username/subfolder/imagename
Will pull example.registry.com/username/subfolder/imagename image

Export image and import it into Container Station
a. export image from other device docker save ubuntu > ubuntu-save.tar
b. import from GUI or from command line docker load --input ubuntu-save.tar
Export container and import it into Container Station
a. export container from other device docker export angry_fermi > container.tar
b. import from GUI or from command line docker import container.tar image_name:latest


Alerts not sending emails when using a token from Resource Owner

Description:
Create Api and Subscribe.
Subscribe into alerts.
Generate a token for a user1 (Resource Owner) and generate alert
Expected
Alert need to come to the actual subscriber.
Actual
Alert not came to the emails subscribed.

I’m closing this issue because it has been inactive for more than two years. Please reopen if you still encounter this issue with the latest version.


[DB] Optimize select via inner joins

https://github.com/trustwallet/blockatlas/blob/master/db/notification.go#L17
Example

#1218


refactor(services/rocksdb): migrate to test planner

Would you like to fix the test failure?

Would you like to fix the test failure?

Sure, I'd be happy to fix the test failure.But I have yet to find the cause of this problem.

Hi @Xuanwo , I didn't find the cause of the problem, and I didn't reproduce the problem on my Ubuntu 22.04 LTS os, can you help to look at the problem?


Enable OVN CNI

Signed-off-by: Vishal Thapar<EMAIL_ADDRESS>

@mangelajo @skitt this one seems a bit stale, can you take a look?


[Bug] Resolution scale. #12

When you change the resolution scale the aplication make strange things.

@zabbix-byte you can disable the buttons of maximize and minimize by adding in the config:
{
    ...,
    'maximize': True // maximize button will be disabled
    'minimize': True // minimize button will be disabled,
    ...
}


Completion is performed upon pressing enter even though nothing has been selected

Steps to reproduce

Write the following into a txt file

vim:cot=fuzzy,menuone,noselect,noinsert
Text
ToText

Edit the file with vim --clean, then start a newline at the bottom and insert Te

vim:cot=fuzzy,menuone,noselect,noinsert
Text
ToText
Te|

Still in insert mode, press <C-N>. A menu should popup with option Text and ToText but neither should be selected.
Type x. Popup menu should be visible still with no entry selected.
Press <CR>. This would produce a newline and ToText should be completed nevertheless.

Expected behaviour
Completion should not be done as no entry has been selected, leaving Tex on the last line.
Version of Vim
9.1
Environment
macOS Sonoma 14.4.1, iTerm2 3.5.2, xterm-256color, zsh 5.9
Logs and stack traces
No response

9.1

What's the "Included patches" line in :version?

1-650

On 19 Aug 2024, at 11:45 PM, zeertzjq @.***> wrote:
9.1
What's the "Included patches" line in :version?
—
Reply to this email directly, view it on GitHub https://github.com/vim/vim/issues/15526#issuecomment-2297636447, or unsubscribe https://github.com/notifications/unsubscribe-auth/AW4VDFKMIGC2N6JUH5BW6JLZSJYPNAVCNFSM6AAAAABMYFIHIOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXGYZTMNBUG4.
You are receiving this because you authored the thread.

@glepnir maybe?

I dont think expect behavior is correct press x then CR  even no fuzzy the vim behavior is not insert newline.

I dont think expect behavior is correct press x then CR even no fuzzy the vim behavior is not insert newline.

You're right, edited


[WIP] feat(nodeadm): Add default system reserved resources

Issue #, if available:
Fixes #1490
Description of changes:
This PR's goal is to add a default CPU and memory reservation for the /system cgroup. We do not intend to enforce this reservation (i.e. throttle processes within this cgroup); this would merely subtract resources from the Node's allocatable totals, to provide more overhead in the event that pods burst beyond their limit(s).
This PR will only make this change for AL2023. It's unlikely at this point that we'll do this for AL2, especially on existing k8s versions, as it would decrease a cluster's total allocatable resources.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I'm starting off by measuring the CPU and memory usage at idle for the m7i family (general purpose Intel).
I launched a 1.29 cluster with the following instances:

Instance type
vCPU
Memory (GB)

m7i.large
2
8

m7i.xlarge
4
16

m7i.2xlarge
8
32

m7i.4xlarge
16
64

m7i.8xlarge
32
128

m7i.12xlarge
48
192

m7i.16xlarge
64
256

m7i.24xlarge
96
384

I grabbed the maximum CPU utilization (in vCPU's) for each instance and calculated a linear regression:

vCPU
Max usage at idle (vCPU)

2
0.0458

4
0.0587

8
0.0729

16
0.097

32
0.1289

48
0.1574

96
0.2815

y = 0.0024 * x + 0.0497

will this apply to bottlerocket?


K8SPXC-370 Fix 'scheduled-backup' test

* fix 'scheduled-backup' test
* start to use new helm repo for minio charts

Test name
Status

Test name
Status

haproxy
passed

recreate
passed

scaling
passed

big-data
passed

storage
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

restore-to-encrypted-cluster
failed

upgrade
passed

self-healing-advanced
passed

limits
passed

upgrade-consistency
passed

security-context
failed

operator-self-healing
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

one-pod
failed

demand-backup
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

scheduled-backup
failed

Test name
Status

recreate
passed

big-data
passed

haproxy
passed

storage
passed

scaling
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

restore-to-encrypted-cluster
passed

upgrade
passed

limits
passed

upgrade-consistency
passed

self-healing-advanced
failed

security-context
passed

monitoring
passed

demand-backup
passed

monitoring-2-0
passed

affinity
passed

scheduled-backup
failed

one-pod
passed

auto-tuning
passed

operator-self-healing
passed

proxysql-sidecar-res-limits
passed

users
passed

Test name
Status

storage
passed

self-healing
passed

self-healing-advanced
passed

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scaling
passed

scheduled-backup
failed

scaling-proxysql
passed

upgrade
passed

upgrade-consistency
passed

security-context
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

big-data
passed

operator-self-healing
passed

Test name
Status

big-data
passed

haproxy
passed

storage
passed

recreate
passed

scaling
passed

self-healing
passed

init-deploy
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

upgrade
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
passed

monitoring
passed

security-context
passed

operator-self-healing
passed

demand-backup
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

scheduled-backup
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

Test name
Status

big-data
passed

storage
passed

recreate
passed

scaling
passed

haproxy
passed

self-healing
passed

init-deploy
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

upgrade
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
passed

monitoring
passed

security-context
passed

demand-backup
passed

monitoring-2-0
passed

affinity
passed

operator-self-healing
passed

one-pod
passed

scheduled-backup
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

scaling
passed

storage
passed

recreate
passed

haproxy
passed

big-data
passed

self-healing
passed

scaling-proxysql
passed

init-deploy
passed

upgrade
passed

restore-to-encrypted-cluster
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
passed

security-context
passed

monitoring
passed

demand-backup
passed

monitoring-2-0
passed

operator-self-healing
passed

affinity
passed

one-pod
passed

scheduled-backup
failed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

storage
passed

big-data
passed

scaling
passed

haproxy
passed

recreate
passed

init-deploy
passed

self-healing
passed

scaling-proxysql
passed

restore-to-encrypted-cluster
passed

upgrade
passed

limits
passed

self-healing-advanced
passed

upgrade-consistency
passed

monitoring
passed

security-context
passed

operator-self-healing
passed

demand-backup
passed

monitoring-2-0
passed

affinity
passed

scheduled-backup
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

demand-backup-encrypted-with-tls
failed

Test name
Status

recreate
passed

restore-to-encrypted-cluster
passed

demand-backup
passed

scheduled-backup
passed

haproxy
passed

demand-backup-encrypted-with-tls
failed

init-deploy
passed

limits
passed

big-data
passed

monitoring
passed

monitoring-2-0
passed

affinity
passed

one-pod
passed

scaling
passed

auto-tuning
passed

scaling-proxysql
passed

proxysql-sidecar-res-limits
passed

upgrade
passed

users
passed

upgrade-consistency
passed

security-context
passed

storage
passed

self-healing
passed

self-healing-advanced
passed

operator-self-healing
passed

Test name
Status

scaling
passed

recreate
passed

haproxy
passed

big-data
passed

storage
passed

scaling-proxysql
passed

init-deploy
passed

self-healing
passed

upgrade
passed

restore-to-encrypted-cluster
failed

limits
passed

upgrade-consistency
passed

security-context
failed

monitoring
passed

demand-backup
failed

monitoring-2-0
passed

self-healing-advanced
passed

affinity
passed

scheduled-backup
failed

one-pod
failed

operator-self-healing
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

users
passed

demand-backup-encrypted-with-tls
failed


Log to Network taget with tcp and/or http to logstash address using ssl and explicitly specified certificates

Why do we need it?

When using NLog from (e.g.)  .NET Core it is not possible (or practical) to use the Windows Certificate Store.  NLog could effectively use a new "certificate" attribute for <target xsi:type="Network" ...>
1a) One use case is sending logs to Elasticsearch and especially the Logstash part of Elasticsearch that are ssl encrypted.   And using the Windows certificat store is a needless coupling feature.   So it is about sending logs via a Network target - to Logstash or anywhere,  without the Need for a centralized certificate store.
1b) To explain the use case.  Elasticsearch sits on top of Logstash.  Elasticsearch is the search and Analytics engine.  While Logstash is its data processing Pipeline - hence it is often rather practical to send the logs directly to the Logstash rather than to Elasticsearch, via a Network target.
The public key x509 certificate would then be available via the solution itself in a file with a relative path to nlog.config itself.
Rolf Kristensen is referred to through this link https://github.com/NLog/NLog/issues/2677
but the code doesnt seem available.

-- how?

More concretely here is some  XML taken from NLog.config - what i suggest is a solution e.g. that allows the following:

 <target name="logstash"
             xsi:type="Network"
             layout="${structuredlogging.json}"
             address="tcp://xx01.monitoring-production.xxeu.cloud-xxxxx.com:10999"
             certificate="<relative path to the nlog.config file of certificate>" />

i think a solution where the new certificate attribute is available for Network Targets expecially Targets with a tcp based adress (i saw internally in NLog they use SslStream.   but although SslStream is there - it seems always to be null when i debug through the Code).
Network-Targets Support also https ... so the new Certificate attribute could also be used there.

NLog version:
4.5.12
Platform:   / .Net 4.0 / .Net 4.5 / Mono 4 / Silverlight 4 / Silverlight 5 / Xamarin Android / Xamarin iOs  / .NET Core 2

@schwartzberg The SSL-code is included in the DEV-branch that is moving towards a NLog ver. 4.6 release.
Right the only supported way to do SSL in NLog is by registering the SSL-certificate in the global store. See discussion here: #2678 (PR with the code)
I have no opinion about reading certificate from external file.. You are always welcome to create a PullRequest for the DEV-branch to show your ideas.

It would be nice to have support for certificate files. PR welcome (but needs an unit test)

Any news about that?
We'd also need support for logstash with ssl and "local" certificates.
We can't use the windows certificate store because it won't work in docker.
Best regards Oliver

No development here. PR would be great. If you need help with creating a PR, let me know

Hello.
Any news about that?

No news, its up for grabs. Feel free to send a pr (but unit test are required)


Bad response in iOS binding on gpr_mu_lock

This bug was originally reported by @mikepb and has been separated from issue #946 .
I have also run into this issue using the iOS binding. The bug is reproducible on the latest master after attempting multiple connections to the RPC server within 30 seconds.
#2  0x000000019411eb18 in abort ()
#3  0x000000010016db94 in gpr_mu_lock at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/support/sync_posix.c:48
#4  0x000000010015bb68 in grpc_pollset_add_fd at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/iomgr/pollset_posix.c:107
#5  0x000000010015ccc8 in grpc_pollset_set_add_fd at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/iomgr/pollset_set_posix.c:105
#6  0x000000010016e0d0 in grpc_tcp_client_connect at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/iomgr/tcp_client_posix.c:243
#7  0x0000000100143b4c in connector_connect at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/surface/channel_create.c:99
#8  0x000000010014a8c8 in grpc_connector_connect at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/connector.c:48
#9  0x000000010016d470 in continue_connect at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/subchannel.c:298
#10 0x000000010016cbfc in start_connect at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/subchannel.c:307
#11 0x000000010016ca20 in grpc_subchannel_create_call at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/subchannel.c:349
#12 0x000000010014946c in picked_target at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/channel/client_channel.c:232
#13 0x000000010015a16c in pf_pick at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/lb_policies/pick_first.c:109
#14 0x0000000100154e88 in grpc_lb_policy_pick at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/client_config/lb_policy.c:74
#15 0x0000000100149254 in pick_target at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/channel/client_channel.c:250
#16 0x0000000100148bf4 in perform_transport_stream_op at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/channel/client_channel.c:366
#17 0x0000000100147f18 in cc_start_transport_stream_op at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/channel/client_channel.c:392
#18 0x00000001001422b0 in execute_op at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/surface/call.c:1163
#19 0x000000010013f31c in unlock at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/surface/call.c:524
#20 0x000000010013f714 in grpc_call_start_ioreq_and_call_back at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/surface/call.c:1083
#21 0x00000001001402fc in grpc_call_start_batch at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/core/surface/call.c:1471
#22 0x0000000100136584 in -[GRPCWrappedCall startBatchWithOperations:errorHandler:] at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCWrappedCall.m:269
#23 0x000000010013626c in -[GRPCWrappedCall startBatchWithOperations:] at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/objective-c/GRPCClient/private/GRPCWrappedCall.m:259
#24 0x00000001001309c8 in -[GRPCCall sendHeaders:] at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/objective-c/GRPCClient/GRPCCall.m:231
#25 0x0000000100131f5c in -[GRPCCall startWithWriteable:] at /Users/mikepb/Developer/M2Demo/Pods/gRPC/src/objective-c/GRPCClient/GRPCCall.m:344

@mikepb also added: "I found that using the gRPC client to connect to a http:// server that does not implement gRPC reliably triggers the bug."

Most likely use-after-free fwiw.
On Fri, Aug 7, 2015, 4:17 PM Vijay Pai<EMAIL_ADDRESS>wrote:

@mikepb https://github.com/mikepb also added: "I found that using the
gRPC client to connect to a http:// server that does not implement gRPC
reliably triggers the bug."
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/2859#issuecomment-128884299.

Right, and I expect that the problem is actually occurring in core even though it's exposed here in Objective C.

Possibly related: I consistently get a different failure when I run my Node tests:
#0  __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66
#1  0x00007ffff6334409 in gpr_mu_lock () from /usr/local/lib/libgpr.so.0
#2  0x00007ffff65af065 in grpc_server_destroy () from /usr/local/lib/libgrpc.so.0
#3  0x00007ffff69c3971 in grpc::node::Server::~Server (this=0x187cf90, __in_chrg=<optimized out>) at ../ext/server.cc:123

@mikepb, were you hitting the bug when connecting to a non-gRPC http server using an iOS client?

Yes, I hit the bug after repeat connections to a non-gRPC http:// server. Unfortunately, I am no longer working on that project and do not have access to the app to reproduce the bug.

Thanks @mikepb :)

@murgatroid99 , about that failure, I've filed #2974

i also met this bug. if I shutdown the RouteGuide demo server every 2 minutes, the client side will crashed.

After repeated tries I am unable to reproduce this problem. I tried with route_guide example on ios simulator talking with a non-GRPC server, as well as route_guide_server and killing the server mid-stream. Propose closing due to lack of reproducibility.

Closing as unable to reproduce.


fix typos

Hello. I fixed 2 typos in README's

@googlebot I signed it!

Sorry, I couldn't find a CLA on file under your GitHub username. Please make sure you've signed the CLA and that your commits are edited to have your matching email address (right now they are<EMAIL_ADDRESS>which I believe is the default for users without a public email address).

@kpreid But I signed it with email<EMAIL_ADDRESS>marked Birdi7 as my Github username. The commits are signed with<EMAIL_ADDRESS>also

The commit author email address in your two commits is still<EMAIL_ADDRESS>The easiest way to fix this — assuming you're using GitHub's web interface — is to make the same edits again, in a different branch than patch-1. Before you do this, make sure the "Keep my email addresses private" option in GitHub's preferences is off.
(On the command line, a rebase -i where you edit each commit by git commit --amend --reset-author and make no other changes would do it, assuming you've set your email address. But I would not recommend doing this if you're not familiar with performing interactive rebases.)


remove author check from contract ctor

after talking to Hernandes, we now know that the deposit for putting a contract on chain (i.e. putting the code on chain) is ~1DOT. Ensuring only we can instantiate the contract means when we're done the 1DOT of storage deposit would be returned to us as no other contracts should have been instantiated from our code, so the code can be purged.
Is it worth protecting this? It's a small amount and the likelihood of someone instantiating our contract is unlikely. If they did, it would mean the code would never be purged while their contract was live, locking up our 1DOT storage deposit