Custom Scalar Types support

I have a custom scalar type named JSON from schema. It could be any JSONObject from server. I tried CustomTypeAdapter<String> to receive a  raw String in decode(String value) from response in order to parse on my own.
what I get
{kind=state, document={data={}, kind=document}}

what I expect is a raw String from response
{"kind"="state", "document"={ "data" ={},  "kind" = "document"}}

Is there any way to achieve this?

Are you sure that you get the right response (what you expect) from server? Could you please dump the raw http response

{
    "data": {
        "upcomingPage": {
            "variant": {
                "id": "2803",
                "_id": "VXBjb21pbmdQYWdlVmFyaWFudC0yODAz",
                "kind": "a",
                "brand_color": "#e67e22",
                "logo_uuid": "a5fd6949-d127-40ab-8df5-70c1538a649a",
                "background_image_uuid": "04ee33ef-4981-4b2c-8c6b-8120bb5a5c6d",
                "__typename": "UpcomingPageVariant",
                "who_text": {
                    "kind": "state",
                    "document": {
                        "data": {},
                        "kind": "document",
                        "nodes": [
                            {
                                "data": {},
                                "kind": "block",
                                "type": "paragraph",
                                "nodes": [
                                    {
                                        "kind": "text",
                                        "ranges": [
                                            {
                                                "kind": "range",
                                                "text": "Hi, I'm David, the founder of ",
                                                "marks": []
                                            },
                                            {
                                                "kind": "range",
                                                "text": "powrbot 🤖 ",
                                                "marks": [
                                                    {
                                                        "data": {},
                                                        "kind": "mark",
                                                        "type": "bold"
                                                    }
                                                ]
                                            }
                                        ]
                                    }
                                ],
                                "isVoid": false
                            }
                        ]
                    }
                },
                "what_text": {
                    "kind": "state",
                    "document": {
                        "data": {},
                        "kind": "document",
                        "nodes": [
                            {
                                "data": {
                                    "width": 477,
                                    "height": 160,
                                    "imageUuid": "69e21dc5-6481-41b5-9542-90d8de2c5c89"
                                },
                                "kind": "block",
                                "type": "imgix",
                                "nodes": [
                                    {
                                        "kind": "text",
                                        "ranges": [
                                            {
                                                "kind": "range",
                                                "text": " ",
                                                "marks": []
                                            }
                                        ]
                                    }
                                ],
                                "isVoid": true
                            },
                            {
                                "data": {},
                                "kind": "block",
                                "type": "paragraph",
                                "nodes": [
                                    {
                                        "kind": "text",
                                        "ranges": [
                                            {
                                                "kind": "range",
                                                "text": "We're building a web app that turns company names into data, like their ",
                                                "marks": []
                                            },
                                            {
                                                "kind": "range",
                                                "text": "website",
                                                "marks": [
                                                    {
                                                        "data": {},
                                                        "kind": "mark",
                                                        "type": "bold"
                                                    }
                                                ]
                                            },
                                            {
                                                "kind": "range",
                                                "text": ", ",
                                                "marks": []
                                            },
                                            {
                                                "kind": "range",
                                                "text": "industry",
                                                "marks": [
                                                    {
                                                        "data": {},
                                                        "kind": "mark",
                                                        "type": "bold"
                                                    }
                                                ]
                                            },
                                            {
                                                "kind": "range",
                                                "text": ", ",
                                                "marks": []
                                            },
                                            {
                                                "kind": "range",
                                                "text": "location &",
                                                "marks": [
                                                    {
                                                        "data": {},
                                                        "kind": "mark",
                                                        "type": "bold"
                                                    }
                                                ]
                                            },
                                            {
                                                "kind": "range",
                                                "text": " ",
                                                "marks": []
                                            },
                                            {
                                                "kind": "range",
                                                "text": "revenue.",
                                                "marks": [
                                                    {
                                                        "data": {},
                                                        "kind": "mark",
                                                        "type": "bold"
                                                    }
                                                ]
                                            },
                                            {
                                                "kind": "range",
                                                "text": " No more Googling! 🎉",
                                                "marks": []
                                            }
                                        ]
                                    }
                                ],
                                "isVoid": false
                            }
                        ]
                    }
                },
                "why_text": {
                    "kind": "state",
                    "document": {
                        "data": {},
                        "kind": "document",
                        "nodes": [
                            {
                                "data": {},
                                "kind": "block",
                                "type": "paragraph",
                                "nodes": [
                                    {
                                        "kind": "text",
                                        "ranges": [
                                            {
                                                "kind": "range",
                                                "text": "Subscribe below for early access –  first 500 subscribers will get the Pro Plan free for 6 months! 📊🚀",
                                                "marks": []
                                            }
                                        ]
                                    }
                                ],
                                "isVoid": false
                            }
                        ]
                    }
                }
            },
            "success_text": {
                "kind": "state",
                "document": {
                    "data": {},
                    "kind": "document",
                    "nodes": [
                        {
                            "data": {},
                            "kind": "block",
                            "type": "line",
                            "nodes": [
                                {
                                    "kind": "text",
                                    "ranges": [
                                        {
                                            "kind": "range",
                                            "text": "Thank you for supporting our project!  We'll be in touch shortly with our beta release invite. ",
                                            "marks": []
                                        }
                                    ]
                                }
                            ],
                            "isVoid": false
                        }
                    ]
                }
            },
}

This is what I get from okhttpInterceptor

I guess the problem here guys that your scalar types are not scalar after all, they are objects.
Right now we are expecting true scalar type that can be represented by String. So in case if it a JSON then it needs to be a string not nested json

yes, they are objects

Thanks for the info folks. I want to add that our iOS client that uses the iOS Apollo SDK is working as expected for this case. The following decodable works just fine:
public typealias JSON = [String : Any?]

extension Dictionary: JSONDecodable {
    public init(jsonValue value: JSONValue) throws {
        guard let dictionary = value as? Dictionary else {
            throw JSONDecodingError.couldNotConvert(value: value, to: Dictionary.self)
        }

        self = dictionary
    }
}

...

public typealias JSONValue = Any

One way is to make them as a raw string instead of nested objects on the server side. Long  way is to properly serialize these nested objects back to Json instead of just calling toString on map.

Thank you @sav007 . The string method works just fine for me. Appreciate it!

@TommyVisic Could you be more specific where to call toString?

No problem @dbof10. We just have to treat fields that hold JSON as regular strings instead of trying to use a custom JSON scalar (like the one I linked above). Then, when interacting with Apollo code gen types, we get the plain JSON string and just parse it into a JSONObject. Basically instead of expecting the Apollo SDK to give your client a JSONObject, expect it to give you a JSON string.
val jsonString = node.analytic_params_json() // <-- Apollo code gen type
val jsonObject = JSONObject(jsonString)

Your schema for the field should look something like:
{
  "name": "analytic_params_json",
  "description": null,
  "args": [],
  "type": {
    "kind": "NON_NULL",
    "name": null,
    "ofType": {
      "kind": "SCALAR",
      "name": "String", // <------------ this
      "ofType": null
    }
  },

Thanks

I changed to String and another error Caused by: java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to java.lang.String


home-assistant-custom-lovelace-modules.ha-floorplan: init at 1.0.44

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Well, adding this to my home-assistant installation causes HA to not start anymore... :eyes:

Do we need floorplan-examples.js?

For the installation I have locally, it wasn't necessary. But I am also not done yet with designing my rooms, so we might want to wait for that or someone else confirming that everything works as expected.
That might take some time, as the component is pretty involved (as in: loads to configure and tune).


Integrate EOS libraries [2/2]

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)

Fixed big int encoding and decoding bug
Removed null safety lint ignores

Note: This is on top of the integrate dart ESR PR.
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Last commit added all the EOS libs to the project
This introduced a bug when sending transactions
As it turns out, the pointycastle library introduced a breaking change in two helper methods, which caused EOS dart to break.
While pointycastle did offer a backwards compatible way of calling these utlity functions, I thought it safest to import the 1.x versions of these 2 utility methods into our codebase. They are trivial functions.
I added the utility functions to eosdart_ecc inside /crypto
🙈 Screenshots
👯♀ Paired with

code looks good. Needs testing.

Hmm the merge created conflicts... resolving...

Adding this as part 2 of the null safety, eos dart integration


Added custom labels on jenkins ingress

Signed-off-by: wjeanneau<EMAIL_ADDRESS>
What this PR does / why we need it:
Implement custom labels for ingress
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x ] DCO signed
[x ] Chart Version bumped
[x ] Variables are documented in the README.md

/assign @maorfr

/lgtm


Key Establishment

[ ] TPM keys
[ ] Non-TPM keys

This issue should only be closed once #2 and #3 are closed


Add conditional_field, quick_node_clone, advagg and field_group modules

Added mentioned modules via composer. Needed modules should be enabled on various environments.
Testing Instruction(s)

Screenshots

Metadata

Question
Answer

Did you apply meaningful labels to the pull request?

Documentation reflects changes?

CHANGELOG reflects changes?

Unit/Functional tests cover changes?

Did you perform browser testing?

Did you provide detail in the summary on how and where to test this branch?

Risk level

Relevant links
JIRA issue, bug reports, security alerts, etc.

Ok formatting looks good! Please add changelog


Boyer-Moore search()

ISO paper for this feature: P0220R1
First implemented in: VS 2017 15.3
Existing docs:
https://docs.microsoft.com/en-us/cpp/standard-library/boyer-moore-searcher-class?view=vs-2019
https://docs.microsoft.com/en-us/cpp/standard-library/boyer-moore-horspool-searcher-class?view=vs-2019
PAGES   ARE ORPHANED but linked from https://docs.microsoft.com/en-us/cpp/standard-library/algorithm-functions?view=vs-2019#search

moved to quest


feat: Persist GUI app settings between executions

Currently, the GUI app does not remember settings (input and output paths, advanced settings) between different executions of the app.   This PR adds support for persisting settings between runs of the validator, using the Java Preferences API for storage.
Closes #1165.
Please make sure these boxes are checked before submitting your pull request - thanks!

[X] Run the unit tests with gradle test to make sure you didn't break anything
[X] Format the title like "feat: [new feature short description]". Title must follow the Conventional Commit Specification(https://www.conventionalcommits.org/en/v1.0.0/).
[X] Linked all relevant issues

The issue was that I hadn't added the "java.prefs" module to the list of required modules in the apps module spec.  I fixed that in 09d79fb348d993f93a027bf4290f88fb796bf324.
But more broadly, the exception that was thrown was getting added to the run.log because it was an uncaught exception in the UI thread.  In 101b2da1e0265ae7e0242457445b44926714c29f, I added a custom uncaught exception handler that logs these exceptions (and anything else we missed) into the application log.  I've verified that the logging properly logs the missing error above.  Doesn't stop the crash but does make it easier to debug.
This all makes me wonder if we can actually run the full application in the CI environment somehow to catch issues like this.  Not sure if a GUI application would be supported though...

This all makes me wonder if we can actually run the full application in the CI environment somehow to catch issues like this. Not sure if a GUI application would be supported though...

If we can do that, that would be great. We could open an issue to investigate it. I don't think it's required for this PR though.


interaction with OH rules?

would it be possible to have rtmbot interact with OH rules to post content out to slack based on triggers in OH instead of requests from slack users?
ie -- I'd like to create a rule to post perimeter security exceptions (doors/windows opening and motion) to slack. Other irregular events such as thermostat temp/mode changes, presence, usage stats, and alarms would all be nice to post in my family slack stream

That sounds like a cool idea. If you don't need the ability to respond to users and just want to create a broadcast service, check out this library: https://github.com/slackhq/python-slackclient
That one will let you make arbitrary calls to the Slack Web API using whatever Python code you'd like.


Consider removing strong naming from all the projects

As the official documentation says ^1:

For .NET Core and .NET 5+, strong-named assemblies do not provide material benefits. The runtime never validates the strong-name signature, nor does it use the strong-name for assembly binding.

I believe the strong naming key should be removed from all the .csproj-files as all the libraries target .NET 6+
See also potential problems with strong naming here: https://github.com/dotnet/runtime/blob/main/docs/project/strong-name-signing.md

Nevermind, misread the configuraiton. It's just signing for identity, e.g. https://github.com/dotnet/runtime/blob/main/docs/project/public-signing.md


Avoid calling user.Current() on windows

As mentioned on #69, I think this fix is better and should be merged. Unfortunately I can't LGTM this PR.


WIP: CI: make sure Azure job step fails when building a SciPy wheel fails

Closes gh-14482
[skip github]

I think this fixes it. If anyone speaks Powershell well, a sanity check would be nice.

I adopted @larsoner's suggestion. This is green and solves an annoying problem, so let's give it a go. Thanks @larsoner and @tylerjereddy


test_nodes: catch keyboard interrupt and add simple launch tests

When the test nodes are shut down by ctrl-c keyboard interrupt we see this verbose console output
    [publisher_forward_position_controller-15] Traceback (most recent call last):
    [publisher_forward_position_controller-15]   File "/home/runner/work/ros2_control_demos/ros2_control_demos/.work/upstream_ws/install/ros2_controllers_test_nodes/lib/ros2_controllers_test_nodes/publisher_forward_position_controller", line 33, in <module>
    [publisher_forward_position_controller-15]     sys.exit(load_entry_point('ros2-controllers-test-nodes==3.28.0', 'console_scripts', 'publisher_forward_position_controller')())
    [publisher_forward_position_controller-15]   File "/home/runner/work/ros2_control_demos/ros2_control_demos/.work/upstream_ws/install/ros2_controllers_test_nodes/lib/python3.10/site-packages/ros2_controllers_test_nodes/publisher_forward_position_controller.py", line 71, in main
    [publisher_forward_position_controller-15]     rclpy.spin(publisher_forward_position)
    [publisher_forward_position_controller-15]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/__init__.py", line 228, in spin
    [publisher_forward_position_controller-15]     executor.spin_once()
    [publisher_forward_position_controller-15]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/executors.py", line 787, in spin_once
    [publisher_forward_position_controller-15]     self._spin_once_impl(timeout_sec)
    [publisher_forward_position_controller-15]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/executors.py", line 776, in _spin_once_impl
    [publisher_forward_position_controller-15]     handler, entity, node = self.wait_for_ready_callbacks(timeout_sec=timeout_sec)
    [publisher_forward_position_controller-15]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/executors.py", line 762, in wait_for_ready_callbacks
    [publisher_forward_position_controller-15]     return next(self._cb_iter)
    [publisher_forward_position_controller-15]   File "/opt/ros/iron/lib/python3.10/site-packages/rclpy/executors.py", line 666, in _wait_for_ready_callbacks
    [publisher_forward_position_controller-15]     wait_set.wait(timeout_nsec)
    [publisher_forward_position_controller-15] KeyboardInterrupt

With the proposed changes, we get a nice
 $ ros2 run ros2_controllers_test_nodes publisher_forward_position_controller --ros-args --params-file src/ros2_control_demos/example_1/bringup/config/rrbot_forward_position_publisher.yaml
[INFO] [1731859611.015984561] [publisher_forward_position_controller]: Publishing 4 goals on topic '/forward_position_controller/commands' every 5 s'
[INFO] [1731859616.018749700] [publisher_forward_position_controller]: Publishing: "array('d', [0.785, 0.785])"
^CKeyboard interrupt received. Shutting down node.

I'm a little bit puzzled about the fact that the code in the finally branch has zero coverage. maybe rlcpy.ok() is always false here. Should the destroy_node() be called even if the context is not valid any more? @saikishor any idea?


[Feature]: Need Textarea Component

What problem does this feature solve?
Need Textarea component
What does the proposed API look like?
No response

Hey! Cf. https://github.com/tremorlabs/tremor/issues/363

cf. #363

cf. #670


What does "PMM" mean in pcm-memory.x?

The help message says option "-pmm" means "monitor PMM memory bandwidth (instead of partial writes)". What is PMM? Persistent memory module? How is it related to partial writes? Thanks!

This is specifically for monitoring the memory bandwidth of persistent memory DIMMs. For example: Optane DC Persistent Memory (https://www.intel.com/content/www/us/en/architecture-and-technology/optane-dc-persistent-memory.html)

@nevets963 Thank you! It would be nice to mention that in the documentation/help message.


Feature request: Custom Loss

Hello!
Are there plans to add custom loss support for this beautiful library?
I am particularly interested in heterogenous classifier.

Hi @Teeeto
We don't have plans to support custom loss functions right now (it is difficult without major architectural changes).
However, if there are some specific loss functions that you are interested in, please let us know and we will consider adding them.


Move specific controllers to organizations scope and update tests

resolves #621

✍ Description

This moves specific controllers under the scope of organizations for appropriate tenant scope. The following controllers were moved:

adoptable_pets
adopter_applications
adopter_foster_profiles
matches
profile_reviews

The associated routes were scoped to organizations and tested were updated.
One thing I am a bit confused on is regarding Action Policy for adopter_applications_controller. There are two preexisting policies called adopter_application_policy.rb and organizations/adopter_application_policy.rb. I'm not sure exactly where organizations/adopter_application_policy.rb is used (adoption_application_reviews_controller?)
Because action policy defaults to inferring the policy from the controller name, moving adopter_applications_controller under organizations causes it to try and use organizations/adopter_application_policy.rb. I used the explicit with: option to specify the correct policy which I don't immediately see an issue with. If I'm missing something or there is a better way to do this I'm all ears.

Thanks @jmilljr24! Should we also move the respective policies under the organization scope? For example, we have moved AdopterFosterProfilesController under Org, but its policy remains outside of the Org scope. I would have guessed the policy would not work if it is not scoped the same as it's calling controller given it relies on the controller name to find it?
You have a good question about the adopter applications policy. @mononoken will have to remind me of the reason for the naming (I think there was discussion around this). We have two adopter application related controllers, one for adopters to make applications (AdopterApplicationsController), and one for staff to review them (AdoptionApplicationReviewsController). Now these will be in the same scope under Org, I think we will need to rename the Policy classes if we move them also to the same scope?

Moving the policies under org was my original intention and that's were I discovered the conflict with adopter_application. Then I guess I didn't go back and try moving the others. Sorry about that. I will look into moving those those and we can reconvene on the adopter application policies when we get more info from Ken.

@jmilljr24 no problem at all! Sounds good.

One thing I am a bit confused on is regarding Action Policy for adopter_applications_controller. There are two preexisting policies called adopter_application_policy.rb and organizations/adopter_application_policy.rb. I'm not sure exactly where organizations/adopter_application_policy.rb is used (adoption_application_reviews_controller?)
Because action policy defaults to inferring the policy from the controller name, moving adopter_applications_controller under organizations causes it to try and use organizations/adopter_application_policy.rb. I used the explicit with: option to specify the correct policy which I don't immediately see an issue with. If I'm missing something or there is a better way to do this I'm all ears.

Just looking at the controllers tests I wrote, these are where each policy is currently used on main:
Organizations::AdopterApplicationPolicy -> Organizations::AdopterApplicationsReviewController
AdopterApplicationPolicy -> AdopterApplicationsController
It's important to remember, the policy lookup from calling authorize! is not looking at the controller name, just the namespacing. It's actually using the name of the class of the object passed to the method. So:
class Organizations::AdoptionApplicationReviewsController < Organizations::BaseController
  ...
  def set_adopter_application
    @application = AdopterApplication.find(params[:id])
    authorize! @application
    # This is looking for @application.class.name + "Policy" with the Organizations scope
    # "Organizations::AdopterApplicationPolicy"
  end

You can read more here: https://actionpolicy.evilmartians.io/#/lookup_chain?id=policy-lookup
Now that we are moving one of these controllers in the same scope, they will try to use the same policy lookup.
Two solutions I can think of:

Specify using with as Justin mentioned.
Further scope these controllers

I think there may also be a third option for using Action Policy to specify the policy class to use within a method in a controller too. I don't see it in a quick look, but I will look deeper tonight.
Now that these are both in Organizations, it is further illuminating what Ben said, that really the reviews is how staff interact with AdopterApplication and the other controller is how the adopter interacts with them. We could add a staff and adopter scope to organizations. I think this option may be the better option, especially if we can think of other controllers that would benefit from this scoping.
Scoping deeper gives me pause but the organizations scope is so broad, I think it's okay in this case. What do y'all think @jmilljr24 and @kasugaijin ?

Ah right thanks for the explanation @mononoken that makes sense now. Thinking about name spacing, I think there is benefit to having staff, adopter and foster namespaces inside of organizations. Relevant contollers live there and generic controller to org operations live in the org namespace. It’s a much bigger task to do. So @jmilljr24 what is your thoughts on this? We could stick with declaring with for now and add more namespaces later, or if you think it should be done at once, you can go for it.

@mononoken thank you for the detailed explanation. That definitely helps me understand it better. This is pushing the boundaries of my knowledge so I can't speak on the best way forward. (I have learned a lot just working through this so your guidance has been much appreciated!!)
I will push up the change with the other policies scoped under org that don't have the conflict. @kasugaijin I feel like a much bigger change would probably require too much of your undivided attention for me to do it successfully without a lot of help. So for now can we go the current structure?

@mononoken thank you for the detailed explanation. That definitely helps me understand it better. This is pushing the boundaries of my knowledge so I can't speak on the best way forward. (I have learned a lot just working through this so your guidance has been much appreciated!!)
I will push up the change with the other policies scoped under org that don't have the conflict. @kasugaijin I feel like a much bigger change would probably require too much of your undivided attention for me to do it successfully without a lot of help. So for now can we go the current structure?

Yes that's fine! We can add this as a future task for code organization.


Weird Emoji window

I always use a custom theme, but this also happens with the standard skin of discord.
Even if i disable all my plugins, this problem still occurs :/

Thanks for reporting it, it's already solved in #21

You mean the Version Updated Nov 4th, 2019? If so, then the problem still exists for me.

No, patch #21


collectionId in path

Step to reproduce:

go to any chain
click on explore
click on any collection item
you'll have a ?collectionId=... param in path which is redundant

strange bug
originates from Navbar.vue
deleting all of  <b-navbar> children templated stops he bug
putting any of them back (brand, start, end) and the bug returns

strange bug originates from Navbar.vue deleting all of <b-navbar> children templated stops he bug putting any of them back (brand, start, end) and the bug returns

Maybe it's comming from Search component which is in template #start
Time to replace b-navbar with Bulma navbar

nah
it's coming from watch function in SearchBar.vue, related with enabling inside collection search:

https://github.com/kodadot/nft-gallery/pull/5851

  @Watch('isSearchInCollectionMode', { immediate: true })
  private onSearchInCollectionModeChanged() {
    const { replaceUrl } = useReplaceUrl()
    replaceUrl({
      collectionId: this.isSearchInCollectionMode
        ? this.$route.params.id
        : undefined,
    })
  }
}

nah it's coming from watch function in SearchBar.vue, related with enabling inside collection search:

hmmm... even without this part I still have collectionId= in path

i don't
but in fact, some url query param is needed as it signals that the search is to happen inside a collection
so maybe change it to something like collection_search=true ?

but in fact, some url query param is needed as it signals that the search is to happen inside a collection
It's true : )
so maybe change it to something like collection_search=true ?
It would improve a little but it would still bring an extra params collection_search on url. If we would like to remove this param at all, I would try to add a global state store, and share the state with some related component.

so @roiLeo , what kind of solution you would like to see here?

[ ] url param change => collection_search=true
[ ] hide it away in the store

so @roiLeo , what kind of solution you would like to see here?
* [ ]  url param change => collection_search=true

* [ ]  hide it away in the store

I don't understand why you need to check ?collectionId= params when we already have it in the url slug (/:prefix/collection/:id) but basically I'd like to avoid repetition

I don't understand why you need to check ?collectionId= params when we already have it in the url slug (/:prefix/collection/:id) but basically I'd like to avoid repetition

making the param repeat the collection id was a bad design choice, but we still need something to signal if a search is 'confined' to specific collection item or not
it really acts as a boolean flag

Could you point me to where this part of code is? It seems that I can't find it.

I found a weird glitch, when you resize browser to mobile/tablet in /:prefix/collection/:id page it remove ?collectionId=:id query param.
issue comes when Searchbar is displayed?

I found a weird glitch, when you resize browser to mobile/tablet in /:prefix/collection/:id page it remove ?collectionId=:id query param. issue comes when Searchbar is displayed?

Yes. It's a special status of the searchbar.

edit: each time I resize browser it throw warning ⚠ NavigationDuplicated: Avoided redundant navigation to current location: "/snek/collection/3124270296?collectionId=3124270296"

It may not be related to this issue I guess : )
I will work on this one issue with the state store solution.


Can't add any host to the nginx-manager since 2 days

Since two days, out of the blue, i couldn't  add hosts to the UI anymore running on aarch64. The interface will work but there is no response from any panel on the dashboard. I've tried to rebuild everything but with the same result. Tested it on a armv7 image and it worked like a charm.

Same for me, Logs show that its closing mysql and shutting down. Only started happening a day or 2 ago.

As this happened a while ago we probably don't have a chance at finding the issue now. If anyone ever experiences the issue again please open a new issue.


Link to download more wallpapers

The collection of images has grown, and I found a blogpost with links to download more of them, in a few ways. https://www.gtricks.com/earth/download-all-google-earth-view-wallpapers/
Might be worth linking to from the README?
Cheers

Thanks for sharing. Done.


Proposal: Allow senders to specify gas recommendation per relayer message in ICS-29

Re: #1763
A long term solution to the arbitrary gas per packet msg problem would be to allow users to suggest a gas for each of the packet messages in the ICS29 fee.
RecvFee: {Gas: 10000, Fee: 10stake},
AckFee: {Gas: 200000, Fee: 300stake},
TimeoutFee: {Gas: 100, Fee: 1stake},

Of course the relayer still has complete control over the gas value, but they may not know what a reasonable value might be given that there might be arbitrary computation happening in the packet message. If the user has more context, they can provide it in the ics29 message.
The relayer can then look at the fee that they would get, and the gas they are expected to provide and make an informed decision on whether it is worth relaying.
however, one major issue with this approach is that the user may suggest a fee that is too low. The relayer sends the tx with the suggested gas limit and loses the fee and the msg is unsuccessful.
In this case, the relayer should still be paid imo; but it isn't supported atm with ICS-29.

What if this was an ICA fee grant instead of a gas suggestion? That would solve the failed-tx dilemma


EXIT/SCRIPT results in IF nesting error

Reported by Andrew Wittenberg on 7 Mar 2008 23:42 UTC
I discovered this when testing for an error condition, for which I wanted to
exit the current script with EXIT/SCRIPT.  It seems that EXIT doesn't always pop
the IF..ENDIF stack, resulting in a nesting error upon repeated invocations of
the script.
Note also how the REPEAT at first works, then fails, then works, then fails, in
an alternating pattern.
    NOAA/PMEL TMAP
    FERRET v6.08
    Linux(g77) 2.4.21-32 - 11/13/07
     7-Mar-08 18:32

yes? can mode verify
yes? sp echo if 1 then > a.jnl
yes? sp echo if 1 then >> a.jnl
yes? sp echo exit/script >> a.jnl
yes? sp echo endif >> a.jnl
yes? sp echo endif >> a.jnl
yes? rep/l=1:7 go a
yes? rep/l=1:7 go a
**ERROR: invalid command: IFs nested too deep
if 1 then
Command file, command group, or REPEAT execution aborted
yes? rep/l=1:7 go a
yes? rep/l=1:7 go a
**ERROR: invalid command: IFs nested too deep
if 1 then
Command file, command group, or REPEAT execution aborted
Now let's create the same script, but all in one line -- why does this no longer
give the nesting error?
    NOAA/PMEL TMAP
    FERRET v6.08
    Linux(g77) 2.4.21-32 - 11/13/07
     7-Mar-08 18:33

yes? can mode verify
yes? sp echo "if 1 then\; if 1 then\; exit/script\; endif\; endif" > b.jnl
yes? rep/l=1:7 go b
yes? rep/l=1:7 go b
yes? rep/l=1:7 go b
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1566

Comment by<EMAIL_ADDRESS>on 24 Apr 2008 17:49 UTC
XEQ_EXIT looks at the control stack, and pops the stack on an EXIT/SCRIPT for
every command code stored in cs_cmnd_num which matches REPEAT, IF, or a
semicolon, looping over commands until the first GO encountered. So far so good.
However, in XEQ_IF, the control stack is marked with the command IF only for
single-line IF statements. Multi-line IF blocks are handled on a separate IF
stack, if_cs.
The fix is to add a check in the EXIT/SCRIPT loop of XEQ_EXIT, to check whether
the current position of the IF-stack matches the control stack index.


Add integration with Hugging Face

Hi,
Thanks for this nice work. I wrote a quick PoC to showcase that you can easily have integration so that you can automatically load the various VisionMamba models using from_pretrained (and push them using push_to_hub), track download numbers for your models (similar to models in the Transformers library), and have nice model cards on a per-model basis. It leverages the PyTorchModelHubMixin class which allows to inherits these methods.
Usage is as follows:
from vim.models_mamba import VisionMambaForImageClassification
from PIL import Image
from torchvision.transforms import Compose, Resize, ToTensor, Normalize

model = VisionMambaForImageClassification.from_pretrained("nielsr/mamba-vision-tiny")

transform = compose([
     Resize(224),
     ToTensor(),
     Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
)

image = Image.open(...)
inputs = transform(image).unsqueeze(0)
logits = model(inputs)

We could move all checkpoints to separate repos on the HUSTVL organization if you're interested.
I saw that currently download numbers won't be tracked since they don't leverage this integration.
Would you be interested in this integration?
Kind regards,
Niels

Hello, could you please explain why the line 'self.mixer = mixer_cls(dim)' is causing a TypeError: Mamba.init() got an unexpected keyword argument 'bimamba_type'?

Hi @Unrealluver would you be interested in this?

answer of q “why the line 'self.mixer = mixer_cls(dim)' is causing a TypeError: Mamba.init() got an unexpected keyword argument 'bimamba_type'”


WebGPU: Add support for GPU timing for compute shaders, render targets and main render pass

This PR adds a gpuTimeInFrame property on ComputeShader, RenderTargetWrapper and WebGPUEngine and is updated with the corresponding GPU time for the last frame (for WebGPUEngine, it is the time we spend in the main render pass).
For this to work, the "timestamp-query" extension must be supported by the browser and enabled when creating the device (the Playground does it automatically if the browser supports it, because it enables all supported extensions). At the time, only Canary supports it. You must enable the feature at runtime by doing engine.enableGPUTimingMeasurements = true (will do nothing in WebGL of course!).

I also performed some changes so that we don't generate errors for mapped buffers when the device is destroyed.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14624/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14624/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14624/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14624/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14624/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14624/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14624/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14624/merge#BCU1XR#0


Bat support

Why use such an old "less" version? It's incompatible with things like https://github.com/sharkdp/bat
If there's a reason for it, then no worries.

I re-installed git and selected add unix tools to path, it seems it will use the git version over the w64devkit less now even though they have name conflicts.

Git adds too many tools, I'd still prefer having an updated version of less here.
Using this https://github.com/jftuga/less-Windows for now.

@skeeto Any interest in bumping less version in w64devkit?

Since w64devkit uses busybox which includes less it will probably stay the way it is.
You could always just delete or rename the alias less.exe in the bin directory and your less further down the path will get picked up instead.

Ah ok I didn't realise busybox included less, thanks.


Add darglint configuration

Flake8-docstrings follows PEP 257 conventions and complains if you sidestep them. It can also be configured to insist on using Google's or Numpy's docstring style guides.
Darglint takes this one step further and will check your function arguments and return statements, and make sure you have followed the guidance of Google or Numpy or even Sphinx and included the appropriately named documentation.

Decided to go with darglint as a plugin for flake8 in this PR: #217


Configurable address and port settings for HTTP file-transfer service

Is your feature improvement request related to a problem? Please describe.
The HTTP port on which the file-transfer service is hosted is currently hard-coded to port 80. Change it to another non-standard default like 8080 and make it configurable.
Also deprecate the mqtt.bind_address and mqtt.external.bind_address config values and replace them with a common tedge.bind_address and tedge.external.bind_address which will be used to bind both the HTTP and MQTT endpoints.

It might be more useful to decouple the mqtt and http settings so that they be configured individually, e.g. if you want to use an internal mqtt broker, but still expose the http server for other devices to connect to.
In addition, it might make sense to reduce the number of configuration items by replacing the bind_address and external.bind_address just with one entry bind_address to simplify the configuration effort.
Below are the proposed configuration keys:

Key
Description
Example values

mqtt.bind_address
MQTT bind address (could be local or external)
<IP_ADDRESS> or <IP_ADDRESS> or <IP_ADDRESS>

mqtt.port
MQTT port
1883

http.bind_address
HTTP server bind address (could be local or external)
<IP_ADDRESS> or <IP_ADDRESS> or <IP_ADDRESS>

http.port
HTTP server port
8000

@albinsuresh What do you think?

Though there is nothing stopping us from providing additional TLS settings which are only read if they are set.
I see the following disadvantages of having both the internal and external binding address settings for a single protocol (e.g. http)
Disadvantages

Adds configuration confusion (two settings to do the same thing from a user's point of view, and the settings are mutually exclusive)
More configuration options to maintain
Does not follow convention used by other tools (mosquitto, grafana, nodejs http servers)
Confusion about usage of <IP_ADDRESS> address which is technically both internal and external

It might be more useful to decouple the mqtt and http settings so that they be configured individually

I agree that individual configurability of mqtt and http would be useful to a few, but the vast majority, is most likely just gonna need one. So, I agree with you that merging them into a single setting probably will take away that configurability, but at the same time I also feel that there should be another unified config that lets user configure both at the same time. So, may be we can keep separate mqtt.bind_address and http.bind_address but have them default to a unified tedge.bind_address, if they are not set individually.

These are not used the same way. bind_address is used to tell thin-edge where mosquitto is running (but configure nothing on mosquitto). external.bind_address is used to configure a new mosquitto listerner.

The answer to that confusion is to have just one bind address setting, right? Is there is a bind address, mosquitto should be listening on that address and all thin-edge components should also be using that to connect to mosquitto. I still don't get the extra benefit in having both separately.

I would really avoid to give <IP_ADDRESS> as a possible bind address as of now, since this makes mosquiito listen to all the network interfaces while there is no auth nor encryption.

I also agree that we shouldn't default to this value. But, we shouldn't prevent a user from using that value either.

This ticket is opening up some much larger topics which is detracting from the original goal. I would recommend that we revise the scope of the ticket to the following:

Make http server port configurable

how to test
This PR adds two new keys to tedge config list

http.port can be set or unset
http.address is read-only and is equal to mqtt.bind_address or mqtt.external.bind_address (depending on which is set).

For http.port check that:

[ ] port value can be set

[ ] port value can be unset

[ ] port value can be get

For http.address check that:

[ ] address value can be get AND is equal to mqtt.bind_address WHEN no mqtt.external.bind_address is set

[ ] address value can be get AND is equal to mqtt.external.bind_address WHEN mqtt.external.bind_address is set


bad handshake: Error

On line:
extract_lyrics = Song_Lyrics(GCS_API_KEY, GCS_ENGINE_ID)
Getting below error:
HTTPSConnectionPool(host='www.googleapis.com', port=443): Max retries exceeded with url: /customsearch/v1/siterestrict?key=XXXXXX&q=summer%20of%2069%20lyrics (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
Can you please advise

I tried getting 'summer of 69 lyrics' lyrics from PyLyrics-Extractor and it worked fine.
Could you please elaborate on your issue with Python version, script and steps to reproduce the above error?

Python 3.6
Running code in local on windows machine, using anaconda virtual environment
Issue while searching any song
On Wed 15 Apr, 2020, 10:33 PM Rishabh Agrawal<EMAIL_ADDRESS>wrote:

I tried getting 'summer of 69 lyrics' lyrics from PyLyrics-Extractor and
it worked fine.
Could you please elaborate on your issue with Python version, script and
steps to reproduce the above error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Techcatchers/PyLyrics-Extractor/issues/3#issuecomment-614161042,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQWMASWMOZSR3TM4TZR7HDRMXSG7ANCNFSM4MIQMRXQ
.

Did you set yourself a custom search engine?
Did you replace  'GCS_API_KEY' and 'GCS_ENGINE_ID' with the API key and Engine ID received while instantiating the class?
Also please try following the readme. All the links are available on how to set it up.

Yes it is working fine when I run code on kaggle or Google colab notebooks,
issue happen on local machine
On Wed 15 Apr, 2020, 11:03 PM Rishabh Agrawal<EMAIL_ADDRESS>wrote:

Did you set yourself a custom search engine?
Did you replace 'GCS_API_KEY' and 'GCS_ENGINE_ID' with the API key and
Engine ID received while instantiating the class?
Also please try following the readme
https://github.com/Techcatchers/PyLyrics-Extractor/blob/master/README.md.
All the links are available on how to set it up.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Techcatchers/PyLyrics-Extractor/issues/3#issuecomment-614176730,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQWMAVTHA737WB3GE2F4TTRMXVVTANCNFSM4MIQMRXQ
.

Check if requests library is updated to the latest version.
Go to line 37 in lyrics.py and add verify=False in requests.get method and try again.
:)


Monarch package 3.6.0 compatibility

cli: update monarch package compatibility to 3.6.0
monarch package: use analyzer 6.0.0

monarch package 3.6.0 published to pub.dev


Update requirements.txt

For some reason, it doesn't recognize the blueice installed via ssh url. https is sometimes unstable so ssh is more common for people to use. So I suggest changing the requirement to ssh.

Ah I just saw that our CI pipeline doesn't like it. I'll have a look later

Unfortunately, I didn't find a quick fix. I think we could set up deploy keys to solve this but maybe @dachengx has a better idea? Otherwise, I'll try that later!

Unfortunately, I didn't find a quick fix. I think we could set up deploy keys to solve this but maybe @dachengx has a better idea? Otherwise, I'll try that later!

Usually, ssh authentication requires a valid ssh key, so it is not used for requirement.txt. I do not think there can be a quick fix.

After reading a bit about it and trying to find a good solution, I agree @dachengx . @yuema137 maybe this is an issue with the container? Let's discuss this in tech-support and try to find a solution for you rather than changing the requirements

Fixed by https://github.com/XENONnT/alea/pull/132 and https://github.com/JelleAalbers/blueice/pull/42


Serial port printing symbols

Hi,
i'm relatively new to arduino so apologies for any newbie mistakes.
i've been trying to use the plotter library with an arduino uno to visualize analog readings from pressure sensors. however, upon trying even the simplest quickstart example code, the serial monitor will first print out some proper values, before starting to rapidly print random symbols: (below is the output from uploading the quickstart code)
{"t":0,"ng":1,"48833446]}]}# {"t6434464]}]}# {"t":129,"g":[{"d":[1.61397123]}]}# {"t":132,"g":[{"d":[1.65116453]}]}# {"t":135,"g":[{"d":[1.68833446]}]}# {"t":138,"g":[{"d":[1⸮S⸮@	'>⸮K⸮$⸮,⸮t⸮"⸮H⸮x⸮⸮K ⸮⸮⸮>⸮⸮q⸮ڲ⸮H⸮⸮⸮H⸮⸮⸮%[ ⸮f⸮⸮⸮-$<⸮⸮,⸮⸮}⸮⸮Z⸮а⸮⸮,⸮9⸮⸮⸮!Z$⸮⸮⸮⸮⸮0⸮)0=mƎ-⸮-צ%⸮⸮N⸮p⸮⸮i⸮⸮⸮/⸮=S⸮=⸮⸮⸮T⸮⸮X⸮Q⸮nƑ⸮E⸮⸮o[Z[^⸮ڧ⸮⸮o⸮O⸮ P -K/KO/[ ⸮H⸮sJ⸮=,⸮⸮-V⸮Rq⸮^M⸮⸮)շ⸮շ⸮5I⸮4H⸮$S⸮⸮⸮%⸮⸮tt⸮X⸮R^
⸮⸮:⸮8J⸮9,⸮⸮-⸮p⸮⸮-W⸮⸮⸮⸮⸮^⸮T[⸮Z⸮⸮⸮⸮⸮Tn⸮T⸮⸮X⸮U,⸮X[{+⸮=d⸮⸮⸮"⸮⸮⸮⸮&⸮⸮ ⸮<⸮$⸮x⸮,V⸮⸮)⸮-Sjʇ⸮.=⸮⸮}⸮z=⸮⸮⸮⸮/⸮⸮⸮H⸮$ ⸮C⸮⸮X⸮],$⸮⸮⸮⸮x8)⸮=, JmV*⸮j,q⸮,m,⸮⸮⸮HM<⸮ ⸮⸮І ⸮C5ݦX⸮ڇXX⸮|⸮⸮-⸮=)⸮⸮-⸮⸮I(,⸮%I⸮T=!M[⸮-⸮⸮-⸮⸮-⸮⸮KƍN⸮⸮,u,⸮M⸮O}5S⸮겧⸮]⸮=W⸮o⸮⸮⸮⸮^⸮R[ %⸮:⸮8=-⸮-֧J֏I⸮⸮⸮%⸮K⸮ۚ⸮⸮⸮zy⸮⸮$⸮o⸮O⸮& P[5⸮⸮⸮q⸮8[¬⸮,Ҭ ⸮(-⸮⸮-th,pB,u⸮,⸮⸮D<I⸮,⸮$⸮O⸮S⸮	'⸮*⸮,mZ,⸮m⸮1}⸮ ⸮⸮Җ C⸮⸮⸮XR⸮X^⸮||⸮-⸮⸮)8*⸮⸮( ⸮P⸮&=⸮$y⸮⸮=H⸮⸮ڳ⸮ִH⸮$M⸮C%⸮⸮⸮⸮$⸮VZ[+-Iˬ)⸮⸮5⸮-⸮J⸮⸮⸮H⸮⸮⸮⸮⸮6⸮⸮⸮⸮Ц o⸮[J/KN/⸮ i⸮,⸮⸮⸮ ⸮⸮OR⸮o⸮⸮⸮⸮f $t⸮⸮$$⸮x⸮p8)08)⸮RI⸮-zR⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮⸮o⸮O⸮ T
i tried running the listener despite this, but the listener is just stuck at "attempting connect on port: COM4" (COM4 is my arduino uno port.).
I am really stuck as to what i am doing wrong, any advice would be greatly appreciated.
Thanks in advance!

What you see is typical of a wrong baud rate.
If I remember well, Listener works at 115200 bauds.
You need to set the speed of the com port at that rate on both your PC and your arduino.


Expected indentation of 14 spaces (indentation)

Codacy detected an issue:
Message: Expected indentation of 14 spaces (indentation)
Currently on:

Commit:  b5604cba1f4d4735fc9c166d7442ce0fb33bffdf
File:    doc/integrations/myDrive/src/styles/components/settings.scss
LineNum: 168

For the convenience of the Seagate development team, this issue has been mirrored in a private Seagate Jira Server: https://jts.seagate.com/browse/CORTX-31452. Note that community members will not be able to access that Jira server but that is not a problem since all activity in that Jira mirror will be copied into this GitHub issue.

Amnuay Boottrakoat commented in Jira Server:

Correct per Stylelint coding standard

Amnuay Boottrakoat commented in Jira Server:

Correct per Stylelint coding standard

Amnuay Boottrakoat commented in Jira Server:

Merged and Closed


ZAC input on Zowe USS Install/Config improvements

In a recent (internal) innovation week some additional thought was put into Zowe install/config issues - I would like the ZAC to work on hills for future PI Planning. Draft thinking attached .
Zowe AppStore - Hills Draft .pptx

Zowe V2 install/config work complete, App store complete, Zen 2.0 "Wizard" will be tracked as z/OS Systems squad item in next PI Planning


inbound: unconditionally log errors

Previously, our error logging was built on an assumption that we would
always remember to log errors and return HTTP responses. This is not
great, we should enforce this in the type system -- we are only one ?
away from broken error handling, which we do have one currently
(local_workload_information).
This builds into the type system enforcing we cannot accidentally mask
errors.
Instead of serve_connect returning an error (which goes to /dev/null),
we have it return nothing -- this should make it harder to insert any
new code in the wrong place that doesn't handle errors. Additionally, we
split up the function into 3 phases:

Before we have full metrics context
After we have full metrics context
After we already sent a 200 back

This way we can use ? ergonomically + safely, and consolidate where we
log/return error responses into a small set of places

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
70047779c96025780e5369503a981229fa73ee8c
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


请问配置文件能控制关闭和开启么?

请问配置文件能控制关闭和开启么?

In the current version (v0.7), you can use ASPNETCORE_HOSTINGSTARTUPASSEMBLIES  environmentVariable to control the opening or closing of the agent.


assetpath in same directory fix

Fix to Issue #368. This issue occurs when the entry point file imports a component from the same directory, the assetpath attribute for the component gets set to '/', this in turn results in the wrong value being returned from the resolveUrl function.
The fix makes it so the assetpath is set to an empty string. Could also be './' I wasn't sure which would be best.

I'm going to modify PR to pull this into remote branch for a couple additional fixes before master merge.  Thanks, @josh-bradley


TypeError: Cannot read property 'categoryId' of undefined

Well, I was updating to Version 1.3 and i have an error that i cant solve
TypeError: Cannot read property 'categoryId' of undefined
Here's my code

angular.module("urigo").controller("ArticlesDetailsCtrl", ['$scope', '$meteor', 'meta','$stateParams','$reactive', function($scope, $meteor, meta, $stateParams, $reactive){

	$scope.subscribe('articleList');

	$scope.subscribe('categories');
	$scope.subscribe('users');

	var article = Articles.findOne({published: true, slug: $stateParams.articleSlug});
	var category = Categories.findOne({_id: article.categoryId }, { fields: { name: 1, slug: 1 } });
	var author = Meteor.users.findOne({_id: article.authorId }, {fields: {profile: 1}});

	if(!article && !category && !author)
		throw new Meteor.Error(404, "Article not found!");

	article.category = category;
	article.author = author;

	$scope.article = article;

}]);

The problem is article cannot be resolved before getting Category.
Anybody can help me ?

@dyaa take a look at helpers. It should fix your problem.
$scope.helpers({
  article () {
    return Articles.findOne({published: true, slug: $stateParams.articleSlug});
  }
});

Also, use can't check 404 page in this way in meteor, because data may be not loaded at this point of code, subscribe is asynchronous function.

@Deadly0 Thank you ...
I've updated my code to.

angular.module("urigo").controller("ArticlesDetailsCtrl", ['$scope', '$meteor', 'meta','$stateParams','$reactive', function($scope, $meteor, meta, $stateParams, $reactive){
	$reactive(this).attach($scope);

	$scope.subscribe('articleOne', () => {
		return [
			$stateParams.articleSlug
		]
	});

	$scope.subscribe('categories');
	$scope.subscribe('users');

	$scope.helpers({
		article:() => {
			var article = Articles.findOne({published: true}, {sort: {createdAt: -1}});
			var category = Categories.findOne({_id: article.categoryId }, { fields: { name: 1, slug: 1 } });
			var author = Meteor.users.findOne({_id: article.authorId }, {fields: {profile: 1}});
			article.category = category;
			article.author = author;

			return article;
		}
	});

}]);

Should i make it a Meteor.method directly ? It'll solve this problem but it wont be reactive.

Thy this, article my be undefined, it's not a bug.
$scope.helpers({
        article:() => {
            var article = Articles.findOne({published: true}, {sort: {createdAt: -1}});
            if !article
                return null

            var category = Categories.findOne({_id: article.categoryId }, { fields: { name: 1, slug: 1 } });
            var author = Meteor.users.findOne({_id: article.authorId }, {fields: {profile: 1}});
            article.category = category;
            article.author = author;

            return article;
        }
    });

@Deadly0 Sorry for my late answer.
No the article is defined am sure, The problem is the article data wasn't ready when the Categories Collection is called. That's why article.categoryId wasn't defined because sometimes it work and always not.

@dyaa did you try my example? Is it works?

Nope, But i made a router resolve to resolve the subscription and it's finally worked


Update install/setup instructions

The previous process is no longer valid.
~Note: there is still a gap in the middle that needs to be filled in.
How does a developer get a ~/wskprops file?~

closing in favor of #42


Could not load symbol "jl_typeinf_begin" on nightly

Full log is here. Do you have an idea what's the new way to implement it on Julia 1.9?

Ah this is this PR: https://github.com/JuliaLang/julia/pull/46324
I guess the inference lock is not needed there anymore. Also we probably won't need the ircode reflection here in v1.9 too since there is typeinf_ircode now.

But I come up with a simple fix, we probably want to (and should) do a rewrite of this package for 1.9 soon lol


Add link to example map to README

It is not obvious, where the map will be online available

What?

There should be a link to the running map in the readme


Adding courses category

This PR

Adding courses from udemy
Associate skills to this courses

But when I try to execute a query, there are no results. I think the new data hasn't been correctly inserted into Virtuoso.

@Edocampa can you find the entries, now?

Yes, I can find the entries now. The datas appears to be correctly loaded and is accessible.

@Edocampa merged. Restart from https://github.com/par-tec/esco-playground/tree/ioggstream-26-bis


[WIP] Fix sdv error

[x] Any interfaces changed?

[x] Any backward compatibility impacted?

[x] Document update required?

[x] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[x] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1816/

retest this please

@QiangCai  This issue is already fixed with PR #1543

LGTM

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/1365/


Add Jukeboks

Jukeboks is fast viewer / player app, built on Electron.
🙇

Nice! I like the name. I would suggest adding video as a tag so more people will be able to find it.

Thank you for the review , @zeke . I added video .

🍕

🍣

lol


Fix Devilment timing check for 6.4+

A knock-on effect of the buff radius changes made in 6.4 was that Technical Finish no longer immediately applies to the source Dancer upon action execution. This opened up the possibility for Devilment to be executed between the execution of the Technical Finish, and the application of its status, which was causing the "Was Devilment used on time?" check to fail incorrectly.
Updated to hook the player dancer's Technical Finish actions as well as Technical Finish status applications for the purpose of opening a new window, and adjusted the check to determine whether Devilment was used on time accordingly.

Made up a log on a dummy and no, it's doing what I'd expect it to do. The status application from the other DNC initiates the window, and my action keeps it open since we haven't had the end timestamp set yet. Also double-checked that my status application doesn't inappropriately close the other DNC's window.

Neglected to make sure the "Don't use Devilment outside of Technical" suggestion was performing correctly wrt to hooking the action in addition to the status applications... Hurf. It be fixed now too.


Vlime Swank crash when loading :plot/vega

Hello, I am pretty new to Lisp, and currently I'm using Neovim with Vlime and Roswell with SBCL 2.3.9 as a development environment.
When I try loading plot/vega package using (ql:quickload :plot/vega), I get the following error in the Vlime server output window:
  <INFO> [02:05:22] vlime-usocket - Control thread stopping: (:SWANK-DATA-ERROR "No policy for symbols as keys defined. Please check YASON:*SYMBOL-KEY-ENCODER*.")
;; swank:close-connection: end of file on #<SB-SYS:FD-STREAM for "socket <IP_ADDRESS>:35825, peer: <IP_ADDRESS>:41070" {1003696823}>

Running  ros run --eval '(ql:quickload :plot/vega)' loads the package successfully.
I also had no problem a while ago using vim-slime (which I think just sends expression text to an independent REPL in another Vim or Tmux window), so to me it seems like a Vlime- or Swank-specific issue.
Could you please give me some advice on how to debug this further?

I suspect this is more likely a problem with an out of date version of PLOT.  Quicklisp as been slow to update lately, and there's been major version updates since the last Quicklisp release.
Try installing from source and see if that fixes the error.

Did using the source from the git repo work for you?

Just tried it and had the same problem. I think it is related to having some CL packages installed from Debian stable repositories, presumably very outdated. I will set up an environment with reasonably recent package versions and elaborate.

It's something related to Swank client, seems like everything works when running directly in a REPL or using another Vim plugin for communication with it.


Order of help menu sections is not deterministic

Repeatedly opening and closing the help menu, I notice that every so often the sections are ordered differently from what appears to be the default/normal/correct order.
So, e.g., instead of:

I might get something like this:

This is obviously not a big deal at all, but I thought it was curious. Love the application!

Yes, this is expected. To be more technical, all the help items are stored in a map, and as such the items are unordered and will produce different output every time the map is accessed. I didn't think it was important to maintain the order of the help items, and hence the random arrangement of the items.


[BUG] Double emission of now playing

Bug Description
This may be a client issue but should investigate on this side as well
Song now playing event can be emitted twice.

Determined to be client issue.


Expose apollo-client resetStore() #FeatureRequest

I'm trying to clear the whole apollo cache on logout. However this is a little bit tough since Angular2Apollo neither does pass down function apollo-client.resetStore(), nor the apollo.client is accessible, since it is private.
Would it not make sense to either make apollo.client public or pass down resetStore and every other apollo-client functionality?

Is ApolloClient.resetStore() indeed supported in Apollo-Angular?
I don't see the method defined in the Apollo.d.ts TypeScript and when I attempt to call Apollo.resetStore() from Apollo-Angular 0.13.0 I get Apollo.resetStore is not a function.

@KeithGillette
Apollo.getClient().resetStore();

@kamilkisiela I'm trying that code but it get Property 'getClient' does not exist on type 'typeof Apollo', where should I import Apollo from, right now Im doing  import { Apollo } from "apollo-angular";

The following works for me:
``
import { Apollo } from 'apollo-angular';
Apollo.getClient().resetStore();

Which version of apollo-angular are you using @KeithGillette ? That code doesn't work for me, I'm on 0.13.0

I am using:
    "apollo-angular": "0.13.0",
    "apollo-client": "1.1.1",

    "typescript": "2.3.2"

Thought I don't think it's relevant to this issue, I also reference custom Apollo GraphQL Meteor Integration Typings in my project's typings.d.ts.

I have those versions too but for some reason I still get the error Property 'getClient' does not exist on type 'typeof Apollo'


[Event Request] Codeunit "Cost Account Mgt - CopyDimValueToCostObject

local procedure CopyDimValueToCostObject(DimValue: Record "Dimension Value"; var CostObject: Record "Cost Object")
    var
        IsHandled: Boolean;
    begin
        IsHandled := FALSE;
        OnBeforeCopyDimValueToCostObject(DimValue, CostObject, IsHandled);
        if IsHandled then
            exit;
        CostObject.Init();
        CostObject.Code := DimValue.Code;
        CostObject.Name := DimValue.Name;
        CostObject."Line Type" := DimValue."Dimension Value Type";
        CostObject.Blocked := DimValue.Blocked;

      // New
       OnAfterCopyDimValueToCostObject(DimValue, CostObject);
    end;`

    [IntegrationEvent(false, false)]
    local procedure OnAfterCopyDimValueToCostObject(DimValue: Record "Dimension Value"; var CostObject: Record "Cost Object")
    begin
    end;

Reason Adding a new field to transfer must be handled now on your own - 2 apps might interfere with each other, because they must use a copy, and init the costobject.

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


🐛 [firebase_crashlytics] Cannot import

Bug report
Describe the bug
flutter pub get
Cannot import the package
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
does not exist
Steps to reproduce
Steps to reproduce the behavior:
dependencies:
flutter:
sdk: flutter
firebase_crashlytics: ^0.3.0
firebase_core: "0.6.0"
firebase_storage: "^6.0.0"
firebase_analytics: ^7.0.0
firebase_auth: ^0.19.0+1
cloud_firestore: ^0.15.0
Expected behavior
expected to be able to import package

Additional context
Add any other context about the problem here.

 Are you using Android Studio?
You can try flutter pub cache repair and flutter clean followed by flutter pub get.
Thank you

Hi @remoteshell
Is this just an analysis error or does it affect actual builds? Are you using Android Studio?
You can try flutter pub cache repair and flutter clean followed by flutter pub get.
Thank you

Hi Markus,
I am using android studio and it was an analysis error.  Took like 2 hours to figure it out.
Thank you for taking the time to respond.
Sent from my iPhone

On Jan 12, 2021, at 12:13 AM, Markus Aksli<EMAIL_ADDRESS>wrote:

Hi @remoteshell
Is this just an analysis error or does it affect actual builds? Are you using Android Studio?
You can try flutter pub cache repair and flutter clean followed by flutter pub get.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Hi Markus,
I am using android studio and it was an analysis error.  Took like 2 hours to figure it out.
Thank you for taking the time to respond.
Sent from my iPhone

On Jan 12, 2021, at 12:13 AM, Markus Aksli<EMAIL_ADDRESS>wrote:

Hi @remoteshell
Is this just an analysis error or does it affect actual builds? Are you using Android Studio?
You can try flutter pub cache repair and flutter clean followed by flutter pub get.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

In that case, you could try File > Invalidate Caches / Restart > Invalidate and Restart
This has fixed the analysis issue for me before.

In that case, you could try File > Invalidate Caches / Restart > Invalidate and Restart
This has fixed the analysis issue for me before.

I agree close it
Sent from my iPhone

On Jan 20, 2021, at 6:03 PM, Google Open Source Bot<EMAIL_ADDRESS>wrote:

Hey @remoteshell. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I agree close it
Sent from my iPhone

On Jan 20, 2021, at 6:03 PM, Google Open Source Bot<EMAIL_ADDRESS>wrote:

Hey @remoteshell. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


Minify solid-ui for standalone use

@timea-solid does issue #538 closes this ?

@bourgeoa we do have a min version available now. So yes. See: https://github.com/SolidOS/solid-ui/tree/gh-pages/dist


Update german translations

I am a native German speaker and I noticed that most of the German translations are not of good quality. So I completely reworked them.
Thanks for your good work. Keep it up!

Thank you!


Fixed container exception stack loss.

Q
A

Branch?
v2.0(master)

Bug fix?
Yes

New feature?
No

Deprecations?
No

Internal Changed?
No

Removed
No

Tests pass?
Yes

Doc pr?
No

This commit fixes a partial call stack loss when an exception occurs in the execution container.

Codecov Report

Merging #234 into master will decrease coverage by 0.03%.
The diff coverage is 80%.

@@            Coverage Diff             @@
##           master     #234      +/-   ##
==========================================
- Coverage    95.9%   95.86%   -0.04%
==========================================
  Files          31       31
  Lines        2662     2662
==========================================
- Hits         2553     2552       -1
- Misses        109      110       +1

Impacted Files
Coverage Δ

src/CatLib.Core/Support/Container/Container.cs
99.83% <80%> (-0.17%)
:arrow_down:

Continue to review full report at Codecov.

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


Update quasitools to 0.3.1 and allow hydra tool to accept custom id

Hey Camy could you remove the output.txt which was accidentally added, seems like a planemo output file.

Also we should probably update the tool versions for at least Hydra. If the other tools behaviour/params didn't change then they can be the same.


Feature/appveyor config

Added basic AppVeyor configuration + sweet badges on readme file. We need to discuss future opportunities of automated builds & deploys with AppVeyor and adopt it then.

Good work, looks great! Merged!


deps: bumps to Brave 5.18.0 and moves off internal type

This updates to Brave 5.18.0 and dodges an internal type that will not be in Brave 6.0. See https://github.com/openzipkin/brave/pull/1396 about Propagation and Brave 6.0

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

@codefromthecrypt Thank you for signing the Contributor License Agreement!

@shakuzen @marcingrzejszczak @ryanjbaxter I got this as far as I can.. there's an unrelated error below, which seems likely due to the runner using too new a JDK
org.springframework.cloud.sleuth.instrument.messaging.BraveTraceFunctionAwareWrapperTests.test_tracing_with_function()  Time elapsed: 1 sec  <<< FAILURE!
java.lang.ClassCastException: class java.lang.String cannot be cast to class org.springframework.messaging.Message (java.lang.String is in module java.base of loader 'bootstrap'; org.springframework.messaging.Message is in unnamed module of loader 'app')

The summary is that this change allows an upgrade to brave 5.18 or 6.0, but while sleuth supplies and consumes AsyncReporter types, it cannot upgrade to zipkin-reporter 2. This may be fine at least for a while, as Brave 6 doesn't care about zipkin or zipkin-reporter versions anymore.
In a bit, I will update this with Brave 6 (need to release that, first)

Hi Adrian, thanks for the PR! :)
Sleuth is already over its OSS support EOL date so Brave 6 might not be a concern.
I think a minor version upgrade is a good question: we are not planning to release a new minor version of Sleuth only patch versions for commercial users.
On the other hand, we should do this in Micrometer Tracing as it is the successor of Sleuth.

ok so what I'll do is cross-test this PR with Brave 5.18 and 6 and then close it if it won't be merged. Then, in case you need the code later, you know where to look!

So, the main thing is that if this PR isn't merged and released, users can't upgrade to Brave 5.18 as things that wrap Propagation.Factory don't wrap .get(). So, they will be stuck at 5.17.1 regardless of zipkin-reporter or deprecation.
If it is merged, likely this will work with Brave 6 as well, just the messaging tests are broken and until they aren't I'm not sure if there is another issue.

I think that might be a compelling argument for merging this even though we are not planning to do another minor release. We can also keep it open to see if there is user interest.

I'm looking into this and I'm getting some NoClassDefFoundError. I'll look into that
itialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'kafkaStreamsTracing' defined in class path resource [org/springframework/cloud/sleuth/autoconfig/brave/instrument/messaging/BraveKafkaStreamsAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [brave.kafka.streams.KafkaStreamsTracing]: Factory method 'kafkaStreamsTracing' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/kafka/streams/processor/api/FixedKeyProcessorSupplier

glad to hear you are looking at the build. I think people will be using boot 2 for many years.. if we can get a bit more life extension to sleuth to the community, I'm sure they will appreciate it!

Done via https://github.com/spring-cloud/spring-cloud-sleuth/commit/8f39760f5329433ed924d5489123c4d3a7bcd92c, polished via https://github.com/spring-cloud/spring-cloud-sleuth/commit/83155920f15db457f5ee6b71a19fc76b4ba293d8

this works provably. While people can't upgrade zipkin-reporter to a new version, they can upgrade brave without a snag: https://github.com/openzipkin/brave-example/pull/113
For most people, since they are using sleuth's reporters anyway, there's little problem here.


Question:

I saw few different approaches with .Net Core GraphQL API.

Middleware
Controller
With out both (No Middleware and No Controller)

Which one to choose in what situation.
Please help.

Hi @IT786
I prefer the Middleware way, because it separates the GraphQL from MVC. IMHO MVC Pattern and GraphQL don't really match.

Why is the book repository in a file call person repository?

Hi @drowhunter, because I just forgot to rename the file. Feel free to rename it and to create a PR. I'll take it in then


Fix API key

Ported Jelte's change to my geolocation widget to the official
GoogleMaps widget. Also upgraded test project to Mendix 5.21
This fixes issue #5

Great :smile:! Will test it tomorrow and create a new release for the AppStore.

The Check Widgets tool rejects the widget! Can be seen in the test project.

Yeah I got your e-mail. No worries. We'll look into it tomorrow.

Checked the problem and it seems require cannot handle the external url. That is, it will work locally (because widgets are loaded separately). Unfortunately, when you want to deploy, the Modeler will check all the required libraries and bundles them in 1 single JS. I'll ask if there is a way to do this.
In the meantime, I think we need to copy Google's jsapi.js to our lib folder and include it locally. That seems to work (with the API key as well, tested it). I'll include this in the next release and will provide a pull request for your widget as well.

I rewrote the fix I used on your widget and applied it on this widget as well. Will submit a new version to the AppStore


Refactor to use DDS Pipe v2

Test branch to retake the refactor of DDS Router over DDS Pipe
Requirements

https://github.com/eProsima/dev-utils/pull/59

ToDo

[x] Refactor blackbox tests to new api and namespaces

Missing Documentation (installation steps) update


Support loading legacy DDS files using mixed channel formats

The legacy DDS file formats D3DFMT_A2W10V10U10, D3DFMT_L6V5U5, and D3DFMT_X8L8V8U8 were originally not implemented because no DXGI format has a mix of signed/unsigned channels the way these legacy Direct3D 9 formats were made (the L and A channels are unsigned, the UVW channels are signed). They are also tied to legacy "BumpMap" technology, so generally weren't not considered that relevant to modern Direct3D.
For this PR, the unsigned values are remapped to the unorm range through biasing the value (i.e. shifting it up to the positive values).

Test suite updates in this PR


Very new and in need of mentorship and guidance

hello-world, I am continuing to learn and engage and so grateful and happy to be expanding my community. However, I do lack some basic foundational knowledge and am reaching out to ask for help.
I want to make sure first and foremost that I handle any safety concerns pertaining to my local network.
Any ideas on where and whom to maybe reach out to first for mentor ship? all ideas welcome

Hi @johnjsatter, during normal times I'd recommend to look for local tech meetups and meet people in person, it's rather hard to find mentors remotely, albeit not impossible.
I don't have any experience in network security myself, so I can't help you I'm afraid :(
Maybe try to find like-minded folks with more experience on Twitter and https://dev.to/ and connect with them?


I want to change Dstu3 what should I do

With the title

Project was closed sourced almost two years ago

Do you know how to solve?

@ztt-sir contribute to https://github.com/jkiddo/hapi-fhir-profile-converter and see what happens


rz_meshgenerator parameter no longer needed in ABTR SFR workflow example

Reason

Making some updates to Griffin where MCC3CrossSection/rz_meshgenerator will be removed outright. This parameter is defined in the ABTR workflow but doesn't currently affect the code so it can be removed.
Design

Removal of parameter
Impact

No impact, makes it so that the parameter can be removed from Griffin without any VTB test failures. For more info, please see https://github.inl.gov/ncrc/griffin/pull/2115 and https://civet.inl.gov/job/2464417/

Closing as resolved by #431


hmr-react.md  index.js: Module build failed: SyntaxError, Unexpected token

Hi, I'm start a example project based on hmr-react.md  guide, but on run npm start, i'm getting error:
/src/index.js: Unexpected token (11:4)
9 | const render = (Component) => {
10 |   ReactDOM.render(

11 |
|     ^
12 |
13 |     ,
14 |     document.getElementById('root')

I can't figure out what is happening.
Someone can help me?
Thanks

Are you having issues running your project, or this repo? This repo contains documentation for webpack.

I've been experiencing those issues while following this guide to set up my own project.
My project has the same structure and files that propose this guide and nothing else.

Can you share your repo, so I can give it a look-see?

Hi, thanks for your help.
The problem was a typo in .babelrc config.
If anyone wants to try or experiment,  this is the repo https://github.com/juan-urtazun/react-webpack-hmr/tree/master

@juan-urtazun, I cloned your repo and was able to run it.
Glad to hear that you fixed it :D


python310Packages.xknx: 1.0.1 -> 1.0.2

Description of changes
https://xknx.io/changelog.html#102-route-back-reconnect-2022-08-31

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 189223 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.knx
python310Packages.xknx
python39Packages.xknx


Unable to debug page

Environment (please complete the following information):

OS Windows 10 19043.1466
Extension version 1.4.2

Describe the bug:

Unable to debug page(Have reinstalled this plugin several times)

Click on the debug page will be displayed normally, but no debug egg will pop up
And edge will be automatically closed afterwards(Reasons unknown)
It is also not possible to open the debug panel in VSCode
Repro steps:

Expected behavior:

Additional context:

After restarting the computer back to normal (amazing)


Automatic security check finds potential XSS

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework, I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
We had to perform automatic security tests of all libraries used in our code through Checkmarx software. It has found that attribution text is inserted directly into HTML through innerHTML property (_update function in Attribution class).
I haven't still tested it if it's possible to perform XSS through this way, but it doesn't prevent the automatic tool from finding an issue here, which it prioritizes as a Medium priority issue (for us it means, we can't ignore it).
Expected behavior
It would be nice if automatic security checking tools wouldn't find this issue because due to restriction in some environments, the library can't be used.
Current behavior
Environment

Leaflet version: 1.3.4 ESM
Browser (with version): -
OS/Platform (with version): -

Additional context
Screenshots from Checkmarx's report:

gyhbs described it good.
I will close this, if someone thinks this should be re-opened, let us know.


[SPARK-14516][ML][FOLLOW-UP] Move ClusteringEvaluatorSuite test data to data/mllib.

What changes were proposed in this pull request?
Move ClusteringEvaluatorSuite test data(iris) to data/mllib, to prevent from re-creating a new folder.
How was this patch tested?
Existing tests.

Test build #83368 has started for PR 19648 at commit 0fd9a5c.

Merged build finished. Test FAILed.

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

Jenkins, test this please.

Test build #83371 has started for PR 19648 at commit 5eee170.

Test build #83368 has finished for PR 19648 at commit 0fd9a5c.

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

Merged build finished. Test PASSed.

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

Test build #83371 has finished for PR 19648 at commit 5eee170.

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

Merged build finished. Test PASSed.

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

Merged into master, thanks.


Fix documentation on boundary_conditions_provider operator

Discussed in https://github.com/ansys/pydpf-core/discussions/542

Originally posted by kmahajan-cadfem October 10, 2022
I have a simple question,
what is boundary conditions provider operator and how to use it or where can i use it
code
from ansys.dpf import core as dpf
from ansys.dpf.core import operators as ops
from ansys.dpf.core import examples
fp = examples.download_hemisphere()
model = dpf.Model(fp)
ds = dpf.DataSources(model)
st_op = ops.metadata.streams_provider() # operator instantiation
st_op.inputs.data_sources.connect(ds)
my_streams_container = st_op.outputs.streams_container
op = dpf.operators.metadata.boundary_condition_provider() # operator instantiation
op.inputs.data_sources.connect(ds)
print(op.outputs.results_info)

output is
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_3988\2261196826.py in <module>
     10 op = dpf.operators.metadata.boundary_condition_provider() # operator instantiation
     11 op.inputs.data_sources.connect(ds)
---> 12 print(op.outputs.results_info)

AttributeError: 'Outputs' object has no attribute 'results_info'

See discussion for proposed improvements to the operator's documentation.


Data Definition Language, Commands and Operations

Description
Learn  DDL, Commands and some operations in RDBMS. And contribute here.
Domain
Database
Type of Contribution
Audio, Video, Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

@Ash515 Can I work on the video part??

@Ash515 can I go with Audio

/assign audio

Just create a sepearte folder audio in database folder

@Ash515 please review my PR.


[Azure OpenAI] Add README (in)compatibility notes for Chat Functions/Extensions

See issue: #38469
Background
The use of GetChatCompletions when providing an AzureChatExtensionsOptions instance in the ChatCompletionsOptions used for the request internally routes to the /extensions/chat/completions REST path. This REST path does not currently include Chat Functions capabilities (functions in the REST request body payload) in its definition, Because unknown payload additions are ignored rather than rejected, this results in attempts to use both capabilities simultaneously "silently failing" to use the intended Chat Functions definitions, as they're just ignored "extra data."
This change
Discussion is underway on how to support the two together, but in the interim we have a clear documentation gap in explaining the "either/or" nature of the two capabilities. This change simply introduces an additional note to each snippet in the README to assist with that layer of help

API change check
API changes are not detected in this pull request.


Implement inline_mode

I implement inline_mode.
xcode_summary.inline_mode = true
xcode_summary.report "xcodebuild.json"

When this option is enabled, warnings and errors are commented on each lines.
Default value is false.

This option is inspired by its of danger-swiftlint
Please review 🙏

Thanks 😊

Could you release newer version?

@giginet 🔜 (https://github.com/diogot/danger-xcode_summary/pull/17)

Done


Build instructions

I very new to GHCJS and its ecosystem and am very interested in Francium. However I cannot figure out  how to build it. cabal install --ghcjs fails and complains it doesn't know how to install virtual-dom. I see there is some configuration for nix but I have no idea how to use it.
Some documentation on how to build Francium (and hack on it!) would be very appreciated.

Perfectly valid issue! Francium was built when GHCJS packaging in Nix was in a state of change, but that's mostly stabilised now. It will stil lbe a bit rocky as GHCJS is a bit of a moving target, but I'll see what i can do.

What nixpkgs repo and revision are you using to build francium? I can't get virtual-dom to compile, I keep running into https://github.com/NixOS/nixpkgs/issues/7768

I managed to manually compile on GHC 7.10 following instructions on the ghcjs github page (although I will admit it was a weekend job), then compiled virtual-dom into a sandbox and then Francium into the same sandbox and so far so good. Now I am going to see if I can fix the todo-mvc...

I am using 60f250e0da03afd53503490afe4af902b842a00a - which I think comes from https://github.com/ryantrinkle/nixpkgs/tree/ghcjs-ng

I'm not very sure how Nix works. I got it installed now on my ArchLinux install but how do I use it to build this project?

@arianvp Here's what I've done.  I have a project that I want to use Francium in, so in that project I create a default.nix
{ mkDerivation, aeson, base, bytestring, francium, ghcjs-base
, ghcjs-dom, lens, mtl, stdenv, template-haskell, text
, transformers
}:
mkDerivation {
  pname = "naggy-ui";
  version = "0.1";
  src = ./.;
  isLibrary = false;
  isExecutable = true;
  buildDepends = [
    aeson base bytestring francium ghcjs-base ghcjs-dom lens mtl
    template-haskell text transformers
  ];
  description = "UI for Naggy";
  license = stdenv.lib.licenses.unfree;
}

You can use cabal2nix to generate this from a cabal file if you run
$ nix-env -i cabal2nix
$ cabal2nix . > default.nix

Then, you need to checkout Francium and virtual-dom
$ git clone https://github.com/ocharles/virtual-dom
$ git clone https://github.com/ocharles/Francium

Next, create a shell.nix file
with (import <nixpkgs> {}).pkgs;
with (import <nixpkgs/pkgs/development/haskell-modules/lib.nix> { inherit pkgs; });

let
  ghcjs-pkgs = haskell-ng.packages.ghcjs.override {
    overrides = self: super: {
      virtual-dom = self.callPackage ./virtual-dom {};
      francium = self.callPackage ./francium {};
      naggy-ui= self.callPackage ./. {};
    };
  };
in
  (overrideCabal ghcjs-pkgs.naggy-ui (drv: {
    buildTools = [
      haskell-ng.packages.ghc7101.cabal-install
      nodejs
      nodePackages.uglify-js
    ];
  })).env

Now, you can use nix-shell to enter into an environment with cabal, ghcjs and all the dependencies your project needs.  Now you can run cabal configure --ghcjs and work on your project. If you need to add a dependency, add it to your myproject.cabal file, rerun cabal2nix . > default.nix and start a new nix shell.

@purefn Is exactly correct, this is how I do it too. That said, this should reach the readme at some point. I will leave this open as a reminder, as it's only worth doing that work once Francium stabalises.

Francium work has stopped and it's unclear when it will resume in the future. Closing this for now.


Fix spacing allocation

What does this PR do and why?
Provide a description of what this PR does. Link to any relevant GitHub issues, Notion tasks or Discord discussions.
Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Current dependencies on/for this PR:

main

PR #2347   👈

This comment was auto-generated by Graphite.


merge from template-sync/template-arlac77-github

.github/workflows/ci.yml

chore: (jobs.test-node.steps)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>0
Details

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

Totals

Change from base Build<PHONE_NUMBER>1:
0.0%

Covered Lines:
109

Relevant Lines:
109

💛  - Coveralls


[BUG] villagers jump when in tall doors

This is a minor bug so if you don't want to fix it that's fine
Important Information
Minecraft Version: 1.20.1
Mod Loader System: Fabric (Forge or Fabric)
DramaticDoors Version: Quifabrge v1.20.1-3.0.2
Describe the bug
A simple yet very slightly annoying bug where when a villager tries to enter or leave any of the tall doors, they jump when in the area of the door.
To Reproduce
Place door
Spawn Villager
Make Villager Walk Into Door
Expected behavior
Not Jump In the Door, Like the rest of the doors

It has something to do with the mobs thinking the space above is open. I may look into a solution.

Hey! This potentially effects all entities, and I believe it's due to the isPathfindable method returning true for non-full blocks by default. I love building barns with the huge doors in this mod, but all the animals bunch into them trying to get through lol. So hope this helps!


Can't set custom UI sound

It just says "Error creating file: Operation not permitted" when I select an audio file to use. Also the option to disable the Phone permission for System UI is greyed out and not available. Maybe there's a way to disable that permission through ADB? I am on ColorOS btw

As said in the app description on play store, "on heavily modified versions of android (OneUI, MIUI, EMUI, ColorOS etc.) Not all features will work" I presume that UI sounds are one of these that won't work

I am on a stock Pixel 6 Pro (android 12 "S") and receive the same error message.  Root with latest stable Magisk.

This likely isn't something I can fix, unfortunately. Android only accepts file paths for the sound files, and those files have to be in a location that isn't encrypted before the device is unlocked for the first time. I haven't been able to find a path where I can write and the OS can read before decrypting.


Tag objects for remote storage version based on benchmark yaml

Currently when creating a new version all objects present in the S3 bucket are included in that version. See here.
Better would be to tag objects based on the benchmark yaml.

Resolved with https://github.com/omnibenchmark/omnibenchmark/pull/28