Update mojibar to 2.5.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as 4d29edaa1fe4fa67f2b2684b661f75d1753758e5. Your contribution is still credited to you.


Need examples on how to use RiskAdjustedReturns and ManagedRisk actions

Right now it is unclear how to properly use Risk Adjusted Returns and Managed Risk Actions. It is especially unclear
how to customize values in them. For example in train_and_evaluate.ipynb It dows not show how to customize any parameters.
env = default.create(
    portfolio=portfolio,
    action_scheme="managed-risk",
    reward_scheme="risk-adjusted",
    feed=feed,
    renderer_feed=renderer_feed,
    renderer=default.renderers.PlotlyTradingChart(),
    window_size=20
)

When I tried the following:
def create_env( config ):
    # path = os.path.join( os.getcwd(), 'data', 'processed.csv')
    # need this path to run on connected worker
    path = os.path.join( '/', 'home', 'ray', 'src', 'data', 'processed.csv' )
    df_net, df_price = load_dataframe( path )

    price_stream = Stream.source(list(df_price), dtype="float").rename('USD-BTC')
    streams = [
        Stream.source(list(df_net[c]), dtype="float").rename(c) for c in df_net.columns
    ]

    exch_opts = ExchangeOptions( commission = 0.015 )
    exchange = Exchange('exchange01', service=execute_order, options=exch_opts )( price_stream )
    cash = Wallet(exchange, 200 * USD)
    asset = Wallet(exchange, 0 * BTC)

    portfolio = Portfolio(USD, [
        cash,
        asset
    ])
    feed = DataFeed( streams )
    #reward_scheme = PBR( price = price_stream )
    reward_scheme = RiskAdjustedReturns(
        return_algorithm="sortino",
        risk_free_rate=0.03,
        target_returns=0.20,
        window_size=72
    )

    # Buy, Sell, Hold orders
    action_scheme = BSH(
        cash = cash,
        asset = asset
    ).attach( reward_scheme )

    # # Managed Risk Orders
    # action_scheme = ManagedRiskOrders(
    #     stop=[0.02, 0.04, 0.06],
    #     take=[0.1, 0.2, 0.5, 0.8],
    #     trade_sizes=[1, 0.5, 0.25],
    #     order_listener=reward_scheme
    # )

    renderer_feed = DataFeed([
        Stream.source(list(df_price), dtype="float").rename("price"),
        Stream.sensor(action_scheme, lambda s: s.action, dtype="float").rename("action")
    ])

    environment = default.create(
        feed = feed,
        portfolio = portfolio,
        action_scheme = action_scheme,
        reward_scheme = reward_scheme,
        renderer_feed=renderer_feed,
        renderer=PositionChangeChart(),
        window_size = config['window_size'],
        max_allowed_loss=0.6
    )
    return environment

I keep getting this
TuneError: ('Trials did not complete', [PPO_TradingEnv_33468_00000])
---------------------------------------------------------------------------
TuneError                                 Traceback (most recent call last)
/tmp/ipykernel_111358/1151358450.py in <module>
      3 metric = "episode_reward_mean"
      4 mode = "max"
----> 5 analysis = tune.run(
      6     "PPO",
      7     stop={

~/anaconda3/lib/python3.8/site-packages/ray/tune/tune.py in run(run_or_experiment, name, metric, mode, stop, time_budget_s, config, resources_per_trial, num_samples, local_dir, search_alg, scheduler, keep_checkpoints_num, checkpoint_score_attr, checkpoint_freq, checkpoint_at_end, verbose, progress_reporter, log_to_file, trial_name_creator, trial_dirname_creator, sync_config, export_formats, max_failures, fail_fast, restore, server_port, resume, queue_trials, reuse_actors, trial_executor, raise_on_failed_trial, callbacks, loggers, ray_auto_init, run_errored_only, global_checkpoint_period, with_server, upload_dir, sync_to_cloud, sync_to_driver, sync_on_checkpoint, _remote)
    553     if incomplete_trials:
    554         if raise_on_failed_trial and not state[signal.SIGINT]:
--> 555             raise TuneError("Trials did not complete", incomplete_trials)
    556         else:
    557             logger.error("Trials did not complete: %s", incomplete_trials)

TuneError: ('Trials did not complete', [PPO_TradingEnv_33468_00000])

But it works fine if I switch to PBR reward scheme.
Please provide docs on proper use of these classes. Thank you.

I always meet InvalidNegativeQuantity when use these class,please make a tutorial on how to use them corretly

@dmitryr117 did u manage to resolve this issue?

@dmitryr117 you need to check in the console output for the tune run what is the real error that gets spit out by one of the agents. That log only shows that Ray was unable to properly run an agent, because it has encountered an error during a trial.
@graceyangfan would you care to post an issue describing what you are doing (ie: code)? That way we can try and figure out if there is a bug (most probably there is, since it should never try to work with negative quantities).

Closing as stale. Please comment\reopen if further details arise.
Thanks


Uncaught TypeError: normalizer[type] is not a function

Using latest from npm
React.createClass.normalize	@	react-json-editor.js:924
React.createClass.handleChange	@	react-json-editor.js:934
LinkedValueUtils.executeOnChange	@	index.js:13356
_handleChange	@	index.js:14446
ReactErrorUtils.invokeGuardedCallback	@	index.js:4835
executeDispatch	@	EventPluginUtils.js:93
executeDispatchesInOrder	@	EventPluginUtils.js:116
executeDispatchesAndRelease	@	EventPluginHub.js:57
executeDispatchesAndReleaseTopLevel	@	EventPluginHub.js:68
forEachAccumulated	@	index.js:4941
EventPluginHub.processEventQueue	@	EventPluginHub.js:273
runEventQueueInBatch	@	ReactEventEmitterMixin.js:32
ReactEventEmitterMixin.handleTopLevel	@	ViewportMetrics.js:2
handleTopLevelWithoutPath	@	ReactEventListener.js:107
handleTopLevelImpl	@	ReactEventListener.js:87
Mixin.perform	@	Transaction.js:150
ReactDefaultBatchingStrategy.batchedUpdates	@	ReactDOMComponent.js:1
batchedUpdates	@	ReactUpdates.js:108
ReactEventListener.dispatchEvent	@	index.js:15539

Repro JSON schema:
  const minSchema = {
    title      : "Repro Form",
    description: "Repro for error",
    type       : "object",
    properties : {
      selection: {
        "title": "Choose Category",
        "type": "object",
        "properties": {
          "mainCategory": {
            "title": "Choose the main category",
            "type": "string",
            "enum": [
              "-",
              "other"
            ],
            "enumNames": [
              "Select one of the below",
              "Misc"
            ]
          }
        },
        "oneOf": [
          {},
          {
            "properties": {
              "mainCategory": {
                "enum": [
                  "misc"
                ]
              },
              "people": {
                "title": "Misc Category",
                "type": "enum",
                "enum": [
                  "a",
                  "b",
                  "c"
                ],
                "enumNames": [
                  "Something",
                  "Something else",
                  "A third option"
                ]
              }
            }
          }
        ],
        "x-hints": {
          "form": {
            "selector": "mainCategory"
          }
        }
      }
    }
  };

Choose the third option in the form to reproduce.

"type": "enum" is what's causing the error here. When you use enum, you usually want to set it as type "string", as that's what will be on the output.
I guess in a future version we could throw a error message that describes possible problems with user's schema.
Here is how your schema should look like. I also changed the mainCategory enum values, to make "misc" a valid value.
{
    title: "Repro Form",
    description: "Repro for error",
    type: "object",
    properties : {
      selection: {
        "title": "Choose Category",
        "type": "object",
        "properties": {
          "mainCategory": {
            "title": "Choose the main category",
            "type": "string",
            "enum": [
              "-",
              "misc"
            ],
            "enumNames": [
              "Select one of the below",
              "Misc"
            ]
          }
        },
        "oneOf": [
          {},
          {
            "properties": {
              "mainCategory": {
                "enum": [
                  "misc"
                ]
              },
              "people": {
                "title": "Misc Category",
                "type": "string",
                "enum": [
                  "a",
                  "b",
                  "c"
                ],
                "enumNames": [
                  "Something",
                  "Something else",
                  "A third option"
                ]
              }
            }
          }
        ],
        "x-hints": {
          "form": {
            "selector": "mainCategory"
          }
        }
      }
    }
  }

Thank you, that worked! Any chance of a better error message?

Sure. I will probably make it throw an error when the schema as an invalid type. I think that makes sense and is the expected behaviour.

Can I add a third level, e.g. misc.a.third?
I haven't been able to at all. Neither with "x-hints": { "form": { "selector": "peopleCategory" } } nor with enum + array position.


(Possibly) Incorrect exercise: [courseId=grammar-intro_eng][lessonNumber=11][exerciseId=1718]

Description
This could be my lack of understanding of Lojban so apologies in advance if that's the case!
The correct answer contains the event/state of donating, but the original English text is asking for a translation of "a donation" (like a gift) which would be lo se dunda rather than lo nu dunda.
Diagnostics information (do not remove)

Exercise identifier: [courseId=grammar-intro_eng][lessonNumber=11][exerciseId=1718]
Exercise payload: {"sentences":[{"text":"Do you like donations motivated by happiness?","lojbanic":false}],"title":"Translate this sentence","type":"typing"}
Attempted solution: {"text":"xu do nelci lo se dunda be mu'i lo nu gleki"}
Attempted solution was classified as correct: no
Validation payload: {"canonicalAnswer":"xu do nelci lo nu dunda mu'i lo nu gleki","correct":false}

Thanks for reporting!
Interesting, I think in this case the issue originates from ambiguity in English :) When preparing the exercise, I was of "donation" as "event of donation" (as in "People are talking about the donation"). But indeed it can also be interpreted as "gift".
To resolve the ambiguity, I changed the exercise prompt to "Do you like events of donations motivated by happiness?".

Thanks for reporting!
Interesting, I think in this case the issue originates from ambiguity in English :) When preparing the exercise, I was of "donation" as "event of donation" (as in "People are talking about the donation"). But indeed it can also be interpreted as "gift".
To resolve the ambiguity, I changed the exercise prompt to "Do you like events of donations motivated by happiness?".


