schedulers: fix the race issue of the scatter range scheduler

Signed-off-by: nolouch<EMAIL_ADDRESS>
What problem does this PR solve?
RACE trace
WARNING: DATA RACE
Read at 0x00c0077cb070 by goroutine 483:
  github.com/pingcap/pd/server/schedulers.(*scatterRangeScheduler).Schedule()
      /home/liuyifan/code/pd/server/schedulers/scatter_range.go:194 +0x132
  github.com/pingcap/pd/server.scheduleByNamespace()
      /home/liuyifan/code/pd/server/namespace_cluster.go:138 +0x199
  github.com/pingcap/pd/server.(*scheduleController).Schedule()
      /home/liuyifan/code/pd/server/coordinator.go:498 +0x106
  github.com/pingcap/pd/server.(*coordinator).runScheduler()
      /home/liuyifan/code/pd/server/coordinator.go:449 +0x3b7

Previous write at 0x00c0077cb070 by goroutine 590:
  github.com/pingcap/pd/server/schedulers.(*scatterRangeSchedulerConfig).BuildWithArgs()
      /home/liuyifan/code/pd/server/schedulers/scatter_range.go:84 +0x216
  github.com/pingcap/pd/server/schedulers.(*scatterRangeHandler).UpdateConfig()
      /home/liuyifan/code/pd/server/schedulers/scatter_range.go:251 +0x7e6
  github.com/pingcap/pd/server/schedulers.(*scatterRangeHandler).UpdateConfig-fm()
      /home/liuyifan/code/pd/server/schedulers/scatter_range.go:221 +0x5f

What is changed and how it works?
fix the unsuitable usage.
Check List
Tests

Unit test

Codecov Report

Merging #1840 into master will increase coverage by 0.18%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1840      +/-   ##
==========================================
+ Coverage   78.06%   78.25%   +0.18%
==========================================
  Files         168      168
  Lines       17004    17004
==========================================
+ Hits        13275    13307      +32
+ Misses       2642     2616      -26
+ Partials     1087     1081       -6

Impacted Files
Coverage Δ

server/schedulers/scatter_range.go
82.23% <100%> (+5.26%)
:arrow_up:

server/handler.go
53.65% <0%> (+0.48%)
:arrow_up:

pkg/btree/btree.go
86.94% <0%> (+0.8%)
:arrow_up:

server/grpc_service.go
58.78% <0%> (+1.3%)
:arrow_up:

server/member/leader.go
78.57% <0%> (+1.53%)
:arrow_up:

server/region_syncer/client.go
82.89% <0%> (+3.94%)
:arrow_up:

server/schedulers/random_merge.go
62.79% <0%> (+4.65%)
:arrow_up:

pkg/etcdutil/etcdutil.go
88.4% <0%> (+5.79%)
:arrow_up:

Continue to review full report at Codecov.

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

/merge


tfsec: 0.38.1 -> 0.38.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tfsec/tfsec/releases.
meta.description for tfsec is: "Static analysis powered security scanner for your terraform code"
meta.homepage for tfsec is: "https://github.com/tfsec/tfsec"
meta.changelog for tfsec is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.38.2 with grep in /nix/store/pcv6hkh39i1c7mqgc8h756v4p0qmy4hj-tfsec-0.38.2

directory tree listing: https://gist.github.com/c62e3662a8ae89ca0a3dabe331d6ab0f

du listing: https://gist.github.com/797d6abef8c4d3117e56aaabe4bf539e

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
tfsec

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/pcv6hkh39i1c7mqgc8h756v4p0qmy4hj-tfsec-0.38.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tfsec https://github.com/r-ryantm/nixpkgs/archive/863e300e39ef019fae905fee31e787d449822ae9.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/pcv6hkh39i1c7mqgc8h756v4p0qmy4hj-tfsec-0.38.2
ls -la /nix/store/pcv6hkh39i1c7mqgc8h756v4p0qmy4hj-tfsec-0.38.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tfsec

Maintainer pings
cc @marsam for testing.

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

1 package built:

tfsec

Result of nixpkgs-review pr 113095 at 863e300e run on aarch64-linux 1

1 package built:

tfsec

1 suggestion:

error: no-flags-array
buildFlagsArray is only intended to be used in Bash, not as a Nix attribute.
Near pkgs/development/tools/analysis/tfsec/default.nix:16:3:
   |
16 |   buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ];
   |   ^


Example to create a user doesn't qualify to default setting for min password length

First, great project!
Second, do you prefer us to post found typos / suggested corrections as separate issues, or as comments under one, or?
Third, my latest find:
"Create user" API call on https://pocketbase.io/docs/api-users/ has example creating user with password "123456". But default settings (in http://localhost:8090/_/#/settings/auth-providers - Email/Password) seem to specify Minimum password length of 8. In which case, the example API call fails with return code 400 :)
Not sure if it's by design or not.

Separate issues are OK.
About the user password length - it is just an example. The default user password length is 8 characters but it could be changed from "Settings > Auth providers > Email/Password" options.

Yes, I know! Sorry I wasn't clear - my suggestion here is to change the example to have a longer password ("12345678", for example) - this way copy-pasting from example into fresh installation will "just work".

On a second thought, I think its better to leave it "123456" since the default min password length could change in future and this way it is consistent with the admin api examples (for admins the min password length is 10, currently not configurable).
In the end, it is just an example and the error code and message in the error response should be clear enough for most users to see that there is a password length validator behind the scenes.


RFE: Add Support for Remove Header in HTTP Profile

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
We would like the ability to set the Request Header Erase property on an HTTP Profile.
Describe alternatives you've considered
The task can be completed using endpoint policies, but that's a much larger object (and more tmm objects) and more difficult to read and maintain.
Additional context
We are using Insert/Remove header on HTTP Profiles to support Host: header rewrites as needed by some applications and services. HTTP While this is available through endpoint policies, that's a large and complex object for such a simple use case.

@codatory please reach me on Teams. I want to understand the priority of this enhancement


String pushName();

Is it possible to customize the key in pushXXX?

No, this is the UID which auto generated.
Read this blog from Firebase team.


Bumping typscript-generator version

@ccolgrove you were interested in this.
There were some backcompat breaks, hence code changes

Does this require code changes in projects using service generator?

Potentially, depends on what features you were using. The extent will be that a few classes have changed packages in typescript-generator


Support multilevel list numbering

Source issue: https://github.com/metanorma/metanorma-jis/issues/52
From 23.3 付番及び区分け (https://github.com/metanorma/mn-samples-jis/blob/main/reference-docs/JIS-Z-8301-2019/jis_z_08301_000_000_2019_j_ed10_ch.pdf):

JIS uses the multi-level numbering like 1.1, 1.2, etc.

Update xrefs in JIS to use multi-level.
Insert xref of li as "label" attribute of li in Presentation XML.

Differentiate bare_xref in anchor from label. Label is the label of the item. bare_xref is the barest cross-ref (used to compose compound xrefs), stripped of almost everything; but for a list item, label is 1, bare_xref is 1).

So @Intelligent2013 all ol/li will have a "label" attribute in Presentation XML, just in case you need this elsewhere.

So: <li id="..." label="1.1.2">


Release 2.5.1 with Spring Boot 2.2.6 and Narayana 5.10.6

@gytis : Shouldn't it be 2.3.4 with Spring Boot 2.2.11 and Narayana 5.10.6?

We're keeping a couple of branches for maintenance. master is the one that is the most up to date. 2.3.x branch is aligned with Spring Boot 2.2.x and Narayana 5.9.x (I did the latest release of that yesterday).
I can make a new release from master in a few days.

Well, 2.3.x and 2.5.x will both be branches based on Spring Boot 2.2.x releases while 2.4.x has Spring Boot 2.3.x? Sound a bit odd, doesn't it?

Duh... yes my bad. It should be the latest Spring Boot 2.3.x.


implement manual and error-catching bookmarking

Manual bookmarking: Manually triggered, saves to a selected file, and lets user restore from there
trycatch-bookmarking: triggered when server-logic runs into an error. must save to a temporary directory, then in the error-message return the location. This is intended for sudden bug-reports and keeping sane states, however it will have to be wiped when the computer shuts down.

note: each control's cb must implement its own trycatch-environment, wrapping the entire server-logic into a single tryCatch()-statement will not work.

consider the viability of
    ## End(Don't show)
    library(shiny)

    ui <- fixedPage(
        markdown(c(
            "Set the number to 8 or higher to cause an error",
            "in the `renderText()` output."
        )),
        sliderInput("number", "Number", 0, 10, 4),
        textOutput("text"),
        hr(),
        markdown(c(
            "Click the button below to crash the app with an unhandled error",
            "in an `observe()` block."
        )),
        actionButton("crash", "Crash the app!")
    )

    log_event <- function(level, ...) {
        ts <- strftime(Sys.time(), " [%F %T] ")
        message(level, ts, ...)
    }

    server <- function(input, output, session) {
        log_event("INFO", "Session started")

        onUnhandledError(function(err) {
            # log the unhandled error
            level <- if (inherits(err, "shiny.error.fatal")) "FATAL" else "ERROR"
            log_event(level, conditionMessage(err))
        })

        onStop(function() {
            log_event("INFO", "Session ended")
        })

        observeEvent(input$crash, stop("Oops, an unhandled error happened!"))

        output$text <- renderText({
            if (input$number > 7) {
                stop("that's too high!")
            }
            sprintf("You picked number %d.", input$number)
        })
    }

shinyApp(ui, server)

preliminary tests seem to suggest that these registrations accumulate for unknown reasons UNLESS the session is manually restarted after each error.
i.e., within one session restarting the app 5 times and inducing an error manually will invoke
1
1 + 2
1 + 2 + 3
1 + 2 + 3 + 4
1 + 2 + 3 + 4 + 5
= 35 errors in total.
How to fix this?

TODO: For the try catch block, check if changes to members of DATA made within thetry-block propagate to thecatch error-routine.

TODO: Loading/saving states must issue a shinyNotification() upon succession.


Feat/improve-search-ux

Before submitting the PR:

[x] Does your PR reference an issue? If not, please chat to the team on Discord or GitHub before submission.
[x] Did you update and run tests before submission using npm run test?
[x] Does your branch follow our naming convention? If not, please amend the branch name using branch -m new-branch-name
[x] Did you update documentation related to your new feature or changes?

What does your PR address?
Adds a recently searched + favourited options to the search modal, as well as adds it in an unordered list, and lets you use the keyboard without needing the mouse to select entries.
Fixes #567
Fixes #568
Fixes #569

