Key for how the simulation is working

I am new to this sort of content and am struggling to know the difference between 'owned' and 'discovered'. To add to this, I want to increase the nodes/networks the attacker has to traverse through before it gets a reward. I believe it is a matter of adding more nodes like this for example.
"Website.Directory": m.NodeInfo(
services=[m.ListeningService("HTTPS")],
value=50,
properties=["Ubuntu", "nginx/1.10.3",
"CTFFLAG:Readme.txt-Discover secret data"
],
vulnerabilities=dict(
NavigateWebDirectoryFurther=m.VulnerabilityInfo(
description="Discover MYSQL credentials MySql for user "
"'web' in (getting-started.txt)",
type=m.VulnerabilityType.REMOTE,
outcome=m.LeakedCredentials(credentials=[
m.CachedCredential(node="Website", port="MySQL",
credential="ReusedMySqlCred-web")]),
reward_string="Discover browseable web directory: Navigating to parent URL revealed file readme.txt"
"with secret data (aflag); and getting-started.txt with MYSQL credentials",
cost=1.0
),
NavigateWebDirectory=m.VulnerabilityInfo(
description="Discover URL to external sharepoint website "
"(in deprecation-checklist.txt)",
type=m.VulnerabilityType.REMOTE,
outcome=m.LeakedNodesId(["Sharepoint"]),
reward_string="Navigating to parent URL revealed file deprecation-checklist.txt containing"
"a URL to an external sharepoint website",
cost=1.0
)
)),

Yes, you can just add more nodes to the network as you described in your question.

discovered means that the attacker knows about the endpoint/machine/server, and it can refer to it in subsequent actions (e.g., attempting to connect to it)
owned means that it has full access to the machine and can run actions from that machine. e.g. attempt connections from that machine to other machines.


Changelog stays empty

If there are no informations about a new version and the versioncode is incremented the changelog is shown but with zero information.
.withMinVersionToShow(120) //currently 123
.withManagedShowOnStart(true)
.withFilter(new ChangelogFilter(ChangelogFilter.Mode.Exact, BuildConfig.FLAVOR, true)) // this will filter out all tags, that do not have the provided filter attribute
See my screenshot:

I know why this issue exists.
Using multiple changelog.xml files in different language folders.
Every language needs to be translated, no fallback to englisch is provided.
But once you know that the library works.

For every new versionCode the library will show an empty box if no changes are put in the changelog.xml - as shown in the screenshot above.

Changelog entries are loaded when the dialog or activity is created - to support what you want this would need to be done before showing the dialog or activity. This was not intended.
Feel free to add this feature as a pull request.
The only fast fix I could offer is to add some text like "This version only has internal changes and improvements" or similar as dialog/activity content if the displayed changelog is empty.

+1 for this need.
I don't want to spam my users for each one of my minor/fix releases, but only major and/or the ones with new features..
Depends for each apps/developer though
Looked quickly at the code lib and dirtyfixed by adding an IF but it's so ugly (causes an double changelog build) that I won't even do a PR for that  ..
public ChangelogDialogFragment buildAndShowDialog(AppCompatActivity activity, boolean darkTheme) {
        boolean shouldShow = checkShouldShowAndUpdateMinVersion(activity);
        ChangelogDialogFragment dlg = null;
        if (shouldShow) {
            if (getRecyclerViewItems(activity).size() > 0) { // <======= HERE
                dlg = ChangelogDialogFragment.create(this, darkTheme);
                dlg.show(activity.getSupportFragmentManager(), ChangelogDialogFragment.class.getName());
            } else {
                Log.i(Constants.DEBUG_TAG, "Showing changelog dialog skipped because changelog to show is empty");
            }

        } else {
            Log.i(Constants.DEBUG_TAG, "Showing changelog dialog skipped");
        }
        ChangelogPreferenceUtil.updateAlreadyShownChangelogVersion(activity);
        return dlg;
    }

I just released a new version - its 100% kotlin + compose only though but it does what you want out of the box: https://github.com/MFlisar/ComposeChangelog


GetRetryPolicy() sample

On the page, you present a sample GetRetryPolicy method.
What is the use case to ever retry on a 404 not found error? It's not like a missing URL will magically appear in the next seconds?
static IAsyncPolicy<HttpResponseMessage> GetRetryPolicy()
{
    return HttpPolicyExtensions
        .HandleTransientHttpError()
        .OrResult(msg => msg.StatusCode == System.Net.HttpStatusCode.NotFound)
        .WaitAndRetryAsync(6, retryAttempt => TimeSpan.FromSeconds(Math.Pow(2, retryAttempt)));
}

[Enter feedback here]

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

ID: 7b506236-b211-eb9d-b571-5efecdde76c8
Version Independent ID: 24434b0e-0b82-e477-9440-2cc8f135df75
Content: Use IHttpClientFactory to implement resilient HTTP requests
Content Source: docs/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests.md
Product: dotnet-architecture
Technology: microservices
GitHub Login: @nishanil
Microsoft Alias: nanil

Hi @alexdrenea, thanks for your feedback. Yes, with HttpStatusCode 404 GetRetryPolicy() might not be of much help.
But in distributed systems like microservices-based applications, there is always a possibility of partial failure.
For e.g : Let's consider you have deployed one service in kubernetes and then for some reason if the kubernets pod goes down. It would always take some time to get back up. During that recovery period, GetRetryPolicy() is a useful method to have for the client to try, until the services comes back up.
For more details, you can refer handle-partial-failure
Hope this helps !

Hi @alexdrenea, considering the original question has been addressed, I am closing this issue as of now.
If you have any further questions, please feel free to reopen it.
Thank you.


otelcol.exporter.otlp.tracesservice  allow config for write_buffer_size

getting this error
ts=2024-09-05T13:36:46.474811899Z level=error msg="Exporting failed. Dropping data." componentpath=/ componentid=otelcol.exporter.otlp.tracesservice error="not retryable error: Permanent error: rpc error: code = ResourceExhausted desc = grpc: received message after decompression larger than max (7050547 vs. 4194304)" droppeditems=6466
Looked through the chart and there is no way I can configure the generated config.alloy
The template file for this section https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/templates/alloy_config/_traces_service.alloy.txt
needs a way to configure write_buffer_size . Refference in the docs here https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.otlp/

I ran into the same problem.
It can't be the write_buffer_size as it defaults to 512KiB and the limit that is hit is 4MiB.
I tried increasing grpc_server_max_recv_msg_size and grpc_server_max_send_msg_size in Tempo to 8MiB, and yes setting limits in  the client so it doesn't send to big payloads is probably better than just increasing the limits server side. But I don't know which client side/alloy setting it would be.
Now I seem to get less errors, but still getting errors.
However I do feel that the correct setting in the server side to adjust would be https://grafana.com/docs/tempo/latest/troubleshooting/response-too-large/#ingestion.
distributor:
  receivers:
    otlp:
      grpc:
        max_recv_msg_size_mib: <size>

However this setting can't easily be changed using the tempo-distributed helm chart afaik.

Making a PR for this: https://github.com/grafana/k8s-monitoring-helm/pull/742


Merged all the YAML files for the host-guest simulations into 3 YAML files.

@andrrizzi - I combined all the YAML files into 3 files:
1- restraints.yaml: simulations for symmetric cyclodextrin-cyclopentanol, asymmetric cyclodextrin-cyclopentanol complexes with Boresch style, Harmonic and flatbottom restraints. The simulations with flatbottom restraints and well radius of 1.5, 2.0 and 3.5 nanometers were specified for the symmetric cyclodextrin-cyclopentanol complex only.
2- Since the protocol with no restraints is different than the one in the yaml file above and "protocols"
cannot be specified with the !Combinatorial option (please correct me if I am wrong), I generated a seperate YAML file: “no-restraints.yaml” to run the simulations of  symmetric cyclodextrin-cyclopentanol and asymmetric cyclodextrin-cyclopentanol complexes without using restraints.
3- auto-restraints.yaml: simulations of  symmetric cyclodextrin-cyclopentanol and asymmetric cyclodextrin-cyclopentanol complexes with the auto option. Also the protocol section in this case is different than the above two cases.
I didn’t use !Combinatorial option with well radius; when I tried to run a short simulation with Combinatorial for well radius, I got the following error:
File "/home/elkhoury/anaconda3/envs/env3/bin/yank", line 11, in
load_entry_point('yank==0.23.4', 'console_scripts', 'yank')()
File "/home/elkhoury/anaconda3/envs/env3/lib/python3.6/site-packages/yank/cli.py", line 73, in main
dispatched = getattr(commands, command).dispatch(command_args)
File "/home/elkhoury/anaconda3/envs/env3/lib/python3.6/site-packages/yank/commands/script.py", line 138, in dispatch
yaml_builder.run_experiments()
File "/home/elkhoury/anaconda3/envs/env3/lib/python3.6/site-packages/yank/experiment.py", line 769, in run_experiments
raise YamlParseError('No experiments specified!')
yank.experiment.YamlParseError: No experiments specified!
However, I was able to put all the experiments with different well radius in the "restraints.yaml" file.
Please, let me know if you have any suggestions/modifications. Then, I will run short tests (500 iterations) for each case on lilac.
Thank you for your help.

Great!  Then in your experiments you can do
experiment-myrestraint:
  protocol: !Combinatorial [restraints, auto]
  ...

experiment-norestraint:
  protocol !Combinatorial [no-restraints, auto]
  ..

experiments: [experiment-myrestraint, ..., experiment-norestraint]

when I tried to run a short simulation with Combinatorial for well radius, I got the following error:

Hmm, that's weird! Is that YAML file on lilac or in some place I can take a look at?