The proxy api ever had any Embeddings endpoints for use ?

Describe the feature
The proxy api ever had any Embeddings endpoints for use ?

no, unfortunately; the embeddings api is separate and no proxy exists that I'm aware of. there are many free embeddings endpoints, however, such as https://www.sbert.net


Add ability to view miltiple devices on a single shared link

Hi,
Thanks for a neat application! I really like the idea and the execution is nice and easy to work with.
I think it would help a lot if the server will support some sort of multi-device sharing, for scenarios where several people coordinate to meet somewhere.
Not sure how this would be implemented UX-wise though. Maybe add a functionality on the shared link to "add my own location" or alike?
What do you think?

The browser interface could have a way to "add another link" to the map. So each person who wants to view several people can paste in the share links of others and all of them will show up on the map. That would also allow for aggregate links, e.g. https://example.com/?ABCD-1234+DEFG-5679+HIJK-0123 would show the location of the three share IDs in the URL. If I add this, I'll need some way to add identifiers to each user. Color coding would be pretty straightforward, but if there are multiple people, ideally the names of each user would be displayed underneath the markers.

That would also allow for aggregate links, e.g. https://example.com/?ABCD-1234+DEFG-5679+HIJK-0123 would show the location of the three share IDs in the URL.
Just keep in mind that the URL should still be valid as long as at least one person's location sharing is still active.
Also, when thinking about it - maybe it would be better not to have a URL change: If I post a live location link to a group of friends, and X of them are adding their own location to the session, ideally none of us will need to browse to a different URL, their location indicators should magically be added to the map.
So you can look at the URL as an endpoint to get a session with an array of (at least one) person's location.

ideally the names of each user would be displayed underneath the markers.
Right, I haven't thought about that. So yeah, stored nickname maybe that can be edited in each session?

Just keep in mind that the URL should still be valid as long as at least one person's location sharing is still active.

Definitely. The map would gray out markers for people who stop sharing, and not load them at all for subsequent loads of the link.

Also, when thinking about it - maybe it would be better not to have a URL change: If I post a live location link to a group of friends, and X of them are adding their own location to the session, ideally none of us will need to browse to a different URL, their location indicators should magically be added to the map.

This is a very good point. In addition to creating a solo share, I could add options to create or join a group share instead. When they create such a share, they have to enter a nickname, then they get some kind of invitation code (e.g. six-digit number) that others can enter in their app to join the share with their app. The map would then display the names of all of the participants, in addition to, or perhaps instead of their speed.

Yepp. Sounds good. Person 1 opens Hauk, starts sharing and shares the link to a group. Person 2 takes the link, open Hauk and "Add to Group-share" (or something like that) and paste the link there. (Check if link is active?). Person 3 sees now 2 people.

Here's a mock-up of the UI for group shares. The default option for the "Sharing mode" selector is "Share my own location only." Selecting the option to create/join a group instead will display the otherwise hidden "Nickname" and/or "Group PIN" input options (they're hidden by default for solo sharing mode).
On the right, the client that creates the share session, and on the left, the person joining it. Tapping the PIN that is displayed will copy it to clipboard.
Thoughts?

Looks good :+1:
One thing to keep in mind is that a person might not know if someone they share the link with will want to add their own location. So opting for "single or group share" upfront and blocking adding a 2nd person's location to a "single share" might be a problem.
Also, the nice thing about instant messaging applications with this feature is that a user doesn't need to explicitly indicate that he/she are adding a share to an existing group - the application does that by itself.
We can't mimic this, huh? :thinking:

One thing to keep in mind is that a person might not know if someone they share the link with will want to add their own location. So opting for "single or group share" upfront and blocking adding a 2nd person's location to a "single share" might be a problem.

You're definitely on to something here, but I'm not entirely sure how to solve it.
On one hand, it's possible to stop the share and recreate a new one as a group share, but that requires action by the host to do so, and a new link will be made.
Another option would be a button or similar to convert a solo share into a group share, but a nickname would need to be entered by the host at some point to be able to identify him/her on the map; since having a nickname on a solo share is unnecessary, strictly speaking.
While typing this out, I just got another idea - what if there's some way for a user indicate, e.g. through a check box, that they allow others to "adopt" their solo share into others' group shares? The workflow is thus, if person A has a solo share running, and person B decides that they want a group share, B will create a group share in the app. However, they can then tap an "Adopt another share" button in the app, get a dialog where they paste A's URL, assign them a nickname, then they show up on B's group share as well? That way the original share URL will still work, but A will also show up on the group share map, and don't have to specify a nickname themselves, e.g. if they're driving.

Also, the nice thing about instant messaging applications with this feature is that a user doesn't need to explicitly indicate that he/she are adding a share to an existing group - the application does that by itself.

I haven't used any messaging apps that have this feature. Care to elabore?

Another option would be a button or similar to convert a solo share into a group share, but a nickname would need to be entered by the host at some point to be able to identify him/her on the map; since having a nickname on a solo share is unnecessary, strictly speaking.

This could be pre-filled with e.g. the android device name since usually small groups will have somewhat mixed phones and you usually know what kind of phones your friends have.

since having a nickname on a solo share is unnecessary, strictly speaking

I'd say it's more "nice to have" than "unnecessary" when dealing with single share, cause a viewer might not be 100% focused and might not remember who's location he's looking at. It's also not that much of an effort for the person who shares to set a name (which the application can remember for future usages, but always with the option to edit).

I haven't used any messaging apps that have this feature. Care to elabore?

Have a look here for example: https://www.youtube.com/watch?v=gBNQpxPlMFs
As you can see, each person starts sharing his/hers live location using the same simple flow. It's the platform (WhatsApp in this case) that shows a unified view when multiple users are sharing at the same time. Each individual doesn't input a "group code" or alike, cause the "sharing service" and the "distribution service" are the same service (e.g. WhatsApp).
In our case, the "sharing service" (Hauk) is separated from the "distribution service" (external link shared & viewed wherever), and hence the challenge :slightly_smiling_face:

This could be pre-filled with e.g. the android device name since usually small groups will have somewhat mixed phones and you usually know what kind of phones your friends have.

I barely know which devices my family members have, let alone friends or people I communicate with but aren't really close friends. I feel it's too confusing and cumbersome to show a device name.

I agree that device names are too cumbersome to use. What I will do is I will implement the share adoption feature combined with creating a group share and joining it with a PIN. The flow is thus:

A user creating a single share will only ever have himself on his share URL, but there will be a checkbox allowing others to incorporate, or "adopt", that share into their own group shares. There is no need to enter a nickname for solo shares at this point in time - may add this later if there is a need for it, but that will make nicknames mandatory for solo shares.

Users creating a group share will get a group code (6-digit numeric) that they share with their friends who also want to join the group. The host of the group also gets the option to "adopt" existing solo shares - if the person creating a solo share allows it (see above; checkbox for this). Adopting a solo share will make that share's user's location appear on both the solo share and the group share they're being adopted into. The person adopting the share will set a nickname for the share they are adopting.

Users wanting to join an existing group share will enter the group code and set a nickname for themselves. They will be automatically added to the share.

This means that:

If person A creates a solo share, if they are later adopted into a group share by person B, no user interaction is needed from person A. Useful if A is driving, or otherwise can't use their phone.

If person A creates a solo share and person B sees this and wants to join, the responsibility of converting A's solo share to a group share is on B instead of A, meaning B does not have to disturb A and request that A makes that change.

If person A shares their link to both person B and C, if B adopts A's share, B gets a new link that includes both A and B, while A's link still only shows A, thus not revealing B's location to C, who may not know B.

If B creates a group share and adopts A's share, B has taken initiative to create a share for the whole group and can share the group code with the others in the group, so persons D, E, etc. can attach themselves to it later.

This will be live in v1.1. It might take a few days after release publication for the update to be released on F-Droid.


Suggestion: Webpack 4.0

I know it was just released - but I wanted to find out where in your plans getting to Apollo 2.0/Webpack 4.0 is

@delmendo checkout this topic: https://github.com/reactql/kit/issues/147

Same here

Thanks for the pointer :)


[UTOPIA - 1611] - Autosave triggering on empty PIA

🎯 Summary

UTOPIA-1611

make deepEqual function trim spaces when checking for differences between objects
make the title field immediately be focused so that users can type right away
make the other fields disabled until the title field is filled out first (no spaces)
stop autosave from starting when a pia is clicked and only triggered when title is filled out with actual text
add tooltip to title field

🔰 Checklist

[x] I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.

I have performed a self-review of my code.
I have commented my code, particularly in hard-to-understand areas.
I have made corresponding changes to the documentation where required.
I have tested my changes to the best of my ability.
I have consulted with the team if introducing a new dependency.
My changes generate no new warnings.

Should we also make the rich text fields readonly when disabled?

the rich text fields are already readonly when disabled!


treewide: use yaml.load(f, Loader=yaml.FullLoader)

Address following warning:
YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated
Please read https://msg.pyyaml.org/load for full details.
Fixes #142
Signed-off-by: Benny Halevy<EMAIL_ADDRESS>

Fixed AttributeError issue by catching the respective exception and defaulting to the exiting call

Successful test run here: http://jenkins.scylladb.com/view/master/job/scylla-master/job/manual-and-scheduled-tests/job/byo_build_tests_dtest/337

Ref #143

@bhalevy can we close this one?
I see that we now use safe_load which conflicts with this one.

@bhalevy can we close this one?
I see that we now use safe_load which conflicts with this one.

yes, no problem


az vm show no longer works

Describe the bug
az vm show does not return anything -- even though vm is running.
az vm show --resource-group  --name  --query 'powerState' -o tsv
Related command
az vm create
Errors
Silent.
Issue script & Debug output