Submitting this as a draft because I'm not sure whether you'd like to add a lil animation to the save search / delete search

Hey @ryceg - I can't seem to get it to move focus into the list - before it was tab, tab, tab to go from search box to close button to list contents, but now it seems to cycle back to the search entry box.
There is also still the bug of being able to do multiple instantiations through cmd-k.
This is on Safari 16.1 in case it helps!

@ryceg @niktek The multiple search instantiation has been fixed on dev branch. It means this must be beyond.
@ryceg

Not sure I like the search being so empty on a first time use. Being able to browse the list manually was intentional.
Using ESC for the close is great for desktop, less great on mobile (even though search isn't yet accessible there)

I haven't had a chance to implement search into the mobile drawer menu, but I do plan to FYI.

@ryceg I saw the improvements. What do you think about making the recent searches a section above the standard nav?
Like:

Search bar
Recent searches
Standard list of links

Then limit the recent searches to say 3-5 so it doesn't get too long.

@ryceg I wanted to give this one a go but it looks like the things are so out of date it doesn't run with the current dependency updates. I'd need to nuke my node_modules and reinstall just for this PR to get it back in a working state.
I'd say let's either set a ETA for this within the next few days or we may have to close out and tackle this later. If we close it out I'd suggest we merge the proposed changes into a single ticket.
Thoughts?

@ryceg Unfortunately this one has gone on so long the merge conflicts are starting to pile up. I'm going to go ahead and close out the PR, but keep the tickets and reference this. We can aim to give this another go soon. Note that dev branch does have some minor UI improvements, though your items are not yet included.


⚠ gorzdrav.org has degraded performance

In 3eea506, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 2831 ms

Resolved: gorzdrav.org performance has improved in 992ed1a.


[Gh 974] Consumption role fix

Feature or Bugfix

Bugfix

Detail
Added filter variable reference in the ListConsumptionRoleApi and also added a new filter instead of a hard coded one in the RequestModal's ListConsumptionRoleApi.
Relates

https://github.com/data-dot-all/dataall/issues/974

Security
Please answer the questions below briefly where applicable, or write N/A. Based on
OWASP 10.

Does this PR introduce or modify any input fields or queries - this includes
fetching data from storage outside the application (e.g. a database, an S3 bucket)? N/A

Is the input sanitized?
What precautions are you taking before deserializing the data you consume?
Is injection prevented by parametrizing queries?
Have you ensured no eval or similar functions are used?

Does this PR introduce any functionality or component that requires authorization? N/A

How have you ensured it respects the existing AuthN/AuthZ mechanisms?
Are you logging failed auth attempts?

Are you using or adding any cryptographic features? N/A

Do you use a standard proven implementations?
Are the used keys controlled by the customer? Where are they stored? N/A

Are you introducing any new policies/roles/users? N/A

Have you used the least-privilege principle? How?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Tested the PR for the following:

[x] Pagination of Env Teams ( >10 Teams)
[x] Pagination of Env Consumption Roles ( >10 Roles)
[x] List All Consumption Roles in RequestAccessModal ( >10 Roles)


Please include instructions on branch deletion events

Please include instructions on how to be notified of branch deletion events. For instance In GitHub I can be notified of a branch deletion (see here). I haven't seen an equivalent event in ADO service hook documentation.

@andrebriggs Thank you for the question.
For the command:
git push --delete <remote_name> <branch_name>

...you should be notified with a code push event.
If you'd like more specific events included, you should use Suggest a feature on the Azure DevOps forums.


MultiBit 0.5.18 - Bitcoins recieved in Multibit and sent to another address - Bitcoins now missing

Im using MultiBit 0.5.18. Bitcoins were received in my wallet. I sent them on to another address for payment of goods. Bitcoins are now missing from my MultiBit wallet (received transaction still visible) the sent transaction is not appearing and the amount sent is no longer on the transactions list even though the Bitcoins are no longer there. The receiving address has not received them. I have tried resetting the blockchain and transactions and this has not fixed the problem. What do I do?

Multibit error take my btc , i want my btc back .

I will post any every forum about this bug and how btc owners dont want to resolve it .

Why you closed this topic Mr Gary .
More and more people have big problems with Multibit and you have not done nothing .
You remember me , 3 years ago Multibit eat my BTC ( APROX 1 BTC ) and noone gived me an explication .
İ know who are you and trust me , i have not forget what you and your friend done .
You have any solution for my problem or i need to take other actions ??
Thank you


[ENH] - Set separate validator methods to be called in infrastructure stage's _check_input actions for each provider

Feature description
Shift each validator under _check_input (e.g. aws provider validation), for each provider, into a separate method to be called iteratively, distributing the burden of _check_input, to enable more efficient raising of a possible ValueError and earlier exiting on return data while avoiding premature skipping of validation steps.
Value and/or benefit
Developers can add or refactor provider validation steps, for the infrastructure stage, as separate modules to enhance logic conditionals to more effectively handle ValueError or data returns and bypass excessive checks.
Anything else?
This request is follow-up to discussion in PR#2788

I think an examlpe would help clarify what you're looking for here.


Virtual SIM

I have no idea if possible, but would be nice if BlissOS could support virtual SIMs so a phone number could be used in the OS for certain app functionality.
Just a suggestion, close issue.

That would be great, but please open an issue there or send them an email so your suggestion get better visibility.
This project is just about OS Installation.
Have a good day :)


RPRBLND-1967: Improve "Sync process" for instances

PURPOSE
Speed up sync process for final rendering
EFFECT OF CHANGE
Sync process for final rendering became much faster
TECHNICAL STEPS

Implemented multi-threading for instanced objects
Implemented USD instancing technique
Added const CHUNK_COUNT to define how many object per thread will be processed (I figured out that 500 is almost ideal for my PC, I think we need to investigate which is better for other PCs)
Added is_rand argument to function get_temp_file. We need it because USD doesn't update material if name of mtlx file isn't changed
Modified blender_data node to fit new sync logic

NOTES FOR REVIEWERS

https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD/pull/512 is strictly needed for working with instancing.
Here is a delay after syncing and before rendering which doesn't concern to sync process. The reason is HdRPR creates material for every instance (the same material).

Waiting for https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUSD/pull/512 to be merged

@DagerD please fix conflicts.
Waiting for #167 to be merged.

#167 is merged, now we can merge this PR


Updated readme files for managed network

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-go


Profiler Feature

Hello, this adds support for profiling.
Currently it only performs sampling profiling of running methods. It requires no modifications to be performed or any code to be processed, it is quite automatic in that only profiling needs to be enabled.
One important minor change is that internally the method being invoked is performed in another thread so that way the profiler only profiles threads and threads that thread creates in the same thread group. This should not cause any issues in virtually all cases, if there are any issues where values go missing then memory barriers could be placed around input object but this would have a speed impact.
There have some changes to the API which should only affect power users that do not use the default connection or the default connection factories. The connection code needed to be refactored to be clean and able to support profiling without having duplicate code or a gigantic mess of existing code. So anyone who has directly used classes in com.iopipe.http will need to adjust their code accordingly.
The documentation for the profiler is currently simple, it can be expanded and made more informative.
This is linked to issue #36 .

Currently as of this writing, I am waiting on integration before this continues but the code can still be reviewed. Any final changes should be quite small.

Okay, so this  now works in the staging environment. The download button can download the snapshots and you can unzip them.

Okay, so at this point I believe that this code is ready to be reviewed for merging!

Okay, I changed how the default URL code is laid out and also now have fallbacks in case they are not specified. It should be much cleaner now.


auth.tls.certs remaining tasks

# Authentication
auth:
  #
  # TLS configuration
  tls:
    # Enable global TLS, which turns on TLS by default for all listeners
    # If enabled, each listener must set a certificate name (ie. listeners.<group>.<listener>.tls.cert)
    # If disabled, listeners may still enable TLS individually (see listeners.<group>.<listener>.tls.enabled)
    enabled: false
    # list all certificates below, then reference a certificate's name in each listener (see listeners.<listener name>.tls.cert)
    # TODO consider switching certs to list
    certs:
      # This is the certificate name that is used to associate the certificate with a listener
      # See listeners.<listener group>.tls.cert for more information
      # TODO add custom cert support: https://github.com/redpanda-data/helm-charts/pull/51
      kafka:
        # issuerRef:
        #   name: redpanda-cert1-selfsigned-issuer
        # The caEnabled flag determines whether the ca.crt file is included in the TLS mount path on each Redpanda pod
        # TODO remove caEnabled (rely on requireClientAuth): https://github.com/redpanda-data/helm-charts/issues/74
        caEnabled: true
        # duration: 43800h
      rpc:
        caEnabled: true
      admin:
        caEnabled: true
      proxy:
        caEnabled: true
      schema:
        caEnabled: true

[ ] remove caEnabled
[ ] consider switching from map to list/array

Some open questions/comments:

is caEnabled only for selfsigned certificates? This may be able to be removed in favor of requireClientAuth on each listener. Maybe a better name would be isSelfSigned
right now the caEnabled flag determines whether the ca.crt file is included in the TLS mount path on each Redpanda pod

Not necessarily just self-signed. Any certificate that doesn't have it's CA in the OS default root ca bundle. That may be an org-level internal ACME cert.
It's also just for external certs. Internal should always use self-signed.

@alejandroEsc How https://github.com/redpanda-data/helm-charts/issues/303 relates to this issue?

I agree with @alejandroEsc that this issue should be removed.

Closing in favor of #303


tests: add additonal power management tests

There are very few test cases that run power management though there are few boards that support the feature. There is a need to catch regressions and catch bugs when exercising power management when supported.
https://github.com/zephyrproject-rtos/zephyr/issues/20033 (generic)https://github.com/zephyrproject-rtos/zephyr/issues/23274 (SoC specific)
Describe the solution you'd like
A generic test case suite that cover the following features when SOC PWR MANAGEMENT is supported.
Tests should:

Perform operations that results in CPU to enter sleep state when supported in single thread or multithread case.
Uses hook to track entry/exit to sleep state and compare against a counter.
Has minimal benchmarks i.e sleep latency entry/exit

Have different KConfig configurations. i.e. logging enabled, logging disabled.
Describe alternatives you've considered
Additional context
Use board-specific sample code to perform checks above
https://github.com/zephyrproject-rtos/zephyr/tree/master/samples/boards/mec15xxevb_assy6853

Hi Alberto, I'm currently working on this issue. I went through the board-specific code. I wonder if I should only replace the lines where you directly assigned 0x240 or 0x10240 to the board's registers pins and then the case could be generic, since all the other codes seem already generic. If so, is it doable to use the common PM framework to set the board's sleep status instead of assigning values to the pin?