If you want to make the YAML even more compact you can use an anchor for the solvent protocol since it's identical with and without restraint
solvent_protocol: &solvent_protocol
  lambda_electrostatics: [1.00, 0.90, 0.78, 0.64, 0.51, 0.35, 0.20, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
  lambda_sterics:        [1.00, 1.00, 1.00, 1.00, 1.00, 0.95, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, 0.10, 0.05, 0.00]

and then
protocols:
  no-restraints:
    complex:
      alchemical_path:
        lambda_electrostatics: [1.00, 0.90, 0.78, 0.64, 0.51, 0.35, 0.20, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
        lambda_sterics:        [1.00, 1.00, 1.00, 1.00, 1.00, 0.95, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, 0.10, 0.05, 0.00]
    solvent:
      alchemical_path:
        <<: *solvent_protocol

  restraints:
    complex:
      alchemical_path:
        lambda_electrostatics: [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.90, 0.78, 0.64, 0.51, 0.35, 0.20, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00]
        lambda_sterics:        [1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 0.95, 0.90, 0.80, 0.70, 0.60, 0.50, 0.40, 0.35, 0.30, 0.25, 0.20, 0.15, 0.10, 0.05, 0.00]
        lambda_restraints:     [0.00, 0.025, 0.05, 0.10, 0.20, 0.30, 0.40, 0.50, 0.75, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00, 1.00]
    solvent:
      alchemical_path:
        <<: *solvent_protocol

Anchors are standard syntax of the YAML language so they're not handled directly by YANK, but they're pretty useful where YANK parsers fails.

@andrrizzi - Thank you!
I was able to merge the 3 files in one single YAML file and with the combinatorial option for well radius. I added them to the repository (latest commit). The short tests I’ve done were on the GPU in my computer (to test the options in the new YAML files). I will run the new single YAML file on lilac and we will keep you updated.


Package version release notes (reference)

Description of the new feature/enhancement

It would be great if the individual versions of packages could include a reference to the release notes of the package version. Ideally winget should be able to display the release notes, but for starters a reference to the actual release notes would be great.
Proposed technical implementation details (optional)
I would propose an additional field in the manifest to store a URL link to the release notes of the version.

@bearmannl could you give a couple of examples?
Currently the winget show command shows a subset of the metadata for the installer.
We've been discussing a "more verbose" view of the manifest data based on the locale the user is in. I believe I've seen a couple of examples in the PackageUrl field, but sometimes this just links to a marketing page on the publisher's site.

Yeah, sure. Not all are perfect, but here goes:

With programs like Telegram Desktop it could reference the generic changelog page: https://desktop.telegram.org/changelog
For packages based on GitHub releases it could reference the specific version, like: https://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.7
Blog posts that reference changes in a specific release, like https://blog.postman.com/whats-new-in-postman-7-24/
Or even feature announcements that are known to match specific version release: https://powerbi.microsoft.com/en-us/blog/power-bi-june-2021-feature-summary/

Any of those URLs added to the package would allow a user to quickly check what's new. For instance, as a user of winget this morning I saw a new version upgrade of Power BI was available. Then I used a search engine to track down the release notes by searching for 'Power BI Desktop + '.
If winget references that URL, a user would not have to use a search engine to match the version to the release notes. Optionally of course, as not every package will have release notes for every version.
Let me know if that helps!

Perfect, that's exactly what I was looking for.
We're looking at the 1.1 manifest schema, this might make it in.
Something like "PackageVersionReleaseNotesUrl"

How about:
ReleaseNotes: This release includes several bug fixes.
ReleaseNotesUrl: https://contoso.com/awesomeapp/1.0.4/releasenotes.html

How about including this in locale files:
ReleaseNotes: This release includes several bug fixes.
ReleaseNotesUrl: https://contoso.com/awesomeapp/1.0.4/releasenotes.html

That's awesome, gives everyone the flexibility to mix & match however they see fit or require.

https://github.com/microsoft/winget-cli/blob/5a97e26ba3efb6b1f0d5997ec9de7d16b8fa52b9/schemas/JSON/manifests/v1.1.0/manifest.defaultLocale.1.1.0.json#L147-L156
https://github.com/microsoft/winget-cli/pull/1427

This will be enabled when the winget-pkgs repository accepts the 1.1 schema during validation.


Productivity Extension: Angular-cli

Hi @loiane,
I was wondering if you can add the Angular-cli extension?
This extensions allows you to create components, services., pipes.. from the explore menu using the angular cli. A real productivity booster in larger projects. 🚀
Angular-cli

Extension added.


[FEATURE] Link directed to the simulation tab for Dynamic Subnational HDI

Feature Description
In order to share the URL within the Data Futures Page, it would be nice to have a direct link to the simulation tab of Dynamic Subnational HDI. This will help users to view this key feature immediately.

Feature Implementation
No response
Feature Alternatives
No response
Feature Impact
It enhances the key features offered by the GeoHub
Feature Rationale
No response
Feature Considerations
No response
Feature Requirements
No response

In order to implement this, I think we can store active tab information in Layer object in $layerList. so it will be saved in database


[bee #48] pushsync: initial pushsync implementation

Naive implementation.
Defer to later stage:

[ ] create a simple recorder that allows for an isolated protocol instance to be tested, then cleanup this code to use that recorder

closes #48

@acud Nice work! I left a few comments, might be because I don't understand some of fine detailis of the protocol.

Oh, I forgot to mention there is a conspicuous lack of vogon commentary in the code

@pradovic I have addressed your comments about mocking the topology driver, it has reduced code in the tests, thanks.
@nolash I also addressed your comments about reusing the functionality to wait for a certain amount of records in the recorder and have just extracted that method to be on Recorder, to wait there directly, or fail the test when the requirement is not satisfied.


allow for updating an application fee upon charge capture

Looks like spurious test failures to me. Is there a way to retry the travis CI build?

@alexmamonchik Not sure if you're the right person, but looks like these specs are failing on master currently.

hi @ehsanul For restart Travis just close and open this PR. Yes, I see failed tests:
Failures:

  1) StripeMock::Instance behaves like Charge API disallows most parameters on updating a stripe charge

     Failure/Error: expect { charge.save }.to raise_error(Stripe::InvalidRequestError, /Received unknown parameters: currency, amount, source/i)

       expected Stripe::InvalidRequestError with message matching /Received unknown parameters: currency, amount, source/i, got #<Stripe::InvalidRequestError: (Status 400) Received unknown parameters: amount, currency, source> with backtrace:

         # ./lib/stripe_mock/request_handlers/charges.rb:44:in `update_charge'

         # ./lib/stripe_mock/instance.rb:92:in `mock_request'

         # ./lib/stripe_mock/api/instance.rb:22:in `call'

         # ./lib/stripe_mock/api/instance.rb:22:in `block in alias_stripe_method'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/request.rb:15:in `request'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/request.rb:37:in `request'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/update.rb:35:in `save'

         # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (3 levels) in <top (required)>'

         # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (2 levels) in <top (required)>'

     Shared Example Group: "Charge API" called from ./spec/support/stripe_examples.rb:12

     # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (2 levels) in <top (required)>'

  2) StripeMock::Instance behaves like Customer API updates a stripe customer's card from a hash

     Failure/Error: expect(original.default_source).to_not eq(card.id)

       expected: value != "test_cc_2"

            got: "test_cc_2"

       (compared using ==)

     Shared Example Group: "Customer API" called from ./spec/support/stripe_examples.rb:14

     # ./spec/shared_stripe_examples/customer_examples.rb:318:in `block (2 levels) in <top (required)>'

  3) StripeMock Server behaves like Charge API disallows most parameters on updating a stripe charge

     Failure/Error: expect { charge.save }.to raise_error(Stripe::InvalidRequestError, /Received unknown parameters: currency, amount, source/i)

       expected Stripe::InvalidRequestError with message matching /Received unknown parameters: currency, amount, source/i, got #<Stripe::InvalidRequestError: (Status 400) Received unknown parameters: amount, currency, source> with backtrace:

         # ./lib/stripe_mock/client.rb:20:in `block (2 levels) in mock_request'

         # ./lib/stripe_mock/client.rb:17:in `tap'

         # ./lib/stripe_mock/client.rb:17:in `block in mock_request'

         # ./lib/stripe_mock/client.rb:86:in `timeout_wrap'

         # ./lib/stripe_mock/client.rb:16:in `mock_request'

         # ./lib/stripe_mock/api/client.rb:35:in `redirect_to_mock_server'

         # ./lib/stripe_mock/api/instance.rb:22:in `call'

         # ./lib/stripe_mock/api/instance.rb:22:in `block in alias_stripe_method'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/request.rb:15:in `request'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/request.rb:37:in `request'

         # /home/travis/.rvm/gems/ruby-1.9.3-p551/gems/stripe-1.38.0/lib/stripe/api_operations/update.rb:35:in `save'

         # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (3 levels) in <top (required)>'

         # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (2 levels) in <top (required)>'

     Shared Example Group: "Charge API" called from ./spec/support/stripe_examples.rb:12

     # ./spec/shared_stripe_examples/charge_examples.rb:202:in `block (2 levels) in <top (required)>'

  4) StripeMock Server behaves like Customer API updates a stripe customer's card from a hash

     Failure/Error: expect(original.default_source).to_not eq(card.id)

       expected: value != "test_cc_2"

            got: "test_cc_2"

       (compared using ==)

     Shared Example Group: "Customer API" called from ./spec/support/stripe_examples.rb:14

     # ./spec/shared_stripe_examples/customer_examples.rb:318:in `block (2 levels) in <top (required)>'

@alexmamonchik thanks. Those specs are failing for me on master though, so I'm pretty sure it's unrelated to this PR.

I see the problem: it happens when use stripe >= 1.38

I have opened issue https://github.com/stripe/stripe-ruby/issues/406

@alexmamonchik Alright, looks like we have a passing build finally, thanks for your help. Good to merge?


Review front end models

    What's confusing is that `model.jobsView = 'ListJobs'` will render either the job list or the job definition list, dispatching based on `model.listJobsModel.listJobsView`.

@andrii-i For now, you'll want to somehow set the listJobsView to 'JobDefinitionDetail' immediately after line 29 above.
@jweill-aws We need to have a more thorough discussion on the purpose of these models. To my recollection, the whole point of models as a global state store was to allow persistence (serialization to JSON in local storage) and rehydration upon page reload. However, the list jobs view really doesn't have any state that needs to be persisted. Whether the jobs list or the job definitions list is being rendered should be stored in model.jobsView rather than inside model.listJobsModel.listJobsView, which means model.listJobsModel can be deleted entirely.
Another refactoring suggestion, rename JobsModel => SchedulerModel and model.jobsView => model.view.
Originally posted by @dlqqq in https://github.com/jupyter-server/jupyter-scheduler/pull/92#discussion_r990302770

@jweill-aws not sure I am following. I think that when the user has the list view open, if they reload the page, the list view should show exactly the same thing. For now, that is showing jobs or job definitions in the tab. As such I think that information should also be in the global model and serialized. In the future, we will also want to serialize the column sorting information, and the search/fielder fields.

CC-ing @dlqqq (as an author of the quote based on which this issue was created) to @ellisonbg comment above

