Proposal: There should be a way to obtain the parent of an element when its parent is not in the visual tree.

At the moment, if you have an element A (e.g. a Panel or ContentControl) which has a child B, but A is not in the visual tree, then B.Parent and VisualTreeHelper.GetParent(B) both return null. However, obviously if I try to add B to the visual tree then that throws an error because it already has a parent. So internally there is some mechanism to identify the parent of B even when its parent is not in the visual tree. It would be extremely helpful to expose this, ideally as a property on UIElement (or maybe FrameworkElement). The first proposal is simply to update the behavior of Parent and VisualTreeHelper.GetParent to enable this. The second proposal is to add a property with a slightly different name to UIElement. I understand maybe there is some issue with reference cycles, but there's no need to keep a strong reference to the parent - it can be weak. Also, this new parent property should be available immediately when B is added as a child of A. At the moment, the Parent property is not immediately available even after adding to the visual tree - I think it requires Loaded to fire or something.
This is really essential for advanced visual tree manipulation. HTML certainly doesn't have this limitation. I encountered it when trying to efficiently sync a tree of data with a tree of visuals representing the data. In the end I had to maintain my own reference to the parent element.
As an extension, it might be worth thinking about making it easier to do complex visual tree manipulation efficiently. Currently there are very few helper methods.

It would also be nice if the VisualTreeHelper had a RemoveChild(DependencyObject parent, Int32 index) function, or a RemoveChild(DependencyObject parent, DependencyObject child) function, or if UIElement had a Remove() function which would remove it from its parent.

The FrameworkElement.Parent property should usually tell you the logical tree parent, even if you're not in the VisualTree.
You can find LogicalTreeHelpers here - in terms in of XAML terminology most people consider the Visual Tree and the Logical Tree to be separate things, so I'm not sure updating VisualTreeHelpers to support logical tree queries would be a good idea.

Keeping them separate is fine (in my case it was the same). I guess the remove function would be in the logical tree.
FrameworkElement.Parent does return null if the parent is not in the visual tree.

You're right that the current behavior is in order to avoid reference cycles. The issue with weak references is that they cause extra allocations, and allocations are a significant portion of the CPU cost to startup and navigation. (There's an extra allocation on the reference target, the first time a weak reference is created.)
I think there might be enough information to make this work though. The child does have a raw pointer to the parent, the problem with using it in a c# app is that the parent might be garbage collected but not finalized, so in a zombie state. There's enough information on the parent to recognize that state though and so it should be possible to only return null in that case.

Sounds good. Here are a couple of things to think about. To avoid confusion I'm going to refer to this enhanced parent property as FrameworkElement.LogicalParent (or UIElement.LogicalParent).
Firstly, I want LogicalParent == null to guarantee that I can safely add the child to the visual tree as a child of another element. Therefore, if I request LogicalParent during the zombie state you described above, the property accessor should do any cleanup required to properly detach the child from the parent (such as setting the parent raw pointer to null) before returning null.
Secondly, I'm not 100% sure how garbage collection works, but I think you could end up with a situation where the following is possible if you have a reference to the child but not the parent (and the parent is not in the visual tree).
if(frameworkElement.LogicalParent != null){
//Garbage collection and finalization occurs, causing frameworkElement.LogicalParent to become null.
frameworkElement.LogicalParent.DoSomething(); //Null reference exception!!
}

Therefore, perhaps it would be best for the parent to be returned via a method, such as GetLogicalParent(), because it would be unreasonable for a property to become null, especially on the UI thread, whereas it would be less unreasonable for the result of calling a method to become null, although it should also carry a warning in the documentation. I think it should also be documented that becoming null if you have no reference to the parent is the only way in which the result of the method can change when being called successively (without modifying the logical tree in between).

@benstevens48 Can you get more specific on the scenario in which you're doing this tree manipulation? We'd want to make sure to measure any solution we come up against that scenario to make sure we were actually solving the real problem (and understand what priority to apply to this - as it'd be an API change for XAML). Feel free to get nitty gritty on what you're doing and why :). And also realize that if there are patterns to apply at a higher level to avoid this, we're going to prefer that in the meantime.

@chrisglein Thanks for asking. Here is a rough summary of what I'm doing.
I have some data that has a tree-like structure. The data is visualised and updated in a corresponding UI tree-like structure. Each data item is represented by a UserControl. The data items can be quite different and the UserControl can be quite complicated, and also the UserControl may contain temporary state etc, so my approach is that each data item corresponds to a control instance (rather than a data-binding type approach). The data can be updated, mostly through the UI but also potentially through other means, so I have a methods that 'syncs' the data with the UI. The UI controls are stored in a Dictionary keyed by the data for easy syncing.
To start with I just considered a list of data rather than a tree. it was easy enough for me to create a new list of UI elements that I wanted to replace the Children of the Panel containing them. At that point I could just clear the Children and add the elements of the new list, but as far as I understand adding/removing to/from the visual tree is quite expensive, so it's best to avoid that for simple situations like adding one child to the end. Incidentally, it would be nice if WinUI provided a way to replace a panel's children with a new list (where many of the items could be existing children) that it could internally optimise to do in the most efficient way. C++ does have a ReplaceAll method, but I don't think it does such optimisation and C# does not have this method. I might be wrong about the performance costs, but the existence of the Move method suggests there is a benefit to not clearing the children then adding all the new items. Therefore I decided to write my own function to sync the Children with the new list. Based on some inspiration from some of the HTML framework diffing methods (but only a very poor version), I decided to implement this as Diff and Patch functions. The Diff function identifies a few common scenarios like single insert, single remove, append may to end and remove many from end, and I was going to do move as well but it was slightly more awkward to detect than I though and I couldn't justify the time. I thought that this could be quite a general function, so I decided that the Patch part should accept a boolean parameter which would determine if the new children should be removed from their existing parent first in case it wasn't the panel we are updating. (If you were writing this function as part of a framework, maybe you would just throw an exception in this case, but I wanted to make it more flexible). Therefore I added a test for item.Parent != null, in which case I then cast the parent to a Panel or ContentControl and remove that child, before adding the item to the panel.Children. I assumed this would prevent any exceptions as I wasn't aware at the time that element.Parent could be null if the element had a parent. (Whatever the outcome of this thread, the documentation could be clearer that Parent will be null if not in the visual tree, even in the case where it was previously in the visual tree).
Now this worked fine until I generalised my UI to the tree structure from a list. As an aside, I thought this would be a relatively straightforward process of adding some recursion and some refactoring, but it turned out to be a bit more complicated than I first thought. Anyway, after I had done this, I  clicked a button which 'ungroups' or 'flatten' a branch of the tree, and I got an exception in my Patch function, saying that the item was already the child of another element. This confused me quite a bit at that point, since the previous line literally checked to see that item.Parent == null. Eventually after some testing I realised that item.Parent is null when not in the visual tree, and it turned out that due to the order in which the syncing was done, the parent of the item had been removed from the visual tree before I was trying to insert the element in its new place.
Eventually I ended up storing the parent of the controls explicitly, so my data-control dictionary was something like {key: data, value: {parent: MyUserControlContaningAList, control: UserControlAssociatedWithData}}. Then if the control changed parent I removed it from its old parent before my Patch function. In the end, this wasn't such a bad method, because it turned out there were also some event handlers that I needed to remove/add on changing parent.
Anyway, I think it would be nice if my general Patch function could be written in such a way as to remove items from their existing parent if necessary. At the moment that's not possible if the Parent is not in the visual tree. The behavior is quite confusing if you are coming from a HTML background where DOM manipulation is very common, whether or not you are connected to the root document.
I don't know whether you plan to enhance FrameworkElement.Parent or introduce a new property as I described in my previous post. However, for clarity I will refer to the enhanced property as FrameworkElement.LogicalParent (or maybe UIElement.LogicalParent). Here are some key features it should have.

If myElement.LogicalParent returns null, then I can safely add myElement as a child of some other element. Note that I mentioned a potential hole in the in my previous post which should be covered.
myElement.LogicalParent should immediately be set to the parent Panel/ContentControl when it is added as a child, and immediately unset when removed. It should not be set to null when the parent leaves the visual tree.
Ideally we would avoid the situation I mentioned in my previous post whereby myElement.LogicalParent != null might be true on one line but not on the next line of code, due to asynchronous garbage collection/finalization. However, this might be inevitable with weak references. If this is inevitable, it should be the only way the myElement.LogicalParent can change like this without the UI being modified.
I suppose a strong reference to the parent would be better, because you might end up with a (rare) wierd situation similar to 3 where you store a reference to the child only and then the parent disappears at some unknown point, although I guess using a strong reference might be impossible or very difficult in C++ due to reference cycles.

Finally, on a related note, it would be nice to have a way to get the containing FlyoutBase of an element. It would seem natural for myElement.LogicalParent to return the FlyoutBase as the parent for top-level items in a flyout. I know the documentation at the moment says that FrameworkElement.Parent can be expected to return a FrameworkElement for the built-in controls, but I see no reason for this to be set in stone. In case you are wondering why it would be useful to be able to do this, an example is closing the flyout when clicking on an item in the flyout, without having to keep a reference to the flyout. One could also then navigate the whole flyout hierarchy using the flyout.Target property in addition. There could be a separate method for getting the containing flyout if that was more desirable.
Thanks for reading that. There may be a few typos but I can't face reading through what I've written to look for them.


Multiple search results generate nested objects

I use your plugin to enrich events with data from external reputation database. My goal is to process the enriched data from my external database with JDBC support using visualization in Kibana.
There is a key snippet from my logstash.conf:
statement => "select feed_name, first_seen, last_added from feeds_aggregated where ip = :lookupIP"
parameters => { "lookupIP" => "ip" }
target => "[enrich][fia]"