Yes, these gpio toggling can be removed or replaced with either logging messages or gpio led pins toggling (which I believe are defined across boards).  These just serve a debug purpose.

Every time the main is finished the program does not stop.  Any thought would be helpful!

Merged at 27733


GPX export not compatible with several programs e.g. Garmin Basecamp

The GPX files exported with ol2 where using tracks (trk tags with trkpt)
The GPX files exported with ol3 are using routes (rte with rtept)
Several programs like Garmin basecamp or the iPhone app "Scout" don't manage to read these files.
They can manage to read the files produced by ol2 though.
gpx_bug.zip

confirm that.

The GPX serializer creates routes from LineString geometries, and tracks from MultiLineString geometries.
If you want to draw a track on your map, set the type option of ol.interaction.Draw to ol.geom.MultiLineString instead of ol.geom.LineString.
Does this help?

this could help indeed. we'll give it a try and keep you informed. thanks

This is not a problem of route or trackpoint.
Basecamp of Garmin is looking for the xsi namespace.
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" creator="OpenLayers" >

Is there a way to add this namespace ?

Importing of GPX exported by OpenLayers into Garmin devices still fails. As @rmichaelis already pointed out, Garmin requires xmlns:xsi to function in the first place.
However, there is another issue: Garmin insists that data strictly adheres to the actual GPX specification (see http://www.topografix.com/GPX/1/1/gpx.xsd) that requires one to stick to the following order:

An optional instance of
An arbitrary number of instances of
An arbitrary number of instances of
An arbitrary number of instances of
An optional instance of

OpenLayers' writeFeatures for GPX however does not ensure the given order. Of course it is possible to sort the features before calling writeFeatures but to my understanding this task should be performed by the writeFeatures itself.

A suggestion one of my colleagues how to solve the issue is two changes to the writeFeaturesNode method in gpxformat.js that seem to be sufficient:

Generate an XML that has the Topografix XMLNS, then add a second namespace as well version number and possibly a creator (see @rmichaelis' above contribution) as attributes.

Soft features before ol.xml.pushSerializeAndPop

Concerning the namespace issue see e.g. http://blogs.msmvps.com/martin-honnen/2009/04/13/creating-xml-with-namespaces-with-javascript-and-the-w3c-dom/

AFAICS, OL2 didn't sort features either, so I don't see how OL2 would work if this was required. OL2 did however output the xsi namespace, together with creator and version, both of which are required according to the spec.

@probins I checked it again by directly copying the GPX files to my Garmin Dakota 20. As Radio Yerevan would put it: In principle  you are right that there is no issue with Garmin devices. However, the issue is present in Garmin Basecamp, a free-for-download software by Garmin that many people including me and my boss use to transfer GPX data to their devices.

#5471 adds the xsi namespace, creator and version, exactly as used in the 'fells_loop' example file. Pls check that the devices/apps mentioned accept the output from this patch. I can't test this, as I don't have a GPS device.
@penpendede I'm not disputing that the current output doesn't work with Basecamp. It's correct that the spec does define the points/routes/tracks as an xsd:sequence, so they should be in that order, but, if as the OP wrote OL2 output worked with it, I don't see how sorting features can be an issue. If this is still an issue, another change could be made to output them in the correct sequence, though an easy workaround would surely be to create different files for the points and routes/tracks, and feed them separately to the device/app.

#5471 should have fixed this. If there are still issues, pls reopen this, or open a new issue.


MPL rendering fails for circuits with operations conditioned on a classical register

Information

Qiskit Terra version: 0.9.0
Python version: 3.7.4
Operating system: macOS Mojave v10.14.6

What is the current behavior?
When trying to render a circuit with output='mpl', if it contains any operations conditioned on the state of a classical register, it fails:
from qiskit import QuantumRegister, ClassicalRegister, QuantumCircuit
q = QuantumRegister(1)
c = ClassicalRegister(1)
qc = QuantumCircuit(q, c)
qc.x(q[0]).c_if(c, 0)
qc.measure(q,c)
qc.draw(output='mpl')

The following error is thrown:
AttributeError: 'Clbit' object has no attribute 'reg'

It does work, however, with output='text', output='latex' and output='latex_source'.
Same thing happens when using circuit_drawer(qc, output='mpl') instead.
Steps to reproduce the problem

Prepare a virtual environment.
Install qiskit, qiskit-terra[visualization] and jupyter.
Create a new jupyter notebook and run the above mentioned code.

What is the expected behavior?
Circuit figure should be rendered in 'mpl' format.
Suggested solutions

Thanks for opening an issue. This issue was actually already caught and fixed on the day we pushed the 0.9.0 release (it barely missed the deadline). The fix was here: https://github.com/Qiskit/qiskit-terra/pull/3032 it's been backported to stable/0.9 (see: https://github.com/Qiskit/qiskit-terra/pull/3049 ) for inclusion in a bugfix release per the stable branch policy: https://github.com/Qiskit/qiskit-terra/blob/master/CONTRIBUTING.md#stable-branch-policy Or it will be included in the next minor version release 0.10.0 which will likely also happen relatively soon. I'll ask and see if people are opposed to pushing a bugfix release to get this fix out prior to the 0.10 release.
In the meantime I'm going to close this issue as it's already been fixed. Please feel free to reopen it if I'm missing something or there is more to discuss.

Thanks for the quick response @mtreinish ! I did not see the fix in the list of closed issues, apologies.

Actually looking at the PR it looks an issue about it was never opened. It was quick typo fix and we didn't bother to open an issue about it because it was a 1 line fix. I think we assumed we would have pushed a 0.9.1 that included it well before now.


Update documentation for the migration workflows

The Getting Started flow, tutorials, the cheatsheet, as well as the reference need to be updated to include the CLI-based migration flows.

Yeah, the deadline for this is "yesterday". :)
Couple of notes re Getting Started:

No DDL in it.
Showcase CLI to download & install EdgeDB.
Use CLI to apply migrations (not repl). Explain where to put our ESDL files, etc.
Enabling GraphQL should be done via adding using extension graphql to the ESDL file (coming soon, @elprans is working on that)

Aaah this is so great! Thank you!

@vpetrovykh, is this done?


Error when launching version 0.2.2

When launching the exe (without RemotePlay actually opened), there is an "Unhandled" error with MainForm.cs at line 68. Reference is not defined to an object.
System.NullReferenceException
But it's working if you open it after launching the remote play app.

Hi, thanks for the report! I actually made a mistake and realized it after the release of v0.2.2. The bug has been fixed on this commit and will be officially released with the next version instead (very soon).
I will attach the latest commit build here just in case.
PS4Macro_022_2d1b808.zip

Thanks :) I will test this really hard starting from now on ;)


Should LR imgs also extract_subimgs_single.py ?

If should, the problem is the crop_sz is not suitable for LR imgs, 480 may bigger than LR.
if shouldn't, the problem is the numbers of LR and HR are different, error of  HR and LR datasets have different number of images...
Can you give more information about that?

You need different configs for HR and LR:
for example X2
HR:
crop_sz = 480
step = 240
thres_sz = 48

LR:
crop_sz = 240
step = 120
thres_sz = 24


Add macOS m1 to the CI/CD test matrix

@weyderfs it looks like github are adding macOS m1 based gitlab runners so we don't have to test on our laptops :)
https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

Interesting, but actually I'm not using Macbook anymore. I've exchanged work company and now using a Lenovo laptop with Ubuntu

All the more reason for us to add it to the test matrix then 😉

@iokiwi, Merry Christmas (Better late than never 😂 ).
I've opened the branch /feature-osx and just started work there to prepare for introduce the Actions for MacOS, fell free to comments or contribute.

Its looking good. I left a comment which might help you get over the line or at least get a step closer


 Very useful.
I am getting the following error while running the authenticated version (anonymous version seems to run fine for the results viewable).
INFO:li:scraper:('[data engineer][european union]', 'Opening https://www.linkedin.com/jobs/search?keywords=data+engineer&location=european+union&sortBy=DD&f_TPR=r2592000&f_JT=F&f_E=1&start=0')
WARNING:urllib3.connectionpool:Connection pool is full, discarding connection: <IP_ADDRESS>. Connection pool size: 1
WARNING:li:scraper:('[data engineer][european union]', 'Error in response', 'https://www.linkedin.com/jobs/search/?currentJobId=3159886155&f_E=1&f_JT=F&f_TPR=r2592000&keywords=data%20engineer&location=european%20union&sortBy=DD', 'request_id=63028.200 status=404 type=XHR mime_type=application/vnd.linkedin.normalized+json+2.1 url=https://www.linkedin.com/voyager/api/voyagerMessagingDashAwayStatus')
WARNING:li:scraper:('[data engineer][european union]', 'No jobs found, skip')
[ON_END]

Does anyone know what the issue could be here? This is the code I am using:
import logging
import csv
from sys import maxsize
from linkedin_jobs_scraper import LinkedinScraper
from linkedin_jobs_scraper.events import Events, EventData, EventMetrics
from linkedin_jobs_scraper.query import Query, QueryOptions, QueryFilters
from linkedin_jobs_scraper.filters import RelevanceFilters, TimeFilters, TypeFilters, ExperienceLevelFilters, RemoteFilters

# Change root logger level (default is WARN)
logging.basicConfig(level = logging.INFO)

job_data = []

# Fired once for each successfully processed job
def on_data(data: EventData):
    job_data.append([data.title, data.company, data.place, data.date, data.link])

# Fired once for each page (25 jobs)
def on_metrics(metrics: EventMetrics):
  print('[ON_METRICS]', str(metrics))

def on_error(error):
    print('[ON_ERROR]', error)

def on_end():
    print('[ON_END]')

scraper = LinkedinScraper(
    chrome_options=None,  # You can pass your custom Chrome options here
    headless=False,
    max_workers=1,  # How many threads will be spawn to run queries concurrently (one Chrome driver for each thread)
    slow_mo=2,  # Slow down the scraper to avoid 'Too many requests (429)' errors
    page_load_timeout=25 # Page load timetout (in seconds)
)

# Add event listenerspy e
scraper.on(Events.DATA, on_data)
scraper.on(Events.ERROR, on_error)
scraper.on(Events.END, on_end)