Renaming suggestions will be tracked in a separate issue here: https://github.com/jupyter-server/jupyter-scheduler/issues/210


[feature] Allow underscores at start of fileGroup identifiers

Is your feature request related to a problem? Please describe.

Right now it appears fileGroup identifiers can not start with one or two underscores, I see this error message:

I'd like underscores at the start of my filegroups in my repo so that when engineers are reading, they can quickly distinguish inherited fileGroups from non-inherited fileGroups in a succinct way via the file group name:

# project's moon.yml
tasks:
  typecheck:
    command: 'tsc --build --pretty --verbose'
    inputs:
      - 'build'
      - '@files(__tsconfig)'
      - '@globs(__sources)'

Describe the solution you'd like

I was hoping to setup a convention where in my monorepo, any fileGroups with the __ prefix is inherited, and anything without the __ prefix are defined in a local project.

__tsconfig is defined at workspace tasks.yml.  And similarly I'd have __typescript for inherited typescript fileGroup and __babel for inherit babel config files and so on. Projects would continue to define fileGroups without underscores e.g. testFiles, frontendAssets, apiDocs, etc... .

Allowing underscores can allow for more flexible names for other teams like:  @globs(__deprecated__sources), @globs(__do_not_use__sources) for large monorepos where that team is struggling to hit the ideal situation of refactoring all projects at once, and instead need to change fileGroups incrementally to mitigate risk.

Describe alternatives you've considered

Identifiers workspace_typescript, wp__typescript, root__typescript and typescript__  work but  feel a little bit clunky.  Just writing __typescript is short, yet clearly calls out that it's different to typescript.

Wondering how easy feature is easy to add in, and if other projects would get value from this? Are the rules on identifiers format strong quite firmly in place rules or still fairly open for changes?
Thank you for Moon, really enjoying using it so far!

Sounds reasonable. Will add for the next release!

Yay!! Thank you so much 🙌

Landed in v1.11 https://moonrepo.dev/blog/moon-v1.11#unlocked-features


Documentation: Error in Bash expose command format

What type of installation are you running?
Server
Which Linux OS are you using?
Ubuntu 22.04
Which version of LNXLink has the issue?
2024.6.1
Describe the problem
Documentation is incorrect at https://bkbilly.gitbook.io/lnxlink/settings#bash
Currently reads:
settings:
  bash:
    expose:
    - name: Prune Docker
      type: button
      command: docker system prune -af
      icon: mdi:script-text
    expose:
    - name: Load 1minute
      type: sensor
      command: cat /proc/loadavg | awk '{print $1}'
      unit: load

I found that this only loads the last sensor/button.  The additional expose key causes the first definition to be ignored/replaced.
The correct format is:
settings:
  bash:
    expose:
    - name: Prune Docker
      type: button
      command: docker system prune -af
      icon: mdi:script-text
    - name: Load 1minute
      type: sensor
      command: cat /proc/loadavg | awk '{print $1}'
      unit: load

Additional context
No response
Configuration
No response
Logs
No response

You are right. I'll fix it so that it won't get confused in the future.

Fixed this. Thank you for pointing this issue to me.


Added transpose, invert, some row operations for Mat4

Passed some simple tests; more may be needed in case something's a little off.
Transpose could potentially quicken inverse if matrix passes a certain condition (more research needed) --> in some cases the transpose of a matrix is the inverse.
Row operations used in invert.

Thanks! I haven't tested it yet, but since it's not modifying any existing code I'll go ahead and merge it in.
We can fix it if necessary after we get some tests made.


Amending the readme file [vr]

Amended the readme file - caj

Visual regression test passed!
View the visual regression test report


ImportError: cannot import name '_PosixFlavour' from 'pathlib'

I'm getting the following error and I'm not really sure how to start fixing this problem.
$ euporie-notebook optimization_twodevices_FAU_angular_Jan2024.ipynb
Traceback (most recent call last):
  File "/Users/tomsturges/.local/bin/euporie-notebook", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/tomsturges/Library/Application Support/pipx/venvs/euporie/lib/python3.12/site-packages/euporie/notebook/__main__.py", line 8, in main
    from euporie.core import __main__
  File "/Users/tomsturges/Library/Application Support/pipx/venvs/euporie/lib/python3.12/site-packages/euporie/core/__init__.py", line 14, in <module>
    from euporie.core import path  # noqa F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/tomsturges/Library/Application Support/pipx/venvs/euporie/lib/python3.12/site-packages/euporie/core/path.py", line 11, in <module>
    import upath
  File "/Users/tomsturges/Library/Application Support/pipx/venvs/euporie/lib/python3.12/site-packages/upath/__init__.py", line 2, in <module>
    from upath.core import UPath
  File "/Users/tomsturges/Library/Application Support/pipx/venvs/euporie/lib/python3.12/site-packages/upath/core.py", line 8, in <module>
    from pathlib import _PosixFlavour  # type: ignore
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ImportError: cannot import name '_PosixFlavour' from 'pathlib'<EMAIL_ADDRESS>

For Python 3.12, I'm still waiting on a new release of universal_pathlib compatible with 3.12 (see here). This should happen any day now.
There have been some fairly major changes to the pathlib standard library in 3.12, which has made things a bit more complicated for universal_pathlib than usual.
As soon as it's out, I'll make a new release of euporie  ⚡

This should be fixed in the latest release, v2.8.1


Retrieving Depth Frame from recording

Required Info

Camera Model
D435

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 20.0.4

Platform
PC

Language
python

Segment
others

I have used the following code to record,

import pyrealsense2 as rs
import numpy as np
import cv2

pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.depth, 640, 480, rs.format.z16, 30)
config.enable_stream(rs.stream.color, 640, 480, rs.format.bgr8, 30)

color_path = 'V00P00A00C00_rgb.avi'
depth_path = 'V00P00A00C00_depth.avi'
colorwriter = cv2.VideoWriter(color_path, cv2.VideoWriter_fourcc(*'XVID'), 30, (640, 480), 1)
depthwriter = cv2.VideoWriter(depth_path, cv2.VideoWriter_fourcc(*'XVID'), 30, (640, 480), 1)

pipeline.start(config)

try:
    while True:
        frames = pipeline.wait_for_frames()
        depth_frame = frames.get_depth_frame()
        color_frame = frames.get_color_frame()
        if not depth_frame or not color_frame:
            continue

        # convert images to numpy arrays
        depth_image = np.asanyarray(depth_frame.get_data())
        color_image = np.asanyarray(color_frame.get_data())
        depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)

        colorwriter.write(color_image)
        depthwriter.write(depth_colormap)

        cv2.imshow('Stream', depth_colormap)

        if cv2.waitKey(1) == ord("q"):
            break
finally:
    colorwriter.release()
    depthwriter.release()
    pipeline.stop()

But, how do I read the depth data from the depth video V00P00A00C00_depth?

Hi @Zumbalamambo  As you are using Python, cv and .avi, I tried to find a video conversion method that fit these criteria.  I located a discussion that offers a range of different techniques for accessing video frames with Python code.
The link below directs to a section of the discussion that suggests a method for .avi format file reading, though the whole of the lengthy discussion is worth browsing from the beginning.
https://stackoverflow.com/a/52463543

I also recall that it should be possible to use the SDK's software_device interface indirectly to access video-file frames.
https://github.com/IntelRealSense/librealsense/tree/master/examples/software-device
A RealSense team member suggested in Point 3 of the comment linked to below that .avi frames could be read by OpenCV and then fed to software_device.
https://github.com/IntelRealSense/librealsense/issues/2249#issuecomment-413492867

@MartyG-RealSense
Thank you! Ofcourse I have read it with  the following code,
import cv2

cap = cv2.VideoCapture("V00P00A00C00_depth.avi")
while (1 == 1):
    ret, colormap_frame = cap.read()
    if ret:
        cv2.imshow("res", colormap_frame)
    if  cv2.waitKey(1) == ord('q'):
        break
cap.release()
cv2.destroyAllWindows()

But what I'm interested is how can I retrieve the depth data from the colormap_frame ?

There is a suggested process for converting a cv::mat to the SDK's rs2::frame, though I'm not sure if your colormap_frame is a cv::mat.
https://github.com/IntelRealSense/librealsense/issues/2634#issuecomment-433904079
Below is an alternative approach for converting cv:mat to rs2::frame.
https://stackoverflow.com/questions/52585921/convert-opencv-mat-to-frame-type-of-realsense-in-librealsense-sdk
If you require further suggestions, please do let me know.

Do you mean converting numpy to a RealSense depth frame please?

Here is my problem,
The recorded bag file is of 158GB in terms of file size. It is practically impossible to transfer it or download it during this period of lockdown.
So, I have written the rgb frames as an avi file and the depth images (encoded as a color map) as another avi file.
I would like to know how I can restrore the depth data after reading the frames from the colormap. I have successfully read the videofile that has the colormap in which the depth data is available.
In this code , I'm the color_frame is the colormap that I have initially encoded. It is in the numpy format. How do I retrieve depth data from it by converting it into the realsense depth format?

If bag file size is the primary reason for the avi based system, then a solution may be to design your project around ROS and its rosbag record system instead,sand use it with the RealSrnse ROS wrapper
https://github.com/IntelRealSense/realsense-ros
http://wiki.ros.org/rosbag/Commandline#rosbag_record
ROS has a bag record function called split that enables the recording to be automatically split into multiple smaller files when a certain defined condition such as s length of time or a file size is reached, closing the current recording and starting a new one that carries on from that point in the recording session.

@Zumbalamambo I know this was awhile ago, but did you figure out how to convert the numpy colormap_frame into the realsense depth format?  Or did you find a different way to retrieve the depth information?  I'm running into a similar issue with the large .bag sizes and I'd love to use these .avi files, but I need to make sure I can access the depth information.
Unfortunately, compressing the files isn't a good option since the program says that may lead to frame drops.  And splitting into smaller .bag sizes wouldn't resolve the issue of storing and uploading a large amount of total data.


Fix/quality gate command

:tada: This PR is included in version 1.1.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


adding front end exporter custom url

Fixes #.
Changes
Please provide a brief description of the changes here.
For significant contributions please make sure you have completed the following items:

[ ] Appropriate CHANGELOG.md updated for non-trivial changes
[ ] Design discussion issue #

I'm getting errors when I try to do docker compose build frontend with this.

It's not in this PR, but we should set the env variable up in docker-compose.yaml to not set a default value and rely only on the .env file.