After Logstash processing I get enriched data with such structure in Elasticsearch:
"enrich": {
      "fia": [
        {
          "feed_name": "blocklist_de_apache",
          "first_seen": "2018-07-19T14:16:03.714Z",
          "last_added": "2018-07-19T14:16:03.714Z"
        },
        {
          "feed_name": "urandomusto_http",
          "first_seen": "2018-07-19T14:18:03.829Z",
          "last_added": "2018-07-19T14:18:03.829Z"
        }
      ]

The restriction of Kibana does not allow properly processing nested objects. (https://www.elastic.co/guide/en/kibana/current/nested-objects.html).
How can I manage the result data structure using you plugin?

I was able to cope with the situation using this ruby code in my logstash.conf:
ruby {
    code => "
      event.get('[enrich][fia_nested]').each_index { |i|
        event.set('[enrich][fia]['+i.to_s+'][feed_name]', event.get('[enrich][fia_nested]['+i.to_s+'][feed_name]'))
        event.set('[enrich][fia]['+i.to_s+'][first_seen]', event.get('[enrich][fia_nested]['+i.to_s+'][first_seen]'))
        event.set('[enrich][fia]['+i.to_s+'][last_added]', event.get('[enrich][fia_nested]['+i.to_s+'][last_added]'))
      }
    "
  }


Provide Bicep example for subscription creation next to ARM template as tab to be consistent with other ARM examples

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

ID: 0d73f3e0-d3d3-eca9-483f-4a787fa77bb2
Version Independent ID: d4046a56-c05e-e278-382d-2cb26dd5c20f
Content: Programmatically create Azure Enterprise Agreement subscriptions with the latest APIs
Content Source: articles/cost-management-billing/manage/programmatically-create-subscription-enterprise-agreement.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@JustinGrote
Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@JustinGrote Thanks for your suggestion. We'll update the article to add Bicep example information as you requested, tho I'm not sure when it will get completed.
#please-close


Enable codecov.io pull request comment and build status

@audreyr, only you have the power to click these buttons.
https://codecov.io/github/audreyr/cookiecutter

@michaeljoseph How is codecov.io better than coveralls?

@ionelmc - coveralls changed the percentages every time, including when the only changes were documentation based.

@pydanny another service to perform tests.
"Landscape.io is a code quality inspector for Python codebases. It inspects your code to find errors, possible problems, security issues."
see some examples of reports:
https://landscape.io/github/luzfcb/django-crispy-forms/6
https://landscape.io/github/luzfcb/django-crispy-forms/6/messages
https://landscape.io/github/luzfcb/django-crispy-forms/6/modules
I liked the inline comments explaining the problem:
https://landscape.io/github/luzfcb/django-crispy-forms/6/modules/crispy_forms/layout.py#L346
finally, there is almost no problems with cookiecutter:
https://landscape.io/github/luzfcb/cookiecutter/1/modules

I flipped all the switches for Pull Request Comment. If it's too much commenting, let me know what to change.

I also flipped the switch for Github Build Status and set it to 95%. Let me know if that's too high/low.

If I need to change anything else, you can reopen this. (Sorry about missing this earlier! If I'm a blocker for anything similar in the future, don't hesitate to ping me off-Github or ask @pydanny to bother me.)
@luzfcb, thanks for the Landscape.io info! I just imported audreyr/cookiecutter into it now. It's thinking...

I'm afraid it still not working for PRs, please see #447
:bell: @audreyr @michaeljoseph


Permission denied

/system/bin/sh: ./record_touch_events.sh: can't execute: Permission denied
126|tiare:/data/local/tmp $
chmod 777 not help.

how did you solve this issue? (:

Same probleme here on Google pixel 4
Looking for touchscreen device...
/dev/input/event2
Touchscreen device found! -> /dev/input/event2
---ls: /data/local/tmp/mysendevent-arm64: No such file or directory---
mysendevent-arm64: 1 file pushed. 26.7 MB/s (3909208 bytes in 0.140s)
recorded_touch_events.txt: 1 file pushed. 0.4 MB/s (26418 bytes in 0.063s)
could not open /dev/input/event2, Permission denied


Terminal interactions, future of web navigation, and antagonistic webpages

I'm interested in this model as a catch all for a project I am working on similar to Devin.
I think as Devin like clones, and similar apparatuses become available terminal commands will also have a highlighted importance.
Earlier today before seeing this model I had the idea of something akin to an inverse of this model existing that generates web pages on the fly for the user to see where essentially every action a user would take would be fed into the server, the model, which will respond with a valid html based on the base architecture, which is also ai designed long term, of the website. Hence the existence of antagonistic webpage "agents", let's call them something other than agent though, because they are more like architects, so I guess that.

I think this is the future of web related content.
I think websites will build defense efforts intentionally designed through this matter to defend against autonomy of agents.
I think autonomous agents will win out by the selective matter of GPU concentration and constraints, why because they started first, most websites won't be antagonistic, thus autonomy will have a larger space to build generality from.
Generality to the point of 9's of reliability leads to agents that are most likely better than anything that could defend while being suitable for humans, assuming vision.

What are your thoughts on these matters, and what datasets would fit best in the intersection of these ideas creating the true future ai architect agent that goes to design new websites in tandem with its abilities to use them?

Thanks for the interesting discussion! I believe that red teaming security vs automation will be an important research subject, esp. concerning autonomous agents. Since webllama aims to build human-centric agents (i.e. interact through dialogue rather than single instruction), it may be less affected, but some may still attempt to use conversational web agents for automation.
Regarding your idea of generating html, it reminds me of Deepmind's Genie, but for websites. I think it's an interesting area of research that will take time to yield fruitful results. Perhaps websites like weblinx, mind2web, and environments like webarena and visualwebarena could be used to build such a "Web" genie.

I agree that it is very similar to genie, though I feel like genie was more at the pixel level.
Direct front end fine-tuned Architects seems more tractable in the near term compared to genie, as well as any type of backend level integration of architects shortly following.
What do you think would be more opportunistic in the near term regarding focusing the architects on: front end elements off of static foundations of components or integrating the whole model into a single cohesive agentic framework that architects sites from the ground up, so to speak, and is agentic generally across sites. Based on the current state of the art which I would say is this by the basis of your reports as well as publicly available datasets?

I think it'll be quite challenging to tell which approach would be better near/long term, front end elements off of static foundations of components would be limited due to the scoped functionality of the components, their limitations by design, etc. However the existing structure of the components might make the result easier to evaluate. OTH single-framework approach might only rely on architects that are more general and that will have simpler inductive biases, but are harder to evaluate and could be more prone to fail. Overall both venues are worth exploring (probably diff groups working on different directions)

Thank you for your very thorough analyses.
I had not considered evaluability.
Do you know of any datasets and/or resources besides the ones you listed that would be helpful towards either endeavor?
I feel interested in pursuing either avenue, but I think near term static foundations is probably the way to go, and maybe when enough existing open-source foundations have been built maybe off a central framework like react or something a more general model could be trained that is capable of generalizing across the central framework towards the beginnings of component design as well as cross project combination.
At the point of reliable component design, I think it makes sense to integrate in backends, which probably themselves will have a similar evolution, but that one seems murkier. I guess the static foundations would be something like an api router, where the ai gets in a request with a body and it determines how to use the available apis, which seems like what function calling llms already are headed towards.
On the backend component design seems like creating endpoints.
The combination of both paradigms seems like some form of communication between the architect on the frontend with the architect(s) on the backend where the backend is providing context for the frontend to "render" it.
Based on your experience with this project if I were to train llama3's for each separation of tasks in order to create some sort of architect architecture, what datasets would be most useful for each?

Frontend component design, doubting there are any reliable combination datasets.
Function calling, I can probably find some for this, but your input would be appreciated.
API endpoint examples/documentation for the design side of the backend.

https://huggingface.co/datasets/EddieChen372/react_repos 800Mb
Any SOTA high quality relevant function calling dataset, feels like there are a few
a giant function dataset which seems applicable as there's probably a ton of api endpoint functions in it, so would just need to filter it: https://huggingface.co/datasets/Fsoft-AIC/the-vault-function.

Thanks


HDDS-8717. Optimize checkACLsWithFSO to reduce redundant checks

What changes were proposed in this pull request?
Remove redundant checks in OMClientRequest#checkACLsWithFSO
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-8717
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
ci：
https://github.com/whbing/ozone/actions/runs/5122110056

Parent ACL checking logic redefined in HDDS-8717. Most cases just need READ permission for volume, see code:
    // OzoneAclUtils#getParentNativeAcl
    // for bucket, except CREATE, all cases need READ for volume
    if (resType == BUCKET) {
      if (aclRight == IAccessAuthorizer.ACLType.CREATE) {
        return IAccessAuthorizer.ACLType.WRITE;
      }
      return IAccessAuthorizer.ACLType.READ;
    }

No need to check WRITE permission for volume when delete/rename key.

Parent ACL checking logic redefined in HDDS-8717. Most cases just need READ permission for volume

Thanks @whbing for the change, looks good to me according to the statement above that now key writes don't check volume acls and it is always set to Read to be at par with Ranger.
However in the native acl types I see NONE as a type which means no permission for user, enum ACLType { READ, WRITE, CREATE, LIST, DELETE, READ_ACL, WRITE_ACL, ALL, NONE; If I set acl this at volume, this would be ignored as for any key write it doesn't check volume acl which makes setting NONE useless. Not sure what could be long term solution here but we might need to re-evaluate & document native authorizer behaviour and whats expected.

In fact, the volume's READ acl is checked for most operations for bucket or key operation. (Just CREATE bucket need volume's WRITE acl).
Acls for volume will always be checked  in OzoneNativeAuthorizer#checkAccess as follow:
// OzoneNativeAuthorizer#checkAccess
switch (objInfo.getResourceType()) {
    case VOLUME:
      ...
      boolean volumeAccess =  isOwner ||
          volumeManager.checkAccess(objInfo, context);
      return volumeAccess;
    case BUCKET:
      ...
      return (bucketAccess
          && volumeManager.checkAccess(objInfo, parentContext));
    case KEY:
      ...
      return (keyAccess
          && prefixManager.checkAccess(objInfo, parentContext)
          && bucketManager.checkAccess(objInfo, parentContext)
          && volumeManager.checkAccess(objInfo, parentVolContext));
    case PREFIX:
      return (prefixAccess
          && bucketManager.checkAccess(objInfo, parentContext)
          && volumeManager.checkAccess(objInfo, parentVolContext));
    default:
      throw new OMException("Unexpected object type:" +
          objInfo.getResourceType(), INVALID_REQUEST);

volumeManager.checkAccess(objInfo, parentVolContext)) will check volume's acl even if objInfo.getResourceType() is KEY. If NONE acl in a volume (or a bucket, a key), will permission denied.

volumeManager.checkAccess(objInfo, parentVolContext)) will check volume's acl even if objInfo.getResourceType() is KEY. If NONE acl in a volume (or a bucket, a key), will permission denied.

Got it. Thanks @whbing for clarifying.

@aswinshakil @smengcl would you like to take a look?

Thanks @whbing for the patch, @sadanand48, @sumitagrawl for the review.

Thanks @whbing for the optimization.


required: false is ignored for form-data file uploads

Describe the bug
required: false is ignored for form-data file uploads.
Fern Definition To Reproduce
  requestBody:
    content:
      multipart/form-data:
        schema:
          type: object
          x-fern-audiences: ['public']
          properties:
            data:
              type: string
              x-fern-audiences: ['public']
              format: binary
              description: The file to upload
            eval_data:
              type: string
              x-fern-audiences: ['public']
              format: binary
              required: false
              description: An optional evaluation file to upload

Expected behavior
eval_data should be optional but it isn't. This appears to affect at least python and typescript, maybe the others too
Screenshots

While working on this issue, we should consider tackling: https://github.com/fern-api/fern/issues/2775

Looking at the Cohere Python SDK 5.13.4, this is fixed and eval_data is showing up as optional. As such, closing this issue. Feel free to re-engage if you have further questions.
https://github.com/cohere-ai/cohere-python/blob/bb92887eca34f781bfc4afbf57a81f7cadf2e299/src/cohere/datasets/client.py#L247


Travis ci quick fix

Attempt to fix the Travis-ci build by using an updated Android NDK repo.

Changes Unknown when pulling ce97df5a829a9892011c449af3a26f733d409ad3 on travis-ci-quick-fix into ** on master**.

OK! Let's see how this goes :)


Popup

#71 #68
also moved around some of the files from the last commit because I was dumb and put them in the wrong place

does not close #71, will need to do that at some point. looks good and is working


added

Thanks for Collaborating bro .. I merge your PR..

Thank you. Website is lit brilliant idea.


Can't install ember cli simple auth

Having problems install ember cli simple auth with the following output.  This has happened repeatedly in different setups:
~/git-dashboard/client 🍔  ember --version
version: 0.2.3
node: 0.12.2
npm: 2.7.6
~/git-dashboard/client 🍔  ember install ember-cli-simple-auth
version: 0.2.3
Installed packages for tooling via npm.
installing
Installing browser packages via Bower...
cached git://github.com/simplabs/ember-simple-auth-component.git#0.8.0-beta.2
Installed browser packages via Bower.
installing
The ember generate command requires an entity name to be specified. For more details, use ember help.
The same thing happens for other ember-cli-simple-auth addons (oauth2, torii, etc.)

That's a bug in Ember CLI, the addon actually installs correctly though, see #26.


Wrong error when emitting a signal with arguments

On Godot 2.0.3, Windows 10, 64 bits:
I connected a signal emitted with arguments to a function that has no parameters.
It resulted in this error message:
ERROR: Object::emit_signal: Error calling method from signal 'custom_pressed': 'Node(test.gd)::on_press_1': Expected 0 arguments.
   At: core\object.cpp:1210

It should print this instead:
[...] Expected 3 arguments [...]

This made me loose time not understanding the error in a large project.
Here is a reproduction project: http://zylannprods.fr/dl/godot/SignalError.zip
I have two suggestions:

Fix the wrong error message
Allow signal handlers to have a different number of parameters?

I think the error message you got is correct - it's not the signal that "expects" arguments in this case, it's the function you're trying to connect to it. That function expects 0 arguments, and it's throwing the error because the signal tried to call it with several.

You're right. So, actually it should be better if we could see both? How many argument sent, how many expected?


Uncaught TypeError: Cannot read property 'message' of undefined

[Enter steps to reproduce:]

...
...

Atom: 1.21.0 x64
Electron: 1.6.9
OS: Mac OS X 10.13
Thrown From: Remote-FTP package 1.2.3
Stack Trace
Uncaught TypeError: Cannot read property 'message' of undefined
At /Users/gianfranco/.atom/packages/Remote-FTP/lib/connectors/sftp.js:406

TypeError: Cannot read property 'message' of undefined
    at /packages/remote-ftp/lib/connectors/sftp.js:406:33)
    at emitOne (events.js:101:20)
    at WriteStream.emit (events.js:188:7)
    at /packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:2853:12
    at SFTPStream._transform (/packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:415:17)
    at SFTPStream.Transform._read (_stream_transform.js:167:10)
    at SFTPStream._read (/packages/Remote-FTP/node_modules/ssh2-streams/lib/sftp.js:181:15)
    at SFTPStream.Transform._write (_stream_transform.js:155:12)
    at doWrite (_stream_writable.js:332:12)
    at writeOrBuffer (_stream_writable.js:318:5)
    at SFTPStream.Writable.write (_stream_writable.js:245:11)
    at Channel.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at Channel.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Channel.Readable.push (_stream_readable.js:134:10)
    at /packages/Remote-FTP/node_modules/ssh2/lib/Channel.js:166:15)
    at emitOne (events.js:96:13)
    at SSH2Stream.emit (events.js:188:7)
    at parsePacket (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:3444:10)
    at SSH2Stream._transform (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:669:13)
    at SSH2Stream.Transform._read (_stream_transform.js:167:10)
    at SSH2Stream._read (/packages/Remote-FTP/node_modules/ssh2-streams/lib/ssh.js:251:15)
    at SSH2Stream.Transform._write (_stream_transform.js:155:12)
    at doWrite (_stream_writable.js:332:12)
    at writeOrBuffer (_stream_writable.js:318:5)
    at SSH2Stream.Writable.write (_stream_writable.js:245:11)
    at Socket.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:551:20)