queries = [
    Query(
        query='data engineer',
        options=QueryOptions(
            locations=['european union'],
            apply_link=False,
            optimize=False,
            limit=100,
            filters=QueryFilters(
                relevance=RelevanceFilters.RECENT,
                time=TimeFilters.MONTH,
                type=[TypeFilters.FULL_TIME],
                experience=[ExperienceLevelFilters.INTERNSHIP],
            )
        )
    ),
]

scraper.run(queries)

fields = ['Job', 'Company', 'Place', 'Date', 'Link']
rows = []

for x in job_data:
    i = 0
    rows.append([x[0], x[1], x[2], x[3], x[4]])
    i = i + 1

with open('jobs_data.csv', 'w') as f:
    write = csv.writer(f)

    write.writerow(fields)
    write.writerows(rows)

Same error here with authenticated session.
Running it with headless=False I can see the jobs on the page, but for some reason I keep getting no job found error.
It was running properly until yesterday evening (08/08/2022)

Same error here.
Have you guys tried to use another account's cookie?
I did. Got correct job results with exactly the same URL.
Think LinkedIn just applied some anti-scrapper code to block certain sessions, including yours and mine.
But, they just block the sessions from selenium, not from the actual Chrome browser. (Because the same blocked account can see jobs from visiting the URL in the browser.)
So I think if anyone can fix this by "simulating" the exact same browser behavior from selenium?

Same for me. As OP said - thank you for the code. Gamechanger for my job search.
Anonymous mode works somewhat - but once I launch the authenticated sessions, it successfully logs in, but once the results are visible, the bot times out.

It seems Linkedin has changed css class for one of their html elements. Try latest version and see if this fixes the No jobs found, skip issue.

Seems to work fine now, thanks @spinlud !

In my case the session cookie is invalid??? I don't understand:

I select li_at....


Provide reminder of exchange rate 1 GC = 20 SS = 240 BP within Money menu bar

As in rulebook, showcase which is the characteristics are for the career path, and which open at each level

Might could use some styling but this is how it'll be for now


feat(plugin): add aria-* visualizer plugin

This is a first pass at working on the aria- Visualizer* plugin.
It currently only supports aria-hidden, but will be made to work with more aria* attributes and be made more robust in general in the near future.
It leverages some of the info panel updates from #139 and adds a new option to disable the annotation checkbox for plugins that don't have annotation.
I feel like I probably need to add annotation for both the plugin and the Focus Tracker added in #139, but I don't know enough about how it's implemented in this codebase yet. Regardless, I think it's a nice option to have for situations where we're using the info panel as more of a status indicator.
Closes #128

I haven't forgotten this. I will try to make time this week to give feedback. Thank you for your patience.

@somewhatabstract I haven't quite figured out how to approach other attributes for the visualization side of things.
It might be good to take some time to compile a list of different attributes we want to tackle, prioritize them, and then muse on what a good visualization for that might be.
I think #128 would be a good place for that discussion. I'm going to leave this one open as a draft so I can continue to rebase changes and implement new visualizations as we come up with them.


Add JRUBY to CI

@tarcieri should we maintain JRuby support? It's kinda holing us from bumping min ruby version to 2.6

@ixti you could always do something like:
gem.required_ruby_version = defined?(JRUBY_VERSION) ? "2.5" : "2.6"

Aah. I imagine there are a number of JRuby users of this library still (indeed that's probably still true of a few of my former employers).
Unless there's a big benefit to dropping support, I suggest we continue to do so.

There are some benefits, but most of them are in my head then real world. ))) If jruby is used by the http gem consumers then let's keep it )))

Will need to fix CI then ))) or mark some tests as non jruby friendly )))

@tarcieri I've added JRuby into "flaky specs group" for now. because re-running individual failing specs works just fine. Which means there might be some state related issue thuogh :((


Can't open display error when trying to launch apps

Environment
Windows build number: Microsoft Windows [Version 10.0.21370.1]
Your Distribution version: Ubuntu 20.04
Your WSLg version: <IP_ADDRESS>

Steps to reproduce

wsl --update (on my existing ubuntu distro in wsl2)
install x11-apps and google-chrome
launch xcalc / xclock / xeyes : I get "Error: Can't open display: <IP_ADDRESS>:0"
launch google-chrome: I get "[517:517:0430/101516.333068:ERROR:browser_main_loop.cc(1386)] Unable to open X display."

Thinking that there might be a misconfig in my distro, I tried to test wslg with a fresh ubuntu distro, but same result...
Please note: I followed this blog post 2 months ago to try to get google-chrome running
https://techcommunity.microsoft.com/t5/windows-dev-appconsult/running-wsl-gui-apps-on-windows-10/ba-p/1493242
I could launch basic apps like xcalc but couldn't launch google-chrome
Then I uninstalled VcXsrv.

WSL logs:

puseaudio.log
W: [pulseaudio] authkey.c: Failed to open cookie file '/home/wslg/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/home/wslg/.config/pulse/cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to open cookie file '/home/wslg/.pulse-cookie': No such file or directory
W: [pulseaudio] authkey.c: Failed to load authentication key '/home/wslg/.pulse-cookie': No such file or directory
E: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files
E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed.
E: [rdp-sink] module-rdp-sink.c: RDP Sink - Trying to connect to /mnt/wslg/PulseAudioRDPSink
E: [rdp-sink] module-rdp-sink.c: Connected failed
E: [rdp-sink] module-rdp-sink.c: RDP Sink - Trying to connect to /mnt/wslg/PulseAudioRDPSink
E: [rdp-sink] module-rdp-sink.c: Connected failed

weston.log
File is quite big, please see the attached file.
weston.log

versions.txt
WSLg ( x86_64 ): 1.0.17+3.Branch.master.Sha.a526dfd5ad03d126bb2d8c528f6c3563e86a40da
Mariner: VERSION="1.0.20210224"
FreeRDP: e4a2fc2053bd8c5f99455fcd08ffee7e5591567a
weston: fd961f5cd116c9358d82ce94d139c1578e21bd00
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
mesa:

Expected behavior
Launch the gui apps
Actual behavior
Gettings errors

do you restart your wsl?

After the update, I still have the same issue :/

@mickaelchanrion Which kernel version does it have now? I solved this issue by updating & force restart WSL as he described.
Reproduce:

Run Powershell as Administrator
Execute wsl --shutdown and wsl --update
Launch Ubuntu

C:\Users\***> wsl --status
Default Distribution: Ubuntu
Default Version: 2

Windows Subsystem for Linux was last updated on 5/4/2021
The Windows Subsystem for Linux kernel can be manually updated with 'wsl --update', but automatic updates cannot occur due to your system settings.
To receive automatic kernel updates, please enable the Windows Update setting: 'Receive updates for other Microsoft products when you update Windows'.
For more information please visit https://aka.ms/wsl2kernel.

Kernel version: 5.10.16

Yes I did that, and I have the same version as you. But still not working for me

windows build 21370
wsl 2

@sukehiro-San could you take a peek at the following wiki to see where things are failing for you:
https://github.com/microsoft/wslg/wiki/Diagnosing-"cannot-open-display"-type-issues-with-WSLg

Edition	Windows 10 Pro Insider Preview
Version	Dev
Installed on	2021-03-12
OS build	21332.1010
Experience	Windows 10 Feature Experience Pack 321.5601.0.3

PS C:\WINDOWS\system32> wsl --shutdown
PS C:\WINDOWS\system32> wsl --update
Checking for updates...
No updates are available.
Kernel version: 5.10.16
PS C:\WINDOWS\system32> wsl -l -v
  NAME                   STATE           VERSION
* Ubuntu-20.04           Stopped         2
  docker-desktop-data    Stopped         2
  docker-desktop         Stopped         2
PS C:\WINDOWS\system32> wsl

 * keychain 2.8.5 ~ http://www.funtoo.org
 * Starting ssh-agent...
 * Starting gpg-agent...

DESKTOP-OKH3D11 :: ~/src » cat /mnt/wslg
cat: /mnt/wslg: No such file or directory

WSLg doesn't exist.


Localtunnel is crashing every minute in development

Hello
Sorry to bother you, but I tried Localtunnel today and used about 3 hours, but during this period, it crashed at least 100 times
I was using it for development purposes in the NextJs project
Does it support well for Hot Module Replacement features?

following, trying it myself right now and its bouncing up and down pretty hard


[RESOLVED] Unavailable by ICMP ping

Problem started at 03:42:14 on 2023.01.25
Problem name: Unavailable by ICMP ping
Host: MF-FG
Severity: High
Operational data: Down (0)
Original problem ID: 4772
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23130&eventid=4772

Problem has been resolved in 15h 17m 0s at 18:59:14 on 2023.01.25
Problem name: Unavailable by ICMP ping
Host: MF-FG
Severity: High
Original problem ID: 4772


nc_test4/tst_interops5 failing

The test is failing on 32-bit platforms, regardless of the build system (cmake, autodist).  More info to follow.

The issue was related to how autodist was detecting szip.  Corrected.


ManyToMany

Right now you have to manually create cross tables for a ManyToMany relation.
A builtin solution would be more convenient.

Best solution would probably be a macro generating the many-to-many relation and the a ManyToMany struct at the entity referencing that many-to-many struct.

requires #85


chatbot.py

Chatbot.py

Creaccion del pull request

Do not upload the api key in future commits, use a configuration file for this purpose, change api key immediately


Feature Request: Deselect some of the mutiple files

When monitoring more than one file it would be great if it would be possible to select/deselect particular files in the browser window.

A simpler alternative would be adding an option to append the file name at each message. That way we could just use the filter to change the files on the fly.
But unfortunately, this project seems abandoned.


Unable to disable hijack_netrw_behavior

Description
I've been trying to disable hijack_netrw_behavior (setting it to disabled) but it doesn't seem to be working. neo-tree does indeed prevent itself from opening, but instead of getting the usual netrw screen, I'm getting a blank buffer. I'm expecting

but I'm getting

instead.
Steps to Reproduce
minimal config:
    require("neo-tree").setup({
      filesystem = {
        hijack_netrw_behavior = "disabled",
      }
    })

Steps Taken
I dug around a bit and commenting out this line seems to properly enable netrw which I guess relies on the FileExplorer augroup? Furthermore, the config check in the line above calls netrw.get_hijack_netrw_behavior() which, in my testing, was returning 'open_default' instead of 'disabled'. I think what's happening is that when get_hijack_netrw_behavior() is called in merge_config(), nt.config hasn't been initialized yet since it relies on the return value of merge_config(), so nt.config is nil causing utils.get_value() to set hijack_behavior as the fallback value of 'open_default' instead of 'disabled' in this line. This is roughly what I found in my experimenting and I'm not too familiar with the other parts of the plugin's setup, but I'm happy to provide any more info.
Thanks for creating this plugin, I've really enjoyed using it!