should become
      - PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT

@xoscar please add a change log entry and I'll merge


Preserve symlinked fish_user_key_bindings

Resolves #343. Removing plugin won't remove empty
fish_user_key_bindings.fish if it's a symlink.

Is there a reason this isn't merged?

@e-beach We could merge it, but need more input from users that it's working as expected.
Does it work for you?

I tried uninstalling and installing that function, and it works for me.

Hi @Perlence! It's been a while. Have you been using fisherman lately with your modifications and noticed anything wrong?

I am going to close this since it hasn't gotten any responses for over a year now.


[zh-cn]Sync PodDisruptionsCondition to PodDisruptionConditions

The content/zh-cn/docs/tasks/job/pod-failure-policy.md file have some additional changes, please resync it again. Thanks!

The content/zh-cn/docs/tasks/job/pod-failure-policy.md file have some additional changes, please resync it again. Thanks!

/ok，thanks

Where are we now?

Ping @yanrongshi to check content/zh-cn/docs/tasks/job/pod-failure-policy.md again.


 Related to #900 ?
DO LANGUAGE plpgsql  $global$ BEGIN 	CREATE OR REPLACE FUNCTION test() 	  RETURNS integer AS 		$function$ 		BEGIN 		    RETURN 1; 		END 		$function$ 	LANGUAGE plpgsql; END $global$;
Replacing either$global$ or $function$ with $$ does not help.
Replacing $function$ with a non-dollar-quoted string literal circumvents the issue but can become quite hard to read depending on the complexity of the function.
As with  ##900, this issue is not reproducible in pgAdmin.

DBeaver doesn't yet support multiple different dollar-quotes in a single statement.
Workaround: select whole query and execute it (with ctrl+enter).


Allow installation on PHP 8

We just have Sylius 1.10 alpha 1 with support for PHP 8, so we need to allow it in plugins too.

@GSadee anything blocking this PR?

Hi @stloyd, I'm sorry for the late answer, for me this PR is blocked by the missing test for PHP 8.0 in GitHub Actions. And what is more, this plugin has no support for Sylius 1.10 yet, so I guess that this PR should wait for that.

Closing in favour of #224


How to catch connection errors?

Hey folks, I can’t seem to catch connection errors so I can display an error message to the user. When I initialize knex, if my DB is down, for example, I get an uncaught exception. try … catch doesn’t work, and knex({client…}) doesn’t have a catch method. Any ideas?

Have you tried with the event query-error see here

Perhaps there's a way to test the resulting client to see if it's connected? ie:
const knex = require('knex')({client: 'pg', connection: ...})
if (!knex.pool) throw new Error('Not connected')

Any advice?

The error is being thrown from client.js helpers.warn and helpers.error

@slathrop suggested calling EventEmitter at the same location where the console message is logged, though I don't imagine I'd be able to listen to that event, because I'd have to use:
const knex = require('knex')({client: 'pg', connection ...}).on('connection-error', ...)

In this case, the Event Emitter is called before the listener is attached.
Alternatively, an Error() could be thrown, but then I think that would make these tests fail.
I'm happy to put the work into a PR, but I could really use a direction if anyone has a moment.

Connection errors should be handled a bit nicer in 0.12. Connection errors on valid connections (timeouts, etc) should automatically lead to the removal of the resource from the pool, and the error from being unable to connect to a DB at all should be reflected by rejecting the calling promise. Let me know if you're still having issues

Perhaps there's a way to test the resulting client to see if it's connected? ie:
const knex = require('knex')({client: 'pg', connection: ...})
if (!knex.pool) throw new Error('Not connected')

Any advice?

Thanks for the solution.
if (!knex.pool) throw new Error('Not connected')
This line solved my issue.

Only way to catch connection errors is to try to make a query and see if the connection error is thrown. When pool is created no connections are created by knex (pool is not prefilled on startup).


x's and y's

backwards x’s and y's

@FBRTMaka @lukecampbell merge as small change and the others passed

groovy


Support @Inject annotation to inject CommandSpec or CommandLine into command implementation