Expected behavior
output: VM running.
Environment Summary
$  az --version
azure-cli                         2.26.1 *
core                              2.26.1 *
telemetry                          1.0.6
Extensions:
azure-devops                      0.20.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\nelsonma.azure\cliextensions'
Python (Windows) 3.8.9 (tags/v3.8.9:a743f81, Apr  6 2021, 13:22:56) [MSC v.1928 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
You have 2 updates available. Consider updating your CLI installation with 'az upgrade'
Please let us know how we are doing: https://aka.ms/azureclihats
and let us know if you're interested in trying out our newest features: https://aka.ms/CLIUXstudy
Additional context
No response

Thank you for opening this issue, we will look into it.

May I ask if the command worked in the previous versions of CLI?


[WFLY-4398] Upgrade jsf-impl to 2.2.10-jbossorg-2

https://issues.jboss.org/browse/WFLY-4398

Linux Build 5995 is now running using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915

Windows Build 1108 is now running using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915

Linux with security manager Build 974 is now running using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915

Linux with security manager Build 974 outcome was SUCCESS using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915
Summary: Tests passed: 840, ignored: 319 Build time: 0:05:07

Windows Build 1108 outcome was SUCCESS using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915
Summary: Tests passed: 2929, ignored: 314 Build time: 0:46:59

Linux Build 5995 outcome was SUCCESS using a merge of 29f2647e154740bbdf771dbf43cf92cefe49b915
Summary: Tests passed: 2928, ignored: 314, muted: 1 Build time: 0:47:50


Replace Memory Management Implementation with VirtualAlloc for Windows Systems

WHAT THE PR DOES
Replaces Vec-based LinearMemory management with a more efficient solution using VirtualAlloc and VirtualFree.
EXPECTATIONS
The new implementation using win32 APIs is expected to result in faster allocation and deallocation ops.
Here are some rough benchmarks on a Windows virtual machine.

Operations
vec_memory (sec)
VirtualAlloc (sec)

Memory with 4GiB initial
359.029
0.112

Resizing memory to 4GiB and load at boundary
365.321
0.119

Multiple incremental resizes and loads up to 3GiB
23.746
0.061

TODO

[x] All tests pass on Windows
[x] Manual tests pass

[x] 65536 * 64KiB initial
[x] memory.grow
[x] memory.size
[x] writing to uncommitted memory
[x] writing to unreserved memory
[x] writing to memory after release

UNTESTED

32-bit Windows

FIXES
#200

This is a good start!
First, CI is failing because rustfmt is not happy about the formatting. You can fix the formatting automatically by installing rustfmt
rustup component add rustfmt

and then asking it to format the code
cargo fmt

Second, regarding the benchmarks, are they actually mixed up? : )

Code is now formatted.
As for benchmarks, those numbers are just dummy values, I have not done a comprehensive benchmark yet. Frankly, I don't think I have the right tools or benchmarking skills to do that, so I will probably just get the average of running the code several times. It's meant to give an idea about the performance gap between the Vec-based and VirtualAlloc-based impls.
BTW, contributions on comprehensive benchmarks are totally welcome. Also I don't have access to a 32-bit Windows so I haven't been able to test it on 32-bit platforms and I don't know how important that is to Parity. With that in mind, do you suggest putting this implementation behind a feature flag?

@pepyakin
Resizing issues has been resolved and a microbenchmark has been added.
Travis build is failing because it can't install rustfmt.

Been very busy at work lately. I will get to making those as soon as I'm chanced. BTW I noticed this implementation does not factor in wasm32 load/store offsets, which extends the reserved maximum page by an extra 4GB.
I believe mmap_bytebuf.rs doesn't account for this as well. This needs to be present to prevent the possible security flaw of skipping the guard pages using offset.

BTW I noticed this implementation does not factor in wasm32 load/store offsets, which extends the reserved maximum page by an extra 4GB.

This should be alright since we perform explicit bounds checking and do not rely on signal handling as for now. At this point, memory mapped implementation makes sense only to quickly erase memory, which is an important use-case for substrate.

Closed for lack of activity. Review comments were never addressed.


Bump supported go versions

Preflight Checklist

[X] I have checked the issue tracker and found no issue that matches the one I want to submit.
[X] I agree to follow the Code of Conduct.

Problem Description
Currently go 1.17-20 versions are tested, but recent dependabot bump(s) fail with go 1.17.
Proposed Solution
Consider dropping go 1.17 support and test with the latest 4 minor versions (go 1.18-21).
Alternatives Considered
No response
Additional Information
E.g. here is a failing dependabot PR: https://github.com/bank-vaults/vault-sdk/pull/214

I think we can keep the go version as is for now since there are no hard requirements on bumping it.
However, I would consider adding go1.21 to the test matrix as well.

+1 ftom me, feel free to update all go.mod deps once the support for go1.17 is dropped


[Snyk] Upgrade sass from 1.56.1 to 1.58.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade sass from 1.56.1 to 1.58.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 4 versions ahead of your current version.
The recommended version was released a month ago, on 2023-02-01.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

PR устарел, пакеты я обновил руками.


"clock icon“ of new POS block transaction not updated correctly

In the transaction pane of the wallet, a new transaction has a clock icon in front. It changes colors and 1/6's as confirmations come. The clock becomes a green tick after 6 confirmation. In the latest peerunity the clock will take several days to turn green. Restarting the wallet doesn't help.