Commands
     -0:27.6.0 core:save (input.hidden-input)
     -0:19.3.0 remote-ftp:upload-selected (span.name.icon.icon-file-text)

Non-Core Packages
atom-beautify 0.30.5
atom-material-syntax 1.0.6
atom-material-syntax-dark 1.0.0
atom-material-syntax-light 0.4.6
atom-material-ui 2.0.4
atom-monokai 0.10.9
color-picker 2.2.5
color-tabs 0.1.8
editorconfig 2.2.2
es6-javascript 1.0.0
isotope-ui 2.8.5
javascript-snippets 1.2.1
jQuery 1.2.5
jquery-snippets 11.0.0
lessc-on-save 0.4.0
material-ui 1.0.10
native-ui 0.23.0
pigments 0.40.2
quick-query 0.12.1
remote-atom 1.3.11
remote-edit 1.9.0
Remote-FTP 1.2.3
SFTP-deployment 1.0.2
turbo-javascript 1.4.0
unity-ui 2.1.11

Had the same issue today. The problem was with the permissions to files I tried to edit. So, I'd reccomend firstly to check files permissions and ownership.

Related of https://github.com/icetee/remote-ftp/issues/993#issuecomment-334456224
(Soon it will arrive to SFTP.)

I've setup 6 servers and even made the FTP user owner of the entire directory structure for my project and set all permissions to 777 .. in each and every case I get this same error. It's hard to place any blame on a free product but geesh, how can this not work for me when everyone else seems to be using it with no issues.


fastbin_dup_consolidate wrong technique description

The description in the README.md is:

Tricking malloc into returning an already-allocated heap pointer by putting a pointer on both fastbin freelist and unsorted bin freelist.

The chunk never reaches the unsorted bin as it is consolidated with top. Nothing ever reaches the unsorted bin in the entire exploit.

thank you for pointing it out, it is now fixed by https://github.com/shellphish/how2heap/commit/754c5546fa407570d9aa621e0b3b29efec4f3952


Gallery style is lost when the page is reloaded

Update: i found the problem: cache in frontmatter must be disabled
I like your beautiful - and easy to implement!! - gallery. Just a strange behaviour: when you create the gallery and see it in the preview everything is working fine, but as soon as you reload the page you have all the images displayed in a list. The only way to have the correct display back is to clean the cache in GPM.
Working in local environment with the latest version of Grav and admin panel (updated today)

Thanks a lot for opening this issue. I didn't run into the problem, as I had page caching disabled. Good catch!
Seems like the problem is known: https://discourse.getgrav.org/t/plugins-and-caching/6795/9
However, there also seems to be no real solution to the issue. Just some hacky workarounds.
I will see what I can do to remedy this situation.

Fixed in c743188b034fef07fb803b55f15f8303a37ad2bd.
An update should soon be available via the admin panel.
Please verify the fix and close this issue, if it worked.

Did you find some time to test the updated version, @beamaria ? 😗

Sorry, the issue is still there; if you don't disable the cache, the pictures are stacked...

Mh, which version of the plugin do you use?
I can't replicate the issue.

Version 1.0.3 with Grav 1.7.7
I found the way to replicate the issue: In advanced tab of the page put the tick beside caching and enable it: this way the images are stacked on reloading.
If you don't have the tick, the issue is gone.
(see attachments)
Issue
NO issue

Il giorno 24 feb 2021, alle ore 19:57, sal0max<EMAIL_ADDRESS>ha scritto:
Mh, which version of the plugin do you use?
I can't replicate the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/sal0max/grav-plugin-shortcode-gallery-plusplus/issues/2#issuecomment-785334193, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACZG6TSZSEP7FXLNUMGBKVTTAVK2NANCNFSM4XIYZI3Q.

Alright, that helps. :)
There are two Cache settings:

Configuration / System / Caching / Caching
Pages / <Page> / Advanced / Caching
This sets cache_enable: true in a pages frontmatter and has to be set for every page.

If only the first is set enabled, there's no problem since after my fix.
However, if both caching options are enabled, I can replicate the behavior. Thanks for the clarification.

I couldn't find a way to overwrite the second configuration. However, I don't think that is a real issue.
The cache enabling is done actively by an user.
So.. as I can't find a way to remedy this scenario, and the behavior only happens if a user manually enables caching on a page (which probably is rare), I will close this issue for now.
If someone else has an idea, be welcome to comment here.


Is Adding a C++ Infer Port to the VSCode Plugin on the Roadmap?

Just like to title.
Sorry for not providing any example.

Hii @25077667 can you please explain the issue again I would like to contribute on this

Hii @25077667 can you please explain the issue again I would like to contribute on this

Certainly. I'd like to enable the "infer" feature in Visual Studio Code (VSCode) for on-the-fly coding assistance.
This entails having the "infer" functionality seamlessly integrated with the Language Server Protocol (LSP) in the background service. This setup allows for real-time code checking, ensuring prompt identification of any potential bugs as I write code in VSCode.