See for example the auto-help use case: a command help subcommand command should print help for the specified subcommand of the parent command. This means it needs to obtain a subcommand CommandLine or CommandSpec object from the parent command. The @ParentCommand annotation does not work because it injects the user-defined command object, not the picocli class.
Another use cases is custom commands that need to know exactly which options were actually specified on the command line. This could be accomplished by injecting the ParseResult (#257).
A generic @Inject annotation is generic and flexible enough to allow future extensions, while at the same time the meaning is intuitively clear to many users because of its similarity to JSR-330 (javax.inject.Inject).

@remkop Nice addition. First at all, I didn't try why I will speak about but currently on picocli-spring-boot-starter command use to be a Spring component/bean. And Spring in addition to @Autowired annotation is also aware of @Inject annotation for DI.
But CommandSpec, CommandLine and ParseResult will  not be registered on Spring context (no sense to register it), so I'm afraid that Spring will complain about:
No bean of type ... found

What do you think about?
How we can solve that? I think with alternative and more old school way to inject that component for example by implementing a picocli interface which defined 3 setters (or whatever) that will be used by picocli to inject that components.

I think Spring is looking for the javax.inject.Inject annotation, while this is a custom picocli.CommandLine.Inject annotation. I don't think Spring will see the picocli annotation.
If a class uses both the picocli and the javax @Inject annotation, then at least one of them needs to be annotated with the fully qualified class name.

Lol my bad I read to quickly I though it was javax.inject.Inject. Sorry

No worries. Thanks for checking!

Are you not afraid that people will have confusion between both annotations, and some of them will still import javax.inject.Inject instead of picocli.CommandLine.Inject

Yes there is some risk there. The benefits are no external dependency and a name that is intuitively obvious in what it does. So there’s a trade-off. I’ll add a note in the documentation. Thanks for pointing this out.

It turns out that the custom HelpCommand use case also required that the Help.Ansi object and the output PrintStream are injected...  It’s becoming a bit too “magical”...
Reconsidering defining a IHelpCommand interface instead.

I introduced interface picocli.CommandLine.IHelpCommandInitializable to implement the custom help command use case.
I reverted commits 2cb8d66 and a781f80 to remove the @Inject functionality for now, until another use cases comes up.

I'm also looking for a way to "help subcommand" properly.

@fcorneli Can you try with current master?

Picocli 3.0 (in master) has a built-in help command that can give help on a specified subcommand or on the preceding command.
See https://github.com/remkop/picocli/wiki/Manual-(3.0.0-SNAPSHOT)#built-in-help-subcommand

FYI: I ran into a use case that requires access to the picocli command model from the application, so this will be available from picocli 3.2.
The use case has to do with JLine completion candidates (#393, also in v3.2).
Some completion candidates need to be looked up dynamically from some resource that is only available at runtime. Access to the CommandSpec is needed to update the option's ArgSpec.completionCandidates after the lookup.


Minor issue with self documenting make

In a fresh project, running make (Ubuntu) gives me:
$ make
/bin/sh: 1: test: Linux: unexpected operator
Available rules:

clean               Delete all compiled Python files
create_environment  Set up python interpreter environment
data                Make Dataset
lint                Lint using flake8
requirements        Install Python Dependencies
sync_data_from_s3   Download Data from S3
sync_data_to_s3     Upload Data to S3
test_environment    Test python environment is setup correctly

It looks like a problem with the invocation of test (my uname is Linux).
Seems like this comes from the very last line of the self documenting rule:
	| more $(shell test $(shell uname) == Darwin && echo '--no-init --raw-control-chars')

Changing the == to = seems to get rid of the /bin/sh: 1: test: Linux: unexpected operator.
@pjbull Can you see if this works on OS X?

That change also works on OSX :+1:


Fix windev launch issue

Pull Request
Fix WinDev (dev launch script)
Type of Change

[x] Bug fix

Description
the link is invalid, so i changed it so something that works.
Testing
tested, worked
Issue related to PR

Resolves #2536

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

@MyDrift-user It's not invalid it's because he's still working on the dev branch so he didn't make a release yet


Report all available variables in AbstractReporter

It's good to report all available variables in to elasticsearch: , <task_id>, <operator_id>,  , ....

Done! (in new gen)


Docs update

Overview, service model, mixer. And some cleanups.

This change is

I think we need a "Getting Started" section somewhere (maybe in the istio/istio README.md) that says something like: to get started download the istio/istio repo and try the bookinfo demo and so on ...


Handles blank keep-alive new lines

Added .strip() to read_line() to handle keep-alive new lines. This is in line with the pip release of Tweepy here: https://pypi.python.org/pypi/tweepy/3.5.0

@jmartone it's not safe to call .strip() on what's returned by read_line() since sometimes it's None and there were a fix to prevent crashes. Check out commit - https://github.com/tweepy/tweepy/commit/bb3d2075446b90fbb842266f68b0df91b623d09e.

Oops, sorry. It won't None anymore since commit https://github.com/tweepy/tweepy/commit/c1eddf1a5788ec4947d3a363dfe165ea599c31fc.

@Aaron1011 can you merge this patch please? it's very hard to use the lib without it.


Remove Gitter references in docs.minio.io

Make it slack. Talk to us & the top icon should be slack (maybe this can be done in the dashboard).
Talk to us should be configurable with a link on the dashboard. It should not be gitter specific.

ok will close.


Sometimes the pod for Portainer addon will try to start on a Windows worker node if one is available

I'm currently running MicroK8s version 2.1.0 on Windows 10 Enterprise (ver: 21H1, Build: 19043.1237).
I have a Windows Server 2019 (Ver: 1809. Build: 17763.1577) VM connected as a worker.
I had a situation where after adding my Windows worker node, then enabling the Portainer addon with microk8s.exe enable portainer, and then restarting all of microk8s/kubernetes/VMs, I would encounter an issue where sometimes the pod for Portainer would try to start on the Windows worker node.
This is an issue because the pod/deployment is configured to use a Linux container image. Because of this, when the pod tries to start, if will ultimately fail.
As a workaround, I edited the Portainer deployment by adding the following setting so that it would only start on Linux nodes:
nodeSelector:
  beta.kubernetes.io/os: linux

Can I ask for some guidance? Is this a bug or did I perhaps setup something incorrectly?
inspection-report-20210926_205618.tar.gz

Setting a node selector sound reasonable.
@balasu what are your thoughts about this? Should the Portainer manifests have this node selector by default?

@ktsakalozos  and @balasu, I also wanted to mention that this issue also happens with pods that get deployed as a result of enabling other MicroK8s Add-ons. Recently had to do this with coredns as well. There are probably other manifests that you'll want to add the node selector to.

@ktsakalozos and @balasu, I also wanted to mention that this issue also happens with pods that get deployed as a result of enabling other MicroK8s Add-ons. Recently had to do this with coredns as well. There are probably other manifests that you'll want to add the node selector to.

Hi!
How did you get the coredns replicaset not trying to be deployed at Windows host?

@wtfacoconut
How did you get the coredns replicaset not trying to be deployed at Windows host?
Tks...


create Dockerfile

Not all Django projects use Docker. You can use a custom project template if you want that.


Black Capped (combined)

This is the combined Black CappedPRs sfrom Red Hat Summit 2024.
This superseeds #873

@instructlab-bot precheck

@instructlab-bot precheck

Per the new taxonomy (#1215 ), I recommend that this knowledge go here:
knowledge/science/animals/birds/black_capped_chickadee

Hi! 👋
Thank you for submitting this PR. We are ready to do some validation now, and we have a few candidates to see if they improve the model.
We some resources to run these release candidates, but we need you to help us. Can you reach out to me either on Slack (@awesome) or email me at awesomeATinstructlab.ai so I can get you access via ilab model chat?
We can only run these models for a "week" or so, so please reach out as soon as possible and tell me which one is best for you on this PR.

After testing against the release candidate, this looks successful from the QnAs.


Initial rebuild wallet 2.10.0 from prev. backup on a new System (win) fails without after loading snapshot 1767923

Actual behavior:
I've done this on a win 10 after deinstallation and cleaning DFI-folders ind AppData\Roaming and AppData\Local (1) and on a new System win 7 in VBOX --- The Same behavior for both:

Installation works fine and i can start the app
I chose rebuild with an existing backup file
The synchronization starts with 0 % ..., via i-Butten I choose snapshot Europe 1767923 (default)
After loading until 100 % of the snapshot, the synchronizition can't be continued:

"Snapshot wurde angewandt" and over this "Verbindung mit dem Node ist getrennt".
The rebuild Process is unpossible with an unsynchronized wallet (?). After closing (waiting...) and retstart the wallet syncs, but it is not rebuild (no asking for wallet backup). There is no wallet recieve address and zero content.
Expected behavior:
complete synchronization and backup-file questioning.
How to reproduce it (as minimally and precisely as possible):

New install from the scratch

What are your environment parameters?

DeFiCh/app Version: 2.10.0
Operating System (OS): win 10 & win 7
– RAM (GB): 16 & 8
– CPU (Intel Core i5/i7/etc.):  i7
Current free storage capacity: > 4 GB

Anything else we need to know?

logs.zip

Hi, please try out v2.11.0 and see if it fixes your issue.


add pelorus failure exporter option to e2e

check if the github-secret is defined in the namespace
if secret is not defined ( local use case )
create a secret based on env variables for the TOKEN
ensure credentials are not leaked.
uncomment out the failure exporter in ci_values.yaml

Related PR: https://github.com/konveyor/mig-demo-apps/pull/83
Describe the behavior changes introduced in this PR
Linked Issues?
resolves # <-- Use this if merging should auto-close an issue
related to # <-- Use this if it shouldn't
Testing Instructions
Please include any additional commands or pointers in addition to our standard PR testing process.
@redhat-cop/mdt

/lgtm


issue to store media

This is an issue to use GitHub as a lightweight CDN for the gifs in this repository, so that we don't have to store expensive assets in the repo. I'll close this issue and we can add images / gifs / etc in comments below, then link them from the docs.

Usage GIF:


Manager cql rename

Fixes #661

@mmatczuk is which version did this metric change?
@amnonh keep in mind users are still using the old version of Manager, so this change might break the dashboard for them. We should avoid changing API in patch versions.
(if the change is between Manager 1.3 to 1.4 that you can ignore the above)


Even more update for latest rust nightly

Among the commits:

The usual bunch of fixes for latest rust nightly
Point to a forked syntaxext_lint, since the official crate still hasn't been updated to latest rust
Revert the move from Us to U32 in ioreg getter, this was probably a mistake and would need a more thorough analysis

I didn't understand why running PLATFORM=native support/build-jenkins.sh was failing for me, until I understood it was trying to link to rust's dynamic libraries. I installed rust through rustup.rs, and the libraries were in ~/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/lib. Adding this to my $LD_LIBRARY_PATH did the trick!
Now, onto the other platforms, with these type mismatch...

Wooot, I think this solves that.
After installing arm-none-eabi-newlib, running PLATFORM=k20 support/build-jenkins.sh returns without failing! And the blink_k20 example also compiles properly. Finally!

Awesome!


Move model reading process to a separate microservice

Problem: both integration and analysis tools have very similar modules that read models from disk and then operate on them. This causes duplication of code and creates two maintaining processes that can be merged into one.
Possible solution: create separate microservice in the root of repository that would operate like a blackbox: input is config dictionary like so:
input:
  - type: fits
    filename: /home/user/model.fits
  - type: csv
    filename: /home/user/host.csv

and the output is a generator of Snapshot objects and probably single method to show the number of snapshots or something like that.

I the future this microservice might deal with reading of csv files with models to creation tool so might need to account for that in naming and scalability.


Fixed console_error_panic_hook was not working

console_error_panic_hook wasn't working properly, so I fixed Cargo.toml and src/lib.rs. ( #163 )

Is there a reason this is not merged?

I'd like to chime in that this issue arises in following the beginner tutorials for 'Getting Started with WASM-Pack':
https://rustwasm.github.io/wasm-pack/book/tutorials/hybrid-applications-with-webpack/getting-started.html
A confusing issue for beginners which will no doubt discourage some new users from continuing on their quest to learn Rust. Please merge! :+1:


p2p(ticdc): add keep alive configuration for p2p server

What problem does this PR solve?

Issue Number: close #8907
What is changed and how it works?
if a ticdc server is hang (kill -19), the owner can not send a heartbeat message to the processor, which will cause the changefeed has a  2hours LAG(the default grpc keep alive time)
this pr adds keep alive configuration for p2p server
Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

/test cdc-integration-mysql-test
/retest-required

/test all

/test cdc-integration-mysql-test

/merge

/test dm-compatibility-test

/merge

/test dm-integration-test

/test dm-integration-test

/test dm-integration-test

/retest-required

/test cdc-integration-mysql-test
/test cdc-integration-kafka-test
/test verify


crashing after every song

my game crashes whenever i finish a song. this happens in story mode and freeplay. this isnt just with hex, every kade engine mod i download has this issue. with the last mod i tried on kade engine (sky mod) i reinstalled twice, issue remained.
here is the error message, no idea what it means.
i thought it would be an issue with my antivirus (bitdefender), however this wasnt the case as i disabled it and played through again and the same issue happened.

i think it might be it trys to save the kadereplay but the directory if not idk

uhmmm , pretty sure this is on your end. you should have a replay folder in your assets directory , if not, thats the reason why it crashes because its not finding its correct path.

or something idk , could just be me , but its just a assumption


HBASE-23176 delete_all_snapshot does not work with regex

Delete_all_snapshot.rb is using deprecated method SnapshotDescription#getTable but this method is already removed in 3.0.x.

I am really not sure if we need testcase. I added general test case for this issue. Just realized, it already exists. Here, testcase will pass even without this fix.
The reason I could not add testcase because delete_all_snapshot.rb#command(regex) accept only one argument and second argument will get it from user ('y/n') at runtime, for confirming delete.
But here I don't think I can't pass argument at runtime.

I tried passing args at runtime but test case hungs ever.  I don't think we need test case for init script.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
6m 29s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

:green_heart:
mvninstall
6m 37s
master passed

:green_heart:
javadoc
0m 15s
master passed

_ Patch Compile Tests _

:green_heart:
mvninstall
6m  6s
the patch passed

:green_heart:
rubocop
0m  9s
There were no new rubocop issues.

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
javadoc
0m 15s
the patch passed

_ Other Tests _

:broken_heart:
unit
13m 44s
hbase-shell in the patch failed.

:green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

35m  6s

Reason
Tests

Failed junit tests
hadoop.hbase.client.TestAdminShell

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/725

Optional Tests
dupname asflicense javac javadoc unit rubocop

uname
Linux bf49f0f4e578 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-725/out/precommit/personality/provided.sh

git revision
master / 7924ba39e7

Default Java
1.8.0_181

unit
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/1/artifact/out/patch-unit-hbase-shell.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/1/testReport/

Max. process+thread count
2680 (vs. ulimit of 10000)

modules
C: hbase-shell U: hbase-shell

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) rubocop=0.75.1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

Removed this test-case, as similar functionality test exist already.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m  0s
Docker mode activated.

:broken_heart:
docker
0m  1s
Docker failed to build yetus/hbase:1cb4f687c1.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hbase/pull/725

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/2/console

versions
git=2.17.1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
1m  8s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

:green_heart:
mvninstall
6m 11s
master passed

:green_heart:
javadoc
0m 14s
master passed

_ Patch Compile Tests _

:green_heart:
mvninstall
5m 34s
the patch passed

:green_heart:
rubocop
0m  9s
There were no new rubocop issues.

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
javadoc
0m 12s
the patch passed

_ Other Tests _

:green_heart:
unit
10m 23s
hbase-shell in the patch passed.

:green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

25m  0s

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/725

Optional Tests
dupname asflicense javac javadoc unit rubocop

uname
Linux b4b1bb25dfbe 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-725/out/precommit/personality/provided.sh

git revision
master / 7924ba39e7

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/3/testReport/

Max. process+thread count
2630 (vs. ulimit of 10000)

modules
C: hbase-shell U: hbase-shell

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/3/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) rubocop=0.75.1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

https://github.com/apache/hbase/blob/fa05907b1b5ff3ac440a43937cae386b3638de5a/hbase-shell/src/main/ruby/shell/commands/delete_all_snapshot.rb#L57
Also need to be modified here

Thank you very much  @guangxuCheng for checking this. There are 3 commits here, the first commit changes for delete_all_snapshot.rb.

@karthikhw There are two places in delete_all_snapshot.rb that need to be modified, but you only modified one of them.

Thank you @guangxuCheng highlighting missing one. Sorry, I somehow missed it.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
1m 11s
Docker mode activated.

_ Prechecks _

:green_heart:
dupname
0m  0s
No case conflicting files found.

:green_heart:
@author
0m  0s
The patch does not contain any @author tags.

:green_heart:
test4tests
0m  0s
The patch appears to include 1 new or modified test files.

_ master Compile Tests _

:green_heart:
mvninstall
6m 52s
master passed

:green_heart:
javadoc
0m 14s
master passed

_ Patch Compile Tests _

:green_heart:
mvninstall
5m 29s
the patch passed

:green_heart:
rubocop
0m 10s
There were no new rubocop issues.

:green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

:green_heart:
javadoc
0m 13s
the patch passed

_ Other Tests _

:green_heart:
unit
10m 17s
hbase-shell in the patch passed.

:green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

25m 35s

Subsystem
Report/Notes

Docker
Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/725

Optional Tests
dupname asflicense javac javadoc unit rubocop

uname
Linux f34471f58eee 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-725/out/precommit/personality/provided.sh

git revision
master / 0043dfebc5

Default Java
1.8.0_181

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/4/testReport/

Max. process+thread count
2621 (vs. ulimit of 10000)

modules
C: hbase-shell U: hbase-shell

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-725/4/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) rubocop=0.75.1