Thanks for taking the time to debug this for me, I'll fix it soon.

Thanks for creating this plugin, I've really enjoyed using it!


Interpreting the training curves on Tic Tac Toe

First of all, thank you very much for opening the code.
I have trained a model with your default configuration. But the effect is not good, what may be the reason?
As far as I can tell, an agent who has mastered tic-tac-toe must have a draw on its own game, but it has decreased in episode length.

Hi,
What do you mean by "the effect is not good" ?
What I see is that:

On the MuZero reward plot:

MuZero used to draw or lose at the start, now he wins once in 4.
The curve is quite increasing and he seems to be learning and progressing.

On the opponnent reward:

It is clearly decreasing, he only wins once in 3 now.
In addition, it seems to me that you are testing against the expert opponent, so it is hand-coded to systematically block the winning opponent's winning opportunities.

In conclusion, with a longer training MuZero will continue to progress and the opponent will draw more and more.

Thank you for your suggestion.
I trained the model for a longer time. The following figure shows the training curve:

I found out the agent is not very smart. The result of a game between me and it is as follows:
`
Welcome to MuZero! Here's a list of games:
0. atari

breakout

cartpole

connect4

gomoku

gridworld

lunarlander

simple_grid

tictactoe

tictactoe_gpu

twentyone
Enter a number to choose the game: 8
8
2021-04-27 15:30:38,877	INFO services.py:1174 -- View the Ray dashboard at http://<IP_ADDRESS>:8266

Train

Load pretrained model

Diagnose model

Render some self play games

Play against MuZero

Test the game manually

Hyperparameter search

Exit
Enter a number to choose an action: 1
1

results/tictactoe/2021-04-25--21-19-15/

results/tictactoe/2021-04-25--15-57-37/

results/tictactoe/2021-04-25--15-22-52/

results/tictactoe/2021-04-25--15-20-27/

results/tictactoe/2021-04-25--15-10-51/

results/tictactoe/2021-04-25--14-54-51/

results/tictactoe/2021-04-24--18-23-45/

results/tictactoe/2021-04-24--11-47-26/

results/tictactoe/2021-04-23--20-18-07/

Specify paths manually
Enter a number to choose a model to load: 6
6

Using checkpoint from results/tictactoe/2021-04-24--18-23-45/model.checkpoint
Initializing replay buffer with results/tictactoe/2021-04-24--18-23-45/replay_buffer.pkl
Done

Train
Load pretrained model
Diagnose model
Render some self play games
Play against MuZero
Test the game manually
Hyperparameter search
Exit
Enter a number to choose an action: 4
4
Testing 1/1
(pid=27304) [[0 0 0]
(pid=27304)  [0 0 0]
(pid=27304)  [0 0 0]]
(pid=27304) Press enter to take a step

(pid=27304) Tree depth: 11
(pid=27304) Root value for player 0: -0.03
(pid=27304) Played action: Play row 2, column 2
(pid=27304) [[0 0 0]
(pid=27304)  [0 1 0]
(pid=27304)  [0 0 0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 8
(pid=27304) Root value for player 1: -3.62
(pid=27304) Player 1 turn. MuZero suggests Play row 1, column 1
(pid=27304) Enter the row (1, 2 or 3) to play for the player 1:
1
1
(pid=27304) Enter the column (1, 2 or 3) to play for the player 1:
1
1
(pid=27304) Played action: Play row 1, column 1
(pid=27304) [[ 0  0  0]
(pid=27304)  [ 0  1  0]
(pid=27304)  [-1  0  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 8
(pid=27304) Root value for player 0: 7.18
(pid=27304) Played action: Play row 1, column 2
(pid=27304) [[ 0  0  0]
(pid=27304)  [ 0  1  0]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 9
(pid=27304) Root value for player 1: -5.44
(pid=27304) Player 1 turn. MuZero suggests Play row 3, column 2
(pid=27304) Enter the row (1, 2 or 3) to play for the player 1:
3
3
(pid=27304) Enter the column (1, 2 or 3) to play for the player 1:
2
2
(pid=27304) Played action: Play row 3, column 2
(pid=27304) [[ 0 -1  0]
(pid=27304)  [ 0  1  0]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 7
(pid=27304) Root value for player 0: 2.28
(pid=27304) Played action: Play row 3, column 1
(pid=27304) [[ 1 -1  0]
(pid=27304)  [ 0  1  0]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 9
(pid=27304) Root value for player 1: -4.31
(pid=27304) Player 1 turn. MuZero suggests Play row 3, column 3
(pid=27304) Enter the row (1, 2 or 3) to play for the player 1:
3
3
(pid=27304) Enter the column (1, 2 or 3) to play for the player 1:
3
3
(pid=27304) Played action: Play row 3, column 3
(pid=27304) [[ 1 -1 -1]
(pid=27304)  [ 0  1  0]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 9
(pid=27304) Root value for player 0: 5.61
(pid=27304) Played action: Play row 2, column 1
(pid=27304) [[ 1 -1 -1]
(pid=27304)  [ 1  1  0]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 15
(pid=27304) Root value for player 1: -19.28
(pid=27304) Player 1 turn. MuZero suggests Play row 2, column 3
(pid=27304) Enter the row (1, 2 or 3) to play for the player 1:
2
2
(pid=27304) Enter the column (1, 2 or 3) to play for the player 1:
3
3
(pid=27304) Played action: Play row 2, column 3
(pid=27304) [[ 1 -1 -1]
(pid=27304)  [ 1  1 -1]
(pid=27304)  [-1  1  0]]
(pid=27304) Press enter to take a step
(pid=27304) Tree depth: 15
(pid=27304) Root value for player 0: 19.23
(pid=27304) Played action: Play row 1, column 3
(pid=27304) [[ 1 -1 -1]
(pid=27304)  [ 1  1 -1]
(pid=27304)  [-1  1  1]]
(pid=27304) Press enter to take a step
Done
`
The unsmart action is as follows:

I basically used the default configuration(self.num_workers = 7, self.selfplay_on_gpu = True, self.reanalyse_on_gpu = True). I found in the source code that the reward for both a draw and a loss is 0, so could this be the cause?

I ran the default like you did and got the same results as you. Good graphs but Mu performs poorly in actual games. For my second experiment, I change it from "expert" to "self". And these are my results. The Loss is very good so it makes me believe the Ai learned. Both MuZero and opponent are heading to 0 reward (I believe this is expected right? More draws) but it still performs in reality poorly.
I was also thinking the same as you. I have made a code update, Win = 1, Draw = 0 and Loss = -1. This is what DeepMind reported in their paper. I will let you know how that experiment goes.

@theword OK, looking forward to hear from you.

Hi,
I also tried to train it "as is" and was not able to get a good performance. As said, even though the plots show some progress, it plays quite bad.
I opened an issue with the same problem:
https://github.com/werner-duvaud/muzero-general/issues/134
Even after training for almost 10 hours I still do not reach the performance on the attached files, which I think is very good.
Hope it helps.
As anyone else had success with the training?

@theword OK, looking forward to hear from you.

Was able to get really impressive graphs but it would still lose when I played against it. Expected it to draw every time.

@theword OK, looking forward to hear from you.

Was able to get really impressive graphs but it would still lose when I played against it. Expected it to draw every time.

Same here. I was not able to train it to play tic-tac-toe. Shifting to another AI algorithm since I'm unable to train anything here.

@JohnPPP / @theword , I've modified the tic-tac-toe a bit and got some really good results. It looks like the learning rate wasn't high enough and it should be using SGD instead of Adam. I also had to make sure there was as many workers as I had CPU threads to speed up the process. I then started tuning a learning rate decay over time. I tried it the first time, and embarrassingly, it beat me. 🤣 I've tested it and it's pretty good. I've attached a screenshot of my tensorboard showing MuZero learning strongly and opponent goes to 0.

@AdrianAcala , That is great! congratz on your improvements!
I've changed from this Muzero implementation to an Alpha-zero one. I must say that this one is much better designed, implemented, and easier to create new environments. However, I still cannot tune anything... It appears that the fault is on me alone and that's good.
Whishing all that come across this code great successes in the AI world,
João

@AdrianAcala Could you share your config of the hparams?

@theword , I'm running into issues replicating it. The learning rate is way too high and blows up to infinity sometimes. Though, when I lower the learning rate, then it takes forever to learn.

@theword , AHA! I was able to increase the learning rate and not have it blow up by also increasing the batch size. I've tried this twice now and both runs show great results. Will have a PR later this evening.

@theword , AHA! I was able to increase the learning rate and not have it blow up by also increasing the batch size. I've tried this twice now and both runs show great results. Will have a PR later this evening.

Awesome. I will try it out. How many steps did it take for converging?

Hello,
Thanks for your experiments and feedbacks on hyper parameters !
Closing this issue since @AdrianAcala submitted a new set of HP (see #169).


efficientSort

This will sometimes sort within 1 try.

This is brilliant.

While I do love bogosort, it's dangerously close to breaking the first rule of contributing (nothing that'll crash a web page). The while loop can easily block the thread for even a smaller amount of array elements, rendering the entire thing unresponsive. More often than not, this will lead to termination (voluntary or involuntary) of the browser window or tab.
I'm not sure how close we should stick to the rules, though, so it's questionable whether this even warrants a discussion.

@dstrekelj it's only really a worry if something blocks by default for some reason.

@Rabrennie Gotcha! I'll keep that in mind.


Setup circle ci

PR to setup Circle CI for continuous integration
All feedback and suggestions welcome.
https://trello.com/c/XXanAfjh

Closing PR as CI working with Circle CI on master as V1 with circle.yml but not working with this branch as V2 with .circleci/config.yml (In step 6 (save_cache): No key was given)


Removing index.html files in application and system folders