open your project on which you have to do real time check
then check for the extensions for the specific language extensions you are going to work on
andInstall Linter/Static Analyzer.
#LSP Integration:
Most modern language extensions in VS Code use LSP for real-time code analysis. LSP handles communication between VS Code and language servers, which can provide code suggestions, linting, and error checking. You usually don't need to configure LSP manually if you've installed the appropriate language extension.
Enable Real-Time Code Checking
hope so this answer might help you


Broken link

https://docs.microsoft.com/en-us/healthvault/#pivot=sdkstools&panel=sdkstools-all
The Download PowerShell link is broken.
Should it be ... https://github.com/PowerShell/PowerShell#get-powershell

@jhutchings1 can you look at this issue?

@mairaw I'm not a maintainer for those docs anymore, although considering the announcement that support for HealthVault is sunsetting, this documentation should will probably go with it. @abhijeett what do you think?

The product (and link) is dead now, so this can be closed.

Really weird experience with this product. Some inner links still work: https://docs.microsoft.com/en-us/healthvault/introduction/introduction


Roll command errors when using multiplication or division

Using a /roll command involving multiplication or division results in an error. For example, /roll 1d6 * 5 yields
Uncaught (in promise) Error: Roll.safeEval produced a non-numeric result from expression " * 5"
    safeEval foundry.js:10437
    simplifyRollFormula simplify-roll-formula.mjs:42
    _enrichRollTooltip chat-message.mjs:251
    _enrichChatCard chat-message.mjs:233
    _enrichChatCard chat-message.mjs:232
    getHTML chat-message.mjs:58

Made sure to test in a fresh world with no modules enabled. Also tested in a fresh world with pf2 system, but got no errors. Putting parentheses around the roll avoids the issue.

I can work on this.


[hive] In hiveCatalog we do not need catalog.warehouse config

Purpose

Linked issue: close #2407

In hiveCatalog we do not need catalog.warehouse config, it makes confused
Tests

API and Format

Documentation

gentle ping @JingsongLi

I think the correct way is hiveConf.get(HiveConf.ConfVars.METASTOREWAREHOUSE.varname).

And we need to enrich warehouse path to default scheme of conf if the path does not contain scheme.

I think the correct way is hiveConf.get(HiveConf.ConfVars.METASTOREWAREHOUSE.varname).

It is good choice, but if we do it like this, we should let user set hive-conf-dir or set env HIVE_CONF_DIR.

And we need to enrich warehouse path to default scheme of conf if the path does not contain scheme.

I will do it later.

done @JingsongLi

Hi @monkeyboy123 , can you take a look to #2432 , is that satisfy your requirement?
I will take a look later.


Eviction errors don’t show the complete chain of transitive dependencies leading to the conflicting modules

I think we can address your issue @adrian-salajan by showing a more complete dependency chain when sbt exhibits the conflicting dependencies. Currently, it only shows the conflicting modules, but sometimes these modules come from transitive dependencies, and it’s not easy to figure out where they come from. Instead, sbt could show the complete chain of dependencies that eventually pulled the conflicting modules.

Originally posted by @julienrf in https://github.com/sbt/sbt/issues/6221#issuecomment-897445388

this may duplicate the bug i opened for my issue: https://github.com/sbt/sbt/issues/6618

Indeed, I’m sorry I didn’t see this issue!


using translationType with a EntityType field

Hi !
I got this a Bonus entity which contains translated differents fields.
I want one of these fields (promotion) to be a select input coming from Promotion entity.
So according to a2lix documentation, I did this :
//other uses...
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use A2lix\TranslationFormBundle\Form\Type\TranslationsType;
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('tag', TextType::class)
->add('translations', TranslationsType::class, [
'fields' => [
'promotion' => ['field_type' => EntityType::class, [
'class' => 'AdminBundle:Promotion',
'choice_label' => 'getName'
] ]
]
])
->add('Save', SubmitType::class)
;
}
but i go to the Add page, i got this error :
The option "0" does not exist. Known options are: "action", "attr", "auto_initialize", "block_name", "by_reference", "compound", "csrf_field_name", "csrf_message", "csrf_protection", "csrf_provider", "csrf_token_id", "csrf_token_manager", "data", "data_class", "disabled", "empty_data", "error_bubbling", "inherit_data", "intention", "label", "label_attr", "label_format", "mapped", "max_length", "method", "pattern", "post_max_size_message", "property_path", "read_only", "required", "translation_domain", "trim", "virtual"
Can you explain what imma doing wrong ?
thks

It took me some time to understand this issue, next time, please, consider using the github features to post code in a better way, because it is hard to read that code.
You are having the same issue as this other guy: https://github.com/a2lix/TranslationFormBundle/issues/261
Good news is that it can be solved in the same way. Problem is you are trying to add an array for the field type options, when you have to put them at the same level. Look at the issue linked and also at the docs of this bundle: http://a2lix.fr/bundles/translation-form/2.x.html
Closing. If you feel this should remain opened for some reason, ping me.