Powered by
Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.


store UI

Hi, I'm having some issues with UI on your test deployment https://reef-payment-api.web.app/shop - can't see form elements and can't enter into input fields.
Please check, thank you!

Hi, I'm having some issues with UI on your test deployment https://reef-payment-api.web.app/shop - can't see form elements and can't enter into input fields. Please check, thank you!

What browser are you using? Seems to be working fine for me in Brave, Chrome and Firefox.
Also, can you see if there are any errors in the console?


Detailed documentation for Google Sheet, how to create and link service account

Experienced developer may not have problem with this but documenting it would be great

Documentation added to Google converter!


Additional empty frame in each animation

When building a CL2 it adds a blank frame (in the start I think) meaning the animation will blink between each loop. This can actually be seen in the wyvern video.

I tested this with player graphics and did not run into this issue. Perhaps it is something with naming? Could you share the .PNG of a broken image for testing?

Doh, turns out it's because the game has hardcoded values for animation lengths. That's kind of ironic considering that this information actually exists in the file header :D


Wrong pattern match syntax

In https://fabcotech.github.io/rholangcheatsheet/
Logical And and Or is wrong.

It should be @{x /\ 100} in Logical And
It should be @"age"!(21 \/ 22)

Fixed, it was an issue with the anti-slash


Inconsistency in go-to definition/references for modules based on syntax

Environment

Elixir & Erlang versions (elixir --version):

Erlang/OTP 26 [erts-14.1.1] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.15.7 (compiled with Erlang/OTP 24)

VSCode ElixirLS version: 0.17.9
Operating System Version: darwin 23.1.0

Current behavior
When doing go-to definition/references for modules, I get inconsistent behavior based on the syntax the module is being used in and whether my cursor is on the last character of the module name.
Here's a video demonstrating the inconsistencies:
https://github.com/elixir-lsp/elixir-ls/assets/6618434/09aa1327-d5dd-4959-ae72-eae09feb09bd
And here's the code used in the video:
defmodule Test do
  def test, do: nil
end

defmodule OtherModule do
  def test do
    # Module name (all characters working)
    Test

    # Remote call (last character references function instead of module)
    Test.test()

    # Remote capture (last character references function instead of module)
    _ = &Test.test/0

    # Module name in list
    [
      # Comma after (last character not working)
      Test,
      # Space after (all characters working)
      Test ,
      # Nothing after (all characters working)
      Test
    ]

    # Module name in arguments (last character not working)
    List.wrap(Test)
  end
end

It's worth noting that this is different from https://github.com/elixir-lsp/vscode-elixir-ls/issues/351. I'm using Elixir 1.15, and function go-to/references are working properly when the cursor is at the end of the symbol.
Expected behavior
I expect the behavior of go-to definition/references to be the same regardless of where the cursor is positioned in all of the examples shown.

It seems the upstream elixir fix did not resolve the issue in all cases. It is the same problem


Rumble in the Roads final preparation

Pull the latest main branch and create a baseline/rumble branch off of it. Then pull this branch on all team laptops

Was able to do because our bus was hit by a semi :)


[MM-44451]: Move the CRT config setting out of the experimental section of the system console and hide the TAF setting

Summary
Move the CRT config setting out of the experimental section of the system console and hide the TAF setting
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-44451
Related Pull Requests
NONE
Screenshots

before
after

Release Note
Settings: Move the CRT config setting out of the experimental section of the system console and hide the TAF setting

@jgilliam17 A kind note that v7.0 code freeze is this week Wednesday.

/update-branch

e2es failed to run, updating and trying again

Hi @AshishDhama , sorry I realized I mispoke in the ticket after thinking through it more. I've edited the ticket. Key change is:
We should add the "Automatically Follow Threads" setting to the top of the System Console > Posts page (rather than hide it).
Help text: This setting must be enabled to support Collapsed Reply Threads. When enabled, threads a user starts, participates in, or is mentioned in are automatically followed. A new Threads table is added in the database that tracks threads and thread participants, and a ThreadMembership table tracks followed threads for each user and the read or unread state of each followed thread. When false, all backend operations to support Collapsed Reply Threads are disabled.

Reason being is that for anyone who disabled thread auto follow in the past few months, we want them to have an easy way to re-enable it. In a few releases we can go ahead and fully hide the thread auto follow config setting, but it's probably to early to do that now.

@esethna Done

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/203588

Thanks @AshishDhama
Tested, looks good to merge.

Verified setting for CRT and Automatically Follow Threads option was moved to Posts section.
E2E report  failures don't appear related to PR changes.

Cherry pick is scheduled.

Cherry pick is scheduled.


Add missing InstrumentTypes

A lot of new instrument types were added in 1.12 and the InstrumentTypes enumeration should be updated.
http://minecraft.gamepedia.com/Note_Block
https://github.com/SpongePowered/SpongeAPI/blob/bleeding/src/main/java/org/spongepowered/api/data/type/InstrumentTypes.java

Along with this I think it would be good to add an InstrumentTypeProperty for blocks to show-case what kind of instrument type they are that note-blocks use.

I am currently working on this, also implementing InstrumentTypes in general.


Text speed number has weird behaviour (0.9.0 - pre1)

The scroll speed text option takes a number, but I couldn't figure out what the number means. Putting in 10 or 100 makes the text go incredibly fast. 10000 made it scroll much more reasonably, but I couldn't figure out what the number means. Also, shouldn't a lower number correspond to a slower scroll?

I changed it to the number to milliseconds from going from one edge to the other