The clock for regular transactions becomes a green tick after 6 confirmations.
The clock for newly minted blocks takes 3.5 days to become a green tick because it takes 520 confirmations for minted coins to become spendable.
(c.f. issue #173)

Thanks glv!

Thanks glv!


Apply fixes from CodeFactor

This pull request applies style fixes from code review by CodeFactor.

For more information, click here.

Help someone is third party remote stalking me


Adding badges

Coverage remained the same at 100.0% when pulling 2fe04a2f16dd5f81ca63be61192212c148292f73 on ktutnik:master into 1e076224eea68657364bbd2f84f75252583d192a on kambojajs:master.


Sparklyr - support for username password  to connect to kerborised cluster

We have a requirement where in we plan to use sparklyr to execute model code written in R over spark. The spark cluster we use is a kerborised cluster. We are able to connect to this cluster and execute our code using a keytab. The challenge we have now is that we need to use a username password to establish connection instead of using keytab . Any help/pointers on how this could be accomplished would be greatly appreciated.

@asishbalakrishnan One way to do this would be to run Livy. Could you elaborate a bit on your use case? E.g. are you requesting predictions or running model training jobs and from where?

The use case give to me is to train models on windows desktop before it is promoted to the execution environment for execution .  The challenge being both the execution environment and training environment is run out of windows server and windows desktop respectively. Our admin team is ready to provide us with userId password for connecting to the hadoop cluster.They are not comfortable sharing the keytabs.

@asishbalakrishnan how are you currently using R on the Windows server? Are you RDPing into it and running RStudio Desktop?
Have you tried getting a ticket from where you're trying to connect? (e.g. kinit then enter password)

We execute using R script on the Server. We use the server only as an execution environment.
For the ticket thing, we do not have trusted realm setup between windows and Unix kerberos store.


Configuring custom exceptionHandler shows a Select... empty dropdown

For example from direct:aaa then click advanced parameters, then the exception handler shows that dropdown.
You should be able to type in a bean reference id for a custom bean.
The option is defined as
    "exceptionHandler": { "index": 2, "kind": "parameter", "displayName": "Exception Handler", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", "deprecated": false, "autowired": false, "secret": false, "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored." },

You need to define a bean on the Bean tab and then it will appear in the dropdown

ok


[Bug] Unable to enter a Column Size for a section.

Steps to reproduce BUG:

Create a section component on the Pre-Configured Component tab. e.g. Residential Address.

Section Object Name: residentialAddress
Section Display Name: Residential Address
Section Description: Enter details of where you live.

Within the Address section component, add another component (Form Element). e.g. Country

Section Object Name: country
Section Display Name: Country
Section Description: Enter country of where you live.
Input Type: Short Answer

Within the Address section component, add another component (Form Element). e.g. Street

Section Object Name: street
Section Display Name: Street
Section Description: Enter street details of where you live.
Input Type: Short Answer

On the Visual Form Builder tab, create a Form Element. e.g. User Residential Address

Section Object Name: userResidentialAddress
Section Display Name: User Residential Address
Section Description: User enters residential address details.
Input Type: #/definitions/residentialAddress

Click on the blue pen (Additional configurations for the form element) of the User Residential Address Form element.

On the Additional Settings modal, try to input a Column Size and this will not be possible.

Closed by #192


Include Pre-Enchantments

When a pre-enchanted item comes as loot from somewhere(tm), it would be great to be able to add the existing enchantments to the target.
Example: Diamond shovel with Eff 3 Unbreaking 3, wanted to add Mending and Silk Touch. When choosing all 4 enchantments "as is" the result will be non-reachable combinations because the existing enchantments would have to be combined differently.
K

When an item comes pre-enchanted, it comes with zero work-cost. As a result, you only need to add the missing enchantments (which you can already do).

Thanks, Cal :)


Please exact example

Please example with code sanbox

@phanchanra I updated readme, please find the example sandbox code there.

Thank you


bug: Million not working with Next 12

Is Milllion compatible with Next 12? I can't upgrade because of leaflet :/
I'm getting this error when I try to run the project on dev mode:
Module not found: Can't resolve 'react-dom/client'

Import trace for requested module:
./node_modules/million/dist/react.mjs

next.config.mjs
import { withSentryConfig } from '@sentry/nextjs'
import million from 'million/compiler'
import nextPWA from 'next-pwa'

const withPwa = nextPWA({
  dest: 'public',
  register: true,
  disable: process.env.NODE_ENV === 'development',
  cacheStartUrl: false,
  dynamicStartUrl: false,
  publicExcludes: ['!**/*'],
  buildExcludes: [() => true]
})

/** @type {import('next').NextConfig} */
const nextConfig =
  withPwa({
    reactStrictMode: true,
    swcMinify: true, // https://nextjs.org/docs/pages/building-your-application/upgrading/version-12
    webpack: (config) => {
      config.module.rules.push({
        test: /\.svg$/,
        use: ['@svgr/webpack'],
      })

      return config
    },
    eslint: {
      // Warning: Dangerously allow production builds to successfully complete even if
      // your project has ESLint errors.
      ignoreDuringBuilds: true,
    },
  })

const sentryWebpackPluginOptions = {
  // Additional config options for the Sentry Webpack plugin. Keep in mind that
  // the following options are set automatically, and overriding them is not
  // recommended:
  //   release, url, org, project, authToken, configFile, stripPrefix,
  //   urlPrefix, include, ignore

  silent: true, // Suppresses all logs
  // For all available options, see:
  // https://github.com/getsentry/sentry-webpack-plugin#options.
}

// Make sure adding Sentry options is the last code to run before exporting, to
// ensure that your source maps include changes from all other Webpack plugins
export default process.env.NODE_ENV === 'development'
  ? million.next(nextConfig)
  : withSentryConfig(million.next(nextConfig), sentryWebpackPluginOptions)

Hello, would you mind providing a minimum reproduction of your Next.js App that has Module not found: Can't resolve 'react-dom/client' error? And would you like to tell us which React / React DOM version do you have?

I have faced the same issue with Next 12. I have updated the react and react-dom versions to 18.2.0, now it is working for me.

I think this issue has been resolved, right? @sayansur25. Is that correct?

I'm using React 17, can't upgrade right now because the application uses react-leaflet :/

Hello again @Luks3110, I tested on different Next environments and versions, but as you notice the file dist/react.mjs depends on a top level react-dom/client import, that's why React 18 or above is required for you to run Million correctly. I found some people reporting and having issues upgrading to Next 13 because of some library incompatibilities, react-leaflet is one of this. So React 18 is a strict requirement.


Calls to System Events are rather expensive

On my machine, calls to thyme track are taking 8s-17s.

During that time, one CPU core is pretty dedicated to "System Events". As an example, time reported a run of thyme track took 10.07s real and I'm seeing the total CPU Time in Activity Monitor increase ~9s.
Any ideas? Or more data I can collect?

I poked at the applescripts and the last seems to be the slowest of the set.
Tried some edits and I can reproduce improved performance with some changes to the applescript: https://github.com/sourcegraph/thyme/compare/master...paulirish:patch-1?w=1
On repeat runs its definitely faster. Though I'm not sure its faster on a "fresh" run.  (Seems nice to get rid of the second tell though.)

Thanks for looking into this and speeding it up! I couldn't figure out why it was so slow myself. Merged here: https://github.com/sourcegraph/thyme/pull/40.


[FEAT] Automatically generate a components manifest for components

Description:
As a developer, I want to have a machine readable representation of all components in the library.
Rationale:
This feature will make it possible to provide tooling around the created web-components, e.g. for creating auto-completion helpers, provide utilities that create framework wrappers or make the components useable in other third party systems.

Needed for:

Automatically generated StoryBook story
Angular Wrapper
UIBuilder

Expected outcome:

list of differences between CEM and components.json
have a cli ready for generating the CEM


Support generating enum types as RawRepresentable structs

Closes #130

A common pattern that we are seeing is that there is sometimes a discrepancy on the characteristics of an enum. Particularly the difference between frozen and unfrozen enums.
While Swift doesn't have a convenient way to represent unfrozen enum types without Library Evolution (something not practical here), we want to be able to offer an escape hatch in generated code while continuing to generate safe and accurate code.
In the linked ticket, we opted to do this by offering the ability to use a RawRepresentable struct which would enable characteristics seen below:

enum MyTypes: String {
    case foo
    case bar
}

// usage

switch value {
case .foo:
    print("Do foo")
case .bar:
    print("Do bar")
}

would become this:
struct MyTypes: RawRepresentable {
    let rawValue: String

    init(rawValue: String) {
        self.rawValue = rawValue
    }

    static let foo = Self(rawValue: "foo")
    static let bar = Self(rawValue: "bar")
}

// usage

switch value {
case .foo:
    print("Do foo")
case .bar:
    print("Do bar")
case MyType(rawValue: "baz"):
    print("Do undocumented baz")
default:
    print("Do something else")
}

This would also be very much welcome for App Store Connect API. Currently it contains several enums representing software platforms, screenshot types and so on that can potentially change whenever an Apple product with a new operating system or screen size is launched.


Wardrobe organizer app

Wardrobe Organizer App
Tier: 3-Advanced
A wardrobe organizer app is a digital solution designed to help users manage and organize their clothing, making it easier to plan outfits and keep track of their wardrobe. It simplifies the process of choosing clothes for different occasions and seasons.
User Stories

[ ] User can create an account or log in.
[ ] User can add clothing items to their virtual wardrobe, including images, descriptions, and categories (e.g., shirts, pants, shoes).
[ ] User can categorize clothing items based on seasons or occasions (e.g., summer, winter, formal, casual).
[ ] User can create and save outfits by selecting clothing items from their wardrobe.
[ ] User can view a calendar to plan outfits for specific days or events.
[ ] User can get outfit suggestions based on the weather forecast for their location.
[ ] User can search for clothing items in their wardrobe using keywords or filters (e.g., color, size).
[ ] User can add new clothing items by taking pictures with their device's camera or by importing images.
[ ] User can edit or delete clothing items and outfits.
[ ] User can share outfits or clothing items with friends through social media or messaging apps.

Bonus features

[ ] User can generate statistics and insights about their wardrobe, such as the most-worn item, least-worn item, or favorite outfit.
[ ] User can receive notifications for outfit planning or when it's time to rotate clothing items based on the season.
[ ] User can create a packing list for trips or vacations.
[ ] User can integrate the app with online clothing stores to add new items directly to their wardrobe.

Resources Needed

Development Tools: JavaScript, HTML, CSS, and a suitable backend technology (e.g., Node.js, Ruby on Rails, Django).
Database for storing user accounts, clothing items, and outfits (e.g., PostgreSQL, MongoDB).
Weather API for weather-based outfit suggestions.
Mobile or web development framework (e.g., React, Vue.js, React Native, or Flutter) for the frontend.
Hosting and domain for deploying the app.

Useful links and resources

OpenWeatherMap API: Access weather data for outfit suggestions.
Firebase: Firebase can be used for user authentication and real-time database features.
React Native: A popular choice for cross-platform mobile app development.
Node.js: A JavaScript runtime for building the backend.

Example projects

Closet+: A mobile app for Android that helps users organize their wardrobes and plan outfits.
OpenWardrobe Outfit Planner ++: An Android app that offers wardrobe management and outfit planning features.

can you assign me to work? to help for my project


Problem with cookies when using Guid as Primary key.

I'm really not sure if this is or not a cookies problem since I cannot reproduce it easily.
When using Guid as the TKey for Identity, I can register, login, etc as expected. Everything works fine.
If I kill IISExpress and browse to the application also works ok. Until some moment (not sure why / when because I'm developing so close, start, code changes quite often, maybe when after leaving the app idle for some time I get an error
InvalidCastException: Invalid cast from 'System.String' to 'System.Guid'.
the stack is:
InvalidCastException: Invalid cast from 'System.String' to 'System.Guid'.
System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
System.String.System.IConvertible.ToType(Type type, IFormatProvider provider)
System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
System.Convert.ChangeType(Object value, Type conversionType)
Microsoft.AspNet.Identity.EntityFramework.UserStore`4.ConvertIdFromString(String id)
Microsoft.AspNet.Identity.EntityFramework.UserStore`4.FindByIdAsync(String userId, CancellationToken cancellationToken)
Microsoft.AspNet.Identity.UserManager`1.FindByIdAsync(String userId, CancellationToken cancellationToken)
Microsoft.AspNet.Identity.SignInManager`1.<ValidateSecurityStampAsync>d__28.MoveNext()

The only way to get the application back to normal behavior is deleting the asp.net cookie and login again.
here is how I have configured identity:
public void ConfigureServices(IServiceCollection services)
{
    services.AddEntityFramework(Configuration)
        .AddSqlServer()
        .AddDbContext<ApplicationDbContext>();

    services.AddIdentity<ApplicationUser, ApplicationRole>()
        .AddEntityFrameworkStores<ApplicationDbContext, Guid>();
}

public void Configure(IApplicationBuilder app)
{
    asp.UseIdentity();
    // ...
}

public class ApplicationDbContext : IdentityDbContext<ApplicationUser, ApplicationRole, Guid>{
    // ...
}

Dupe of #420?

I think it is, maybe @cherrydev can confirm.

I'm a bit confused by the inconsistent appearance of the error, but the stack trace definitely matches.

yes dupe!. closing.


”Turdaș” is listed in the drop-down menu

Description:
"Turdaș" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Turdaș" in the search bar.

Expected results
The location is listed in the drop-down menu as "Comuna Turdaș, HUNEDOARA".


Stale value is returned after refresh

Steps to reproduce:

Initialize Optimizely SDK (3.3.0) like this:

val optimizelyClient = OptimizelyManager.builder()
    .withSDKKey("sdk key")
    .build(context)
    .initialize(context, R.raw.optimizely_data_file)

Enable/disable a feature flag in Optimizely console.
Wait for a few minutes just in case.
Launch the app and wait for a new data file to be downloaded from CDN.
Query the feature flag - isFeatureEnabled returns the previous value:

val enabled = optimizelyClient.isFeatureEnabled("test_flag", "123")

Kill the application process and restart.
Query the feature flag again - new value is returned.

@technoir42 Background datafile polling is off by default. To enable it, the polling interval in secs should be set like this:
val optimizelyClient = OptimizelyManager.builder()
.withSDKKey("sdk key")
.withDatafileDownloadInterval(600)
.build(context)
.initialize(context, R.raw.optimizely_data_file)
We'll improve the document to make it more clear.
Let us know if this fixes your issue.

Thanks for response.
We are not going to use background datafile polling and the bug is not related to it.
After creating this ticket I found out that the bug exists on Android 10 and doesn't exist on Android 9. Hope that helps.

I see. Thanks for your input.
We'll check Android 9 vs 10 here and get you updated.

It's not only related to Android 9 and 10 but to all versions. The data file is updated but we getting cached values until the app restarts.

@ar-g we updated the api so that now you can specify if you would like to be updated if a new datafile is downloaded after synch initialization without polling.


Issue with Redux store in MDX component

Originally posted by @timlrx in https://github.com/timlrx/tailwind-nextjs-starter-blog/issues/60#issuecomment-850937385
Thanks for your feedback. Sorry for re-opening this but I do think I am implementing the redux store correctly. I have done it the same way in another nextjs project before and it works fine. Furthermore, if I use the exact same component in a nextjs page, I don't get any error. But if I use it in an mdx page, it gives me the error above. So, I do think there needs to be some additional configuration to pass the store to the MDX @components but I'm not sure what it is.
For implementing redux, I had used the redux-toolkit example from nextjs
Any suggestions will be appreciated
This is my component
This is where I use it in a page and it's fine
And this is where it's added to an mdx data and I get the error

Sorry, can't help to debug but I created a quick demo to show that it works. See #62 and the associated branch for details. Here's how the blog post with the component added in looks - https://tailwind-nextjs-starter-blog-q63malkov-timlrx.vercel.app/blog/introducing-tailwind-nextjs-starter-blog
Hope that the demo could help you to debug your own application.

@timlrx This is really awesome. Thanks so much for taking the time to set this demo up. It's a good proof of concept. I will use that to inspect what I was doing wrong. Really appreciate i

I found the issue. It was related to me using an older version of the template that was using an older version of mdx remote with hydrate. By updating and using the new methods, it worked fine.


add MRTK right hand with pinch animation

The Hand resource is from MRTK-Unity.

Here is new hand preview!


[Feature Request] Any plans to make configuration file (conf.json) updated via Settings Page?

Hi. Is there any plans to make a settings page to modify the JSON configuration file and make the app more user friendly? I suppose the react component should be capable of reset the darknet command or other process.

Hi
Yes we want to do that in a future version, but it is not that straightforward to implement and we have limited time to dedicate to it unfortunately.

i have tried to update config file via server and it successfully updated.. but need to restart the ODC again to take effect..so i add a restart command in server to make it more user friendly..

Nice, if you are able to share you work in a Pull request.. (I'm not sure how this could work if you install opendatacam as a docker container)

Nice, if you are able to share you work in a Pull request.. (I'm not sure how this could work if you install opendatacam as a docker container)

i havent tested this on docker container.. i run without docker and change the server file.. sure i will share it

@bilx6043 How is it going with this? Have you managed to do something? Can you share code so I can contribute too?


Don't show subscriber only items in victory modal or inventory modal …

…if me.freeOnly() is true

Coverage increased (+0.01%) to 56.228% when pulling ad68aba9ee70929e4445c1e134efc7a7843ce02f on freeonly-fix into faa24d71ea70874fabedc90e519940d2b6c1c46a on master.


Show if a local image has a newer version on index when using docker images command

When you do the docker images command, it would be nice if there was a way to show which images are out of date locally.
Secondly, it would be nice if there was a command like docker update,  which would look at your local images and see which ones are out of date compared to the index, and pull down the new ones for automatically. This would basically just be a convenience  method for doing a docker pull on all out of date images.
If we need a new API endpoint on the docker index for this, just let me know.

+1 would be nice to have.

Or how about docker outdated?

Or, docker images --filter=outdated=true, which could be combined with other commands;
docker rmi $(docker images -q -f outdated=true)
docker pull $(docker images -q -f outdated=true)

#dibs

@vjurenka I think it's great that you want to give this a go. Be prepared, however that (given the discussion above), there's no real agreement if (and in what "form") this should be implemented.
There may be a chance that your PR will be rejected, or that the implementation has to be changed; If you don't have a problem with that, Go for it! :+1:
(if you want to have some feedback, it may be good to discuss it in the #docker-dev IRC channel with one of the core maintainers)

still looks valid

Given the activity level on this issue, I'm going to close it as it's either fixed, a duplicate or not a request anymore. If you think I'm mistaken, feel free to discuss it there 😉


custom css class in $modal template

I did read this https://github.com/angular-ui/bootstrap/pull/441#issuecomment-23027814 and it never really came to a satisfying conclusion.
The thing is, you won't be changing template/modal/window.html 99% of time, what you might need to change quite often is its class.
You might have 3 sets of modals for different cases, all with a different width. And since width is defined on the parent(.modal), how could do it?
The dialogClass option as it was in the old $dialog made imho perfect sense.

@vanslly there is a size option for modal
$modal.open({
  controller : 'myModalController',
  size : 'lg',
  ...
})


it is unable to debug test with xamarin.UITest via android device

vs 15.8.6
xamarin.UITest <IP_ADDRESS>4-dev
when i debug the test, it was unable to enter the break point, and just with the output of
"The thread 0x3f84 has exited with code 0 (0x0).
The program '[17356] testhost.x86.exe' has exited with code 0 (0x0)."

@juepiezhongren The comments feature of our documentation is intended to enable customers to suggest changes to the docs or ask clarifying questions about the docs.
App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.

once i can not use xamarin.Uitest locally, how can i move into cloud?????

@juepiezhongren as I said, use product support.


Premultiplied Alpha support

Evaluate whether Premultiplied Alpha could easily be integrated into the existing rendering pipeline. Assumption: This is no big deal.
Add "Premultiplied" option to Textures as a preprocessing step which can be activated on a per-Texture basis.
Add "AlphaPremultiplied" DrawTechnique
Update automated SpriteRenderer creation to honor their Textures Premultiplied option.

Note: This has to be revisited and re-conceptualized now that a lot of import functionality has been shifted out of Resource classes and into importers using the new AssetManagement API. Also, in the develop-3.0 branch, automatic atlas generation for Pixmaps has been moved into the import step, leading the way to potentially adding options for pre-multiplied alpha preprocessing.


Curiosity

Thank you for your very useful program.
My question is: Do you still except suggestions?

I don't reject  any suggestions but I exсept my active participation in their implementation. But may be somebody will do it.

It may be worth enabling Discussions feature in this repo for such questions :)


fix: issue #1201 Starboard CRDs out-of-sync on ArgoCD

Signed-off-by: David<EMAIL_ADDRESS>Description

This is a fix proposal for https://github.com/aquasecurity/starboard/issues/1201
Bumped helm chart version to 0.10.5

Another solution would be to add a category, but this fix seemed more appropriate to me.
Let me know if any change is needed for this PR.
David
Screenshots:

Broken: https://raw.githubusercontent.com/dotdc/media/main/github-issues/2022-05-30-starboard-crds-broken.png
Diff Detail : https://raw.githubusercontent.com/dotdc/media/main/github-issues/2022-05-30-starboard-crds-detail.png
Fixed: https://raw.githubusercontent.com/dotdc/media/main/github-issues/2022-05-30-starboard-crds-fixed.png

Related issues

Close #1201

Remove this section if you don't have related PRs.
Checklist

[x] I've read the guidelines for contributing to this repository.
[] I've added tests that prove my fix is effective or that my feature works.
[] I've updated the documentation with the relevant information (if needed).
[ ] I've added usage information (if the PR introduces new options)
[ ] I've included a "before" and "after" example to the description (if the PR is a user interface change).

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

As it's the follow-up, just re-opened the same PR in the trivy-operator project : https://github.com/aquasecurity/trivy-operator/pull/65
Maybe you should display a warning banner in the starboard README.md to redirected people to trivy-operator :wink:

Sure, closing right now :+1:


Simultaneous control doesn't work

Hi,
If several objects are controlled in direct succession, either none or only one object reacts.
For example if I control the target position of one of my roller shutters to a certain value (manually or by script), this works perfectly. However, if I control several roller shutters in sequence by a script, either only one or only one roller shutter is controlled.
However if I control each shutters with a delay of e.g. 500 ms, the control also works.
Automations in Homekit for more than one object results in the same issue.
I use
Linux on Raspberry Pi
Homekit Controller 0.0.31
JS-Controller 3.3.22
Node V14.18.2

Please turn on debug loglevel and send lof of such a "simulatanous commands" ... in fact one Homekit device can handle one command at once, so the commands are queued ... in theory ... because I never could test that ... so log would help

And now the hole think again please with some more data (a bit time before and a bit after) and as text :-) Thank you ... I only see the "results" of the set that went into an error ...

Or you knwo what ... lets go full debug.

Stop adapter via admin
open a shell
run DEBUG=hap* node /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js --logs --debug
now do the action
send complete log please

log debug2.txt

log debug3.txt

Ok, I see the issue ... the queue is not working ... I'm checking

Ok :-), but I forgot to add more commands into my script. If you need mode data, please let me know.

@nemodil want to try a pot fix?
edit /opt/iobroker/node_modules/iobroker.homekit-controller/build/main.js and change this line https://github.com/Apollon77/ioBroker.homekit-controller/blob/main/build/main.js#L503 ... change the number after concurrency from 10 to 1 ... does it work then? a new "full log" would be great.

Okay, here's what I did:
I have controlled 7 shutters 7,8,12,13,15,16,20 and 2 blinds 19,22 from 100% to 80% and waited until all have reached 80%.
Then the same from 80% to 100%.
Then several times from 100% to 80% and back to 100% without waiting until the target position has been reached.
The controls were all processed sequentially :-)
Note: With the roller shutter / blind combination 15/22 and 20/19, only the roller shutter or blind can be moved at a given time.
log debug4.txt

@nemodil Would you be up for another test? I would like to try an other way of solving this ... Ok? Then please respond and I tell you what to do

Of course I am, tell me what I have to do.

Sorry for the delay. Please update the adapter from GitHub and try your parallel case again. I would be happy to see such a "full debug" log (run from commandline) for it ...

I installed the adapter from GitHub an got these errors:
$ iobroker url https://github.com/Apollon77/ioBroker.homekit-controller --host home
install Apollon77/ioBroker.homekit-controller#9fb9188e0fd289acb99437744f2caf2707c1dc60
NPM version: 6.14.15
npm install Apollon77/ioBroker.homekit-controller#9fb9188e0fd289acb99437744f2caf2707c1dc60 --loglevel error --prefix "/opt/iobroker" (System call)
npm ERR! premature close
npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2022-01-14T22_25_42_746Z-debug.log
upload [10] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/runtime-main.f705f273.js static/js/runtime-main.f705f273.js application/javascript
upload [9] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/main.73ad8aca.chunk.js static/js/main.73ad8aca.chunk.js application/javascript
upload [8] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js.LICENSE.txt static/js/2.e5a95dd3.chunk.js.LICENSE.txt text/plain
upload [7] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/js/2.e5a95dd3.chunk.js static/js/2.e5a95dd3.chunk.js application/javascript
upload [6] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css
upload [5] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css
upload [4] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/manifest.json manifest.json application/json
upload [3] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/index_m.html index_m.html text/html
upload [2] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/homekit-controller.png homekit-controller.png image/png
upload [1] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
upload [0] homekit-controller.admin /opt/iobroker/node_modules/iobroker.homekit-controller/admin/asset-manifest.json asset-manifest.json application/json
Update "system.adapter.homekit-controller.0"
Process exited with code 0

Please try again, it seems that npm had an communication error while downloading the stuff

2022-01-15T01_05_44_155Z-debug.log

Multiple attempts to install the adapter lead to the same error message.

Mega strange ... can you please try again ... I tried something

I tried to install the adapter from Github to a slave ioBroker …
$ iobroker url Apollon77/ioBroker.homekit-controller --host ioBroker5
install Apollon77/ioBroker.homekit-controller
NPM version: 6.14.15
npm install Apollon77/ioBroker.homekit-controller --loglevel error --prefix "/opt/iobroker" (System call)
npm ERR! premature close
npm ERR! A complete log of this run can be found in:
npm ERR! /home/iobroker/.npm/_logs/2022-01-16T12_11_25_858Z-debug.log
host.ioBroker5 Cannot install Apollon77/ioBroker.homekit-controller: 1
ERROR: Process exited with code 25

I do not understand why npm has issues here :-(( Ok, I will find another way and we retry with official release soon :-( Thnak you for your support

Ok, I just release new version, please check again and inform me if there are issues

Hi,
So far everything works fine :-)))
I have no errors or warnings in my log.
Thanks a lot!
I only had a warning in the update log.
Update.log

Hi,
Since last update I sometimes have these errors in the log
homekit-controller.0 | 2022-01-24 22:53:54.770 | info | Device IP-76:90:23:57:BD:54 data polling failed:
homekit-controller.0 | 2022-01-24 22:53:19.541 | info | Device IP-76:90:23:57:BD:54 data polling failed:
homekit-controller.0 | 2022-01-24 22:53:14.866 | info | Device IP-76:90:23:57:BD:54 data polling failed:
homekit-controller.0 | 2022-01-24 22:51:24.767 | info | Device IP-76:90:23:57:BD:54 data polling failed:

A restart of the instance stops the polling failures and the adapter continues working normally

Very interesting ...I assume that it is a TimeoutError which would mean that the device did not answer ... I will add a check to also reset the connection in such a case

PS: next time please open new issue


How to accessing object from Array of Objects with $key? Array Type FirebaseListObservable<[]>

i want to acces single object from FirebaseListObservable<[]> . please guide me how can i do this?
My Database Look like this.

Hello @HazizKhan! This is a forum to troubleshoot library questions. "How to" questions are best suited for Stackoverflow.


test: pkg/kubernetes/event_handlers.go func logNotObservedNamespace

In pkg/kubernetes/event_handlers.go, the unit test coverage can be added for the logNotObservedNamespace() func by adding a small test. See highlighted lines below.

Scenarios not covered:

If emitLogs is true, debug message should be logged

ref #1489

Testing this implies testing if a boolean works as expected and if the zerolog logger works as expected. Both seem unnecessary to me.
I am inclined to close this and remove the need for the utility log in a PR  soon.


go mod: massive dependecy update

Is this about specific updates or just in general? I think dependabot will be somewhat useful here. Should we close this issue in favour of using the dependabot PRs as constant reminders to keep the deps up to date?

A specific massive update for all the dependencies, including changes required for breaking changes. All subsequent can be updated with bot


Support options like expand, filter or fields in subscribe method

The JavaScript SDK for PocketBase allows users to subscribe to real-time changes in collections with an optional expand parameter, which enables fetching related fields automatically within the subscription data. As far as I can tell, this feature is currently missing in the Python SDK, where the subscribe method does not support expand, or filter, or fields as an option.
See ganigeorgiev's comment on the issue
Also: See in official documentation for realtime API SDK

I've been a little outdated on the latest releases from the js sdk. I'll check it and try to port it.
Thanks for pointing it!


Typo in example

In the example in readme.md:
if (isBrowser) {
    document.body.appendChild(plotter.element);
}

plotter.element is undefined...plotter.canvas works though.

Yeh, thank you. Yet the component is very slow by itself, refactoring is coming.

Not more actual


syzkaller running problem

when I ran ./bin/syz-manager -config=my.cfg, it tells me:
2017/07/20 22:52:20 loading corpus...
2017/07/20 22:52:20 loaded 0 programs (0 total, 0 deleted)
2017/07/20 22:52:20 serving http on http://<IP_ADDRESS>:56741
2017/07/20 22:52:20 serving rpc on tcp://[::]:47994
2017/07/20 22:52:20 booting test machines...
2017/07/20 22:52:20 wait for the connection from test machine...
2017/07/20 22:52:53 failed to copy binary: exit status 1
2017/07/20 22:52:53 failed to copy binary: exit status 1
2017/07/20 22:52:56 failed to copy binary: exit status 1
2017/07/20 22:52:56 failed to copy binary: exit status 1

But I don't know what failed to copy binary: exit status 1 means, and here;s my config:
{
        "http": "<IP_ADDRESS>:56741",
        "workdir": "/home/peter/Desktop/syz/Go/gopath/src/github.com/google/syzkaller/workdir",
        "vmlinux": "/home/peter/Desktop/syz/kernel/vmlinux",
        "image": "/home/peter/Desktop/syz/image/wheezy.img",
        "sshkey": "/home/peter/Desktop/syz/image/ssh/id_rsa",
        "syzkaller": "/home/peter/Desktop/syz/Go/gopath/src/github.com/google/syzkaller",
        "procs": 8,
        "type": "qemu",
        "vm": {
                "count": 4,
                "kernel": "/home/peter/Desktop/syz/kernel/arch/x86/boot/bzImage",
                "cpu": 2,
                "mem": 2048
        }
}

What I'm not sure is the `vmlinux', I don't know which vmlinux to use.

Run syz-manager with -debug flag. Then it will show what goes wrong.

Contact the mailing list with debug output if you still have any issues.

I ran into this same issue and the fix was to add the following line to the config
{
	"target": "linux/amd64",
...
	"vm": {
...
		"cmdline": "net.ifnames=0"
	}
}


pull request for e2e test at 12/08/2016 02:56:12

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Input and obs requirements

The problem
As a metric provider, I want to be able to define the datasets that my metrics require in a consistent manner, so that the metric is triggered when any of these datasets are added/modified/deleted/retracted.
These requirements will form the basis solving which metrics need to be calculated on an incoming dataset.
Some metrics will require operating on a single dataset while others will require multiple e.g. a multi-model mean.
We have to have some mechanism for handling both cases.
Observation data should follow a similar convention.
Filter by facets?
How freeform should this be? Do we need to be flexible to the availability of different facet i.e from CMIP7-FT and input4MIPs
Definition of "done"

[ ] Create some types to encapsulate the required info
[ ] Add these to the metric protocol

Additional context

@nocollier @lee1043 @bouweandela Am I being naive if I assume that the requirements for a given metric are reduced down to a set of filter operations using facets? It seems like a somewhat normal pattern although both ESMValTool and CMEC tend to use a pattern of explicit inclusion i.e. models are explicitly specified rather than globbing.
Since we can't really have a person in the loop, I think we need to rely on globbing and some early QA/QC by ESGF (might not happen in FT), then either failing to calculate or capture an erroneous result which might be obvious when compared to other input datasets, which is indicative that that input dataset isn't like the others. Failing is probably the better approach if something is obviously wrong. I think the decision to fail lies with the metric service.
I think we might also need a groupby field to determine how jobs are triggered.
Assuming that we had a big pandas dataframe containing metadata about each source dataset (pretty much an intake data catalog). This df would include the ESGF facets + some extra info not available via the ESGF API (branch times etc). For a given metric, the filters that is provides will be used to reduce this dataframe down to just the datasets that are applicable to it. Then this dataframe could be grouped the unique values in a set of columns. Each group would result in an execution of the metric.
Psuedo code might be more helpful compared to a wall of words...
def run_metric(df: pd.DataFrame):
    print(f"running with: {df}")

my_datasets: pd.DataFrame = get_available_datasets()

filters = [{
	    "variable_id": ["tas"]
		"experiment_id": ["historical"]
	},
	{
	    "keep": False,
		"model": "XYZ"
	}]

for filter in filters:
 	my_datasets = apply_filters(my_datasets, filter)

my_datasets.groupby(columns=["model", "variant_id"]).apply(run_metric)

The implementation might be slightly different as this may not scale to a large number of metrics and datasets, but is probably fine for a PoC and the mental model of the process.
This only references input datasets, dependencies between metrics will need to be described somehow, but a similar pattern could be used instead referring to dimensions in previous metric outputs instead of CMIP data.

@mikapfl FYI

It would be pretty easy to add some tooling to run a set of filters and groupby columns via the CLI to help figure out what metric executions would be performed

Another thing to discuss is whether we can treat observation datasets, metric calculations and CMIP data somewhat interchangeably. I'll whip up a quick MR that implements the data model for the above. It might then become more concrete then.

This looks like a good start, but sometimes more complicated filters are needed:

A filter to select a continuous temporal range, e.g. files should cover the period from 1850 until 2100 without any gaps.
A way to express the AND relationship in facet values, e.g. select only those models and ensemble members that provide both pr and tas

Am I being naive if I assume that the input data requirements for a given metric are reduced down to a set of filter operations using facets? It seems like a somewhat normal pattern although both ESMValTool and CMEC tend to use a pattern of explicit inclusion i.e. models are explicitly specified rather than globbing.

Explicitly including certain models has several advantages, it is

more reproducible
possible to select models that provide good enough quality data for the analysis

A way to express the AND relationship in facet values, e.g. select only those models and ensemble members that provide both pr and tas

Looking at #15, maybe this can be achieved by specifying multiple DataRequirements

Another popular and more compact way of specifying datasets is using the dataset_id, e.g. CMIP6.CMIP.NCAR.CESM2.historical.r4i1p1f1.Amon.tas.gn.v20190308 or obs4MIPs.NASA-JPL.TES.tro3.mon.v20110608

Another popular and more compact way of specifying datasets is using the dataset_id, e.g. CMIP6.CMIP.NCAR.CESM2.historical.r4i1p1f1.Amon.tas.gn.v20190308 or obs4MIPs.NASA-JPL.TES.tro3.mon.v20110608

I agree that explicitly specifying a set of dataset_ids is more reproducible, and easier to understand. The issue is that this isn't known at run time which is a fundamental difference between the REF and ESMValTool, particularly the versions in the above example. The REF somewhat inverts the ESMValTool logic which may result in some odd figures and outliers but that is also a result 😁

This is complicated, but I do think we need the flexibility. I'll pull together some tests including the cases you outlined so we can iterate on how we specify these requirements

Perhaps the flow is filter, groupby and then constrain? Filter to include/exclude datasets using metadata to reduce the size of the domain, group by to define the unique runs that should be performed, and then apply some constraints to a given group to check if it should be run.
These constraints could be extended as needed as checks need to be done and is composable to implement whatever logic is needed. The default position should be that the constraints are applied in order and all must be successful to execute a group.
The signature of the constrain function could be something like:
def apply_constraint(group_datasets: pd.DataFrame, data_catalog: pd.DataFrame) -> pd.DataFrame | None:
    """
    Apply a constraint on a group

    This can be used to select additional supplementary data from the data catalog,
    or validate that a group should be executed.

    Returns
    --------
    The potentially updated set of datasets for the group or None if the group should not be executed
    """

Technically I think you get get away with just grouping and constraining, but I'm guessing that we will need to do some filtering first so we don't need to verify 1000s of groups per metric. The prior filtering could be used to explicitly exclude models that are erroneous and updated over time.
Thoughts? Constraints might not be the right term since this kind of blends pass/fail tests and performing additional operations to the group.

Perhaps the flow is filter, groupby and then constrain?

This sounds good

Constraints might not be the right term

How about trigger? As this will decide whether or not the group should be run?

A filter to select a continuous temporal range, e.g. files should cover the period from 1850 until 2100 without any gaps.

The first one is a tough one and raises the question about how much of that logic should live in the compute engine and how much should we leave with the metric packages? Selecting the datasets might be part of the compute engine and ensuring the corresponding parent simulation is also available is likely the compute engine, but verifying if they are continuous might be a metric package thing?

Reading the data from the files should probably be left to the metrics packages to keep the system performant (though if you're going to read in the branch time from the files, you might as well read the start and end datetime too). However, the start and end datetime can currently be read from the filename and will probably be available as a facet value in the next generation ESGF and this can be used to check that the files form a continuous range. For example, we have code to do a simplified version of this in ESMValCore here. I think it is important that we have such a feature as not having it will result in many run failures that are 'false positives', e.g. because modelling groups are still uploading the files and only a part of the required timerange is available when the REF decides to start running things.

Say you want to run some metric for each ssp but also needed the historical period, you would want to include experiment_id in the groupby columns, but you actually need group by all the SSPs and include this other dataset.

Maybe this complication could be avoided by defining the experiment as ["historical", "ssp126"], ["historical", "ssp585"], etc? These would form distinct groups.

Another popular and more compact way of specifying datasets is using the dataset_id, e.g. CMIP6.CMIP.NCAR.CESM2.historical.r4i1p1f1.Amon.tas.gn.v20190308 or obs4MIPs.NASA-JPL.TES.tro3.mon.v20110608

I agree that explicitly specifying a set of dataset_ids is more reproducible, and easier to understand. The issue is that this isn't known at run time which is a fundamental difference between the REF and ESMValTool, particularly the versions in the above example. The REF somewhat inverts the ESMValTool logic which may result in some odd figures and outliers but that is also a result 😁

I meant that you could use this notation to define the filters in a more compact way, e.g. have a filter that selects "CMIP6.CMIP.*.*.historical.*.Amon.tas.*.*" or "CMIP6.{CMIP,ScenarioMIP}.*.*.{historical,ssp585}.*.Amon.tas.*.*", though that does leave more room for error, some support for selecting the 'latest' version would be needed, and I'm not sure how grouping would work.

Thinking about the 'latest' version: we would need some way after filtering and grouping to decide not to run something if it has already been run before (and to make sure that is was exactly the same run).

Are there any other types of filters that may be required in your experience?

These were the two cases that immediately came to mind, but there could be others

Constraints might not be the right term

How about trigger? As this will decide whether or not the group should be run?

Thinking about this some more: typically a metric requires one or more datasets (i.e. groups of files) to run. To compose these groups of datasets, we could follow this procedure:

filter files (e.g. provides variable tas, pr, or 'areacella')
group files into datasets (e.g. by variable, model, ensemble member, grid, experiment)
filter datasets (e.g. covers expected timerange, discard datasets with experiment other than 'historical', 'ssp126', or 'ssp585' if variable is not 'areacella')
group the datasets (e.g. all facets the same except variable and experiment if variable is 'tas' or 'pr', each group should contain a single 'areacella' dataset whose facets match closest with the other datasets in the group)
filter these groups of datasets (e.g. each group provides an 'areacella' dataset and provides both tas and pr for both the historical experiment and one other experiment and the other experiment is identical for tas and pr)
run the metric for each group of datasets

Thinking about the 'latest' version: we may need some way after filtering and grouping to decide not to run something if it has already been run before (and to make sure that is was exactly the same run). Or can this issue avoided by listening to the message queue instead of scanning the filesystem? If yes, then how would that work for modelling groups running the tool outside of ESGF?

I think we can ignore that for now. Step one is figuring out what needs to be solved. Afterwards we check each MetricDataset against the database of previous runs to determine if it needs to be run.
My initial thoughts were hash the dataset_ids (I thought they were called instance_id in output files) as an easy check. There will be a many-to-many table of that links the datasets to a given run as well

(though if you're going to read in the branch time from the files, you might as well read the start and end datetime too)

start/end times for CMIP6 files are currently read into the database when a dataset/directory is ingested. Facets tracked are here: https://github.com/CMIP-REF/cmip-ref/blob/42d93cb0d0da361a99f9eeb04cea3e14f2522dba/packages/ref/src/ref/datasets/cmip6.py#L32

AnalysisDataset and MetricDataset so that might require some tweaks still. What is the reasoning for making them separate?

Making the distinction might make it easier to reason about them in the filtering/grouping. In ESMValCore we have a esmvalcore.dataset.Dataset object (used in these example notebooks) that we use to build the list of datasets that go into a single analysis. The esmvalcore.dataset.Dataset is similar to the AnalysisDataset I introduced here and the list of these datasets that go into a single analysis would be a MetricDataset. But maybe it's fine to just merge the AnalysisDataset and MetricDataset into a single concept, we can see as we start to implement some analyses.

There will also be some required functionality related to a MetricDataset such as being able to hash the datasets and generate a unique slug for the run. Passing around an object will make it more descriptive compared to a naked DataFrame.


Set minimum size for "Version Control" diff bottom panel

Allows to see working tree diffs without having to expand the bottom panel manually.
Before

After

The minimum size is the same as in shader editor plugin.
Should be cherry-pickable to 3.x.
Useful for goostengine/goost#98, but not required. Yet it would be best that this is fixed in Godot as well, since Godot provides official GDNative Git plugin.

This PR is generously donated by Goost.

Thanks!

Cherry-picked for 3.4.


ISPN-12075 Remove alternative http clients from the testsuite

https://issues.redhat.com/browse/ISPN-12075

Need to fix a few ThreadLeakChecker

@pruivo ThreadLeakChecks should be fixed now

@gustavonalle one more to fix :)
Leaked thread: OkHttp Dispatcher << testng-RestEndpointRouterTest << main << UNKNOWN

Fixed @pruivo

CI is broken unfortunatelly

integrated! thanks @gustavonalle !


[Bug]: Add file mount in storage result "Undefined variable $fs_path"

Error Message and Logs

I got error "Undefined variable $fs_path" everytime I try to add a file amount to resource.
Steps to Reproduce

New Resource => Choose Postgresql
Go to Storages Tab => Click Add
In File Mount, input "/etc/postgresql/postgresql.conf" as path with content "shared_preload_libraries = 'pg_stat_statements'  # Enable extensions"
Click Add and got error Undefined variable $fs_path

Example Repository URL
No response
Coolify Version
v4.0.0-beta.379
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu 22.04.5 LTS
Additional Information

I also got this error


WIP: Wrapped key support

This is an experimental approach to #23, using a POSIX shared memory object to persist the unwrapped private key. Currently, only the RageLib backend supports wrapped keys -- all others return an error if decryption with a wrapped key is requested.
Notes:

Needs create_wrapped_keypair for trait Backend, so that the default can be changed to a wrapped key
Needs kbs2 unlock and kbs2 lock to expose the master authentication/session expiry steps
Maybe: A fallback from failure to access a pinentry-compatible interface for the password prompt
Maybe: kbs2 wrap to automate the process of wrapping an already present key

Closes #23.

N.B.: Key unwrapping with debug builds seems to have the same pathological performance problems as seen with other age crate operations.


[Enhancement] Allow user to define OPENSEARCH_SD_NOTIFY without hardcoding it to rpm/deb build

Follow up from #2043 to build bundled RPM from tarball:
OPENSEARCH_SD_NOTIFY does not notify systemctl if the core is built for tar.
This only runs if the core is built for rpm and deb.
https://github.com/opensearch-project/OpenSearch/blob/37ac3788a3937ed415039edb2671da08e6450ed5/modules/systemd/src/main/java/org/opensearch/systemd/SystemdPlugin.java#L80-L84
@dblock any insight on this one?
Thanks.

I think the solution is to natively support an RPM/DEB distribution type in OpenSearch, and not build the RPM package based on the tar distribution.

I see
https://github.com/opensearch-project/OpenSearch/blob/37ac3788a3937ed415039edb2671da08e6450ed5/modules/systemd/src/main/java/org/opensearch/systemd/SystemdPlugin.java#L75
that seems to natively support DEB/RPM?

Remember we are building a tar artifact then use the tar artifact to build deb/rpm with a different toolset.
We are not directly using the existing deb/rpm build in core.
Thanks.
a

Remember we are building a tar artifact then use the tar artifact to build deb/rpm with a different toolset. We are not directly using the existing deb/rpm build in core.

Why?

Because the default rpm generation does not include all plugins.

Ok, what's the right fix that gets rid of all the hacks?

Use rpm to produce core but not package it in build workflow, send the output to assemble workflow to install all plugins then package into a rpm with rpmbuild.


Customize User Agent for Monitoring

The HTTP Header User Agent can be used to "identify the application, operating system, vendor, and/or version of the requesting user agent". See further documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/User-Agent
We should make use of that by setting the HTTP header of requests made by the EQ Python Client to eq-python-client/0.13.1 (for the current version).
This helps us monitor requests and identify those made through the python client.

It's already in there:
https://github.com/energyquantified/eq-python-client/blob/master/energyquantified/http/session.py#L13
https://github.com/energyquantified/eq-python-client/blob/master/energyquantified/http/session.py#L50
However, we could change the format to better reflect the <product>/<version> scheme.


Add DispatcherTimer As controler in toolbox

Issue Type

[ ] Bug Report
[ ] Feature Request
[ ] Sample request
[ ] Documentation issue or request
[ ] Other – Please describe:
UserVoice link

Current Behavior

Expected Behavior

Steps to Reproduce (for bugs)

Your Environment

SDK #:
Operating System build # :
Visual Studio Version # :

Hi @khoshroomahdi - Thanks for the feedback. This repo is more commonly used for questions and issues relating to developing Windows UI/using Windows.UI.Composition APIs. For UWP platform/toolbox feature requests please create a uservoice entry here instead so your feedback can be tracked for future updates. When creating the entry, please provide more details on the experience you are trying to accomplish so we can triage appropriately and other users can upvote if they feel the feature is also relevant to their needs.


What does the sleep button do?

I know that the sleep button puts your computer in S{1..3}, but which one?

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

ID: 9e17d9b3-9e6b-df00-e249-38a0cd5e1099
Version Independent ID: 83d9bce2-8b16-812f-d587-61527d4eba50
Content: System Sleeping States - Windows drivers
Content Source: windows-driver-docs-pr/kernel/system-sleeping-states.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

@tedhudek .  We can't give real answer without  practical knowledge.  I knew that some desktop motherboards have sleep button policies are enabled like S1 or S2 or S3 or S4.
Without testing in all modes, real solution is not possible.
Keep waiting for experienced users replies.

Okay.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Thursday, May 21, 2020 8:04 AM, VARADHARAJAN K<EMAIL_ADDRESS>wrote:

@tedhudek . We can't give real answer without practical knowledge. I knew that some desktop motherboards have sleep button policies are enabled like S1 or S2 or S3 or S4.
Without testing in all modes, real solution is not possible.
Keep waiting for experienced users replies.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for the question.
Typically the answer is S3.  I've just added some detail to https://docs.microsoft.com/en-us/windows-hardware/drivers/kernel/system-sleeping-states that should be live in a few minutes. You'll also see a link to the commit above if you want to see what changed.
Hope this helps!


(TBD) Provides a '--stream' option for streaming output

Adds a stream transport option for streaming output that's implemented
on SSH and WinRM. Augments logging to include target name, and when
stream is enabled outputs stdout and stderr from executing commands to
a special stream log level (that can be used to direct it to a
specific file).
Fxes #102.

This is proposal for how we could address https://github.com/puppetlabs/bolt/issues/102.

I haven't looked into what could be done for the local transport. PCP would require changes to Orchestrator/pxp-agent that are not currently planned.

CLA signed by all contributors.

TODO:

update the Docker transport
investigate whether we can stream Local transport
don't repeat yourself (Bolt output)

There was some offline discussion about whether this is best solved with a special flag, reorganizing the verbosity levels or if we have to create a new format. As written this just bumps the log level of a certain class of debug messages to always print.

It double prints output first streaming to stderr then normally to stdout.
It doesn't work well with plans or other places where you may want some actions to be verbose and others quieter.

The user story here seems like:
I'm doing something with a long running task and script and I want to make sure bolt isn't just frozen
Is this really better than passing --debug? Should we just move the "stream" output to a higher level so it prints with --verbose? Is it a big problem for the story that this double prints?

Closing this since it's not moving forward. The ticket remains open

I am not sure the best way to verbalize why one way is better than another to solve this but I can say that again today I found it very disconcerting to not be able to just watch the live output of what was being done by bolt. I think the idea of moving streaming to the --verbose level could make good sense here.


WIP: feat(ConfigReader): Switch cwd to config file dir

Switch the current working directory to the directory where the config file (stryker.conf.js) is located. That way, relative paths are always resolved from that directory, which is what you would expect to happen.
Fixes #245

I liked the BetterCodeHub fail. It pointed out that the code was too complex. Thats because i'm a complex guy. Nevertheless, fixed it.

@simondel do you thing we should change the current working directory? Maybe its better to support a baseDir option in StrykerOptions and always work with that to resolve paths. Maybe changing the cwd can lead to strange behavior. For example, maybe the node_modules cannot be resolved anymore.
What do you think?

See #245 for the reason why we do not merge this now


Adds options for wms link and layer names

Summary:
Adds command line option for custom wms link and wms layer names.
Related issue:
closes #243
Suggested reviewer(s):
@mortenwh @johtoblan
Reviewer checklist:

[x] The headers of all files contain a reference to the repository license (i.e., "License: This file is part of py-mmd-tools, licensed under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0)")
[x] 100% test coverage of new code - meaning:

[x] The overall test coverage increased or remained the same as before
[x] Every function is accompanied with a test suite
[x] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[x] Functions with optional arguments have separate tests for all options

[x] Examples are supported by doctests
[x] All tests are passing
[x] All names (e.g., files, classes, functions, variables) are explicit
[x] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see https://s-enda-documentation.readthedocs.io/en/latest/general_conventions.html). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

https://docs.python-guide.org/writing/gotchas/
ons. 19. apr. 2023, 15:24 skrev Trygve Aspenes @.***>:

@.**** commented on this pull request.
In py_mmd_tools/nc_to_mmd.py
https://github.com/metno/py-mmd-tools/pull/250#discussion_r1171337133:

@@ -1365,7 +1365,9 @@ def to_mmd(self, collection=None, checksum_calculation=False, mmd_yaml=None,

     return req_ok, msg

def get_data_access_dict(self, ncin, add_wms_data_access=False, add_http_data_access=True):

def get_data_access_dict(self, ncin, add_wms_data_access=False,

                        wms_link=None, wms_layer_names=[],

Why? This says exactly the same.
—
Reply to this email directly, view it on GitHub
https://github.com/metno/py-mmd-tools/pull/250#discussion_r1171337133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA2UBJZH7CNFSQPFRCAZZ3XB7RPFANCNFSM6AAAAAAXDXYKLU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Not rendering well when we have an array of objects with allOf

Describe the bug
When we have a definition of an object that is an array of items defined, in turn, with an allOf, it does not render well.
Expected behavior
Render as an expandable object to see its properties.
For example:

Current behavior
Renders without being able to expand:

Possible solution
There was a problem while rendering allOf that was fixed but it may need further fixing.
The definition of the object is like this:

And it may not be currently considered or parsed.
Your Environment

Plug-in version used: 2.1.3

Hi @JaimeOVasconcelos, I wasn't able to reproduce this issue. Are you still observing it using the latest canary release(s)?

Hi @sserrata ,
I am facing this issue as well, any possible solution so far?


Additional Step For Publishing

When you publish, you need to add these lines to Program.cs.
app.UseDefaultFiles();
app.UseStaticFiles();

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

ID: c924f1c1-823e-3e29-bf09-405fc4c6bbb8
Version Independent ID: 585c2426-5f9b-8499-8eda-0e56bd64c93c
Content: Create an ASP.NET Core app with Vue - Visual Studio (Windows)
Content Source: docs/javascript/tutorial-asp-net-core-with-vue.md
Product: visual-studio-windows
Technology: vs-javascript
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@klim09 Thanks! I am updating this doc with your suggestion.