I reopen this cause I got kinda  same problem :
Everything was working fine (and with @jordisala1991's hint) in SF2.8 (with A2lix/translations-form 2.1)
Im doing this new project and I took this opportunity to learn SF4.
Obviously A2lix's bundle has been updated too.
Now, when i'im using a entityType in my form, I have SF saying the field doesnt exist in the translation Entity...
In this case it's the WRITER field that doesnt exist in ArticleTranslation.
Article Entity
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Model as ORMBehaviors;

class Article
{
     use ORMBehaviors\Translatable\Translatable,
            ORMBehaviors\Timestampable\Timestampable
     ;
     //....
}

ArticleTranslation  Entity
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Knp\DoctrineBehaviors\Model as ORMBehaviors;

class ArticleTranslation
{
       use ORMBehaviors\Translatable\Translation;

       /**
        * @ORM\ManyToOne(targetEntity="App\Entity\Writer")
        * @ORM\JoinColumn(nullable=true)
        */
       private $writer;

       //getter + setter ...
}

Writer Entity
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;

class Writer
{
     private $name
     //getter + setter
}

ArticleType
namespace App\Form;
//...other use 'optionsResolver, etc..
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
use App\Entity\Writer;

use A2lix\TranslationFormBundle\Form\Type\TranslationsType;
use A2lix\TranslationFormBundle\Form\Type\TranslatedEntityType; //thought 'bout using this type but ... I dont know what is it for

 public function buildForm(FormBuilderInterface $builder, array $options)
{
        $builder
            ->add('translations', TranslationsType::class, [
                'fields' => [
                    'slug'            => ['field_type' => TextType::class],
                    'title'           => ['field_type' => TextType::class],
                    'content'         => ['field_type' => CKEditorType::class],
                    'redacteur'     => [
                        'field_type'   => EntityType::class,
                        'class'        => Writer::class,
                        'choice_label' => function ($writer) {
                            return $writer->getName();
                        }
                    ]
                ],
            ])
        ;
}


firestore-bigquery-export - only one collection exported

firestore-bigquery-export
Only one collection is exported, no way to sync multiple collections

Currently a single instance of the extension monitors one collection. To sync multiple collections, you can install the extension multiple times with configuration options specifically for your additional collection.

Thanks @Ehesp I somehow hadn't seen that you could install multiple instances of the extension

@JonesM87 i too, thanks for comment 👍


Wildcard filter does not match paths containing a dash

route('fruit/*', function() {
  // This is not invoked
})
route('fruit/red-apple')

Failing test: https://github.com/gdub22/route/commit/0a1c43664460a6e304680d06e5ecd11fbd3a94d3

Currently wildcards just match \w.
https://github.com/riot/route/tree/master/doc#routefilter-callback
Sometimes I'd like to use it like this:
route('date/*-*/*/', function(year, month, day) {})
route('date/2015-09/25/')

Actually, at the first I tried to implement wildcard as [^\/]+, but I realised that it would not match this case:
route('somepath?foo=*&bar=*', function(foo, bar) {})
route('somepath?foo=apple&bar=orange')

@gdub22 you could change the default behaviour:
https://github.com/riot/route/tree/master/doc#second-parser

Thanks, I can customize the parser.  I think letting the whole wildcard through may be a better default.

@gdub22 another option could be .+?. Is this better?

@cognitom thanks! .+? worked for me.
The api to override that was a bit awkward, since I had to essentially duplicate the whole default second parser.  Many people aren't good at RegExp, that's why I suggest letting the whole path through, then they can use more comfortable parsing like String.split, etc. and power users can continue to use RegExp if they want.

@gdub22 I've change the behaviour. \w+ --> [^/?#]+?
https://github.com/riot/route/commit/4a0a9f2c026ff4ae3cc4e02b209babb78221291c
After some thoughts, I realised that .+? is not enough. Because sometimes

Hi @gdub22, I've change the behaviour. \w+ --> [^/?#]+?
https://github.com/riot/route/commit/4a0a9f2c026ff4ae3cc4e02b209babb78221291c
After some thoughts, I realised that .+? isn't enough. With .+?, the later example below will match to fruit/apple?some_query but it's not intuitive. So [^/?#]+?.
route('fruit/*', function(fruit) {})
route('fruit/apple')
route('fruit/apple?some_query') // user expects `apple` will match


Regularly run the benchmarks

The regression benchmarks (defined in #62) should run for each new commit in master, and a report of the run time should be available (maybe as a graph).
I think we can use Travis for that, even if it is not ideal (there is no way to be sure that the machines always have the same power).

The comparison benchmarks should not run overtime, because they will be slow. we should still make sure to run them before any release, and on a semi-regular manner too.

This could use the new travis cron feature to ensure that benchmark builds are run every week/day.


Image::compress / compress_with_channels unreliable, not exportable

Godot version
Godot 4.1.1-stable
System information
Windows 11/64, RTX 3070, Vulkan
Issue description
I'm building Terrain3D and ran into problems with Image::compress() and Image::compress_from_channels() which don't work on export and are unreliable in the editor.
#define COLOR_RB Color(1.0f, 0.0f, 1.0f, 1.0f)
#define COLOR_NORMAL Color(0.5f, 0.5f, 1.0f, 1.0f)

Ref<Image> Terrain3DStorage::get_filled_image(Vector2i p_size, Color p_color, bool p_create_mipmaps, Image::Format p_format) {
	Ref<Image> img = Image::create(p_size.x, p_size.y, p_create_mipmaps, p_format);
	img->fill(p_color);
	if (p_create_mipmaps) {
		img->generate_mipmaps();
	}
	return img;
}

img = get_filled_image(albedo_size, COLOR_RB, true, Image::FORMAT_RGBA8);
img->compress(Image::COMPRESS_S3TC, Image::COMPRESS_SOURCE_SRGB);
// img->get_format()
// In editor: returns 19 FORMAT_DXT5, expected
// On export: returns 5 FORMAT_RGBA8, not expected **

img = get_filled_image(normal_size, COLOR_NORMAL, true, Image::FORMAT_RGBA8);
img->compress(Image::COMPRESS_S3TC, Image::COMPRESS_SOURCE_SRGB);
// img->get_format()
// In editor: returns 17 FORMAT_DXT1, not expected **
// On export: returns 5 FORMAT_RGBA8, not expected **

We transitioned to
img->compress_from_channels(Image::COMPRESS_S3TC, Image::USED_CHANNELS_RGBA);
// In editor: 19 FORMAT_DXT5, expected
// On export: returns 5 FORMAT_RGBA8, not expected **

img->compress_from_channels(Image::COMPRESS_S3TC, Image::USED_CHANNELS_RGBA);
// In editor: 19 FORMAT_DXT5, expected
// On export: returns 5 FORMAT_RGBA8, not expected **

With either function, release exports crash right away. Debug exports give this error message:
ERROR: Condition "!_image_compress_bc_func" is true. Returning: ERR_UNAVAILABLE
   at: compress_from_channels (core/io/image.cpp:2637)

I'm using the default export options:

Godot 4.1.1-stable
Terrain3D 0.8.1+ a69eff
Steps to reproduce
See above
Minimal reproduction project
n/a

Looks like most of the image compression/decompression libraries aren't included in export builds.
In the past I know that we avoided including any image saving/loading libraries in the export builds, but I know that has been slowly opening up.
I guess the discussion here should be whether we want to enable the compression libraries for export builds. It would be helpful to do a build size analysis to see what the realistic cost for enabling them is.

I guess the discussion here should be whether we want to enable the compression libraries for export builds. It would be helpful to do a build size analysis to see what the realistic cost for enabling them is.

I'd suggest adding build-time options to toggle them in export templates, similar to https://github.com/godotengine/godot/pull/73003.

I now understand that the function doesn't work because it's not even there, by design.
We're using these functions when the user creates terrain materials with null textures. We want to create blank textures automatically, but now we cannot. I will have to work around this by putting warnings everywhere that the user cannot leave it with null textures. It's a bit tacky, and users will ignore the warnings and then complain about why their exports don't work/crash.
Philosophically, I don't understand why there would be an API for us to use, yet a random portion of the API is removed on export. If the engine runs itself as a game and has access to all of these functions and libraries, my project should too. I don't like having to spend time troubleshooting a broken project only to find it's one of those neutered libraries taken out just because.
I like the idea that on the export screen we have the option of including or excluding every possible library that we have access to in the editor.
Build time options, would allow us to put that in the instructions and include an export_template.cfg.

I like the idea that on the export screen we have the option of including or excluding every possible library that we have access to in the editor.

This is not feasible without recompiling export templates. (This is how https://github.com/godotengine/godot/pull/62996 works already; it won't work if you don't compile custom export templates with the build profile used at build-time.)
We don't want to require having a build toolchain set up to export projects, so this can't be provided by default.

Can't you store premade compressed textures in the add-on, make sure these are exported and use those if the user hasn't specified any?

We are creating image blanks -> textures -> texture array. All of the images have to be the same size to go in the array, so if the user has already put in a 1k x 1k texture, we need to match that. We'd have to include multiple sizes from 256, which some are using, all the way up to 4k just for blanks, *2 because we need a different type for normal.
We could exclude the material from the array, but then our array indexing on the CPU will be different from the shader. 🤔  I'll probably just leave warnings everywhere for now if they have empty materials until we have the option to include image compression.

I've found a solution for us. Rather than generate the image blanks at runtime, which doesn't work on export. Now I generate the texture blanks while in the editor and save it with the rest of the data.
Do you guys want to leave this open to update the documentation or provide the option of including the compression libraries on export?


@react-navigation/bottom-tabs could not be found

This can also happen if there are multiple copies of '@react-navigation' packages installed.
this kind of error i'm getting again and again from last 72 hours i'm unable see my screens

hi @AshaKaligatla ,
Is your problem solved yet?
Looks like you haven't configured react navigation.
import { NavigationContainer } from '@react-navigation/native';
<NavigationContainer>
   <CurvedBottomBar.Navigator>
      ...
   </CurvedBottomBar.Navigator>
</NavigationContainer>


Cannot load Microsoft.PowerShell.Diagnostics when using the SDK on .Net Core on Windows

Steps to reproduce

Use Windows 10, dotnet CLI preview 2; don't install PowerShell Core.

Create a .Net Core project that references Microsoft.PowerShell.SDK version 1.0.0-alpha9 from the powershell-core MyGet feed.

Add the following code to Program.cs:
using System.Management.Automation;

public class Program
{
    public static void Main()
    {
        var ps = PowerShell.Create();

        ps.AddCommand("gci");

        ps.Invoke();
    }
}

The complete project is here.

dotnet restore, dotnet run.

Expected behavior
ps.Invoke() does not throw.
Actual behavior
ps.Invoke() thows:
System.Management.Automation.Runspaces.PSSnapInException: Cannot load Windows PowerShell snap-in Microsoft.PowerShell.Diagnostics because of the following error: Could not load file or assembly 'Microsoft.PowerShell.Commands'. The system cannot find the file specified.
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadMshSnapinAssembly(PSSnapInInfo mshsnapinInfo)
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIn(PSSnapInInfo mshsnapinInfo)
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadPSSnapIns(Collection`1 mshsnapinInfos, PSConsoleLoadException& warning)
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.LoadConsole(PSConsoleLoadException& warning)
   at System.Management.Automation.Runspaces.RunspaceConfigForSingleShell.CreateDefaultConfiguration()
   at System.Management.Automation.Runspaces.RunspaceConfiguration.Create()
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace(PSHost host)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspace()
   at System.Management.Automation.PowerShell.Worker.CreateRunspaceIfNeededAndDoWork(Runspace rsToUse, Boolean isSync)
   at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.CoreInvoke[TOutput](IEnumerable input, PSDataCollection`1 output, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.Invoke(IEnumerable input, PSInvocationSettings settings)
   at System.Management.Automation.PowerShell.Invoke()
   at Program.Main()

Puzzling things I found when looking into this:

There is no package for Microsoft.PowerShell.Commands.Diagnostics.
PSSnapInReader.DefaultMshSnapins contains Microsoft.PowerShell.Diagnostics only when UNIX is not set. But there is only one netstandard1.6 version of System.Management.Automation.dll in the System.Management.Automation 1.0.0-alpha9 package, compiled without the UNIX flag set.
PSSnapInInfo.AbsoluteModulePath treats the ModuleName of Microsoft.PowerShell.Commands.Diagnostics as file name with extension and returns just Microsoft.PowerShell.Commands (as shown in the exception message above).

Can verify this reproduces

Thank you for reporting it @svick !
Indeed, the nuget package provided Microsoft.PowerShell.SDK for alpha9 has windows-specific implementation.
The scenario that you are describing (hosting PS in you own program) is not currently supported. There are mulitply issues that we need to address first to enable it. Here are few:

Remove need in custom Assembly Load Context (ALC for short). This is CoreCLR hosting model and we are blocked until CoreCLR will have AppDomain.GetAssemblies().
Create nuget packages that contains both unix and windows compiled assemblies.
Publish Microsoft.PowerShell.Diagnostics nuget package (the current list is here)

The scenario that we are targeting with current Microsoft.PowerShell.SDK is the following:
You should be able to author a binary powershell module and use it later in the powershell session.

I am doing the following as a workaround, but it is not ideal. Anyone knows of a better way to use powershell from dotnet core linux?
        ProcessStartInfo psi = new ProcessStartInfo();
        psi.FileName = "powershell";
        psi.UseShellExecute = false;
        psi.RedirectStandardOutput = true;

        psi.Arguments = "Get-Host";
        Process p  = Process.Start(psi);
        string strOutput = p.StandardOutput.ReadToEnd();
        p.WaitForExit();
        Console.WriteLine(strOutput);

Hi @svick
Did you find out the way to execute PS file in .Net core?
I have installed .Net core 2.0 preview but it does not seems to work.

How's the progress of hosting PS in you own program doing?
I need this feature badly. :sweat_smile:

I'm encounting this issue now, trying to unit test a binary module I am writing for PowerShell core. This is a big issue! Any workaround??

@sonphnt, @WilliamWsyHK, @jherby2k
It works, but it's not like the old way where you just reference System.Management.Automation.   I ran into the same issue and found this page.  Then I started to look in the docs in the repo and found:
https://github.com/PowerShell/PowerShell/tree/master/docs/host-powershell
There is a sample app here: https://github.com/PowerShell/PowerShell/tree/master/docs/host-powershell/sample-dotnet2.0-powershell.beta.3
you need to copy the Nuget.config from the project. If you're using VS, target the powershell feed withing the UI.
then install the following packages
    <PackageReference Include="Microsoft.PowerShell.SDK" Version="6.0.0-beta.7" />
    <PackageReference Include="Microsoft.WSMan.Management" Version="6.0.0-beta.7" />
    <PackageReference Include="Microsoft.PowerShell.Commands.Diagnostics" Version="6.0.0-beta.7" />

@SteveL-MSFT Can we close the Issue because we update nuget SDK package and docs?

I'm getting the same exception in version 6.0.1

A new nuget package is being published (<IP_ADDRESS>) which will include cross platform runtimes instead of being Windows specific.  Should be this week.

I have this issue with 6.1.0-preview.1

This is still reproducing for me with  on Windows 10 with dotnet test

@cosminstirbu Please open new issue with repo steps.

@cosminstirbu for me it was enough to install Microsoft.PowerShell.SDK (6.2.3)

Yeap, I confirm that installing Microsoft.PowerShell.SDK (6.2.3) did the trick.

If I use Microsoft.PowerShell.SDK (6.2.3), I am getting the below error.
The term 'Add-MpPreference' is not recognized as the name of a cmdlet, function, script file, or operable program.
Is there any workaround to fix this?

Add-MpPreference

I guess the module is not compatible with PowerShell Core. You can try to run the cmdlet in interactive session. Also you could try WinCompat feature of Import-Module cmdlet.

I guess the only fix for the above is to open the powershell session as an admin(Not sure if this is possible with the current library). Would really appreciate if someone can provide pointer to this?

You should run elevated process - parent or child.


Suggestion: Creating .env file

Hello,
I was wondering it there should be some  docs on the readme about creating the .env file, as if you do just follow the instructions without duplicating the env-example as .env, the build process fails.
Obviously it's likely that someone using this will have already read the docs for laradock, but perhaps it could be part of the init method?

It sounds great, I will consider your suggestion in detail and modify readme doc soon, thank you very much!


cmake: build swift-swiftsyntax-test only when SwiftSyntax is built.

Resolves: rdar://43024275

@swift-ci Please clean test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - b2cfbc77c10b8ed2a88304c8d1d17c38173d9655

@swift-ci Please clean test Linux platform

@swift-ci please smoke test


History Tab missing Date and Button Text

Hi, thanks for this project,
As seen above, the Categorization of History Based on Date and the Button Text "CLEAR BROWSING DATA..." is missing  from the HISTORY TAB(chrome://history).
Is there any way to fix this?
Thanks in Advance.

Thank you for your feedback, if you have time I will fix it

@19gauravk95 fixed


Storage list sort order

Sequential numerical filenames don't sort properly.
In Storage, if we have if we have 1.png, 10.png, 11.png, ..., 2.png, 20.png, 21.png,
In Finder on Mac, these items would be sorted: 1.png, 2.png, 3.png, ... 10.png, 11.png, etc.
Storage on top, Finder on bottom:

This is expected, as the ORDER BY clause on a string in Postgres does not take into account the number cardinality, I would recommend sorting by created_at.
Alternatively, if the formatted order is important you can always create an RPC function that will allow you to normalize the string and sort by the numeric value
for example:
SELECT *
FROM   objects
ORDER  BY split_part(name, '.', 1)::numeric;


Minor button inconsistency in Create series

[x] Primary action button should be iconless
[x] Cancel link should be the black secondary button with 400 font-weight and black #171717

Assigning to @bp323 for review

Coverage remained the same at 100.0% when pulling a9c4b6870ebb26f50f4bf9e9ffed2f5f22290f73 on Coenego:issue-266-create-series into 40a7f7ab34d5e104556f759e529fd8b003b68866 on CUL-DigitalServices:master.

Verified and merged


Dlib has no attribute get frontal face_detector

face_recognition version:1.23.
Python version:3.6.5
Operating System:windows 7

Description
Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.
IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.

for face detection, MTCNN is much better than dlib.


Admin: OMAR WFS Feed filtering

Need to add filtering for ingest/acquisition date. Add dropdown to filter for today, one week, one month, etc.  Also add custom date capabilities.  Use FuelUX for the date and dropdown controls.
The filtering should also use an additional ajax request to return the amount of items in the feed.  Use --> resultType = HITS (returns  a timestamp and # of  features in JSON)
Add functionality for filter to be constrained to the spatial extent of the map view.

Added filtering icon to the top of the feed .  This div will swap the contents of the feed for a  that houses the filtering controls.

Added new UI controls for enabling filtering on  acquisition and ingested date.  New dropdown that has preset filters for today, yesterday, last 7 days, last 30 days, this month, last month, and last 3 months.

Moved WFS filter to modal/dialog:
Ran out of room for the WFS filtering.  Moved to a modal dialog, and
also add custom date range controls that are enabled via the select
list control.

Added new area in OMAR Feed for displaying current filter type (today, yesterday, last month, custom), and current filter parameters (ingest_date from 2014-05-12 to 2015-05-12)

Added "None" to filtering select list and sort by field and order


Wrong probseg fmriprep output from freesurfer pipeline

Hi, I noticed that the output of the segmentation from the freesurfer pipeline vs the FLIRT pipeline produced different probseg files. Especially, the probseg files from Freesurfer pipeline stream are binarized and not looking nice at all.
probseg-GM produced through Freesurfer pipeline:

probseg-GM produced through FSL  pipeline:

probseg-GM + WM with Freesurfer pipeline:

probseg-GM + WM with FSL pipeline:

probseg-WM with FS pipeline:

wm.mgz file in the freesurfer folder: it looks ok!

Has anybody also noticed this on its data?

What version of fMRIPrep are you using?
20.2.0
What kind of installation are you using? Containers (Singularity, Docker), or "bare-metal"?
Singularity
What is the exact command-line you used?
</usr/local/miniconda/bin/fmriprep /work/EcritApp /work/EcritApp/derivatives --fs-license-file /work/freesurfer/license.txt participant --participant_label 001 --fd-spike-threshold 0.9 --return-all-components -w /work/temp_data_EcritApp --omp-nthreads 8 --nthreads 12 --mem_mb 40000 --ignore slicetiming --output-spaces T1w MNI152NLin2009cAsym MNIPediatricAsym:cohort-3>

Have you checked that your inputs are BIDS valid?
Yes
Did fMRIPrep generate the visual report for this particular subject? If yes, could you share it?

Can you find some traces of the error reported in the visual report (at the bottom) or in crashfiles?
<No errors to report!>

Are you reusing previously computed results (e.g., FreeSurfer, Anatomical derivatives, work directory of previous run)?
Yes Freesurfer results were re-used
fMRIPrep log
If you have access to the output logged by fMRIPrep, please make sure to attach it as a text file to this issue.

Okay, I'm assigning this to the upcoming new release, as new TPMs will drastically affect the results of aCompCor.

There's no direct way to generate gm/wm/csf tissue probabilities in FS, but you could add the -write_probs <filename> flag to mri_ca_label via the recon-all expert options. This saves the aseg posteriors, then you could do some post-processing on that to generate the tissue maps.

These are the histograms of the posteriors. Unclear how to get a tissue probability map from these. @ahoopes a little guidance would be appreciated.

@oesteban Is there any reason not to revert to FAST for TPMs until this is resolved?

Is there any reason not to revert to FAST for TPMs until this is resolved?

Good point, may be the easiest solution for now..

The only reason is to minimize the use of commercially restricted FSL. But in the short term, it might actually be a decent solution.
An alternative to post-processing these posteriors and avoiding FSL (while being an acceptable solution with --fs-no-reconall) would be to use ATROPOS instead, and feed it with priors generated from either aseg (roughly what we already have, converting from aseg to 3-tissue segmentation) or from a template (for the --fs-no-reconall pathway). @eilidhmacnicol is probably the best resource here as she has played quite a bit with ATROPOS' priors (although she's off right this minute, will be back next week).

Sounds good. Then, in order not to block a 21.0.0 release, we will revert to FAST for now. Let's make an issue to further explore FreeSurfer/ANTs replacements for 21.1.

These are the histograms of the posteriors. Unclear how to get a tissue probability map from these.

Just looked at the code a bit. It's kind of a hidden feature, so there's no much (or any) documentation. The -write_probs flag saves a volume that includes only the top 3 label probabilities for each voxel. So, it's a 6-frame image where each frame represents (label-1, prob-1, label-2, prob-2, label-3, prob-3).


What am i doing wrong?

I cant figure it out. Can you teach me?

By default, hcxdumptool doesn't show a real time status.
If you want to see what's going on, you have to enable the waterfall status by option "enable_status":
                                     only incomming traffic
                                     only once at the first occurrence due to MAC randomization of CLIENTs
                                     bitmask:
                                         0: no status (default)
                                         1: EAPOL
                                         2: ASSOCIATION and REASSOCIATION
                                         4: AUTHENTICATION
                                         8: BEACON and PROBERESPONSE
                                        16: ROGUE AP
                                        32: GPS (once a minute)
                                        64: internal status (once a minute)
                                       128: run as server
                                       256: run as client
                                       512: EAP
                                      1024: EAP NAK
                                     characters < 0x20 && > 0x7e are replaced by .
                                     example: show everything but don't run as server or client (1+2+4+8+16 = 31)
                                              show only EAPOL and ASSOCIATION and REASSOCIATION (1+2 = 3)

Just add --enable_status=15 to your command line and you'll see what hcxdumptool is doing.
Also I recommend to do a rca scan first to determine the AP working channel.
Than restart your attack and set AP working channel by -c option.
Remove option -f 79, because it is not mandatory for your attack. Using default settings, hcxdumptool will save all frames to required by hcxpcapngtool to convert to hashcat format.
example command line:
$ hcxpcapngtool -i wlp2s0f0 -o dump.pcapng --filterlist_ap=myfilter.txt --filtermode=2 --enable_status=31

Now wait until you see a message like this:
20:04:08  11 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [EAPOL:M1M2 EAPOLTIME:2214 RC:8 KDV:2]
20:04:08  11 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [EAPOL:M2M3 EAPOLTIME:9680 RC:9 KDV:2]
20:04:08  11 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [EAPOL:M3M4ZEROED EAPOLTIME:7079 RC:9 KDV:2]
or
20:04:08  11 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [EAPOL:M1M2ROGUE EAPOLTIME:1214 RC:8 KDV:2]
or
20:07:48   6 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [PMKIDROGUE:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx KDV:2]
or
20:07:48   6 xxxxxxxxxxxx xxxxxxxxxxxx TARGET_ESSID [PMKID:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx KDV:2]

Closed this report, because it is not an issue, but you can still ask your questions here.

Now I am getting this
08:49:01   6 ffffffffffff 7a83c23a58c6 KD-145834 [BEACON]
08:49:03   6 7acb66e09b89 7a83c23a58c6 KD-145834 [PROBERESPONSE]

This is the result, we expected to see.
Now wait for  a PMKID if the AP will suport this.
If the AP doesn't support PMKIDs, you have to wait for a CLIENT to get a 4way handshake.
BTW:
Have you checked that packet_injection is working?
$ sudo hcxdumptool -i wlp2s0f0 --check_injection

Just updated
09:34:35   6 e6c19793a6f3 7483c23a58c6 THBB [PMKID:e5502c0dc8017b155476e4a1cfdd71d6 KDV:2]
09:34:35   6 e6c19793a6f3 7483c23a58c6 THBB [EAPOL:M1M2 EAPOLTIME:18458 RC:1 KDV:2]
09:34:35   6 e6c19793a6f3 7483c23a58c6 THBB [EAPOL:M2M3 EAPOLTIME:132 RC:2 KDV:2]
09:34:35   6 e6c19793a6f3 7483c23a58c6 THBB [EAPOL:M3M4ZEROED EAPOLTIME:1405 RC:2 KDV:2]

Great, you got a PMKID and a full 4way handshake.
Now you can terminate hcxdumptool and try to recover the PSK.
by wpa-sec:
$ wlancap2wpasec yourdumpfile.pcapng
or
$ hcxpcapngtool -o hash.22000 -E wordlist yourdumpfile.pcapng
$ hashcat m- 22000 hash.22000 wordlist
or
$ hashcat m- 22000 hash.22000 your wordlist
or
$ hcxpsktool -c hash.22000 | hashcat m- 22000 hash.22000
or using masks, rules, other hcxpsktool options...

Great, you got a PMKID and a full 4way handshake.
Now you can terminate hcxdumptool and try to recover the PSK.
by wpa-sec:
$ wlancap2wpasec yourdumpfile.pcapng
or
$ hcxpcapngtool -o hash.22000 -E wordlist yourdumpfile.pcapng
$ hashcat m- 22000 hash.22000 wordlist
or
$ hashcat m- 22000 hash.22000 your wordlist
or
$ hcxpsktool -c hash.22000 | hashcat m- 22000 hash.22000
or using masks, rules, other hcxpsktool options...

What do you mean attack filter?
My new output
awesome@awesome-HP-Pavilion-11-x360-PC:~$ sudo wlancap2wpasec dump.pcapng
connecting to https://wpa-sec.stanev.org
uploading dump.pcapng to https://wpa-sec.stanev.org
reading from phpk25HDa...
summary capture file
file name................................: phpk25HDa
version (pcapng).........................: 1.0
operating system.........................: Linux 5.8.0-59-generic
application..............................: hcxdumptool 6.2.0-14-g2261bfc
interface name...........................: wlp2s0f0
interface vendor.........................: 2c337a
openSSL version..........................: 1.1
weak candidate...........................: 12345678
MAC ACCESS POINT.........................: 68e1661dfc59 (incremented on every new client)
MAC CLIENT...............................: d85dfbf095c6
REPLAYCOUNT..............................: 62345
ANONCE...................................: f902c7ded4daed543106a449e6c9672747f0c8d89a810f8ef4f8d1ecb2f7127c
SNONCE...................................: eb8f9ec84a64db851f39bd53efbedbe1290fd01d3308d5bf141ac239b69a205a
timestamp minimum (GMT)..................: 23.06.2021 17:52:19
timestamp maximum (GMT)..................: 23.06.2021 17:54:50
used capture interfaces..................: 1
link layer header type...................: DLT_IEEE802_11_RADIO (127)
endianess (capture system)...............: little endian
packets inside...........................: 378
BEACON (total)...........................: 41
PROBEREQUEST.............................: 6
PROBEREQUEST (directed)..................: 1
PROBERESPONSE............................: 36
AUTHENTICATION (total)...................: 13
AUTHENTICATION (OPEN SYSTEM).............: 13
IPv4 (total).............................: 31
UDP (total)..............................: 31
EAPOL messages (total)...................: 242
EAPOL RSN messages.......................: 242
ESSID (total unique).....................: 37
EAPOL ANONCE error corrections (NC)......: not detected
EAPOL M1 messages (total)................: 242
PMKID (total)............................: 1
PMKID (best).............................: 1
PMKID ROGUE..............................: 1
PMKID written to old format (1680x)......: 1
session summary
processed pcapng files................: 1

Downloading cracked.txt.gz
and rockyou.txt
working on a slow connection.

hashcat m- 22000 hash.22000 cracked.txt.gz
Can you break this down?
Sorry i know a lot of questions. Learning or at least trying to.

hcxdumptool is able to use 2 different kinds of filters.
attack/protect filter in combination with filter mode:
All traffic is displayed
Attack on targets depend on entries of the filter lists
Berkeley Packet Filter (BPF)
attack/protect and display filter
Only traffic depending on the BPFC (Berkeley Packet Filter Code) is displayed
Attack on targets depend on BPFC.
hashcat has a new mode to work on EAPOL and PMKIDs. This mode is called 22000 and it replace deprecated modes 2500 and 16800

BTW:
There is no need to run hcxtools as super user (sudo).
It is mandatory only for hcxdumptool to get access to the device.

Hash 'hash.22000': Separator unmatched
No hashes loaded.
???

That is a hashcat error message. Make sure you're running latest hashcat version.
Please comment your commandlines. They should look like this:
Convert:
$ hcxpapngtool -o hash.22000 -E wordlist dumpfile.pcapng
$ hashcat -m 22000 hash.22000 wordlist

Finally getting somewhere.

Glad to hear this.
But don't be disappointed, if you are not able to recover the PSK by the rockyou list.
Rockyou is a very (very) old list and not related to WiFi.
Please read more here:
https://hashcat.net/forum/thread-10151-post-52834.html#pid52834

Which one have you had the most luck with?

That depend on the target.
If you really want to try some lists, take a look at this ones:
https://wpa-sec.stanev.org/dict/cracked.txt.gz (updated on every new finding)
https://wpa-sec.stanev.org/dict/rkg.txt.gz (updated on every new finding)
https://3wifi.stascorp.com/ (3WiFi list updated every 3 month)
and
https://github.com/routerkeygen/routerkeygenPC
and
hcxtools

Thanks.


fix(docker): consistently label all our docker images

kong-ee migrated from make release to make package-kong && make build-test-container. This led to breaking gojira because the resulting image lacked some labels.
This PR applies the label to build-test-container and makes it consistent across all docker images

I didn't mean to create this from my fork


Node sdk

PR summary

PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: fabrizio-leoni:x: semantic-release-botYou have signed the CLA already but the status is still pending? Let us recheck it.


Unused class variables

https://github.com/openGemini/opengemini-client-python/blob/c96d4eb1f6f43460d88aef27ccae8b7681f8abe5/opengemini_client/client_impl.py#L68-L71
Here's why it's important to declare class variables that don't need to be shared and aren't being used. Instead of using instance variables directly

I revisited the code, and I found that only the config field is not used in other methods. While I don't object to removing it, I believe it's acceptable to keep it here for now.

Class variables will be share in all instance. It is not a declaration of instance variables. The two are fundamentally different in the way they are used

I see. That's a problem we must solve until release 0.1.0. Would you be willing to assist in fixing this issue?

closed by #49


Dropzone Delete button

Add a delete button to dropzone to delete images already uploaded (requires that we send the uuid back, after upload) or still outstanding for upload.

implemented with d4d7a73b8b213306e40fdd3ea16dca43d18b9d1f


memory leak through nested reactivity

Vue version
3.2.41
Link to minimal reproduction
https://sfc.vuejs.org/#eNq9VE2PmzAQ/Ssjn8juBhJVeyHJqquce6l6CzkYcIITsC1/sI0i/nvHGBqS3UNPlZAYz+d7D8ZX8q5U3DpGUrK2rFE1tewtEwDrkre9gWburJUiHACMvdRsk5Fc6pLpuaYldyaFV/V7BTktzkctnSjnhaylTkGzcgWDndcYzsjY6HtR8+KMnTSjheUt21ZUHBk8b2A5Zg0QAH6ygtaF8/gGVEmANYK84QXYOq2ZsOPxekUYdyO6bmwyoYkmtPOD1AiJW6aplRq4gOVikRFIz+wyCWTk77S+vXG1/UHVbozvv5gxWutkIjUeTaG5smCYdQo9vFFSW/BdDy+oXaOcZSV0cNCygYzg58rIylcmCfyquAF8KCimEXtDRcHAMmP7SilQBzPkVvIDKkbby9CUiyOYSrq6hBxVLaTAqkCAow0bjyD6tpjhsBB8kDEkLH38ljEogcERehTNYPMGV69BzSw0ffTaYRkAYobIezn6Fit8rScY4pbWjqH3+XkWGoAv3/E9ZvdctsNvgdkR90gAeuE1qqmFT0ZfN4X4WIadsPIOYWDxrjW9YHS3v0d6CkhPiPTVvyfYbsWYo/D33o4anGaBCzwhxacHJQeaocdkeKycqaLg+Mxtkug5TiiOyv+f78D/RfWpGA+KD0VfwfwUREYBC44OY/0QT2GdhD3CDSIvJCzRHIHEJyMF3m99P1zgPmAyko4Tho1K0aisVSZNEnMo/K14MrHUxwStWDthecNiZpp5ruWHYRobh2sKmXek+wNJgsMZ
Steps to reproduce
Open the memory tab of the browser and click the "Recalculate" button a few times, see the memory rise steadily and not being reclaimed, even after  a forced GC.
What is expected?
Memory usage should stay close to constant as the amount of stored data stays the same when recalculating
What is actually happening?
Memory usage continuously climbs
System Info
No response
Any additional comments?
Noticed massive slowdowns in our calculation heavy app in production after migrating to vue/nuxt3. Seems like this memory leak is the reason for that.

Minimal reproduction.

I feel this is not strictly called a memory leak. The dynamic creation of computed causes memory to continue to grow. This is a result of improper use of computed. Let's say you create 1000 objects dynamically and they are all being used, of course, the GC can't recycle them.

Also note that you need to put the computed() at the level of the script setup. By being within a method, it's not attached to the component. But this is not a memory leak because this function
const pickComputed = (i) => {
  return computed(() => {
    return computedMap.value[i];
  });
};

should not contain a computed within a function


Server variables in incorrect order

Context
The template for endpoint URL, shown below the endpoint name, is garbled.
Current Behavior
The order of server variables is reversed, and the opening brace for the first variable has become another closing brace for the first variable.
Expected Behavior
The endpoint URL template should be rendered correctly.
Possible Workaround/Solution
For some reason, part of the server variables is set to RTL. The problem disappears for me as a LTR language user when setting it to LTR.

    /{a}/{b}

/{clientid}</div

Steps to Reproduce
{
    "openapi": "3.1.0",
    "info": {
        "title": "Schema",
        "version": "",
        "description": "Stoplight Elements test\n",
        "license": {
            "name": "Test",
            "url": "http:\/\/test"
        }
    },
    "servers": [
        {
            "url": "\/{a}\/{b}",
            "variables": {
                "a": {
                    "default": "default_a"
                },
                "b": {
                    "default": "default_b"
                }
            }
        }
    ],
    "paths": {
        "\/{param}": {
            "get": {
                "summary": "feed\/1",
                "description": "Best feed",
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object"
                                }
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "param",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "number",
                            "minimum": 0
                        }
                    }
                ]
            }
        }
    }
}

Environment
<!DOCTYPE html>

    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>Fishnet Feeds Specification</title>

    <link
        rel="stylesheet"
        href="https://unpkg.com/<EMAIL_ADDRESS>        integrity="sha384-1lLf7J28IOR7k5RlItk6Y+G3hDgVB3y4RCgWNq6ZSwjYfvJXPtZAdW0uklsAZbGW"
        crossorigin="anonymous"
    />

    <elements-api
        apiDescriptionUrl="..."
        router="hash" />

Version used: 7.10.0
Environment name and version (e.g. Chrome 39, node.js 5.4): Google Chrome 116.0.5845.96
Operating System and version (desktop or mobile): Desktop
Link to your environment/workspace/project:

Tested with 7.12.3, still the same problem

How it shows itself

Seems to be triggered if the first character is anything but a-zA-Z - will have to look to figure out what we're doing in the code but some quick checking in studio - if the first character of the url is anything other than that, seems to cause the issue with the published docs -

This also shows up in our existing storybook example.  Will add a test for this behavior first:


As a content admin, when I change or remove a Work URI or edition URI, I want the work and edition URIs validated and content from OCLC to be updated.

If removed: clear out genre and subject
If work or edition uri is changed, repopulate genre and subject
If work or edition uri is changed, check that they still belong together; generate a validation error to prompt the data editor to check why they don’t match
if work uri is empty but edition uri is set, populate work uri based on the edition uri
use a urlfield widget so links are easily clickable

Need to discuss this to clarify status and plans for related data work.


Need a way to specify the return value of delegate_to_routine

Could even just be a standard outputs[:return_value] or similar.

I also propose that the other arguments of the method call be passed after self


Use Cop::Base API for Style department [A-E]

Follow #7868.
This PR uses Cop::Base API for almost Style department's cops.
It targets cop that names begin between A and E. And several A-E cops will be excluded from this PR target and addressed separately.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Fantastic work!


Use code coverage profiling provided by Go 1.20 to increase test coverage.

What would you like to be added?
Go 1.20 supports collecting coverage profiles from integrations tests. https://go.dev/testing/coverage/#glos-integration-test If we bump up Ratify's go version to 1.20 and adopt the coverage profiling, we can increase our test coverage a lot by merging the e2e test coverage. It could give us more confidence in the code quality.
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?

[ ] Yes, I am willing to implement it.

This is really cool. Thanks for the finding @binbin-li


QA - Site - Product Detail Page - Product qty Should be Change in Shipping Section if user change in Main Qty Box.

QA - Site - Product Detail Page - Product qty Should be Change in Shipping Section if user change in Main Qty Box.

Click on search button and go to search page.
Click on any product and go tot detail page.
Select Place Order tab and Select product Color.
Enter Qty in Qty box.
Select Shipping Address.
Now Change qty in Main Qty box.
Observe Qty not change din Shipping section automatically.

Done


Building docs fails

See https://github.com/Cloud-Drift/clouddrift/actions/runs/3935783550/jobs/6731763496.
The relevant bit is:
Theme error:
An error happened in rendering the page api.
Reason: UndefinedError("'logo' is undefined")
make: *** [Makefile:20: html] Error 2
Error: Process completed with exit code 2.

This error goes away for me locally after I have commented out the html_theme_options in docs/conf.py. However, it doesn't seem to go away in GitHub Actions and I don't understand why.
@philippemiron do you have an idea?

I haven't test but I believe it's fixed in >=6.0.0. There is a workaround in this thread, here.

Indeed, I can confirm that it worked for me locally only because I was on an older Sphinx (5.3.0). Updating it to 6.0.0 broke it. The workaround that you link to seems to work; it's unclear to me from the rest of the thread and the linked PR what needs to be changed in conf.py. So I'll use the workaround instead for now.


Warning: constant ::Fixnum is deprecated

I get following deprecation error when trying to run Rails console after ruby upgrade to v2.5.3.
stomp-1.4.8/lib/connection/netio.rb:156: warning: constant ::Fixnum is deprecated

This happens because of changes related to https://bugs.ruby-lang.org/issues/12005.
ruby --version
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]

Proposed fix https://github.com/stompgem/stomp/pull/167
--- a/lib/connection/netio.rb
+++ b/lib/connection/netio.rb
@@ -116,7 +116,7 @@ module Stomp
           #
           # Note: experiments with JRuby seem to show that socket.ready? never
           # returns true.  It appears that in cases where Ruby returns true
-          # that JRuby returns a Fixnum.  We attempt to adjust for this
+          # that JRuby returns an Integer.  We attempt to adjust for this
           # in the _is_ready? method.
           #
           # Note 2: the draining of new lines must be done _after_ a message
@@ -178,7 +178,7 @@ module Stomp
           # rdy = true
           rdy = false # A test
         else
-          rdy = (rdy.class == Fixnum || rdy.class == TrueClass) ? true : false
+          rdy = (rdy.class == Integer || rdy.class == TrueClass) ? true : false
         end

Closed.  See:  cbdd6db on dev branch.


Add option to enable/disable rainbow colouring on certain types of braces

I do often find that with parentheses it’s hard to tell which opening and closing go together, but not really so much with curly braces.
It would be nice to have an option to enable/disable the rainbow colouring for certain types of braces.
In my case I would disable it on curly braces but leave it enabled on parentheses for example.

Options added. Deploying to Marketplace now


[React][Dialog] Controlled Dialog is not fully controlled

Description
Hi!
When using the Dialog component in controlled mode, there is an issue with the close behavior. When in controlled mode, I expect to fully control "how" the dialog will be closed but that's not the case currently as the dialog will always be closed internally when clicking on the CloseTrigger component, using the Esc key, or clicking on the backdrop.
As a workaround, I could listen for the onOpenChange property and update the parent state, but it does not make any sense as  the open state of the dialog should be "controlled" by the parent directly. Also, it causes an extra render because we're trying to sync both the state of the parent and the internal dialog state.
When looking at other component libraries (MUI, HeadlessUI, etc.), a dialog in controlled mode won't be closed unless the parent sets the proper open value.
Link to Reproduction (or Detailed Explanation)
https://codesandbox.io/s/ark-ui-dialog-controlled-2l28fg?file=/src/Dialog.tsx
Steps to Reproduce

Go to the reproduction link
Open the dialog
Close the dialog by clicking on the close button
Check the console logs, you should see a message indicating that the onOpenChange hander has been called with the false value meaning the internal dialog state has changed
Try to open the dialog again
The dialog won't open because the parent state is not in sync.

Expected behavior
The dialog should not close in this case when I click on the close button because I don't set the open props to false.
Ark UI Version
1.0.1
Framework

[X] React
[ ] Solid
[ ] Vue

Browser
Google Chrome 119
Additional Information
It's possible that we have the same issue with other components that have a controlled mode and overlay.

@fseglard
Mhh I'm a bit indifferent on this one. If you want to control a component you should also add the onOpenChange handler to your component, similiar when you would use an <input value="foo" /> and get this warning: Warning: You provided a valueprop to a form field without anonChange handler.
Also would learn the motivation for this behaviour. What do you like to achieve with this?
I will sync with @segunadebayo on this one.

@cschroeter
I totally agree that you should have the onChange handler (or the onOpenChange handler in the case of the dialog) and this is currently the case if you look at the codesandbox example. But that's not the point of the issue.
The example you gave with the input is an excellent one. When you "control" an input, the value of the input is controlled by the parent component using the onChange handler. So the value of the input will never change unless the parent set a proper value.
In the case of the dialog, I expect the same behavior. The dialog should not be closed unless the parent specifically pass the open props to false.
My personal use case is that I need to trigger a confirmation message for the user when he wants to close the dialog. If the user confirm that he wants to close, then the dialog should close, but if he doesn't, the modal should stay open.
Hope this helps!

@fseglard
Understood your usecase, but I don't understand why you need to control the dialog. See example: https://codesandbox.io/s/ark-ui-dialog-controlled-forked-jdrvyq?file=/src/Dialog.tsx

Yes, I could use some UI/UX alternatives to do that, but I still think that this is an issue in Ark-UI as the controlled mode doesn't work exactly how it should be.
Also in your example, you disable the closeOnEscapeKeyDown and closeOnInteractOutside but I don't want to disable them! The onOpenChange handler should be called when the user click on the backdrop, and let the parent handle the logic. Otherwise, I don't see the point to have a controlled mode.

Otherwise, I don't see the point to have a controlled mode.

The reason this make sense is when you want to control the Dialog from outside and don't want to rely on the DialogTrigger within the Dialog.
Anyhow this is not supported at the moment in Zag.js so let me transfer this issue over there.


Allow nox.parametrize to select the session Python

Fixes #392
Here's a first go at allowing @nox.parametrize to select the Python interpreter for a session.

Only a few nitpicks on my side, otherwise it looks great ! Thanks @cjolowicz


.al files are associated with Perl, and not the AL language (D365 BC)

All repositories on the GitHub with Dynamics 365 Business Central projects, will show that the language used is Perl, and not AL.
Under you will find only one example, but literally every repository is affected. -> Waldo repo
Based on #2362, .al extension is used for Perl autoload files.
Expected language:
AL
Detected language:
Perl

@borisimple Could you include some links to AL language documentation? That way we'll have something to use when filtering search results to determine whether it's eligible for support by GitHub/Linguist.

@Alhadis Here's the link

Thanks. I also found the relevant repository on GitHub, which provides a syntax highlighting grammar we can use (provided it meets eligibility).

Ugh, I didn't notice that we already support it (I assumed the highlighting was coming from the Perl grammar…) That'll teach me for being lazy. 😅
In that case, we can solve this by adding a heuristic to match commonly-used AL constructs; codeunit looks tempting, but we'd need to be very specific about how it's matched, since it's easy to match valid Perl code, too.

Hmm, it seems that I did not research it well, as somebody already did this a few days ago!
Add Microsoft AL Code Language #4916

Currently, the AL language entry is named AL code, which sounds redundant. Should we rename it to simply AL…?

I think that would be great!

Hmm, it seems that I did not research it well, as somebody already did this a few days ago!
Add Microsoft AL Code Language #4916

Yup, and it's already live on GitHub.com

Under you will find only one example, but literally every repository is affected. -> Waldo repo

This will be because the repo hasn't been touched since support was added. We do not go back and reassess every repo when we make a new Linguist release as it would be incredibly resource intensive for little gain. That, and any other AL repo, will be re-analyzed the next time a change is pushed.

@lildude
This makes sense now. Thanks for the feedback.
Although it would still be nice that extension is called "AL" only instead of "AL Code" 😏
I am closing this issue now.