I have an addition to the scroll issue. Maybe change the scroll speed after clicking 'apply' instead of live. Default is 50ms in pre2 (That's way too fast as a default value) changed it to 1000ms, still too fast and when I deleted the value to go with '5000' the whole explorer crashes because I either have 0 or 'undefined' or '5'is too fast for it to handle.
Suggestions: default speed to 5000 seems alright for me.
Don't do live changes, but after user presses apply or set minimum value (>10?)

The default should be 5000 now. Old settings were kept the same and those had default of 50.
I think live changes are useful. A throttle could be applied though, so that it only changes after not typing for a second or so.


Update 3D Weather to v1.2.2

bugfix: audio not correctly transitioning to muffled form when stepping indoors

Can you remove sysout calls or replace with log.debug?

Sysout calls removed, thanks


fix(router): ensure proper route initialization and component rendering

During startup, the initial route component wasn't rendering properly because the route.run() was called too early in the Instance constructor, before the component was fully mounted on the client-side. Moved the initial route.run() call to $effect.pre to ensure it happens after component mounting.
Also added {#key} block around the component rendering to ensure proper component lifecycle management. The key block is necessary because in Svelte 5 with runes, when the route changes, we need to fully destroy and recreate the component instance to prevent state bleeding between different routes and ensure clean component initialization.

addressed in #2


feat(package): add rollup for build

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Ability to import an exported .tldr file

I have some .tldr files that I'd love to be able to import to Obsidian via this plugin.

I have similar problems: https://github.com/holxsam/tldraw-in-obsidian/issues/10

@andradei
Could you provide an example .tldr file? I may be able to implement that when I have free time, I just need to see the format of the file.

I don't have one at the moment, you can create one with lines, boxes, text, free-hand drawing, links, images, pretty much one generic instance of every object and that should give the format file you need.

Example .tldr file.

Example `.tldr` file
{
  "tldrawFileFormatVersion": 1,
  "schema": {
    "schemaVersion": 2,
    "sequences": {
      "com.tldraw.store": 4,
      "com.tldraw.asset": 1,
      "com.tldraw.camera": 1,
      "com.tldraw.document": 2,
      "com.tldraw.instance": 25,
      "com.tldraw.instance_page_state": 5,
      "com.tldraw.page": 1,
      "com.tldraw.instance_presence": 5,
      "com.tldraw.pointer": 1,
      "com.tldraw.shape": 4,
      "com.tldraw.asset.bookmark": 2,
      "com.tldraw.asset.image": 4,
      "com.tldraw.asset.video": 4,
      "com.tldraw.shape.group": 0,
      "com.tldraw.shape.text": 2,
      "com.tldraw.shape.bookmark": 2,
      "com.tldraw.shape.draw": 2,
      "com.tldraw.shape.geo": 9,
      "com.tldraw.shape.note": 7,
      "com.tldraw.shape.line": 5,
      "com.tldraw.shape.frame": 0,
      "com.tldraw.shape.arrow": 5,
      "com.tldraw.shape.highlight": 1,
      "com.tldraw.shape.embed": 4,
      "com.tldraw.shape.image": 4,
      "com.tldraw.shape.video": 2,
      "com.tldraw.binding.arrow": 0
    }
  },
  "records": [
    {
      "gridSize": 10,
      "name": "",
      "meta": {},
      "id": "document:document",
      "typeName": "document"
    },
    {
      "id": "pointer:pointer",
      "typeName": "pointer",
      "x":<PHONE_NUMBER>5,
      "y": 311.859375,
      "lastActivityTimestamp":<PHONE_NUMBER>522,
      "meta": {}
    },
    {
      "meta": {},
      "id": "page:page",
      "name": "Page 1",
      "index": "a1",
      "typeName": "page"
    },
    {
      "followingUserId": null,
      "opacityForNextShape": 1,
      "stylesForNextShape": {},
      "brush": null,
      "scribbles": [],
      "cursor": {
        "type": "default",
        "rotation": 0
      },
      "isFocusMode": false,
      "exportBackground": true,
      "isDebugMode": false,
      "isToolLocked": false,
      "screenBounds": {
        "x": 0,
        "y": 0,
        "w": 1239,
        "h": 881
      },
      "insets": [
        false,
        false,
        false,
        false
      ],
      "zoomBrush": null,
      "isGridMode": false,
      "isPenMode": false,
      "chatMessage": "",
      "isChatting": false,
      "highlightedUserIds": [],
      "isFocused": true,
      "devicePixelRatio": 2,
      "isCoarsePointer": false,
      "isHoveringCanvas": false,
      "openMenus": [
        "main menu",
        "main-menu-sub.file"
      ],
      "isChangingStyle": false,
      "isReadonly": false,
      "meta": {},
      "duplicateProps": null,
      "id": "instance:instance",
      "currentPageId": "page:page",
      "typeName": "instance"
    },
    {
      "editingShapeId": null,
      "croppingShapeId": null,
      "selectedShapeIds": [],
      "hoveredShapeId": null,
      "erasingShapeIds": [],
      "hintingShapeIds": [],
      "focusedGroupId": null,
      "meta": {},
      "id": "instance_page_state:page:page",
      "pageId": "page:page",
      "typeName": "instance_page_state"
    },
    {
      "x": 0,
      "y": 0,
      "z": 1,
      "meta": {},
      "id": "camera:page:page",
      "typeName": "camera"
    }
  ]
}

Ticket for the inverse
https://github.com/holxsam/tldraw-in-obsidian/issues/27
And PR
https://github.com/holxsam/tldraw-in-obsidian/pull/26

FWIW, anyone should be able to follow the approach I took.
Start here: https://github.com/tldraw/tldraw/blob/58890dcfce698802f745253ca42584731d126cc3/apps/dotcom/src/components/FileMenu.tsx#L14

@cdierkens Are you currently working on the ability to import tldraw files? I think I found the relevant function tldraw uses for that here:
https://github.com/tldraw/tldraw/blob/901ba660d6488de0cfb6873822be1fc920eb08e8/packages/tldraw/src/lib/utils/tldr/file.ts#L97

Hey everyone, I'm having the same issue. How can I import a file from the TLDraw browser version into the Obsidian version? There doesn't seem to be an option to open a .tldr file, and I'm also finding it difficult to import the .JSON file directly exported from the browser version.

See https://github.com/holxsam/tldraw-in-obsidian/releases/tag/1.4.0


Weather App takes a very long time to display

The load time is ridiculously long
It's probably the location that is taking far too long.
can we improve the experience?
https://studio.ensembleui.com/app/IjZZeDQTaAvDgnHWVPs7/screen/gBrOpcu3gOxW9v35LLKm

Defaulting to NYC weather so there is no wait time. User can click on the button for Get Current Location to get local weather.


Feature/add scala native

Locally I used llvm 12 so it's probably not that. I also tried with 0.4.0 and if anything it is worse there, so at least we don't have a regression on our hands. As for CI I probably got too inspired from the scala-native repo, I'll change that before the actual PR. On windows, sometimes there's that memory error we also had on the native repo, but besides that there are also 6 other assertion errors (impressive that only six, file handling on windows can be weirdly tricky I think) - I'll try to create an issue for those. The commits are a mess now, I will rewrite the history a bit before tomorrow.


More than one controller simultaneously

Not sure if it is even supposed to work, but when i plug the second ardwiino guitar into a console, it disables the previous one. Is there anything i can do to further test it?
Falcon board, kernel 2.0.17559.0

Update your guitars firmware, it was an issue on my end and it has been fixed


[Marker.io] Suggestion: arrows can be added in news section so that user can navigate using it

Steps to reproduce:

go to news section on any news details page
notice there are no arrow icons

Actual result: no arrow icons are there
Expected result: if we agree, we can add it , specially considering mobile devices

Reported by: Vinod<EMAIL_ADDRESS>- Contact via Marker.io
Source URL: https://proav-stg.webflow.io/news/pro-av-solutions-opens-its-newly-refurbished-workplace-in-queensland-2
Issue details: Open in Marker.io
Device typemobileBrowserSafari 17.6Screen Size375 x 812OSiOS 17.6.1Viewport Size375 x 710Pixel Ratio@3x

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io


Fix UNSAFE warnings as a workaround

This isn't the right fix, but it removes the warnings and moves things forward for us.

Hi
Why this is not merge yet?
It would be helpful to merge this to use the library without warnings in development mode

Would be good to be merged asap, as these warning are annoying and on the new update In React 17.x, only the UNSAFE_ name will work


Mark UIManagerType as depreacted in new architecture

Summary:
The new architecture will only support Fabric UIManager, that's why we will just deprecate UIManagerType as part of the new architecture
changelog: [internal] internal
Differential Revision: D51228380

Closing as abandoned internally


Tween instances interfering with each other

I'm having an issue with this library. When I create multiple instances of a tween, they seem to be interfering with each other. Lets say I have a tween for the player in the player class:
pl={
 x=0,
 y=0,
 sprite=0
}
pl.tween=tween_machine:add_tween({
 func=inback,
 duration=0.45
})
pl.tween:register_step_callback(pl_update_y)
pl.tween:register_finished_callback(pl_tween_end)

That works as expected. However, when I try to update tweens created for enemy objects, the enemy movement (processed by the enemy tween) is causing the player to move erratically. When I remove the enemy tween the player tween works fine again. Here's how I create enemy objects:
enemy_group1={}
for i=1,max_group_enemies do
  enemy={
   etype=1,
   width=0,
   height=0,
   edir=⬅,
   tween=tween_machine:add_tween({})
  }
add(enemy_group1,enemy)

Basically, each enemy has its own tween, and is updated each frame like this:
if e.state==1 then
  e.tween.v_start=135
  e.tween.v_end=-15
  e.tween.duration=4.27
  e.tween.func=linear
  e.state=2
 else
  e.x=e.tween.value
  if e.x<-8 then
   e.alive=false
   enemies_alive-=1
  end
end

The only difference between the two (player/enemy) tweens is that I use a callback for the player tween to update player position, but access the tween's value directly to update enemy positions.
I'm new to pico-8 development, so it's quite possible I'm misunderstanding something on the Lua side of things. Any help much appreciated, and thanks for the library!

@bc-bytes I just pushed an update to the https://github.com/JoebRogers/PICO-TweenMachine repo, apologies to the slight timeline delay, had to wait until after work today to run tests on the changes I made yesterday.
I believe the new changes should resolve your issue, as the fields for the __tween base object are now constructed in an anonymous local object within the add_tween function and appended to the passed in instance before being assigned to the metatable. This means that there will no longer be any issues with backing fields being overwritten, and it shouldn't change the way you've been creating your instance objects to pass into add_tween, meaning no tokens will be wasted declaring fields unnecessarily.
Please let me know if you get around to testing the updated code and I'll close the issue here. Also as a small aside, the issue here is actually in the TweenMachine repo, rather than this one, so future issues like this should be opened within that repo!
Thanks.

Brilliant! Just tested, and it seems to work perfectly now. Many thanks for the fix.

Awesome, glad to hear it helped! Closing issue.

Unfortunately I think there might still be an issue with this. When I tested yesterday, enemy tweens were no longer affecting player tweens. However, today I added more enemies, each with their own tween, and I'm getting odd behaviour. Here's an enemy tween that is a property of an enemy object:
tween=tween_machine:add_tween({
v_start=129,
v_end=-9,
duration=4.27,
func=linear
})
I would expect the enemy to appear on the far right side of the screen and move towards the left of the screen. However, the actual behaviour is that the enemy appears in the middle of the screen then moves to the left.

OK, after a bit more investigation, this time the error is on my side. I pre-define all my enemies in a table, but they are setup with a tween as a property. That means that all those tweens are being updated before my game actually starts. Doing a tween.restart() fixed it. However, if I create 100 enemies, that all those enemy tweens are going to be updated constantly, even when the enemies are not being used. Maybe there should be an extra flag to tell the tween that it can start?

Glad to hear it was just on your side, I just ran a few extra tests as I was worried there was a possibility of something going on with the registered functions not being local to the instance fields somehow, but couldn't replicate the problem.
This is actually more of a documentation/example issue than an API issue in my opinion, as the way to handle this currently is by setting the finished flag to true in the tween creation. The callback is only executed within the :update() function, after the logic has been checked and the finished field has been set to true. If it's already try when the function is run, it just early exits. Meaning you can set the flag to true in the object creation without worrying about setting off callbacks, then just call restart or simply set the field to false in order to start the tween.
The main reason for this was that the logic already exists in the code for the tween not to run, so keeping in mind the platform it's running on, I opted to not write a somewhat redundant additional function to wrap that logic at the expense of tokens.
I will add that info to the comments of the file, as well as add a small section on it to the readme.
Thanks for pointing it out! It's always difficult to read what parts of an API are going to cause issues for users, so it's definitely helpful to know what could be better documented, or what additional usecase examples could be provided to help people get set up correctly!


Import header path fixed (tested with Cocoapods)

With Cocoapods I need to add "DZNEmptyDataSet/" in front of the header file name. Otherwise the header isn't found.

@dzenbot Whatever is in pull request worked for me too.
https://github.com/wkoszek/sensorama-ios/blob/master/Sensorama/Sensorama/FilesTableViewController.m


Control mode: copy list of hostnames

When connecting to a lot of hosts at once some might experience connection issues or similar.
In order to keep working on the ones that are still left and have a record of the hosts one made changes to, the control mode should provide an option to copy the list of still active hosts to the clipboard

Released with 0.11.0


UX for multiple workspaces

workspaces should be aliased in fern.config.json
I could see fern.config.json changing to

{
  "workspaces": {
     "coordinator-api": "/path/to/coordinator"
  }
}

We can get rid of the "auto find all your .fernrcs" which also creates problems for us in this repo when we add a ton of nested fern api workspaces for testing.

fern init asks you for an api name and will add to the fern.config.json and initialize a new workspace

fern generate asks you what workspace you want to generate for if you forget to specify!

@zachkirsch curious for your thoughts

Can we use the name from the .fernrc rather than specifying it in fern.config.json?

Or is the idea we get rid of .fernrc in general?

this is onde


Admin Generator (Future): add required gql vars to component-props

to enable generate grid for api's (query + create-mutation) with required vars, e.g. relational data dependent on parent-id

It seems to me that this PR contains the same refactorings as in #1862, are the dependent? Also, could you please move refactorings into separate commits? It's hard for me to discern what's the actual change, and what's a refactor...

It seems to me that this PR contains the same refactorings as in #1862, are the dependent?

yes, that's right. they share some changes. But I didn't make them dependent because they aren't. They just share some refactoring you mentioned.

Also, could you please move refactorings into separate commits? It's hard for me to discern what's the actual change, and what's a refactor...

alright 👍 I'll update this pull-request and #1862.

In practice this will most likely always be the ID of the parent. Couldn't we simply the code to achieve this behavior? Similar to hasScope or hasFilters. Always remember, the API/Admin Generator is very opionated.

In fact I already know some use-cases to support more than one required parameter. For example M:N relational tables require id's for both sides for create and sometimes also for query.
Regarding hasScope and hasFilters I already thought of refactoring these, because they are nearly the same, but I didn't want to introduce to many changes with one pull-request.

@johnnyomair I undid the refactorings. there is still some code exactly the same between this pull-request an #1862. but that's on purpose because I wanted to make the pull-requests independent, but both need the same helper-function

I wanted to make the pull-requests independent, but both need the same helper-function

yes, idependent PRs are preferred, but if you need functionality that was introduced in another PR, it is not just ok to be dependent it's even easier to review! (not to speak from the conflicts you will get)
Now we have to review the same helper function twice and aks ourselve about the difference of the two.

@Ben-Ho please fix the Lint workflow


Enable the screenshot prevention in specific screen

How are we able to enable the screenshot prevention in specific screen?
For now if it's enabled in a screen, it will be enabled everywhere unless if i disableSecureView on screen unfocus, and if i do that, the app starts taking around 1gb ram after focusing/unfocusing the screen for like 10 times, solution?
useEffect(() => {
if(!DEV){
if (isFocused) {
RNScreenshotPrevent.enabled(true);
isIOS &&
RNScreenshotPrevent.enableSecureView(Image.resolveAssetSource(screenshotPreventImage).uri);
} else {
RNScreenshotPrevent.disableSecureView();
RNScreenshotPrevent.enabled(false);
}
}
return () => {
RNScreenshotPrevent.disableSecureView();
RNScreenshotPrevent.enabled(false);
};
}, [isFocused]);

Same problem


Multiple Select UI with material doesn't show like

Describe the bug
which template:

[ ] MaterialDesignFrameworkModule — Material Design
The UI using material design is not looking good. Without multi select option it shows like material single select nicely.

To Reproduce
Steps to reproduce the behavior:

{
"schema": {
"type": "array",
"items": {
"type": "string",
"enum": [
"a",
"b",
"c"
]
},
"uniqueItems": true
}
}
Expected behavior
The UI should be like this
https://material.angular.io/components/select/overview#multiple-selection
Screenshots

Desktop (please complete the following information):

OS: Windows 10, Mac
Browser: Chrome, Firefox
Version:

This seems to be due to the fact that the library uses a default form definition when rendering the schema which is the same as the library here. For having a drop-down similar to mat-select you need to remove the "type" and "items" keys from your schema and have something like:
{ "schema": { "type": "string", "name": "Multi-Select" "enum": [ "a", "b", "c" ] "uniqueItems": true } }

@shervinee Thanks for your reply.
But this solution only gives a single select.
It doesn't work with multiple-select like below.
https://material.angular.io/components/select/overview#multiple-selection

I have copied your Material Select component and replaced that with 'checkboxes'. This is working with few issues like the selected data is not getting shown back to the UI. Working on that now.

I have asked a question in SO regarding the form edit callback issue:
https://stackoverflow.com/questions/58036755/angular6-json-schema-form-issue-with-multi-select-form-change-event

@hamzahamidi I know you are busy but could you please look into this for a minute? I am using 7.2.0 with Angular v7.
https://stackoverflow.com/questions/58036755/angular6-json-schema-form-issue-with-multi-select-form-change-event

@hamzahamidi Could you please look into this?

The type array is translated to checkboxes ( multiple selections ). If you want Select UI you can try the following schema:
{
   "schema":{
      "type":"object",
      "properties":{
         "only-one-choice":{
            "type":"string",
            "enum":[
               "a",
               "b",
               "c"
            ]
         }
      },
      "uniqueItems":true
   }
}

@hamzahamidi First of all thanks a lot for your reply.
It would be great if you could read my StackOverflow question (https://stackoverflow.com/questions/58036755/angular6-json-schema-form-issue-with-multi-select-form-change-event).
The ask is to have a multiple selection (not with multiple checkboxes) like Material Multi-Select. So I have overridden your checkboxes with MaterialSelectComponent. Everything works nicely with the UI but the value change is not getting emitted so I don't get the values of that Multi-Select component.
I have debugged your code in Chrome and figured that FormArray which is in case of this multi-select, is not emitting valueChanges event (For FormControl type it works so the same MaterialSelectComponent with 'multiple' as false works but 'multiple' as true won't).
Is there is bug, limitation for FormArray?


Feat: Already uploaded images(for edit purposes)

Feature requested in #12 for edit purposes, also I added demo on the first page.
Please review this PR and let me know what do you think. I/We need this feature immediately in.
Thank you.

Looks good - thanks for this PR and the demo, could you please also update the readme accordingly?

NP @UncleDave, yes ofc I can update it.

Also, I'm glad that you chose our lib for your first GitHub contribution :)

On the subject of code style, as raised by @aberezkin, there is an .editorconfig file in the repo - WebStorm supports this natively, and Visual Studio Code has a plugin for this although I'm not sure Visual Studio Code will match all of our styles correctly. If you're not using WebStorm I don't mind giving it a run through the autoformat after we merge this.

@aberezkin thank you for your review&code style correction and I am also glad to help you guys improve this library because I found this library really useful and simple. This is what Autoformat did to the component 2a827436f1eaa508cf03b79cc3cdd0f3b2c29daa. I will revert it if needed. Let me know what do you think?

Fine by me.

@UncleDave when this feature is going to be available for use in the package? Are you planning for pre-release so can use the development features and test them? smth like: 1.0.0-alpha.1

I have made that suggestion in #102, but I'm not the one who controls npm releases.


padding issue on integrated terminal (insiders only)

Issue Type: Bug
the padding/margin on the left side of the integrated terminal (bash) is missing in the insiders version so the text is shoved rigt up against the side.
works as expected on an up to date version of the regular vs-code
VS Code version: Code - Insiders 1.63.0-insider (552af97a0170b43c9323bec62211feb184da9749, 2021-11-05T05:16:20.583Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 x 3403)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.89GB (8.72GB free)

Process Argv
--crash-reporter-id 39fb7dae-3747-496d-a8ee-f25193692d3c

Screen Reader
no

VM
0%

Extensions (28)

Extension
Author (truncated)
Version

vscode-database
baj
2.2.3

simple-react-snippets
bur
1.2.4

node-snippets
chr
1.3.2

npm-intellisense
chr
1.4.0

bracket-pair-colorizer-2
Coe
0.2.1

githistory
don
0.6.19

gitlens
eam
11.6.1

vscode-html-css
ecm
1.10.2

vscode-npm-script
eg2
0.3.23

prettier-vscode
esb
9.0.0

vscode-firefox-debug
fir
2.9.4

auto-rename-tag
for
0.1.9

vscode-pull-request-github
Git
0.32.0

phpcs
ika
1.0.5

vscode-react-typescript
inf
1.3.1

vue
jcb
0.1.5

git-graph
mhu
1.30.0

jupyter
ms-
2021.10.1001414422

jupyter-keymap
ms-
1.0.0

vetur
oct
0.35.0

indent-rainbow
ode
8.2.2

LiveServer
rit
5.6.1

vs-code-prettier-eslint
rve
3.0.4

vue-vscode-snippets
sdr
2.2.1

code-settings-sync
Sha
3.4.3

vs-code-node-require
tgr
1.10.2

vscode-icons
vsc
11.7.0

JavaScriptSnippets
xab
1.8.0

A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
vscod805cf:30301675
pythonvspyt200:30323110
vsccppwt:30382699
bridge0708:30335490
pygetstartedt2:30353727
bridge0723:30353136
pythonrunftest32:30365365
pythonf5test824:30361779
javagetstartedt:30350119
pythonvspyt187:30365360
pydsgst2:30361790
vsaa593cf:30376535

Can you show a screenshot? FYI I currently have a PR out which changes how the terminals get laid out which could affect whatever you're seeing https://github.com/microsoft/vscode/pull/136522

I had the same issue after updating for existing terminals, went away when I closed the terminal and opened again

@Tyriar as @bpasero  mentioned, it seems to happen for terminals that are restored on startup as seen here

any new terminals i open work perfectly

Thanks, this should be fixed when https://github.com/microsoft/vscode/pull/136522 gets merged.


bug in how soql queries return in node-red

When using the soql node, the initial records object that comes back is not transformed in time for node-red to use it.
Execute any reasonable soql query, and ask it to return all result records (although, this shouldnt matter). in my case, i'm looking for an "id" property. assuming you've got records to return...
now, attach a Javascript node at the output of your node:
node.warn(msg.payload.records[0].id); // emits undefined
node.warn(msg.payload.records[0].toJSON().id); // emits the data I'm looking for.
node.warn(Object.keys(msg.payload.records[0])); // as you can see this shows the issue - this is the object from the nforce wrapper and hasn't been transformed in time yet to be accessed properly - this is the bug I am pointing out.
node.warn(JSON.stringify(Object.keys(msg.payload.records[0]))); // just another view of above
You can also  clone msg.payload.records[0] using the stringify/parse method, which gets you the data you need, because it's synchronous
so in short, I believe the bug is that the soql method isn't blocking properly, and thus the user cannot access the data as they would expect.

There's a quirk in the current implementation. The API call currently does NOT return a JSON object but a JavaScript object. That's why records[0].toJSON().id returns you the value you are looking for. records[0] is a JavaScript object. We probably implement a switch to return JSON only which is the more NodeRED style. Just need to check if we break existing apps

Actually the same observation as #5


GEODE-4346:  .NET function execution example

Good review guvner. All corrections made.

The Travis failure is being fixed by https://travis-ci.org/apache/geode-native/jobs/468100011

All requested changes have made. Thanks for catching the outdated README.md and for suggestion to remove unused code .