I would like to propose to remove the index.html files in the application and system (sub)folders, or at least have some discussion about this.
Directory listing is disabled by default in most used webservers: Apache, NGINX, Windows IIS and LiteSpeed. I haven't seen any hosting provider that had directory listing enabled for its clients in the last 5 years or so. Before that time I have.
To me all those index.html files are just dead space and sometime I get annoyed by their existence. Besides that they are unnecessary (IMHO) due to the (nowadays) default, in the case of Apache users the access to the folders itself is already blocked in the /application/.htaccess and /system/.htaccess.
So even if some ignorant user has "+Indexes" in his main .htaccess file a curious visitor (or hacker if you will) will not see the contents of the index.html file at all. The same applies if the user uses some kind of Linux distro that has '+Indexes' setup by default. My system of choice (Debian) follows the Apache defaults and has it disabled, but I found that some distros (Gentoo and Centos for example) are shipped with a '+Indexes' setup.
Some research about the default settings:
http://httpd.apache.org/docs/trunk/mod/core.html#options
http://nginx.org/en/docs/http/ngx_http_autoindex_module.html
https://technet.microsoft.com/en-us/library/cc731109(v=ws.10).aspx
https://www.litespeedtech.com/support/forum/threads/solved-directory-indexing.14227/
Distro specific:
https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-apache-config.html#s2-apache-options
https://wiki.gentoo.org/wiki/Apache#.2Fetc.2Fapache2.2Fhttpd.conf

Not the first time someone wanted to do that. Here's my opinion: https://github.com/bcit-ci/CodeIgniter/pull/1986#issuecomment-10181315

Yes, I saw your reply in that request. That request include the idea to move the application and system folder outside the public accessible document root. You also mentioned you probably would not add them again if they didn't exist already. We are a 4 years further down the road now so I thought why not rethink about this again.
I honestly can't think of a real world scenario where someone would benefit from this unless they deliberately done some other crazy stuff (like deleting the .htaccess file for example or set AllowOverride to none for Apache or enable directory listing for other web servers). And even then it's only a security through obscurity type of solution...

I honestly can't think of a real world scenario where someone would benefit from this unless they deliberately done some other crazy stuff (like deleting the .htaccess file for example or set AllowOverride to none for Apache or enable directory listing for other web servers).

You have no idea of the crazy environments CI runs on ...

And even then it's only a security through obscurity type of solution...

True. But that loops back to what I said in the linked comment - there's zero drawback to keeping it.

Just thought it might be time to get rid of them. I see it as a somewhat bad (security through obscurity) second layer of defense for when people have totally no idea what their doing. I would blame the badly designed environment instead of a framework when the directory listing is showed.
But I understand your point and understand if you close the request. The only downside (besides my own annoyance) is some disk space.

Well, again - it's indeed of very little value, but it's already in there and has zero negatives outside of personal preferences ... it's a stalemate.
What usually happens in that case is that I have no objective reason to take either side, so the PR would sit open forever. Just to avoid that scenario, I'll leave this for @jim-parry, @lonnieezell and @benedmunds to decide with a 2 out of 3 vote.

I see zero reason not to keep it. And I think @DiederikLascaris last comment explains exactly why:

I see it as a somewhat bad (security through obscurity) second layer of defense for when people have totally no idea what their doing. I would blame the badly designed environment instead of a framework when the directory listing is showed.

Many CI users seem to rather new to programming, so I guarantee many are new to server management and mis-configuration can happen. Heck, it happened to Facebook once a few years back, so accidents happen to the best of us.

The only downside (besides my own annoyance) is some disk space.

And the disk space and inode count is very, very minimal.
If we had a structure that kept the index file in a public folder, like CI4 and most other frameworks, I'd agree we should kill them, but the way the default directory structure is in CI3, all of the directories will likely be in web root and accessible, so a second layer of (hopefully never needed) defense doesn't hurt here.


App fixes

:tada: This PR is included in version 1.15.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update README.md with CH advise

Added warning for CH24 participants
Types of changes

[x] Enhancement (project structure, spelling, grammar, formatting)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

A description of the changes proposed in the Pull Request
Updating readme to inform CH participants NOT to submit their solution to this repo.

LGTM


Import of linux i686 Rust binary throws CSpec error

Describe the bug
Loading an i686 Linux rust binary throws an exception related to loading the cspec and RDI:
Full application.log is attached below.
kaida/.local/opt/ghidra_11.0_PUBLIC/Ghidra/Processors/x86/data/extensions/rust/unix/cc.xml ghidra.xml.XmlParseException: Unknown pentry register: RDI

To Reproduce
Steps to reproduce the behavior:

Download the Linux i686 GNU ripgrep and import rg (SHA256: 1275b5345b08e5bdc9bd7bd138a3b617863dcce9db5fe70814a194aea4c18508)
Import with default options
Ghidra throws an error (See application.log)

Expected behavior
No error about RDI, cscpec loaded correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Attachments

application.log

Environment (please complete the following information):

OS: macOS 14.1.2 - Build 23B2091
Java Version: openjdk 17.0.9 2023-10-17
Ghidra Version: 11.0
Ghidra Origin: 11.0 GitHub release

Additional context
Seems to be an issue in only the Linux cspec? I tried an aarch64 macOS binary and a Windows binary and both were fine.

Should this be mentioning RDI? Should it be EDI?
% file ~/Downloads/ripgrep-14.0.3-i686-unknown-linux-gnu/rg
/Users/kaida/Downloads/ripgrep-14.0.3-i686-unknown-linux-gnu/rg: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=214b1ffe3fa4d81ab6eddc0129856206864d95e1, stripped

It looks like it is using 64 bit extensions for this 32 bit file. Loading a 64 bit executable works fine.

I think the bitsize of the architecture needs to be considered here:
https://github.com/NationalSecurityAgency/ghidra/blob/f7013bdfab8eac54387a49ed290444da9af88499/Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/rust/RustUtilities.java#L75
and a new compiler spec needs to be written for 32 bit x86.


⚠ Orpheus has degraded performance

In dfafd6c, Orpheus ($OPS) experienced degraded performance:

HTTP code: 200
Response time: 17265 ms

Resolved: Orpheus performance has improved in 2d75cc9 after 5 minutes.


Cannot install rmrk-team/evm-contract

Pls check the above image, tried installing with yarn & npm, but throwing Error for both the case.
Do we have any workaround with this?

Hey there, I think you're simply missing an "s" at the end:
https://www.npmjs.com/package/@rmrk-team/evm-contracts

Correct, fixed it in the documentation in #220


Setup a Slack team for maintainers and contributors

From the ROADMAP

[ ] Choose a chat platform for maintainers and contributors, and post notices in various existing places (#hubot on freenode, github/hubot on Gitter). Slack is the obvious choice here.

[x] create a Hubot slack team
[x] Create and configure a hubot instance
[x] Setup IRC gateway to connect Slack and #hubot on Freenode.
[x] Setup slackin
[x] Create default channels

[x] #help - for users getting help with the project
[x] #contributors - for discussions amongst maintainers & contributors
[x] #maintainers - rarely used private channel for confidential discussions
[x] #random - for random discussions about bots, technology, and sandwiches

[x] Wait until Code of Conduct has been added to the project
[ ] Add link to join Slack to the README
[x] Post notice in #hubot on IRC
[ ] Post notice in Gitter

[ ] Wait until Code of Conduct has been added to the project

I'm going to go ahead without this right now and we'll apply the code of conduct separately.

There's a few items left.

[x] Wait until Code of Conduct has been added to the project

Done in #1334

[x] Post notice in Gitter

Done and set the topic to link to slack


Easy Query from World (too hard to get a Query<(x,y,z)> without a system)

What problem does this solve or what need does it fill?
Given access to a &mut World, I need to run queries, modify / create components and access resources. I can only do this in the context of a system. I'd like something simpler.
I use these for world-to-world messaging, sync with outside stuff (Godot), unit tests and actions for my LockStep implimentation.
What solution would you like?
I'd like to be able to do this:
let  (     mut commands,
            mut client_list,
            mut actor_inputs,
            mut biped,
            mut ships,
        ) : (Commands,
             ResMut<ClientList>,
             Query<&mut ActorInput>,
             Query<&mut Biped>,
             Query<(Entity, &SpaceShip)>) = world.system_data();

another example would be
        for (ship, pos) in world.system_data::<Query<(&SpaceShip, &Pos)>>().into_iter() {
            built_str +=
                format!("{:?} : ({}, {} : {} degrees)\n", ship, pos.x, pos.y, pos.facing).as_str();
        }

I initially thought this is what world.query did. It allowed you to unpack any query that you could have made the argument list of a system. I.e anything with signature SystemParam. This is what Specs does with specs::World::system_data.
It could take a mutable reference to the world and lock the entire world until you return the SystemParam, i.e query(&'a mut self) -> SystemParam<'a... >
What alternative(s) have you considered?
I tried using world.query() but it returns just one query and using it is awkward. You need to keep passing world in. I intitially thought I got a useful bevy_ecs::Query but instead got some QueryState, which is something I don't know how to turn into a Query.
I considered using World::resource_scope but it supports just one resource at a time, and not Queries or components at all.
I tried creating some traits for worlds and queries that made them easier to use, but I can't make a method in world that returns an easy to use Iter without storing a reference to world in the iter and ... it started getting too hard.
An iterator in world would allow this (with a custom iterator)
for (ship, pos) in world.query_iter::<(&SpaceShip, &Pos)>(){
    // ...
}

I tried making short-lived systems to wrap my code which needed queries, but that requires gymnastics to pass in &self since &self is not 'static. I used rc::Rc and rc::Weak to get around that:
impl ExecutesAction for AdjustFloor {
    type UndoData = AdjustFloorUndo;

    fn apply(&self, world: &mut World) -> Result<AdjustFloorUndo, ActionResult> {
        let undo = AdjustFloorUndo {
            area: self.area,
            flags: self.flags,
            prev_floor: None, // world.get_resource::<Floor>().get_subsection(self.area), // Will need to save previous walls here...
        };

        let self_ptr = Rc::new(*self);
        if self.flag_add() {
            (|this:In<Weak<AdjustFloor>>, mut q: (Commands, ResMut<Floor>, ResMut<ModuleMap>)|
                {
                    let this = this.0.upgrade().unwrap();
                    AdjustFloor::do_add_floors_and_walls(&this, q)
                }).system().run(Rc::downgrade(&self_ptr), world);
        } else {
            (|this:In<Weak<AdjustFloor>>, mut q: (Commands, ResMut<Floor>, ResMut<ModuleMap>)|
                {
                    let this = this.0.upgrade().unwrap();
                    AdjustFloor::do_remove_floors_and_walls(&this, q)
                }).system().run(Rc::downgrade(&self_ptr), world);
        }

        Ok(undo)
    }

In Specs I used to just call do_add_floors_and_walls with a reference to a specs::World and then do this:
    fn do_add_floors_and_walls(&self, world: &mut World) {
        let (mut floor, events, entities, mut modules, sync, mut map) = world.system_data::<(
            Write<Floor>,
            Read<WorldEvents>,
            Entities,
            WriteStorage<ProductionModule>,
            ReadStorage<SyncStatus>,
            Write<ModuleMap>,
        )>();

Additional context
My Game (recent blog) has multiple Worlds, one per spaceship. There is one more world that ties them together, the "Space World"
I'm using multiple words because I want each space-ship to be its own deterministic sim and keeping them separate makes this easier.

Would be able to run a system directly from the world work for you? There is #2427 open for that.
You could then do (not checked if it works, but it should look like that)
fn my_exclusive_system(world: World) {
    // do stuff...
    ...

    // then you need to work with a query or with a resource
    (|query: Query<(&ComponentA, &ComponentB)>, resource: ResMut<MyResource>| { ... }).run_direct(&mut world);
}

That's not a good solution, since passing self into systems is annoying, as is creating little system lambdas when you just want to do "something"

I've just realised that Hecs (which bevy_ecs is based on) has exactly the type of Query I was thinking of : https://docs.rs/hecs/0.6.0/hecs/struct.World.html#method.query

Bevy_ecs used to be based on hecs. Since bevy 0.5 it is completely independent.
Bevy_ecs does have a World::query method though. Does that work for you?

When developing a system my method is passed mut ships: Query<&SpaceShip, Entity> for instance. If I create a sub-method, I pass in ships: &mut Query<&SpaceShip, Entity>.
I cannot get either of these types from World. I can only get those by making a small system. There is no conversion from the type returned by World::query into Query - in fact I cannot find any way to make a Query myself. I imagine there is some non-documented way to do it.
So this means I cannot write tidy unit-tests for my sub-functions, whatever they may be.

Bevy's main branch has SystemState, which appears to be exactly what you're looking for;
https://github.com/bevyengine/bevy/pull/2283
let mut state: SystemState<(Commands, ResMut<ClientList>, Query<&mut ActorInput>)> = SystemState::new(&mut world);
let (commands, client_list, actor_input) = state.get_mut(&mut World);

SystemState "caches" state in the same way a system does, which ensures that state.get_mut() doesn't do redundant work.

@cart that does look like exactly what I need. It would be handy to have a SystemState::apply_new method since I'll often be immedaitely applying it.

@alice-i-cecile , @cart  - I'm going to keep working with Specs ECS for now and probably won't revisit this for some months. If in the mean time you wish to close the issue that's fine with me.
If you want, instead, to use this as an opportunity to refine your interface - make it easier for other users.... also fine to leave it open.

I'm going to close this out; we'll see how SystemState pans out and add helper functions as the need arises :) Thanks for the feedback!


Instance scheduler - Lambda scheduling

User Story
The instance scheduler need to run on a schedule, for this initial ticket we are doing on a set schedule.

User Type(s)

Value

Questions / Assumptions / Hypothesis

Definition of done

[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green
[ ] UR test OR added to continual research plan

Reference
How to write good user stories

https://github.com/ministryofjustice/modernisation-platform-instance-scheduler/pull/27

https://github.com/ministryofjustice/modernisation-platform/pull/2515


Flutter doctor show installed packages as missing on Windows 7

flutter doctor -v
[√] Flutter (Channel master, v1.10.2-pre.54, on Microsoft Windows [Version 6.1.7601], locale ru-RU)
• Flutter version 1.10.2-pre.54 at C:\flutter
• Framework revision f5733f7a62 (4 hours ago), 2019-09-11 21:03:42 -0700
• Engine revision 7ea9884ab0
• Dart version 2.5.0 (build 2.5.0-dev.4.0 be66176534)

[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_HOME to that location.
You may also want to add it to your PATH environment variable.

[!] Visual Studio - develop for Windows (Visual Studio CommunityВ 2019 16.2.5)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio CommunityВ 2019 version 16.2.29306.81
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop
development with C++" workload, and include these components:
MSBuild
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.21)
Windows 10 SDK (10.0.17763.0)

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[√] Connected device (1 available)
• Windows • Windows • windows-x64 • Microsoft Windows [Version 6.1.7601]

! Doctor found issues in 3 categories.

I tried to restart computer as described here: https://github.com/flutter/flutter/issues/39970
Unfortunately on windows 7 that not helped.

vswhere.exe -format json -utf8 -latest -prerelease -all
[
{
"instanceId": "ebc81321",
"installDate": "2019-09-11T08:23:59Z",
"installationName": "VisualStudio/16.2.5+29306.81",
"installationPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community",
"installationVersion": "16.2.29306.81",
"productId": "Microsoft.VisualStudio.Product.Community",
"productPath": "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\devenv.exe",
"state":<PHONE_NUMBER>217343,
"isComplete": true,
"isLaunchable": true,
"isPrerelease": false,
"isRebootRequired": false,
"displayName": "Visual Studio Community 2019",
"description": "Бесплатная полнофункциональная интегрированная среда разработки для учащихся, разработчиков решений
с открытым кодом и индивидуальных разработчиков",
"channelId": "VisualStudio.16.Release",
"channelUri": "https://aka.ms/vs/16/release/channel",
"enginePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Mi
crosoft.VisualStudio.Setup.Service",
"releaseNotes": "https://go.microsoft.com/fwlink/?LinkId=660893#16.2.5",
"thirdPartyNotices": "https://go.microsoft.com/fwlink/?LinkId=660909",
"updateDate": "2019-09-11T08:23:59.3155742Z",
"catalog": {
"buildBranch": "d16.2",
"buildVersion": "16.2.29306.81",
"id": "VisualStudio/16.2.5+29306.81",
"localBuild": "build-lab",
"manifestName": "VisualStudio",
"manifestType": "installer",
"productDisplayVersion": "16.2.5",
"productLine": "Dev16",
"productLineVersion": "2019",
"productMilestone": "RTW",
"productMilestoneIsPreRelease": "False",
"productName": "Visual Studio",
"productPatchVersion": "5",
"productPreReleaseMilestoneSuffix": "1.0",
"productSemanticVersion": "16.2.5+29306.81",
"requiredEngineVersion": "2.2.3074.64249"
},
"properties": {
"campaignId": "1491687598.1568189926",
"channelManifestId": "VisualStudio.16.Release/16.2.5+29306.81",
"defaultProgram": "VisualStudio.ebc81321",
"nickname": "",
"setupEngineFilePath": "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installershell.exe"
}
}
]
vswhere.exe -format json -utf8 -latest -prerelease -all -requires Microsoft.Component.MSBuild Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.Windows10SDK.17763
[]

According to that output, you don't have an in-progress install, but you also don't have those three components; if vswhere isn't giving us correct information, the doctor output is going to reflect that.
Please file a vswhere bug and link it here, since based on your installer screenshot I don't see any reason for the second output to be empty. Hopefully the vswhere developers can help debug that.

/cc @franciscojma86 FYI

Based on installed packages (using the VSSetup PowerShell cmdlets I also wrote), @marinat is missing "MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.23)". Install that and you should be fine.

Ah, I see; there was apparently a minor tools update so now we're listing the wrong version in the string for new installs. The current version listed here is now
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.22)

and not
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.21)

And based on the comment above, now it'll soon be v14.23. It seems like we need to make that string say something more generic, but I'm not sure how to phrase that in a way that's not going to be confusing.
Thanks @heaths for the debugging, and sorry for sending that non-bug your way. We'll be sure to keep the component-listing instructions you posted in that bug in mind for future reports.

@heaths I don't suppose there's a way to express "Any version of that v142 toolchain" as a vswhere query?

The existing component ID should do that, but I believe it corresponds to the latest that VS ships. You'd have to ask the Visual C++ team that owns their package authoring.

I believe it corresponds to the latest that VS ships.

Right, I was specifically hoping for a way to say "any, not necessarily the latest". E.g., something like Microsoft.VisualStudio.Component.VC.*.x86.x64 (which I can see doesn't work, but I'm wondering if there's a way to express that conceptual query to vswhere).

@franciscojma86 For now, let's change the text from:
MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.21)

to
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple versions, install the latest one.

All works! Many thanks for all! :)

Re-opening, as this is tracking fixing the incorrect message.


Sock path is no longer hardcoded in webpack

Code here is not correct anymore.
webpack-dev-server has sockPath option since 3.2.0 and sockHost, sockPort options since 3.4.0. It would be nice if this plugin can get options from webpack config, or at least allowed these to be customizable so user can set both options same.

Oh you are right, could you submit a PR to fix it?

Closing issue, since you've merged my PR.


Accounts should pull and display displayName when creating from an LDAP login

When an LDAP user logs in for the first time, a Rancher account by that name is created in the database and linked to that Identiy.
However, the Account name is not populated with the displayName attribute from the LDAP identity, and the Identity and Account are always displayed with the identity name.
The Environment access configuration screen would be easier to read if the user displayName (and possibly the equivalent for groups) were displayed; User objects should probably display the Account object Name with the Identity underneath, and an Account should default to using the Identity displayName as the Name.
Whilest this does not add any functionality, it makes it much easier to manage large numbers of users when you can see both the display name ('Steve Shipway') and the identiy ('sshi052')

Is this still an issue? I created an LDAP-backed Rancher server today, and it shows me the uid and display name just fine.

@RoryHunter -- This is all fixed now.  I don't know at which version it was corrected but I definitely have all the displayNames visible in our system.
This ticket can be closed.


We need a way the change the language

Description
We already have two (or more) languages and we need a way to change between them.

I close this issue since it was addressed in https://github.com/telosnetwork/teloscan/pull/318


Eliminate redundancy with example policy rules

Both repositories, ort and ort-config currently contain example policy rules. In fact the ort-config ones have initially been created based on ORT's one and then extended. So, it's currently not clear what the right place for examples rules is.
Fix this as follows:

The place for real world examples from now on should be ort-config repository
ORT's example policy rules should be moved from examples to functional test assets and be minimized to avoid redundant testing

As a future follow-up (out of scope here) it seems reasonable to add a test which verifies that the rules in ort-config do compile / execute successfully.

The place for real world examples from now on should be ort-config repository

I've given this some though again: I believe it would generally be nice if one could simply clone the ort-config repo to ~/.ort/config and work with it. This is already possible right now (pending this layout fix), but then ~/.ort/config also contains several files / directories that are not used as part of ORT's configuration at all, like the evaluator-rules, notice and notifications directories etc. While that doesn't hurt ORT's operation, it's unclean, and personally I'd prefer to move stuff that's not used as part of ORT's configuration to somewhere else; at least to a subdirectory, but maybe even a different repository, like ort-examples.


Improve the documentation about putting Zulip behind a reverse proxy

Hi everyone,
Currently there's some guidance on how to run Zulip behind a reverse proxy in the documentation, but it appears to be outdated. Starting from #17765 you need to also set the following in zulip.conf; otherwise Zulip thinks all connections come from the reverse proxy itself and IPs are misreported in e.g. "new login" emails.
[loadbalancer]
ips = <ip of the reverse proxy>

Additionally, the guidance to set USE_X_FORWARDED_HOST = True in the Apache section seems to be out of date; this variable is present in the computed settings but I could not find any place in where it is used in the codebase. Maybe it needs to be cleaned from settings as well?

Hi @timabbott, would you take a PR to clarify this in the Zulip docs?

@elopez just a ping -- are you planning to submit such a PR?  I'd like to get it in before the 5.0 release if we can.

@timabbott thanks for the ping, I've been low on time and had forgotten about this 😅  #20292 has some extra documentation around this topic, let me know if you feel it needs any more details.

USE_X_FORWARDED_HOST is a core Django setting, which is why it doesn't show up in the Zulip code. :)

How to correctly set this when deploying on Kubernetes behind an ingress controller like Nginx or Traefik? Pods IPs of the ingress controller are not static.

@NexZhu: You can use CIDR ranges when specifying IPs.


SessionState blocking SignalR start request after DB change

Hi,
I'm having a weird behavior when using SignalR 2.2.0 via @pszmyd Signalr module (https://bitbucket.org/Proligence/proligence.signalr-git/wiki/Home) with Orchard 1.9.1.
The first time I load the site on a page that starts a signalr connection then no worries. If I then do any action in the Dashboard that requires a DB change (add widget, edit content item...) then the next time I load my page, all ajax requests and the signalr start request hangs for 110s before being processed.
I can reproduce this issue on 1.9.1 and 1.9.2 with @pszmyd Signalr module (master branch) by using one of the samples: ~/Proligence.SignalR/Samples/Benchmark
I understand that the issue comes from the SessionState locking the request and therefore blocking all other requests from being processed.
https://github.com/SignalR/SignalR/issues/3295
It seems that the following line:
requestContext.HttpContext.SetSessionStateBehavior(_sessionStateBehavior);

in Orchard.Mvc.Routes.ShellRoute is the cause of the SessionState locking.
By default, the value is SessionStateBehavior.Default which is overridable via module resource manifest. All my modules and @pszmyd Signalr module have the "sessionstate" set to "disabled".
If I force the value to be ReadOnly then my issue disappears.
If I force the value to be Disabled then I get the issue described here:
http://orchard.codeplex.com/workitem/19141
I'm puzzled why the DB change is causing this. Am I missing something obvious here?

/cc @halter73

If SignalR is running in IIS's integrated pipeline, it should handle all of its requests entirely during the "PostAuthorizeRequest" stage which is before the "AcquireRequestState" where session state is usually set up.
The entire reason for running in PostAuthorizeRequest is to avoid this session state issue.
My guess is that the session state is acquired during/prior to the PostAuthorizeRequest stage.

@halter73 Thanks for the info. Sounds like fun - have to take a closer look. Haven't touched the module for months...

Thanks @halter73 for the info. @pszmyd have you had a chance to look into this? I'm still unsure it comes from your module or the way the session state is handled within Orchard. I haven't seen anything weird by playing with the Application_PostAuthorizeRequest and Application_AcquireRequestState events in Global.asax.
I'm still struggling with this issue as now I cannot use any features using SessionState or TempData, otherwise this issue occurs. Recycling the app pool each time I make a change is not an option for me.
At first, I put in place a hack within Orchard.Mvc.Routes.RoutePublisher to force session state accesses to only be read-only but this breaks features using SessionState or TempData like Orchard.Layouts :(
For example, if I make a change to a content (like TitlePart on a Page) then the issue occurs because Orchard.UI.Notify.NotifyFilter add some data to TempData. If I modify it to not write into TempData then the issue does not occur.
I've tried using the Owin.IAppBuilder.UseStageMarker to force the right stage within Orchard and @pszmyd module with no luck.
Am I the only one using SignalR with Orchard 1.9?
I'm running out of ideas so I'll take any pointers or clues...

Alright! It took me a while but I can definitely say that the issue comes from @pszmyd module.
I'll close this one and raise a bug on @pszmyd repository. I've got SignalR 2.2.0 working fine with Orchard 1.9.2 now and can start playing with Orchard.Layouts :)

Here is a link to the bug raised on @pszmyd module repository:
https://bitbucket.org/Proligence/proligence.signalr-git/issues/18

@FrancoisCamus could you please help me locating the fix in the code?
I am also stuck in this issue.


Changed SkeletonIK3D to clear bone overrides when stopping

Fixes #47850 in the projected I tested on. The project I tested with is not the same sample project, but I was able to get the same bug in my testing and this PR makes the bug no longer appear.
Previously the stop function simply stops the IK from executing by setting the internal process to false, which doesn't clear the global pose overrides. Now when stop is called, the clear_bones_global_pose_override function is called and this resets the bones.
This should be able to be cherry picked in Godot 3.x, but if not, let me know and I can make a 3.x version.

Thanks!

Cherry-picked for 3.3.


chore: Configure redirect for latest docs

Adds a redirect from latest to current version. E.g. https://docs.cerbos.dev/cerbos/latest/index.html -> https://docs.cerbos.dev/cerbos/0.6.0/index.html
This is a temporary solution until Antora's LFS support lands (see #273).
Signed-off-by: Charith Ellawala<EMAIL_ADDRESS>

Found a better solution


can u provide sample to use it?

can you provide sample to use it?

You can quickly check the main.rs (https://github.com/fangyi-zhou/graphviz-dot-parser/blob/master/src/bin/main.rs), where I parse from an input file to a petgraph graph


Update awsAuth method to accept options, including Vault role

The aws-auth branch assumes that the name of the IAM role is identical to the name of the role in Vault. This isn’t necessarily the case.
This PR allows the awsAuth method to accept an options object, which currently has only one setting that can be specified: vaultRole, to define the name of the role to use when connecting to Vault. There’s no need to define the IAM role since that’s retrieved dynamically. The awsAuth method also looks for a VAULT_ROLE environment variable as a fallback. If the environment variable isn’t set, and the options object is undefined or lacks the vaultRole key, the current behavior remains.
I also added an example to the README.

Sure, I’ve made the updates. We need to fallback on node.role since that’s the previous behavior, of using the AWS IAM role name.

Ah sure, makes sense. Thanks a lot @GeoffreyBooth ! I'm merging.

Great, thanks! Any chance we can get this merged into node-vault core and released onto NPM? I’d love to be able to install this from NPM proper rather than a GitHub link.

Well, the PR needs some love, and I don't have the time at the moment. Feel free to help with that, but don't worry, at some point @kr1sp1n and I will make sure it is released.


Adobe Flash should be replaced

The entire UI is based on Flash. Flash is dead (https://theblog.adobe.com/adobe-flash-update/) and multiple browsers decided to make it very hard to use it or soon impossible.
There is the need to rebuild the tool using a better UI framework not based on Flash

Yes, someone PLEASE update this to something more fitting in this day and age.
Unless there is some reason why you would want to PREVENT your userbase from easily using the provided YANG models.

We hear you @anubisg1 and @r-bhikhie, and agree. We are working on a solution we can provide before the end of the year, and hopefully much sooner than that.

+100 on this.  Flash is dead

@eckelcu Is there any update on this?

Nothing helpful to report at this time, @ITJamie , but still working on it.

It's been a few months, any update? I read that Flash is going to be completely removed from Chrome in January

@pistell this repo is end of support.

"As of 18th August 2020 this application is no longer maintained. Developers are free to use the code as-is, including forking, but no more updates will be forthcoming from the project maintainers and any new or outstanding issues will neither be tracked nor responded to."

https://github.com/CiscoDevNet/yang-explorer/blob/master/README.md

Wow. Amazing. Is there any alternative coming?

YANG Suite is the alternative, planning to ship in early 2021.
Please check this webinar for more information about YANG Suite: https://www.brighttalk.com/webcast/17628/455586

YANG Suite is the alternative, planning to ship in early 2021.
Please check this webinar for more information about YANG Suite: https://www.brighttalk.com/webcast/17628/455586


Feature: Protective shield for player

The Player has a number of shields which can be activated to protect from Asteroids impact for a set time. Shields could potentially be achieved by collecting a power up.

I'll take this

I'm thinking, i'll make a function called Player.shield(), or something like that, and draw a new texture on top of the player

on second thought i will probably structure it like the invincibility that the player has from the start of the game

I need to change the players hitbox, so i need to make a new sprite


auto-enable follow mode if pane focused

It'd be great if we could enable (or auto-enable) follow mode only if we're already in focus mode (fullscreen), and when we exit focus, auto-disable follow mode.

Thanks for proposing a new feature request! If you would like to submit a PR, I would be happy to include this feature.


Document the procedure to migrate to the AstarteDefaultIngress

Document how to migrate from the deprecated AstarteVoyagerIngress to the new AstarteDefaultIngress;
Rework the upgrade guide v1.0.0 --> v1.0.x to avoid duplicate information;
Add the AstarteDefaultIngress resource to the backup and restore procedures.

Do not merge until astartectl v1.0.0 is released.


High vulnerabilities

Hi, after npm install finished downloading dependencies I get:
added 996 packages from 686 contributors and audited 10852 packages in 60.063s
found 145 vulnerabilities (1 low, 3 moderate, 141 high)
  run `npm audit fix` to fix them, or `npm audit` for details

141 high vulnerabilities are a lot, could you solve that?
Thanks

Want to submit a PR?


"date" and "errors" in the same document

from page

The members data and errors MUST NOT coexist in the same document.
and

from page

Error responses may not contain the top-level data member, but can include all the other top-level members JSON:API defines.

Is it a mistake or I don't understand something, I think that in the second case you need to use "must" instead of "may",
we cannot have such keys as "date" and "errors" in the same document.

The second example that you linked to is on the examples page and is not part of the specification. In other words, the first link takes precedence over the second. However, I agree that it's confusing because we re-used the word may, which has a specific meaning in the spec. If you'd like to send a PR to make it clearer, perhaps to something like "Error responses cannot contain the top-level data member, but can ...", then I'd be happy to merge it.

@gabesullice Looks great, thanks


BSwap Endpoints

Hi!
Could you please add BSwap Endpoints to the collections List?
There are documented there: https://binance-docs.github.io/apidocs/spot/en/#bswap-endpoints
Thanks.

Bswap is included, please check it in spot api collection.

Bswap is included, please check it in spot api collection.