Alternative p2p backend

Currently we have a more or less functional libp2p backend and an incomplete mock backend. The mock backend needs to be improved in order for it to be used outside of the tests:

https://github.com/mintlayer/mintlayer-core/issues/488
https://github.com/mintlayer/mintlayer-core/issues/510
https://github.com/mintlayer/mintlayer-core/issues/511
https://github.com/mintlayer/mintlayer-core/issues/512
https://github.com/mintlayer/mintlayer-core/issues/513
https://github.com/mintlayer/mintlayer-core/issues/514
https://github.com/mintlayer/mintlayer-core/issues/452
https://github.com/mintlayer/mintlayer-core/pull/571
https://github.com/mintlayer/mintlayer-core/pull/626

After that we can completely remove the libp2p backend.

The mock backend becomes the default backend, so this can be closed.


avers-server 0.0.4

While building lts-5.16. ping @wereHamster
Preprocessing library avers-server-0.0.4...
[1 of 3] Compiling Avers.Server.Instances ( src/Avers/Server/Instances.hs, dist/build/Avers/Server/Instances.o )

src/Avers/Server/Instances.hs:37:37:
    Not in scope: data constructor ‘WithRequest’
    Perhaps you meant variable ‘ifRequest’ (imported from Network.Wai)

src/Avers/Server/Instances.hs:38:51: Not in scope: ‘addCapture’

src/Avers/Server/Instances.hs:43:28:
    Not in scope: data constructor ‘FailFatal’

src/Avers/Server/Instances.hs:44:44:
    Not in scope: ‘parseQueryParam’

src/Avers/Server/Instances.hs:45:31:
    Not in scope: data constructor ‘FailFatal’

src/Avers/Server/Instances.hs:46:34:
    Not in scope: data constructor ‘Route’
    Perhaps you meant variable ‘route’ (imported from Servant.Server.Internal)

src/Avers/Server/Instances.hs:56:37:
    Not in scope: data constructor ‘WithRequest’
    Perhaps you meant variable ‘ifRequest’ (imported from Network.Wai)

src/Avers/Server/Instances.hs:57:51: Not in scope: ‘addCapture’

src/Avers/Server/Instances.hs:62:28:
    Not in scope: data constructor ‘FailFatal’

src/Avers/Server/Instances.hs:63:44:
    Not in scope: ‘parseQueryParam’

src/Avers/Server/Instances.hs:64:31:
    Not in scope: data constructor ‘FailFatal’

src/Avers/Server/Instances.hs:65:34:
    Not in scope: data constructor ‘Route’
    Perhaps you meant variable ‘route’ (imported from Servant.Server.Internal)

Did stackage switch to servant-0.7?

This is LTS which builds against servant 0.4.*. And no to your question :)

So: Either you can add support for servant 0.4.* again, or we can put an upper bound on avers-server in LTS 5.

I updated avers-server to be compatible with servant 0.6, so it works with nightly. Can we add an upper bound in LTS 5?

Thanks!
I already added the LTS upper bound.


Bug: Token not being pass to mini apps correctly.

This wasn't working properly due to a misconfigured client id at the time of making the repo public.


Add modularity example, tutorial, re-add readme test

Summary
Improves readme with a new code example using primitives and re-adds test for readme code examples.
Details and comments

This is a more general comment - I can see a tutorial using the blocks at different levels, I am just not convinced about this being the main sample on the readme. So why....
Well Nature takes some form of problem from the user and translates it to something that can be solved on quantum. Here you start with one of the drivers with a molecular spec, but as youe tutorial points out the problem can be built from different inputs, eg from a QCSchema from a third party code etc. Now the translation to something to be solved, in the app stacks also comes with some interpret to take the quantum result and "interpret" that to form the answer to the original problem given.
In the case you show the problem we solve on quantum using an estimator, but is only part of the original problem. What is computed is the electronic energy part only - this has confused people in the past when doing things more manually like this.
The getting started sample shows it using the GroundStateSolver - its results is interpreted since thats part of its workflow. The next level down, and people often do this, is just as here where you get the operators, but then they are passed into one of the algorithms Nature knows, that it would use in conjunction with a GroundStateSolver - say VQE. That gives the electronic ground state part but the result object from VQE can be used with the problem to interpret it and get the complete ground state energy etc. If you use your own custom algorithm, as it done, if you want the same answer you have to more do the interpret yourself and know more about whats going on.
And with the GroundStateSolver, and even with VQE if you pass all the operators from the problem other aspects like spin, dipole etc are computed which can help determine whether the state you got to was good as well. You can do that with the Estimator too of course but you end up needing to know/understand more to build the answer. Add transformers and it becomes more as these can extract other energies so what you are computing the min eigenvalue for is whatever part of the original problem remains.
I don't know whether one can show in your tutorial the GroundStateSolver way - or refer to it. Then perhaps used VQE and interpret the result, that to me would be the next level down. And finally go all the way to a custom algo. If you wanted the outcome interpreted you could show creating a mineigsolverresult from it (unless we wanted to find some way to have a mechanism to interpret just the estimated value passed in simply).
So for me the sample more shows the extent of the modularity we have where if you solve it your own way you have to deal with interpreting the result too. Its really to that end I am just not sure of having it so front and center. Maybe say it computes the electronic part and leave it at that , maybe add in the nuclear repulsion energy which can be obtained. Maybe like the getting started having some statement there about being able to use Nature at different levels of modularity and linking to the tutorial since that has a bunch of explanation around things. It is modular you can do all these things - but the finer grain you go the more work you do yourself that we already built out somewhere. Its a choice, you may get additional flexibility/capability doing this, for sure its usually more work and requires you to know more about what you are doing and whats going on.

Let's take the discussion offline, I will close this PR and open one with just the tutorial, and Max has added a new disclaimer for the tutorials section to help add context #1255.


Update kotest-assertions to 5.8.0

io.kotest:kotest-assertions-core [5.5.4 -> 5.8.0], we cannot update atm thanks to kotlin-jupyter: https://github.com/Kotlin/kotlin-jupyter/issues/452

Upgrading jupyter to <IP_ADDRESS> should unblock upgrading kotest-assertions now. https://github.com/Kotlin/kotlin-jupyter/issues/452 was fixed in https://github.com/Kotlin/kotlin-jupyter/commit/e6a2dc14b8565a6ba2c6ce17ee0b0eb378251481 which is tagged with that version.

Thanks, unfortunately, we're blocked from updating Jupyter thanks to https://github.com/Kotlin/dataframe/issues/700 :/


resurrect analyzer benchmarks

Add the following benchmarks to the devicelab:

flutter analyze --flutter-repo --benchmark
flutter analyze --flutter-repo --benchmark --watch
flutter analyze --benchmark (on mega gallery app)
flutter analyze --benchmark --watch (on mega gallery app)

@Hixie

LGTM modulo that I think doing the average (or maybe the worst time? but probably the average) would be more representative and that we should remove the cache before each run of the analyzis subprocess rather than before the run of four analyses.

<bikeshed>
There's an argument that taking the best time is most representative of what's actually measured by the benchmark, since includes everything that happens on every benchmark run, but excludes things that slow down the benchmark, but only happen some of the time (for example, caches not being warmed up or the machine it's running on having a bit more load than usual). To accurately measure worst-case, you want to make sure it happens on every run (by clearing caches, etc) rather than trusting to chance.
</bikeshed>

Taking the smallest time would entirely hide cases where the code takes substantially longer on first or second run (e.g. because the code has a bi-modal bug where on odd-numbered runs it runs a different code path than even-numbered runs).

We are actually intentionally clearing the .dartServer cache between runs, but also we're not interested in the absolute numbers, but rather regressions.

Yes, clearing the cache every time is good.
It's true that taking the minimum hides bi-modal bugs but I claim that's a feature. Any average will hide variation between test runs to some extent (that's kind of the point). For benchmarking, taking the minimum seems to do a better job of it, revealing regressions that affect every test run, which tend to be easier to work on.
Showing variation between runs is also useful for detecting some bugs and understanding noise added by the environment, but I think it's less confusing to plot it separately. If there's enough data, plotting the median, 90%, 99%, and so on would be better to show variation. Or in this case I think there are only three points, so maybe just plot all of them?
(But I don't think it's important to make a change now; just theorizing.)

@skybrian good points. Next time I get cycles to work on benchmarks, I'll see if I can come up with a more scalable system. Right now it's very simple, a chart card for every metric, which is great for maintenance, but doesn't scale well if we want to collect more numbers. That the only reason we limit the metrics we publish.

For some of the other benchmarks we actually plot the average and the worst time. The worst time is (obviously) very noisy, but it is still a useful metric to track, and has shown regressions. It's also useful to see the actual worst case variance (e.g. complex_layout_scroll_perf_ios__timeline_summary worst_frame_build_time_millis shows we regularly have 2x worst-case times than normal).


⚠ Bofrost.de has degraded performance

In 7b9c4ab, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 981 ms

Resolved: Bofrost.de performance has improved in 66da1a4.


Suspected memory leak/mismanagement

Enabling this plugin makes my Obsidian instance go from <500MiB of memory allocated, to over 20GiB in short order, even without opening any sheets pages.
NixOS/Linux. No other plugin I use behaves this way, and all are functional. This may also be related to the other issues I see for mobile stability, as they are memory constrained environments.

same problem +1

same problem, Window

The memory usage increased quickly, continuously.


Initial commit for space-opera and editing-adapter packages

Closing this, in favor of the new PR which incorporates the new 3DOM (itself in progress). https://github.com/google/model-viewer/pull/1341


add LICENSE_CONCLUDED_EXTRACTED_TEXT to SBOM license-refs

Looking over the license_concluded data, and associated OpenLCS code, it appears that licenses added by OpenLCS are scancode licenses, not Fedora ones, so added a reference to that for all licenseRefs from license_concluded field.

@RedHatProductSecurity/corgi-devs please review


test: Handle postgres states being skipped

The postgres appliance drains the service discovery channel before applying config to ensure it is always acting on current data, which means that some expected states may not happen (e.g. if a new async is started and another goes down, the state is not guaranteed to transition via a state with both asyncs present).
The tests have been updated to check that received states are expected and in-order, but some expected states can be skipped.

LGTM


Make Run target and VS F5 work for test projects

In dotnet/runtime we are currently setting the following properties to make F5 work:
https://github.com/dotnet/runtime/blob/21e8298bfdeb833bdcd000ff2cf90a765c05a02a/eng/testing/xunit/xunit.targets#L7-L15
I feel like this shouldn't be needed to be set by individual consumers and should come via the Microsoft.Net.Test.Sdk package. Ideally the --settings switch wouldn't be required to be set: https://github.com/microsoft/vstest/issues/2418.
cc @tmat @nohwnd @ManishJayaswal

What is in the runsettings that is specifically allowing this to work? We recently added the ability to add settings on project level for dotnet test #2272 remember? 🙂
The actual execution is not as simple, to run a test you need vstest.console and testhost. Test host is quite easy to bundle with the project to make it self-host, but adding vstest console is a bit more difficult, and seems unnecessary.

What is in the runsettings that is specifically allowing this to work?

Nothing, you can ignore the runsettings argument for the sake of this issue.

We recently added the ability to add settings on project level for dotnet test #2272 remember? 🙂

Right, in this case I was talking about invoking a test assembly from dotnet test which currently doesn't auto discover a .runsettings file in the same directory: https://github.com/microsoft/vstest/issues/2418.

The actual execution is not as simple, to run a test you need vstest.console and testhost. Test host is quite easy to bundle with the project to make it self-host, but adding vstest console is a bit more difficult, and seems unnecessary.

Run and VS F5 use the RunCommand, RunArguments and RunWorkingDirectory properties to configure what is being invoked: https://github.com/dotnet/sdk/blob/beb0a88f74e641d585a31b217e04eb75bcc5eb9b/src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.targets#L706-L758
My ask is that the Microsoft.Net.Test.Sdk nuget package overwrites these properties (and I'm willing to submit a PR to make that work 😀):
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp'">
    <!-- No need to overwrite RunCommand as it already points to dotnet. -->
    <RunArguments>test $(TargetPath)</RunArguments>
  </PropertyGroup>

  <PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETFramework'">
    <RunCommand>$(DevEnvDir)Extensions\TestPlatform\vstest.console.exe</RunCommand>
    <RunArguments>$(TargetPath)</RunArguments>
  </PropertyGroup>

TargetPath points to the compiled assembly, ie bin\Debug\net5.0\testapp.dll
DevEnvDir points to the Visual Studio's installation folder where vstest.console.exe resides in. As F5 means running inside VS, I think we can safely assume that the variable is set. Otherwise I would throw an error saying that the DevEnvDir environment variable needs to be set.

This will make F5 and /t:Run work with test apps but to successfully debug the application (meaning the module is loaded and breakpoints hit), these additional steps need to be done: https://github.com/dotnet/runtime/blob/master/docs/workflow/testing/visualstudio.md#visual-studio-f5-debugging-support. I suggest to document them officially as I only stumbled upon that info via Twitter :D

Submitted a PR to better to better illustrate the proposal: https://github.com/microsoft/vstest/pull/2428.

Would this interfere with test frameworks that treat the test project as a runnable console app already? Those are naturally F5-debuggable.

Which ones of the supported test frameworks are runnable by default?

Fixie (full disclosure, this is my pet project). Letting the test project be truly a runnable console app solved a lot of the problems introduced when .NET Core arrived and AppDomains disappeared.
More to the point for the larger community, I've seen past tweets from the xUnit team that they were at least considering this model for xUnit v3 which is actively under development.

This won't be done for the current test platform, overriding more user settings is something we don't want to do now.


Cannot Install Extensions

Describe the bug
So, i recently stumbled upon this Software of yours and I see where you are going with this. One problem though, i cannot seem to install Extentions from the Chrome Store
To Reproduce
Steps to reproduce the behavior:

Go to The Chrome Store
Click on any Extension
See error by looking at the Button that says Available For Chrome

Expected behavior
What should happen is the extention should install into the browser
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS/Platform and version: Windows 10 1909
ungoogled-chromium version: Chromium 80

Additional context
If this is not gonna be fixed then may I suggest a Alternative to make a Website that contains Extensions that you can download as a file and install it manually into the browser.

Hello,
this is a wanted behavior, but you can install an extension to directly install Extensions via Chrome Store.
Since the update URL doesn't get interpreted by Ungoogle Chromium . Please look at the FAQ: https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq#will-extensions-auto-update
You still can get this work with this addon, mentioned in the FAQ: https://github.com/NeverDecaf/chromium-web-store

Ahh interesting, I might consider using this Browser. I hope its still alive and kicking.

Duplicate of https://github.com/ungoogled-software/ungoogled-chromium-windows/issues/23. The workaround is to use the Chromium Web Store extension, but it doesn't work right now because CRX installation is broken (as indicated by the linked issue).

The workaround for now is to unpack the CRX file and load it as an unpacked extension in chrome://extensions

The workaround for now is to unpack the CRX file and load it as an unpacked extension in chrome://extensions

still doens't work, I've managed to install the web store, but I cannot install any extensions from the store itself, the extension never install, it's infinitely loading.


PyTorch Auto Differentiation

Where is the implementation of PyTorch auto differentiation ?
Hi, thanks for sharing the code. I checked the code of gauss_newton_solve in icputils.py but didn't found you using auto differentiation to implement LM solver.
Thank you!

@JeffreyYH I'm confused about the issue.
Do you mean that we don't have an explicitly implemented backward pass for ICP? That is intended, as we build each of our modules with PyTorch ops that are inturn differentiable (and thus we don't need an explicit backward method).

Thank you!


Can monthly data be used?

When using PySplit, I noticed the following description in the generate_bulktraj function:
meteo_bookends : tuple of lists of ints
Default ([4, 5], [1]).  To calculate a month of trajectories, files
from the previous and month must be included.  The default is optimized
for weekly meteorology and indicates that weeks 4 and 5 from the
previous month and the first week of the next month must be included
to run the entire current month of trajectories.  The user is
responsible for making sure the correct bookends for their trajectory
length and meteorology file periods are provided.
So I want to know if it's necessary to import weekly data in order to generate trajectories? Because I plan to use ERA5 data and convert it to ARL format, so I'd like to know if monthly data can be used instead?

I have resolved this question, thank you

I have resolved this question, thank you
Hi, Han, May I ask how did you solve this question, and how did you use ERA5 data to run the Pysplit? Hope for your reply, thanks.

Hello, xli
Did you have converted monthly data from ERA5 to ARL format?
If the ARL file have been created, you need to change the name of the file to a specific format, like gdas1_aug21.m1. The most important point in the file name format is the date ("aug21" in this example) and "m1".
Now you got several files (named  gdas1_aug21.m1  gdas1_sep21.m1  gdas1_oct21.m1 ), then change the parameters in function generate_bulktraj from the Default ([4, 5], [1])  to ([1],[1]), and now run your program that generates trajectories based on Pysplit and the monthly data you generate will be read correctly.
 Default ([4, 5], [1]) indicating ([last month week4,last month week5],[current month week1])
Now ([1],[1]) indicating ([last month1],[current month1])
good luck
------------------ 原始邮件 ------------------
发件人:                                                                                "mscross/pysplit"                                                                                @.>;
发送时间: 2024年3月14日(星期四) 晚上10:50
@.>;
<EMAIL_ADDRESS>主题: Re: [mscross/pysplit] Can monthly data be used? (Issue #100)
I have resolved this question, thank you
Hi, Han, May I ask how did you solve this question, and how did you use ERA5 data to run the Pysplit? Hope for your reply, thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, xli
Did you have converted monthly data from ERA5 to ARL format?
If the ARL file have been created, you need to change the name of the file to a specific format, like gdas1_aug21.m1. The most important point in the file name format is the date ("aug21" in this example) and "m1".
Now you got several files (named  gdas1_aug21.m1  gdas1_sep21.m1  gdas1_oct21.m1 ), then change the parameters in function generate_bulktraj from the Default ([4, 5], [1])  to ([1],[1]), and now run your program that generates trajectories based on Pysplit and the monthly data you generate will be read correctly.
 Default ([4, 5], [1]) indicating ([last month week4,last month week5],[current month week1])
Now ([1],[1]) indicating ([last month1],[current month1])
good luck
------------------ 原始邮件 ------------------
发件人:                                                                                "mscross/pysplit"                                                                                @.>;
发送时间: 2024年3月14日(星期四) 晚上10:50
@.>;
<EMAIL_ADDRESS>主题: Re: [mscross/pysplit] Can monthly data be used? (Issue #100)
I have resolved this question, thank you
Hi, Han, May I ask how did you solve this question, and how did you use ERA5 data to run the Pysplit? Hope for your reply, thanks.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

@xli3111 There seems to be some error in the font format of the email, here is the full answer:
Hello, xli
Did you have converted monthly data from ERA5 to ARL format?
If the ARL file have been created, you need to change the name of the file to a specific format, like gdas1_aug21.m1. The most important point in the file name format is the date ("aug21" in this example) and "m1".
Now you got several files (named  gdas1_aug21.m1  gdas1_sep21.m1  gdas1_oct21.m1 ), then change the parameters in function generate_bulktraj from the Default ([4, 5], [1])  to ([1],[1]), and now run your program that generates trajectories based on Pysplit and the monthly data you generate will be read correctly.
Default ([4, 5], [1]) indicating ([last month week4,last month week5],[current month week1])
Now ([1],[1]) indicating ([last month1],[current month1])

@xli3111
I haven't had that problem. I have downloaded and successfully run both the 3-hour interval and the 6-hour interval data. The whole downloading, processing, and running process is very complicated, so I don't know where you are going, and which step may be the problem. Please provide me with your email address and I can provide you with my data download script so that you can visually observe the data structure. Now my time here is 00:50, so I should reply to your email tomorrow.

@xli3111 I haven't had that problem. I have downloaded and successfully run both the 3-hour interval and the 6-hour interval data. The whole downloading, processing, and running process is very complicated, so I don't know where you are going, and which step may be the problem. Please provide me with your email address and I can provide you with my data download script so that you can visually observe the data structure. Now my time here is 00:50, so I should reply to your email tomorrow.

Thank you very much again, my email address is<EMAIL_ADDRESS>


Update GameVersion & WeaponHash enum

The new dlc cars disappear about in 5 sec, so I won't add their hashes for now.

According to this post, the new dlc cars disappear automatically due to shop_conroller, but if it gets stopped, all shops will be disabled, such as Ammu-Nation and clothing stores. http://gtaforums.com/topic/788343-script-hook-v/?p=1068611840


Query builder support for projection operators in MongoDB 2.6

See: http://docs.mongodb.org/manual/reference/operator/projection/meta/ and http://stackoverflow.com/questions/22974687/distance-returns-null-for-mongodb-2-6/22978174#comment35090336_22975273 for additional context.
Syntax for including a meta field in a query projection is:
{ <projectedFieldName>: { $meta: <metaDataKeyword> } }

Currently, only textScore is documented, but additional meta operators include: geoNearDistance, geoNearPoint, diskloc, and indexKey.

I believe this was a dupe of #152 and #162 and was resolved by #184. Thanks, @alcaeus.


feat(parameter-order): add new 'parameter-order' rule

PR summary
This commit introduces the new spectral-style
'parameter-order' rule, which replaces the legacy
'parameter_order' rule.
PR Checklist
General checklist
Please make sure that your PR fulfills the following requirements:

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

Checklist for adding a new validation rule:

[x] Added new validation rule definition (packages/ruleset/src/rules/*.js, index.js)
[x] If necessary, added new validation rule implementation (packages/ruleset/src/functions/*.js, updated index.js)
[x] Added new rule to default configuration (packages/ruleset/src/ibm-oas.js)
[x] Added tests for new rule (packages/ruleset/test/*.test.js)
[x] Added docs for new rule (docs/ibm-cloud-rules.md)

Checklist for removing an old validation rule:

[x] Removed old rule implementation (packages/validator/src/plugins/validation/*.js)
[x] Removed or adjusted testcases (packages/validator/test)
[x] Updated default configuration to deprecate old rule (packages/validator/src/.defaultsForValidator.js)
[x] Removed docs of old rule (docs/ibm-legacy-rules.md)

:tada: This PR is included in version 0.16.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.67.0 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Add alcoholic-ingredients-relief manual

As requested via zendesk 1
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠

Followed similar PR from the past https://github.com/alphagov/hmrc-manuals-api/pull/754


WebsiteAgent Extraction Problem accessing sub path data

I have been working on a problem for several weeks and could use some help.
I am using a WebsiteAgent to scrape data from Redmine to get our "In Progress" issues.
The problem is extracting the Custom Fields data in the "issue.custom_field" path.

below is a sample of an issue that is returned.
{
  "issue": {
    "id": 9107,
    "project": {
      "id": 180,
      "name": "Inbox"
    },
    "status": {
      "id": 2,
      "name": "In Progress"
    },
    "priority": {
      "id": 2,
      "name": "Normal"
    },
    "subject": "Revolutionizing Communication Through Video - Ziggeo - Ziggeo",
    "custom_fields": [
      {
        "id": 9,
        "name": "Website",
        "value": ""
      },
      {
        "id": 19,
        "name": "Links",
        "value": ""
      },
      {
        "id": 21,
        "name": "Chat Link",
        "value": "[Chat Room](http://zion.leadgenilluminati.com:8065/chat/channels/%id%)"
      }
    ],
    "created_on": "2020-06-15T16:36:55Z",
    "updated_on": "2020-06-16T13:18:29Z"
  }
}

I've tried sending this data to another Website Agent using the below payload but not able to extract the "custom fields" data successfully.
{
  "expected_update_period_in_days": "2",
  "data_from_event": "{{ issue.custom_fields | json }}",
  "type": "json",
  "mode": "all",
  "extract": {
    "id": {
      "path": "issue.custom_fields[*].id"
    }
  }
}

Through research, I have tried the following values for "data_from_event"
  "data_from_event": "{{ issue.custom_fields | replace: '=>', ':' }}",
  "data_from_event": "{{ issue.custom_fields | json }}",

Can anyone offer advice on how to extract these sub-paths into addressable values?

Hi!
I would suggest to either use the template feature of the WebsiteAgent (use that on the Agent that receives the data from the API) or a EventFormattingAgent like this:
{
  "instructions": {
    "issue_ids": "{{ issue.custom_fields | map: \"id\" | as_object }}"
  },
  "matchers": [],
  "mode": "merge"
}

@dsander Thanks a million for your suggestion.  The template option was not as clear for me so I tested with the Event Formatting option and got the following results which is closer to what I'm trying to do.
"issue_ids": [
      9,
      19,
      21
    ]

However, in my example, I was trying to simplify and did not mention the other fields name & value in the object with the ID field.
How would you recommend using the MAP: for those fields as well?
I looked at the Liquid Template Map documentation and did not see any reference to using multiple fields.
I also tried this without success.
{{ issue.custom_fields | map: \"id\" \"name\" | as_object }}
What would be perfect is if I could get it in a format that I could address it as {{ Website }} which is the value of Name and the results would be the value of the value field.
So I guess that would be in the format;
Website:domain.com
Just to clarify that is;
(Name):(Value)
The ID in this case really is not very useful data.

A map functional generally transforms an object or a hash (same thing different name) into an array. Liquid is generally designed as a templating language that outputs text, we are kind of abusing it to transform data structures.
How do you expect the final output to look? Generating a string/text from all those custom_fields combine is pretty easy, getting an array of name:value combination might require a JavaScriptAgent

I made a condensed version of the JSON to explain what I'm trying to do;
{
  "issue": {
    "id": 1234,
    "subject": "This is a Task",
    "custom_fields": [
      {
        "id": 9,
        "name": "Website",
        "value": "www.mydomain.com"
      }
}

I can already access the normal fields {{ issue.id }} and {{ issue.subject }} to pass the data to the downstream agents, but I do not know how to access the custom fields.
In this example, I would like to be able to transform the custom_field called Website into {{ issue.Website }} and the data would be "www.mydomain.com".
Does that make sense?

Gotcha, this should work in a EventFormattingAgent:
{
  "instructions": {
    "website": "{% assign website = issue.custom_fields | | where: \"name\", \"Website\" | first %}{{website.value}}"
  },
  "mode": "merge"
}

I don't think it is possible to merge the website into the issue object though.

Ok, I'll try it.  So basically it would be addressable as {{Website}} right?.  That should work.
I'll report back.
Thanks again for all your help!

Almost, {{website}}, pretty sure capitalization matters.

@dsander

Almost, {{website}}, pretty sure capitalization matters.

Yes, sorry I was getting my references mixed up.
I have tested this and was not able to get it to work.
The value is coming up blank.
Any suggestions?

Without any additional information? No


get rid of jekyll-scholar?

What does jekyll-scholar actually do? Can we get rid of it?

It was for the publications page before we switched over to bibbase. We can get rid of it


Add dashboard button to header

Notes form @Mik-TF on the implementation so far:

Added the theme folder to be able to adjust things. The theme folder is usually created by default in the backend using mdbook build. I just initialize it and updated to add the dashboard icon top right. (mdbook init --theme). So the theme is the default theme.
Added a dashboard icon at the header, so user can go to the dashboard.grid.tf quickly

I did a bit of reading: https://rust-lang.github.io/mdBook/format/theme/index.html
Seems that adding some customizations under theme/ is a normal mdbook pattern, but they suggest to only include the files that are actually changed.
Here's a version with the minimal changes: https://github.com/threefoldtech/info_grid/tree/development_dashboard_icon2
Using this approach means we remain eligible for most updates coming downstream to the theme, with just the one file becoming static.

Done when #460 is merged


clock: add stub file

Leap is currently first in config.json order, clock is second.  So this is still rather verbose although a little different than leap.

I like it.


Error: Redirected when going from "/auth/verify?code=" is seen while logging in with Azure AD auth provider

Setup

Rancher version: v2.6-head 79a5328
Browser type & version: Chrome

Describe the bug
While logging as an azure AD auth provider user, errors are seen in the console logs
To Reproduce

Install rancher server on v2.6-head
Enable Azure AD auth provider
Log out from the rancher server
Open network tab and console logs
Login as either the admin user with which azure AD was enabled or a standard user
Observe the console logs while logging in

Result
Error seen in the console logs:
client.js:637 Error: Redirected when going from "/auth/verify?code=0.ARcAU29LVvTrw0OAd0TFakSZClajzBgOF9lLpKQuNJhV-WsXAF0.AgABAAIAAAD--DLA3VO7QrddgJg7WevrAgDs_wQA9P-7Bu2gX9XU2ANlkPtnSIGjga_VE2WCATcLwjcAZScFbGPluRtGRJZ-FvouOACcj6tQOvo0SUBSLHFJh_pnSS9OsAQfq268GWHxGXGv88DfEDMYfpQd1CZvqxohZLqT3JIRJbyNOavVvQKAimHIPqmR4UZaUo3NalaB401AoVRokIk-sAWPLZlx7hWSO1fKgSQi0a662iSbW3P11TL-ckfsB0dzmBM6GAffcXV-ltjQOWnu9N3CnfTKq3cxIX1AXGzohNYgC240bybhJMkxPF6RuhhLDxL4agMFUBOiKxh_uRNlPoA2yyXiG9v0hK6FxoFchHplxZFlJh-Fy2DZFGRCybQZ-MwbOOHD88I99rJo72lTvlvKSKKfCdsYqIRe-_Zfdg3EJAxtVBsB4LUSgvSxQFsV1KMibheFw55KNqF2rgiWcK_MQvIQ00BZD3cUamtvSBB4FSnGpuat6LeV3P6bPo9U3-xfuBuO_YtQC47xt9iR7JtJBYwUCEKukv578Qsr5mrKQ38cHOYm3lbSN6ltmB468IVXMHzIwUjESkGvQz3YcvMvhjqhmh5bg6TTeD_lniR9qJ8h4FyjNDGuZ4YTqSdunyIwTJ9cX-5xPbPX9dvmpMn9ZWvJrto80_w&state=eyJub25jZSI6IkV3bU4ya013RHRYV1RVMm4iLCJ0byI6InZ1ZSIsInByb3ZpZGVyIjoiYXp1cmVhZCJ9&session_state=f63afaa5-b21d-4d32-a7af-60046eb67eec" to "/" via a navigation guard.
    at Pt (vue-router.esm.js:2065:15)
    at Rt (vue-router.esm.js:2024:10)
    at vue-router.esm.js:2376:17
    at Fn.f (client.js:240:5)
    at T.regeneratorRuntime.mark.regeneratorRuntime.wrap.e.context.e.context.redirect (utils.js:235:21)
    at middleware (index.vue:26:14)
    at N (utils.js:311:15)
    at j (utils.js:291:10)
    at utils.js:293:14

Expected Result
Expected no errors in the console logs
Additional context

tried this with openldap auth providers and not seeing the issue
Seeing the error on v2.6.8 rancher server as well.

@anupama2501 Other than the console error, is anything broken in the UI? or is the request here purely to remove the console message?

this is purely to remove the console message @nwmac


[SPARK-18364][YARN] Expose metrics for YarnShuffleService

What changes were proposed in this pull request?
This PR is follow-up of closed  https://github.com/apache/spark/pull/17401 which only ended due to of inactivity, but its still nice feature to have.
Given review by @jerryshao taken in consideration and edited:

@VisibleForTesting deleted because of dependency conflicts
removed unnecessary reflection for MetricsSystemImpl
added more available types for gauge

How was this patch tested?
Manual deploy of new yarn-shuffle jar into a Node Manager and verifying that the metrics appear in the Node Manager-standard location. This is JMX with an query endpoint running on hostname:port
Resulting metrics look like this:
curl -sk -XGET hostname:port |  grep -v '#' | grep 'shuffleService'
hadoop_nodemanager_openblockrequestlatencymillis_rate15{name="shuffleService",} 0.31428910657834713
hadoop_nodemanager_blocktransferratebytes_rate15{name="shuffleService",}<PHONE_NUMBER>653595
hadoop_nodemanager_blocktransferratebytes_ratemean{name="shuffleService",} 2464409.9678099006
hadoop_nodemanager_openblockrequestlatencymillis_rate1{name="shuffleService",} 1.2893844732240272
hadoop_nodemanager_registeredexecutorssize{name="shuffleService",} 2.0
hadoop_nodemanager_openblockrequestlatencymillis_ratemean{name="shuffleService",} 1.255574678369966
hadoop_nodemanager_openblockrequestlatencymillis_count{name="shuffleService",} 315.0
hadoop_nodemanager_openblockrequestlatencymillis_rate5{name="shuffleService",} 0.7661929192569739
hadoop_nodemanager_registerexecutorrequestlatencymillis_ratemean{name="shuffleService",} 0.0
hadoop_nodemanager_registerexecutorrequestlatencymillis_count{name="shuffleService",} 0.0
hadoop_nodemanager_registerexecutorrequestlatencymillis_rate1{name="shuffleService",} 0.0
hadoop_nodemanager_registerexecutorrequestlatencymillis_rate5{name="shuffleService",} 0.0
hadoop_nodemanager_blocktransferratebytes_count{name="shuffleService",} 6.18271213E8
hadoop_nodemanager_registerexecutorrequestlatencymillis_rate15{name="shuffleService",} 0.0
hadoop_nodemanager_blocktransferratebytes_rate5{name="shuffleService",} 1154114.4881816586
hadoop_nodemanager_blocktransferratebytes_rate1{name="shuffleService",}<PHONE_NUMBER>848988

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #96357 has started for PR 22485 at commit 6c96397.

Test build #96357 has finished for PR 22485 at commit 6c96397.

This patch fails to build.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class YarnShuffleServiceMetrics implements MetricsSource

Merged build finished. Test FAILed.

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

Sorry for not following through on getting this into Apache.
FWIW, it's been in the Palantir fork of Spark for over a year: https://github.com/palantir/spark/search?q=SPARK-18364&unscoped_q=SPARK-18364

@ash211  thanks for commenting, looks like you added https://github.com/palantir/spark/pull/236 on top of what is here. looks like it gets snapshot of the timer values to return some of the raw values and percentiles rather then just some rates, is that correct?

@tgravescs thanks for review, I made corrections for your notes and probably need some permissions to retest. Could you please test this PR again?

ok to test

Test build #96508 has started for PR 22485 at commit 764404a.

Test build #96508 has finished for PR 22485 at commit 764404a.

This patch fails Java style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

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

few minor nits that I missed in my first pass, otherwise looks good.

test this please

Test build #96516 has started for PR 22485 at commit 764404a.

Test build #96516 has finished for PR 22485 at commit 764404a.

This patch fails Java style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Merged build finished. Test FAILed.

Test build #96547 has finished for PR 22485 at commit 95856e9.

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

Merged build finished. Test PASSed.

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

Test build #96552 has started for PR 22485 at commit e259b6f.

Test build #96552 has finished for PR 22485 at commit e259b6f.

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

Merged build finished. Test PASSed.

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

merged to master, thanks @mareksimunek


Sharing parameters between models

I'm wondering whether there is a way to easily share/replace parameters of a model by another set of parameters.
For example, assume you have the following two models:
def _a(x):
            x = CNN(name='shared_encoder')(x)
            return hk.Linear(256,name='mlp_a')(x)

def _b(x):
            x = CNN(name='shared_encoder')(x)
            return hk.Linear(256,name='mlp_b')(x)

You then want to update mlp_a,mlp_b using their respective loss functions but share the encoder parameters between both. One way to do so is to filter out all shared_encoder parameters of b and replace them by the parameters of a, but this seems cumbersome and not straightforward.
Is there an easier way to go about solving this issue?

Hi @bmazoure , in this specific case you might consider having your transformed function compute and return both a and b:
def f(x):
  x = CNN(name='shared_encoder')(x)
  a = hk.Linear(256,name='mlp_a')(x)
  b = hk.Linear(256,name='mlp_a')(x)
  return a, b

f = hk.transform(f)

params = f.init(..)

def loss_fn(params, ..):
  a, b = f.apply(params, ..)
  a_loss = g(a, ..)
  b_loss = h(b, ..)
  return a_loss + b_loss

grad_fn = jax.jit(jax.grad(loss_fn))

grads = grad_fn(params, ..)

If you want separate apply functions for a and b then you can achieve that using hk.multi_transform.


value not known

HI there
I c/c'ed my terraform and simplified it for a client, and trying to terragrunt plan, I've a barren value not known. Can you give me a lead ?
~/work/client/terraform/production/aws/us-east-1/key_pair ᐅ terragrunt plan
[terragrunt] 2020/04/29 07:43:14 Reading Terragrunt config file at /home/remy/work/client/terraform/production/aws/us-east-1/key_pair/terragrunt.hcl
[terragrunt] 2020/04/29 07:43:14 value is not known
[terragrunt] 2020/04/29 07:43:14 Unable to determine underlying exit code, so Terragrunt will exit with error code 1

I've checked everything I could, everything seems valid. terragrunt version v0.23.12 & Terraform v0.12.24.

Ok, found the reason : the terragrunt.hcl included a
inputs = merge(
  yamldecode(file("${find_in_parent_folders("secrets.yaml")}")),
  yamldecode(file("${find_in_parent_folders("global.yaml")}")),
  yamldecode(file("${find_in_parent_folders("environment.yaml")}")),
  # yamldecode(file("${find_in_parent_folders("provider.yaml")}")),
  yamldecode(file("${find_in_parent_folders("region.yaml")}"))
)

The secrets.yaml file was empty of value, with just a --- : I didn't needed it for the simplified terraform for this client, but wanted to keep it there as a reminder that secrets should go there.
You might want to add a more explicit message ?

I believe this error message is coming from yamldecode. With that said, terragrunt should be outputing line numbers for it's error messages (which it currently isn't because we aren't using diag everywhere).
A PR to enhance that would be great, if not we will try to get to this when we have spare cycles.

Hi @rgarrigue,
I tried your example to reproduce the issue, but I didn't manage, I didn't get any errors. Looks like this has already been fixed. Therefore I am closing this question.


Fix android error handler

Summary
The Global error handler was misplaced causing issues on android

I'm going to merge this even with just one review as I don't want to cut the build and have issues with android because of this


the image is not downloading on the display even though, the address is right

Type: Feature Request
the image is not displaying on the website page ,even though the address is right
VS Code version: Code 1.81.1 (6c3e3dba23e8fadc360aed75ce363ba185c49794, 2023-08-09T22:33:49.930Z)
OS version: Windows_NT ia32 10.0.19045
Modes:

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.82.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/needsMoreInfo
And how this is is related to VS Code editor itself?
Please provide detailed description and steps to reproduce

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


:rocket:  Cloud Ops Bot to raise incidents using the SNOW API

User Story
As a Cloud Ops engineer
I want to use the Cloud Ops Bot to create incidents on SNOW (Service Now).
So that I can easily manage incidents and give visibility to SNOW users.
Value / Purpose
Using the new SNOW API we can use the Cloud Ops Bot to raise incidents in SNOW giving stakeholders greater visibility, other Slack teams across the MoJ may also which to adopt this process if proven successful.
Useful Contacts
Touhid
Gary
Additional Information
Definition of Done
Cloud Ops Bot can send requests to the SNOW API to create incident tickets.
[ ] README has been updated
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

This functionality is now complete. The latest push to the PR takes the entirety of the string following "@CloudOpsBot incident " and uses this as the short_description field in the ticket raised in Service Now. INC1651704 is an example of this. To complete this ticket we will review the work on Monday and then deploy via CloudPlatform.


B Tree

Submission Title
B-Tree
Submission Type
Data Structure
Submission Description
Implementation of BTree DS. BTree is a DS that supports operations in O(log N) time and all the leaves are at the same level. It is memory efficient.
Submission Directory
Main_Folder => Data_Structures => Tree => BTree.cpp
Contributors

[X]  C++ -
[ ]  C -
[ ]  Python -
[ ] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

I would like to take this issue up in Python.

I would like to work on this. Can you please assign it to me?

I would like to work on this on C++

hey! can i work on this in C

Can you please assign this to me in python

I would like to work on it in JAVA.Please assign me.

May I implement this in C++?

I would like to contribute to this by implementing Btree using C++.

Hi! I would like to do this in JavaScript. Can you please assign it to me? Thank You!

thanks everyone :v:


Recover app position state based on DLC state

          I had a brainstorming session with @luckysori and we've settled on:

removing PositionState from the app db.
deriving PositionState from the Order(local order on the app)
during startup, reconciling the Order state (simple heuristic: if you just started the app, and the order is filled but the position is still open, set the Order to failed.

The above will simply throw the ball back to the user. We can try to reconcile periodically or query the other party whether they are still acting on it.
Any feedback to the heuristic above would be appreciated - right now I'm just operating under our beta constraint that the Orders are not filled in between app restarts.
Originally posted by @klochowicz in https://github.com/get10101/10101/issues/558#issuecomment-1530043286

Closing in favor of https://github.com/get10101/10101/issues/568. @klochowicz please reopen if you think we should keep it.


  Would love to see playwright support it.
Here's what I get today:

azsdke2e
azsdke2e2

Thank you @mxschmitt


Adding price production to

Hello,
Can you add also production price on this script?
Kind regards

Sure thing.
Is the script working for you btw. I redirect my own main removing the html layout.

Hello,
I will test this script tomorrow.
I let you know.
Kind regards
-------- Oorspronkelijk bericht --------
Van: Bram Diederik @.>
Datum: 19-06-2023 13:57 (GMT+01:00)
Aan: Bram-diederik/budgetenergy-homeassistant-emailparser @.>
Cc: Erwin Kooij @.>, Author @.>
Onderwerp: Re: [Bram-diederik/budgetenergy-homeassistant-emailparser] Adding price production to (Issue #3)
Sure thing.
Is the script working for you btw. I redirect my own main removing the html layout.
—
Reply to this email directly, view it on GitHubhttps://github.com/Bram-diederik/budgetenergy-homeassistant-emailparser/issues/3#issuecomment-1596672574, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHP33X3UZ3VFAZYZIS2CPLDXL77EJANCNFSM6AAAAAAZLFTI4I.
You are receiving this because you authored the thread.Message ID: @.***>

Hi,
did testing yesterday and today. But it;s not working in my installation.
Home Assistant 2023.6.2 Supervisor 2023.06.2 Operating System 10.3 Frontend 20230608.0 - latest
PHP can't be run here.
kind regards

You need to run it on some linux machine. Not the HA instance
Op wo 21 jun. 2023 18:23 schreef Erwin Kooij @.***>:

Hi,
did testing yesterday and today. But it;s not working in my installation.
Home Assistant 2023.6.2 Supervisor 2023.06.2 Operating System 10.3
Frontend 20230608.0 - latest
PHP can't be run here.
kind regards
—
Reply to this email directly, view it on GitHub
https://github.com/Bram-diederik/budgetenergy-homeassistant-emailparser/issues/3#issuecomment-1601150425,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMYKLXPG636M2N7B2NWXDW3XMMNXFANCNFSM6AAAAAAZLFTI4I
.
You are receiving this because you were assigned.Message ID:
<Bram-diederik/budgetenergy-homeassistant-emailparser/issues/3/1601150425@
github.com>


Create Github Action for spelling checks

See #146 for the example of spelling check in action. We could run such checks for example before every release or on every commit to main branch.

There is ready to use Github Action:
https://github.com/codespell-project/actions-codespell


fix: add optional string type to theme

This PR fixes the editor types NOT accepting anything but dark or light. This adds a union type to allow users to pass anything but also keeps autocomplete for light/dark.

Hello @amcdnl. I am going to merge your PR.
Thank you for your support!

The new version (2.5.0) is published.


Update crud.php

add missing save_action_save_and_preview key in Arabic lang file

A new inspection was created.

The inspection completed: No new issues


Bump mixin-extras to 0.2.0 release

I believe this should fix #5

@Jade-TheCat thank for the report, but I'm already working on updating a bunch of libraries locally.
Also you forgot about: https://github.com/Fox2Code/FoxLoader/blob/main/common/src/main/java/com/fox2code/foxloader/launcher/DependencyHelper.java


diff.go: add the missing '.' in 'kubectl diff -h' output.

diff.go: add the missing '.' in 'kubectl diff -h' output.
Signed-off-by: ZhenLiu94<EMAIL_ADDRESS>Sorry, we do not accept changes directly against this repository. Please see
CONTRIBUTING.md for information on where and how to contribute instead.

This looks like a duplicate of #953
/close


Canceling my Friendship request

Hallo,
first of all thank you for your niche package. What I missed is a function so I can cancel my requests myself. So like
if($me->hasSentFriendRequestTo($recipient)){
$me->cancelSentFriendrequestTo($recipient);
}
thanks

Yep that's great, but I think we should implement a dedicated function for cancelling user's request, so if the user of this library needs to fire off custom events after cancelling request, he can distinguish whether a user has cancelled his request or the recipient really did deny the friend request. But this solution is nice tho.

Greetings, thanks for your package, I would like to know if there is already a solution to "cancel a friend request"?


ROX-22912: acknowledge protojson issue

Description
This issue looks like a false positive. There is no fix yet. Let's mute it for some time.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TODO(replace-me)
Use this space to explain how you validated that your change functions exactly how you expect it.
Feel free to attach JSON snippets, curl commands, screenshots, etc. Apply a simple benchmark: would the information you
provided convince any reviewer or any external reader that you did enough to validate your change.
It is acceptable to assume trust and keep this section light, e.g. as a bullet-point list.
It is acceptable to skip testing in cases when CI is sufficient, or it's a markdown or code comment change only.
It is also acceptable to skip testing for changes that are too taxing to test before merging. In such case you are
responsible for the change after it gets merged which includes reverting, fixing, etc. Make sure you validate the change
ASAP after it gets merged or explain in PR when the validation will be performed.
Explain here why you skipped testing in case you did so.
Have you created automated tests for your change? Explain here which validation activities you did manually and why so.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

Let's try bumping the dep first https://github.com/stackrox/stackrox/pull/10261.

Oh, I thought there is no fix yet. Why @dependabot does not create a PR for it 🤔


[PluginName] Issue: TypingIndicator Broken

Before you submit an issue please restart your discord. If the issue is still there feel free to write a bug report.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Please also check the console by pressing Ctrl + Shift + I and send screenshots of errors (red messages)
Information (please complete the following information):

OS: [e.g. Windows, MacOS, TempleOS]
Plugin Version: [e.g. 1.2.3]
Discord version: [PTB, Stable, Canary]
Compact Mode enabled? [yes or no]

Additional context
Add any other context about the problem here.

Above issue has gotta be the laziest bug report I've ever seen but anyways I have the same issue and here's the logs
Describe the bug
TypingIndicator crashes BD
To Reproduce

Have someone typing (?)
Crash

Expected behavior
No crash
Information (please complete the following information):
OS: Windows 10 22H2 (Host 1.0.9007 Windows 10 64-Bit (10.0.19045))
Plugin Version: 0.5.4
Discord version: Stable 156080 (c1142ae)
Compact Mode enabled? no

e0cb8770be4ce8aba183.js:1529 TypeError: Cannot read property 'default' of undefined
    at AvatarComponent.render (TypingUsersAvatars.plugin.js:88)
    at qa (e0cb8770be4ce8aba183.js:1514)
    at za (e0cb8770be4ce8aba183.js:1514)
    at $s (e0cb8770be4ce8aba183.js:1554)
    at ku (e0cb8770be4ce8aba183.js:1544)
    at Uu (e0cb8770be4ce8aba183.js:1544)
    at wu (e0cb8770be4ce8aba183.js:1544)
    at yu (e0cb8770be4ce8aba183.js:1541)
    at e0cb8770be4ce8aba183.js:1486
    at t.unstable_runWithPriority (e0cb8770be4ce8aba183.js:1664)
    at Ko (e0cb8770be4ce8aba183.js:1486)
    at Xo (e0cb8770be4ce8aba183.js:1486)
    at qo (e0cb8770be4ce8aba183.js:1486)
    at Au (e0cb8770be4ce8aba183.js:1541)
    at e.t.emit (e0cb8770be4ce8aba183.js:5960)
    at e.t.flushWaitQueue (e0cb8770be4ce8aba183.js:5981)
    at e0cb8770be4ce8aba183.js:5981
    at new Promise (<anonymous>)
    at e.t.dispatch (e0cb8770be4ce8aba183.js:5981)
    at MessageLoggerV2.onDispatchEvent (MessageLoggerV2.plugin.js:2601)
    at Object.eval [as callback] (MessageLoggerV2.plugin.js:654)
    at e.dispatch (<anonymous>:4:32701)
    at Ut (e0cb8770be4ce8aba183.js:4676)
    at n.<anonymous> (e0cb8770be4ce8aba183.js:4681)
    at n.i.emit (e0cb8770be4ce8aba183.js:509)
    at n.r._handleGenericDispatch (e0cb8770be4ce8aba183.js:4647)
    at n.r._handleDispatchWithoutQueueing (e0cb8770be4ce8aba183.js:4642)
    at n.r._handleDispatch (e0cb8770be4ce8aba183.js:4640)
    at e0cb8770be4ce8aba183.js:4639
    at r._onDataReady (e0cb8770be4ce8aba183.js:4634)
    at r.x.push.o.handleFlushEnd (e0cb8770be4ce8aba183.js:4626)
    at d.push (e0cb8770be4ce8aba183.js:1280)
    at r.x.push.o.feed (e0cb8770be4ce8aba183.js:4625)
    at WebSocket.<anonymous> (e0cb8770be4ce8aba183.js:4634)


Create a functionality for user who created contract to update contract, add comments and finalise it.

Describe the task
Create a functionality for user who created contract to update contract, add comments and finalize it.
Expected behavior
User who created contract should be able to comment and update fields of contract.
References
Use this issue #3153 for getting more insight about feature and for referring database and working flow.

All functionality are merged in this issue #3151.
So closing this issue.


[TE] Upgrade Pinot version to 0.4.0

Description
Upgrade Pinot version to 0.4.0
Starting 0.4.0, Pinot schemas can express time column as DateTimeFieldSpec. Handled that in onboarding utils.
Release Notes
Upgrade Pinot version in TE to 0.4.0

What is the action item for the failing release? I see all TE PRs are failing with similar reason? Anything to be done there?


New package: StippleTabs v1.0.0

Registering package: StippleTabs
Repository: https://github.com/GenieFramework/StippleTabs.jl
Created by: @essenciary
Version: v1.0.0
Commit: 0372a355ae91a86a78fd79461434fd2164c7c047
Reviewed by: @essenciary
Reference: https://github.com/GenieFramework/StippleTabs.jl/commit/0372a355ae91a86a78fd79461434fd2164c7c047#commitcomment-146180523

Could you extend the README a little bit to give some context and show how the package might be used?

[noblock]


Area-light-component doesn't seem to work properly with A-Frame v 0.7.0 and higher

sample code
      <a-entity area-light="width: 10; height: 3; intensity: 100; color:#fff;"
                position="1.5 1.5 -10"
                rotation="0 -90 0">
      </a-entity>

using A-Frame 0.6.1

using A-Frame 0.7.1

area-light is rotated incorrect
area-light is not casting light

A-Frame 0.6 is using Three r84 but there are changes to the THREE.RectAreaLight and THREE.RectAreaLightHelper.
Besides the difference in positioning, there's also a change in Three.js r85 from r84 that changes the material to THREE.LineBasicMaterial instead of a MeshBasicMaterial.

Hi AVGP
Could you please advise if it is possible to amend a file to have the area lighting work in aframe 7 and higher? Im bewildered by the engine of this stuff.
Thank you in advcance.
Eoin


Universal Windows Platform

I have ported the library to the Universal Windows Platform. Picking an image/video from the camera and gallery is working already. However there are still some minor things to cover, such as retrieving the metadata or resizing the image. I am issuing the PR now just in case someone is interested in collaborate to finish it. Nonetheless I will try to implement the full functionality in the upcoming weeks.

I have fixed the previous conflicts with the upstream branch and added a few more options (noData and partial support for storage options).

It would be nice to have this one merged into master. can this be merged?


Test cases for Digital Signature (DS) peripheral to not match output of configure_ds.py for  ESP32C3 (IDFGH-6601)

Environment

Module or chip used:  ESP32-C3-MINI-1-N4
IDF version v4.4-beta1-275-g214d62b9ad
Build System:        idf.py
Operating System:    macO
Using an IDE?: No
Power Supply:    USB

Problem Description
While troubleshooting DS on an ESP32C3 I used this file
https://github.com/espressif/esp-idf/blob/d5f58ab13551cd883e8d8478ba367b6e4543ffec/components/esp_hw_support/test/gen_digital_signature_tests.py to generate a test case from data used in configure_ds.py (I did that by temporarily hard coding a message, hmac, and IV in gen_digital_signature_tests.py). But the results still did not match the signature and c value produced by configure_ds.py
The problem was that gen_digital_signature_tests.py hard codes the padding/max_len values for md_in and p as 4096, which shou;d be 3072 on the ESP32C3.
Expected Behavior
While using hard code 4096 is valid, it would be nice if gen_digital_signature_tests.py produced results that match those of configure_ds.py (and therefore the ESP32C3 when configure_ps.py data is used on the device). This can be done by using the padding approach used in configure_ds.py https://github.com/espressif/esp-idf/blob/d5f58ab13551cd883e8d8478ba367b6e4543ffec/examples/protocols/mqtt/ssl_ds/configure_ds.py  If I edit gen_digital_signature_tests.py  to lookup the max length from a dict like supported_key_size = {'esp32s2':[1024, 2048, 3072, 4096], 'esp32c3':[1024, 2048, 3072]}, the results match the output of configure_ds.py
Fixing this would have saved me time during troubleshooting

@bschick Sorry for the inconvenience! In fact, we (me, actually) adopted the tests from S2 and modified the header file itself, instead of python script. We never fixed the python script afterwards. We'll do that now for this issue.


haskellPackages.time is null?

Describe the bug
for some reason the time haskell package is null
Steps To Reproduce
Steps to reproduce the behavior:
nix build github:nixos/nixpkgs/master#haskellPackages.time
Expected behavior
time should be something. not null
Screenshots

Additional context
n/a
Notify maintainers
@maralorn perhaps?

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.17, NixOS, 24.05 (Uakari), 24.05.20240221.0e74ca9`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix Super) 2.20.0pre20231207_661b025`
 - nixpkgs: `not found`

Add a :+1: reaction to issues you find important.

This is on purpose.
As you can see here https://github.com/NixOS/nixpkgs/blob/5250ee5c0b7086edd435843ae6c3ce537ba44fde/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix#L51
We override all packages bundled with ghc as null. The reason is that those packages are needed to build ghc and are therefore already part of the ghc derivation. They are always available to build with. Thus the nix representation of a haskellPackage does not need them as explicit inputs. The configure step of the build process will automatically discover them.

I mean you don’t trace it every time but only if some body wants build it.

Huh, yeah, would be cool. I just don’t know how we’d do that.


Add support for btrfs subvolumes, metadata profiles and compression

This PR finishes support for btrfs in osbuild. This means:

support for btrfs subvolumes, osbuild can now both create them and mount them
support for setting the metadata profile for btrfs. We should always set this to dup, but it's nice to have it exposed in the stage options.
support for mounting with compression
an example of a manifest

WRT testing the functionality... From what I saw in the repo, we AFAICT do not test stages that are used to create filesystem explicitly. Some information related to testing osbuild stages is listed on https://www.osbuild.org/guides/developer-guide/osbuild.html#stage-development, but I don't think it will be very useful in this case.
You may need to implement a special test case, such as those implemented below https://github.com/osbuild/osbuild/blob/main/test/run/test_stages.py#L245

Can we also set compression like we do with appliance-creator/lorax/kiwi based images?
Cf. https://fedoraproject.org/wiki/Changes/BtrfsTransparentCompression

I added a test that thozza suggested, rebased on top of main and polished it a bit. This is now ready to be reviewed and merged.
@Conan-Kudo Yes, compression is fully supported (both in fstab and during build time).

Fixed missing additionalProperties: false in the subvol stage and added a marker to the new test that disables it when --unsupported-fs btrfs is passed to pytest.
The only blocker is now https://github.com/osbuild/containers/pull/56 I think.

Updated the reference to the testing container image to the one with btrfs-progs installed.

Thanks for starting this, @gicmo. ♥


How to integrate it in swift 2

How to integrate in xcode 7.2

I wrote an example in Swift 3 you can check out here: https://github.com/bzsinger/REFrostedViewControllerSwiftExample.


chore(evm): update contract abi

Description
Todos

[ ] Unit tests
[ ] Manual tests
[ ] Documentation
[ ] Connect epics/issues
[ ] Tag type of change

Steps to Test
Expected Behaviour
Other Notes

@sammy1991106 Can you also verify the abi was generated correctly? And I haven't had a chance to look if anything else has to change for vald (if the contract API changed or something).


Add ol.DeviceMotion

devicemotion support, see http://dev.w3.org/geo/api/spec-source-orientation.html#devicemotion
For the moment, the example only displays the raw value from the event without interacting with the map.

@fredj, this PR is outdated. Should we close it?

we can close it


[Ruby] Add option to keep/merge join keys in Table#join

Describe the enhancement requested
Target method
Arrow::Table#join
Proposed feature
Add an option to select whether to keep or to merge columns in the join result.
Impact of this request
Current behavior is always keep every columns. But it will be convenient to set merge as a default.
For example, default in dplyr is keep = FALSE (Do not preserve both join keys).
Reference of this request
dplyr-join in R.
https://github.com/apache/arrow/blob/master/r/R/dplyr-join.R
Join keys are always merged in RedAmber (without an option).
https://github.com/heronshoes/red_amber/blob/main/lib/red_amber/data_frame_combinable.rb#L836-L842
Component(s)
Ruby

How about left_suffix=nil, right_suffix=nil like pandas?
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.join.html
If both of left_suffix and right_suffix are nil, we don't return duplicated keys.
If any of left_suffix and right_suffix are not nil, we return both keys in left and right with suffix.
For merging, how about merge_key_values=true? If both left_suffix and right_suffix are nil and merge_key_values is true, fill NULL values in a left key with values in a right key. (Hmm. I'm not sure this is suitable behavior. If left key has multiple NULL values and outer join is used, can we distinct NULL values in left key and NULL values caused by join?)

left_suffix="", right_suffix="" that generates the same name columns may be better to keep backward compatibility...

I think it will work as long as C++ join() is correct :-)
left = Arrow::Table.new(KEY: ["A", "B", nil], X1: [1, 2, 3])
right = Arrow::Table.new(KEY: ["A", "C", nil], X2: [4, 5, 6])

left.join(right, :KEY, type: :left_outer)
#=>
#<Arrow::Table:0x116f5d158 ptr=0x7fa61e50bc50>
	KEY	X1	KEY	    X2
0	A  	 1	A  	     4
1	B  	 2	(null)	(null)
2	(null)	 3	(null)	(null)

left.join(right, :KEY, type: :right_outer)
#=>
#<Arrow::Table:0x116f51bf0 ptr=0x7fa61e50bd40>
	KEY	    X1	KEY	X2
0	A  	     1	A  	 4
1	(null)	(null)	C  	 5
2	(null)	(null)	(null)	 6

left.join(right, :KEY, type: :full_outer)
#=>
#<Arrow::Table:0x116f18378 ptr=0x7fa61e06f0e0>
	KEY	    X1	KEY	    X2
0	A  	     1	A  	     4
1	B  	     2	(null)	(null)
2	(null)	     3	(null)	(null)
3	(null)	(null)	C  	     5
4	(null)	(null)	(null)	     6

left.join(right, :KEY, type: :inner)
#=>
#<Arrow::Table:0x11a048128 ptr=0x7fa61d5edd10>
	KEY	X1	KEY	X2
0	A  	 1	A  	 4

left.join(right, :KEY, type: :left_semi)
#=>
#<Arrow::Table:0x11a0ea748 ptr=0x7fa61d531cb0>
	KEY	X1
0	A  	 1

left.join(right, :KEY, type: :right_semi)
#=>
#<Arrow::Table:0x11a0e2c00 ptr=0x7fa61d581190>
	KEY	X2
0	A  	 4

left.join(right, :KEY, type: :left_anti)
#=>
#<Arrow::Table:0x11a0cbb40 ptr=0x7fa61e3dde50>
	KEY	X1
0	B  	 2
1	(null)	 3

left.join(right, :KEY, type: :right_anti)
#=>
#<Arrow::Table:0x11a0c56f0 ptr=0x7fa61e3ddee0>
	KEY	X2
0	C  	 5
1	(null)	 6

Is it better to ignore left_suffix and right_suffix when merge_key_values is true?
I think only one key is used when column is merged. It may be left_key and do not need renaming.
Are default values left_suffix="", right_suffix="", merge_key_values=false ?

Is it better to ignore left_suffix and right_suffix when merge_key_values is true?
I think only one key is used when column is merged. It may be left_key and do not need renaming.

OK. Then, how about table.join(right, :KEY) merges KEY values instead of adding new merge_key_values option? (table.join(right, [:KEY]) and table.join(right, {left: :KEY, right: :KEY})  don't  merge.)

Are default values left_suffix="", right_suffix="", merge_key_values=false to ensure backward compatibility?

Yes but we can change the default keys. If column_names & right.column_names only have 1 element, we can use (column_names & right.column_names)[0] to merge key values by default. Because keys=nil isn't released yet. (We don't need to think about backward compatibility.)

One thing to consider is that it is possible for the left and right side to have a non-key column that has the same name.  For example:
CREATE TABLE products (
    id int,
    region_id int,
    description string,
);
CREATE TABLE regions (
    id int,
    description string
);
SELECT * FROM products JOIN regions ON id;

@westonpace I think non-key common columns (description) will be preserved. Arrow's Table allows duplicated column names.
left  = Arrow::Table.new(id: [1, 2, 3], region_id: [7, 8, 9], description: %w[A B C])
right = Arrow::Table.new(id: [1, 2, 4],                       description: %w[D E F])

puts left.join(right, :id, type: :full_outer)   # current implementation (1)
puts left.join(right, [:id], type: :full_outer) # is same as this (2)
#=>
	    id	region_id	description	    id	description
0	     1	        7	A          	     1	D
1	     2	        8	B          	     2	E
2	     3	        9	C          	(null)	     (null)
3	(null)	   (null)	     (null)	     4	F

puts left.join(right, :id, type: :full_outer) # this will merge key (3)

	id	region_id	description	description
0	 1	        7	A          	D
1	 2	        8	B          	E
2	 3	        9	C          	     (null)
3	 4	   (null)	     (null)	F

@kou Is above same as your thought?

I will add candidates for natural keys (keys=nil) case.
puts left.join(right, keys=nil, type: :full_outer)  # if keep them      (4)
#=>
	    id	region_id	description	    id	description
0	     1	        7	A          	(null)	     (null)
1	     2	        8	B          	(null)	     (null)
2	     3	        9	C          	(null)	     (null)
3	(null)	   (null)	     (null)	     1	D
4	(null)	   (null)	     (null)	     2	E
5	(null)	   (null)	     (null)	     4	F

#=> or merge them if they are natural keys.      (5)
	id	region_id	description
0	 1	        7	A
1	 2	        8	B
2	 3	        9	C
3	 1	   (null)	D
4	 2	   (null)	E
5	 4	   (null)	F

@kou Is above same as your thought?

Yes.

I will add candidates for natural keys (keys=nil) case.

I didn't know NATURAL JOIN in SQL!
We can choose (5) because it's same behavior as SQL's NATURAL JOIN.

Thank you! I will try to make PR with (2), (3) and (5).

I think that (2) is needless. I think that the current implementation already implements (2).

That's correct. Sorry for the confusion.


Bug: Contents of inputs/textarea is not stored with the component

Replication Steps

Add a text input or text area
Click on field and enter in contents
click 'view code' and entered content is not set as the value/contents of textarea

Versions:

grapesjs: 0.15.10
grapesjs-preset-webpage: 0.1.11

https://codesandbox.io/embed/hardcore-noyce-4ytug?fontsize=14&hidenavigation=1&theme=dark

I'm not sure exporting the value from inputs is the right way, but if you need it you can extend form Components


Missing f8 dtypes

Hi, the unified memory of Apple silicon devices is compelling for AI training, and often enables these to have significantly more memory for parameters and gradients than best consumer or even data center grade discrete GPUs.
However, inspecting the data types list, the smallest float dtype I saw in mlx today was 16 bits (f16 or bf16)
Adding 8 bit floats to mlx would effectively double the maximum possible model size.
Would this be possible with software or does it need to be a hardware update?
If it is possible with software, how could we make it happen?
Some options for sensible default f8 e/m split for an 8-bit dtype could be:
e5m2
e4m3
e3m4
Then the question becomes how we would rank these and decide which one is best for the most likely use cases?

@bionicles I'm not affiliated with mlx, but I think the easiest option would be some software emulation initially, as F8 can be treated like a quantization.
Eventual hardware support would be super cool!


Add Reel section

Hey, I am a GSSOC contributor, and I would love to work on this. Could you please provide me with some more details about this section?

Ok i assign this issue to you but before starting I want you to see tha prototype for that you just mail your number to me

Sure!

Hello @vermaanurag1532 , I'm a contributor to GSSOC'23 I am very much Interested in contributing to this project . I am skilled in flutter development and I am ready to collaborate and follow all project guidelines. I will try to make it as different as possible and exciting also.


Getting error message trying to use examples from Readme

Describe the bug
Hi .
Getting error messages from OpenAI endpoints trying to use  simple examples from Readme verbatum
To Reproduce
client = OpenAI::Client.new(access_token: API_KEY_NG_PERSONAL)
response = client.images.generate(parameters: { prompt: "A baby sea otter cooking pasta wearing a hat of some sort" })

=> {"error"=>
       {"code"=>nil,
         "message"=>"'{\"prompt\":\"A baby sea otter cooking pasta wearing a hat of some sort\"}' is not of type 'object'",
         "param"=>nil,
         "type"=>"invalid_request_error"}}`

Expected behavior
Supposed to get a proper response as described in Readme :)
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

macosx - Ventura
Ruby 3.1.2 & Ruby 3.2.0

Extra Details
If I run:
client.embeddings(
       parameters: {
           model: "babbage-similarity",
           input: "The food was delicious and the waiter..."
       }
   )

works as expected. So I assume my setup is ok, the issues is with client.images.generate request itself?

Hi @konung - thanks for raising this, it was indeed a bug! Fix released in v3.0.2

Confirmed: it works now :D
Thank you!


Slow pip install due to django-sources

Hi,
I've tried to run scripts/typecheck_tests.py to verify some changes.
AFAIK is needed to re-install django-stubs in order to re-run  scripts/typecheck_tests.py with modifications. However, this scripts install django-sources in project root folder and this affect pip install -U speed:
$ time pip3.7 install -U .
Processing /Users/kote/github/django-stubs
Requirement already satisfied, skipping upgrade: Django in /usr/local/lib/python3.7/site-packages (from django-stubs==0.2.0) (2.1.5)
Requirement already satisfied, skipping upgrade: mypy in /usr/local/lib/python3.7/site-packages (from django-stubs==0.2.0) (0.660)
Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.7/site-packages (from Django->django-stubs==0.2.0) (2018.9)
Requirement already satisfied, skipping upgrade: typed-ast<1.3.0,>=1.2.0 in /usr/local/lib/python3.7/site-packages (from mypy->django-stubs==0.2.0) (1.2.0)
Requirement already satisfied, skipping upgrade: mypy-extensions<0.5.0,>=0.4.0 in /usr/local/lib/python3.7/site-packages (from mypy->django-stubs==0.2.0) (0.4.1)
Building wheels for collected packages: django-stubs
  Running setup.py bdist_wheel for django-stubs ... done
  Stored in directory: /Users/kote/Library/Caches/pip/wheels/d7/e7/6b/7e469272d213a3673cde0b8793a8d739ad8407a3676a70dabf
Successfully built django-stubs
Installing collected packages: django-stubs
  Found existing installation: django-stubs 0.2.0
    Uninstalling django-stubs-0.2.0:
      Successfully uninstalled django-stubs-0.2.0
Successfully installed django-stubs-0.2.0

real	1m10.033s
user	0m13.555s

# without django-sources
$ time pip3.7 install -U .
Processing /Users/kote/github/django-stubs
Requirement already satisfied, skipping upgrade: Django in /usr/local/lib/python3.7/site-packages (from django-stubs==0.2.0) (2.1.5)
Requirement already satisfied, skipping upgrade: mypy in /usr/local/lib/python3.7/site-packages (from django-stubs==0.2.0) (0.660)
Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.7/site-packages (from Django->django-stubs==0.2.0) (2018.9)
Requirement already satisfied, skipping upgrade: mypy-extensions<0.5.0,>=0.4.0 in /usr/local/lib/python3.7/site-packages (from mypy->django-stubs==0.2.0) (0.4.1)
Requirement already satisfied, skipping upgrade: typed-ast<1.3.0,>=1.2.0 in /usr/local/lib/python3.7/site-packages (from mypy->django-stubs==0.2.0) (1.2.0)
Building wheels for collected packages: django-stubs
  Running setup.py bdist_wheel for django-stubs ... done
  Stored in directory: /Users/kote/Library/Caches/pip/wheels/d7/e7/6b/7e469272d213a3673cde0b8793a8d739ad8407a3676a70dabf
Successfully built django-stubs
Installing collected packages: django-stubs
  Found existing installation: django-stubs 0.2.0
    Uninstalling django-stubs-0.2.0:
      Successfully uninstalled django-stubs-0.2.0
Successfully installed django-stubs-0.2.0

real	0m2.939s
user	0m1.677s
sys	0m1.193s

@K0Te Could you test how slow it is now, after removing old django-sources and rerunning typecheck_tests.py? Should be faster.

Works much better now, thanks !


 I have no Idea how to configure the Connection

It´s not a real bug, but in a other meanig it´s one.
I´vn´t found any documentation how to configure the connection in trindroid.
Any help ist aprecciated...

Please use forum for questions.


Document ways in which podAffinity influences which pod is picked for termination

I've been going through the documentation of Assigning Pods to Nodes, looking for a way to indicate Kubernetes to delete pods on the node with the least pods.
Let me give a example. Let's say we only have one deployment. This deployment has one replicaset of 5 pods. 3 pods on node A et 2 pods on node B. After refresh by a horizontalPodAutoscaler, replicaset value is now 4 pods. I would like one of the pods on node B (the node with least pods) to be descheduled.
preferredDuringSchedulingIgnoredDuringExecution is documented as used when scheduling a Pod, but no mention is made when unscheduling/terminating a pod. Does Kubernetes consider the score of podAffinity when descheduling/terminating a pod?

What kind of termination do you mean @LouisJULIEN?
We can document whether execution-time fit is considered for:

preemption
descheduling
node-pressure eviction

The eviction API is something you call on a particular Pod, so there are no components involved in deciding which Pod the request applies to. It's a similar story if you delete a Pod or terminate a node: there is no choice to make.

As GitHub is not a good home for support queries, I'll reshape this slightly
/retitle Document ways in which podAffinity influences which pod is picked for termination
We can also clearly document whether controllers such as StatefulSet and ReplicaSet favour poorly-scheduled Pods for termination, and whether any Kubernetes components automatically manage Pod deletion cost.

@niranjandarshann thanks, that's exactly the information I was looking for.
@sftim I'm talking about the termination that happens following a decrease of a replica count in a replicaset. Thanks for those links!
@sftim Indeed, the wording wasn't very good, thanks.
@niranjandarshann @sftim I agree it would be great to be explicit in the Assigning Pods to Nodes documentation that affinity also influence when picking a pod to terminate and to which extend.

We could add a parallel document “How Kubernetes selects Pods to remove” and add bidirectional hyperlinks between that new page and Assigning Pods to Nodes.

That would be great too!

This issue is not solved but looking at how old it is, I'll close the issue as stale


Push Plugin registering on iOS 9 Devices but not showing Notification

i installed this plugin and its working fine on iOS 8 devices but in iOS iPhone and iPad only registration is working and there is no notification neither in Background mode nor in Foreground mode of APP. Please help me to fix this

@chumstech give me a reproduction scenario.

I have a similar problem.
Works fine on Android.
I have tested on iPad. Registration works because I get registration ID. But when I send notification it is not shown on device.
I have implemented push plugin ( <gap:plugin name="phonegap-plugin-push" source="npm" version="1.2.3" /> )  with Phonegap Build.
I use PHP procedure shown in http://alfonsomarin.com/desarrollo-movil/tutoriales/ios-push-phonegap  to send notifications. This procedure says that the notification was sent...  but they are not shown in device...

OK, cool. I'm a bit new to reporting issues on GitHub, but I subscribed to this in the hopes that I'll receive notification when it gets fixed/closed. Also, if there's any way I can help out, I'm here.

I have a similar problem with an iPad 2 and IOS9 , it's unable to register. It works in an iPad 3 with IOS9

I can register but I don't receive notificarions. (iPad)

Seems like folks are having problems with iPad's. Right now I don't physically have one but I will end up sourcing one.

I have just tested this on an iPad Air 2 running iOS 9.0.2 and I can receive notifications when the app is in the foreground and background. Need more info on this issue in order to fix it.

@macdonst I use PHP procedure shown in http://alfonsomarin.com/desarrollo-movil/tutoriales/ios-push-phonegap to send notifications. This procedure says that the notification was sent. Would you please tell me how do you send notifications? Maybe the procedure I use is wrong and notifications are never sent. Is there any way to know if a notification was really sent?

@bottasergio the PHP in that tutorial seems correct. I'm using Amazon's SNS to send pushes.

@macdonst Is it possible to use Amazon's SNS with PhoneGap Build?

I am having problems with iPad Mini MF432LL/A with iOS 8.0.2

@bottasergio Yes, you can use Amazon's SNS with PGB.
Sadly, I don't have access to all the HW and SW versions but I'll see what I can do.

Here's an odd question I'd like to ask.
Who among us are having troubles with iPad notifications and who aren't? Among those who are, is this a new iPad or one that you've had since iOS 8, or iOS 7?
Among those who are not having troubles, same question. Did you buy it new, or is it an iPad from last iOS, or two, or even three OS'es ago?

My daughter has an old iPad 2 and if I can pry it out of her Minecraft playing hands I will attempt to test with it next week when I'm home.

@jvjvjv I am having problems with iPad Mini MF432LL/A with iOS 8.0.2.
@macdonst I will really appreciate it!!!

Hi guys, any news about this? I'm experiencing the same problem and I'm using this plugin in four apps.

No news... this issue remains active.

Still can't reproduce but got approval to buy an iPad today which seems to be where most of the problems are coming from.

I bought an iPad Air 2 this morning and upgraded it to iOS 9.0.2. Installed my test app on the device and was successfully able to register with APNS. Then I pushed messages to the device with the app in the foreground and background. Messages were received in both situations. I will try to post a video later.
Need some specific information on how to reproduce this issue as I'm not having any luck so far.

@macdonst I am having problems with iPad Mini MF432LL/A with iOS 8.0.2.

@bottasergio understood but I don't have a that device or OS version to test. I have an iPhone 6+, iPad air 2 and a iPod touch running 8.4.1 or 9.0.2 for testing.

@macdonst My situation is quite different:
Both on iphone 4S 9.0.2 and iPhone 6 9.0.2 I can register the device on the APNS, I get the regId.
Although the event "notification" or "error" is never received on devices with >= 9.0.
Everything works just fine on iOs 8.4

@Alexintosh What do you use to send notifications?

I'm using baasbox, it works fine, I can see the apn targetting the right device but the plugin function

(void)notificationReceived { is never called.

What payload are you sending to the device?

This is my payload:
Payload={"aps":{"badge":0,"alert":{"loc-args":[],"action-loc-key":null,"loc-key":null,"body":"This is a test message!"}
I assume this is correct because as I mentioned before I can receive notification on iOs >= 8 <= 9.
Thanks for your commitment.

My Problem Solved :-)
there is no issue in Plugin its the issue of development and production Provisioning profile. because notification only sent to the devices  by Apple Push Notification Service which have correct certificate and provisioning profile which we give in the form of .PEM file in server side code.
if anyone having such issue please follow the steps mentioned in this link
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
Thanks

OK that's great but my issue is not the same as yours.
One of my devices is receiving notifications, and the other isn't. They both are using dev certs and the server has a dev cert installed on it.

@macdonst The person I'm working with sent me an example payload last night. Again, this payload works on my iPhone 6 at iOS 9.0.2, but not on my iPad Air. Same iOS.
It is:
{
  "aps":
    {
      "alert":"This is the example notification",
      "badge":1,
      "sound":"default"
    },
    "alertId":1539087,
    "gdsxPnrId":"24abcdf0",
    "segmentNumber":18
}

Simon, @chumstech may not be pleased that we've turned his issue into something much larger. Would you like to spin this off into a separate ticket, and bring along others for the discussion, or shall we ask him to unsubscribe from his own ticket so he stops getting the emails about it?

I tested again today, with the same IPad, same OS version, same certificate and same source code, and today it works. Really weird.

@jvjvjv Check with the offending device plugged in that both Push Notifications are enabled and Background Modes -> Remote notifications are enabled.

I had reinstalled the iOS platform via cordova platform remove ios && cordova platform add ios and somehow after doing this, my iPad which was initially compiled with those settings enabled, still worked with the push notifications, but the new iPhone I just started testing out, did not. So double check these settings just to be safe.

@jvjvjv Where did you enable "Remote notifications"? I can't find that option in DEVELOPER page (https://developer.apple.com/):
Certificates, Identifiers & Profiles -> "Setup and configure services for this App ID"

I am wondering if you guys are still having this issue, i am also facing the same thing. The Ipad mini retina does not buzz, it doesnt receive anything. But on my php script it says Message successfully delivered 122. I am not sure what 122 is, there is no APNS documentation for that.
When it was on IOS8 it worked, and i am not sure if it is because i updated to IOS9 or something with cert. problem that i changed.

Hello guys. I tested with 4 iPhone.

iPhone 5c (iOS 8.1)
iPhone 5s (iOS 8.1)
iPhone 5c (iOS 9.2)
iPhone 5c (iOS 9.2)

I coud get push notification with 1,2.
And no push notification with 3,4.
I assume this is a problem of OS version.
All devices could get device token.
When I get any push notification from APNS, I can see through (on xcode)

push.on('registration', function(data) {}

Those iOS 9.2 devices don't get any message through 'registration' event.
We checked if actually APNS sends any push notification to iOS 9 with Wireshark and yes, APNS sent to iOS9 just device doesn't recognize.
I am using ionicm and updated all cli, cordova stuff as latest.
Reinstalled iOS platform and phonegap-plugin-push too. (it often resolves problem!)
Checked iOS setting>notification.
Still not working.
I don't know where to start debug.

I resolved my problem. I don't know it's going to work for the others who have same problem like me but hope it's going to work.

In xcode, when you open your project, click 'Project navigator' ( document icon on left top )
You will see blue icon just blow which is your project. Click this.
Then you will see a lot of field on the center of xcode. Find 'Capabilities' tab.
There is 'Push Notifications' row and enable it. ( You may be required something but I simply clicked 'fix issue' button )
Build to phone. ( Don't forget 'bitcode' setting for iOS9 )

In my case, it worked for iOS8, iOS9.

:+1:
I fix issue and getting push from GCM on iPad
Check List:
1.Upload Valid certificate on Google
2. Merge Individual certificate this
3.Download info.plist file from developer console and add a target application follow this
4.your payload should be like  I am testing using REST Client
{   "registration_ids":["XX"],   "notification" : {  "body":"YOUR BODY" ,"title" : "Hello, world!",   "sound" : "default" ,"icon":"default"},   "content_available" : true }

@Taewa did you solve the problem? i hv the same issue...

current not working when build with adhoc or production on iphone 5 9.0

@rkj1515 Why should content_available be true if I have no content?

I have the same issue.
On the Xcode appears:
2017-04-01 08:14:26.374331 ofertas[1178:1169264] Notification received
2017-04-01 08:14:26.374608 ofertas[1178:1169264] Push Plugin key: content-available
But not show the notification on iPhone.
The function  on('notification'  are called but, the notification does not shoed on iPhone.
What is wrong ?


Event loop stops without resolving promise

In certain edge cases the loop stops without resolving the promise returned from BasicResolver::resolve(). Reproducible with the script from https://github.com/amphp/artax/issues/138 with a fix for the TLS hanging.

Script used for reproduction:
<?php

use Amp\Loop;
use Amp\Artax\DefaultClient;

require_once __DIR__ . '/vendor/autoload.php';

error_reporting(-1);

    print get_class(Loop::get()) . PHP_EOL;

	$urlAsFile = function ($url, $timeout, $allowRedirects = false): \Amp\Promise {
		$client = new DefaultClient();
		$request = new \Amp\Artax\Request($url);
		$totalTimeout = (int) (1000 * ($timeout));
		$promise = $client->request($request, [
			DefaultClient::OP_TRANSFER_TIMEOUT => $totalTimeout,
			DefaultClient::OP_MAX_REDIRECTS => $allowRedirects ? 10 : 0,
		]);

		$deferred = new \Amp\Deferred();
        $promise2 = $deferred->promise();

		$promise->onResolve(function ($e, ?\Amp\Artax\Response $response) use ($deferred, $url) {
			if ($e) {
				$deferred->fail($e);
			} else {
				$tmpFile = 'foo.txt';
                try {
    				while (($chunk = yield $response->getBody()->read()) !== null)
                        print "*";
    				print PHP_EOL;
				    $deferred->resolve($tmpFile);
                } catch (\Throwable $e) {
                    $deferred->fail($e);
                }
			}
		});

		return $promise2;
	};

    while (true) {
        Loop::set((new Amp\Loop\DriverFactory)->create());
        try {
            Amp\Promise\wait(Amp\call(function () use ($urlAsFile) {
                $start = microtime(true);
                $f = yield $urlAsFile('https://i.jaumo.com/go/2651,766d972eda9dc4d0.jpg', 3);
                $end = microtime(true);
                $time = ($end - $start) * 1000;
                # echo $i . "= " . filesize($f) . "  " . sprintf("%0.3f", $time) . "ms\n";
                echo ".";
            }));
        } catch (\Error $e) {
            var_dump(Loop::getInfo());
            throw $e;
        }
	}

Usually takes quite some requests to get triggered. It's driver independent.

Ok, I know why. People using multiple event loops deserve what they get from PHP's __destruct. Will post a PR to amphp/amp soon.

Closing as amphp/amp#171 got merged.


QC: Substructure match - in silico prediction of fragment structures

Prediction tools:

massfrontier
CMF-ID

QC

Check how many signals correspond to any sub structure

Challenges

some abundant signals may not be described?

matthias


No repeat in interval between times.

Describe the bug
A clear and concise description of what the bug is.
Interval between times is not working.  Node set as per screenshot to repeat every 150s between sunrise and sunset + 30m..
Screenshots
If applicable, add screenshots to help explain your problem.

Expected behavior
A clear and concise description of what you expected to happen.
Repeat should repeat.
System information (please complete the following information):

Node Version 1.1.7
Node-Red Version 1.1.3

Additional context
Add any other context about the problem here.

Thank you for reporting the problem.
Memo to myself: Problem occurs when the point in time for node-start is within start-end, because only the next start date (from the current point in time) is calculated.

can be tested in https://github.com/rdmtc/node-red-contrib-sun-position/releases/tag/1.2.0

I know this has been fixed, but how do I get a recurring schedule when the time for node-start is within start-end?  Somebody mentioned in now deleted discussion 217  that it was fixed.
Say I deploy between sunrise and sunset, when the node has recurring schedule for between sunrise and sunset.

Anyone?

which version of the node do you are using?

Latest
1.2.4

should be fixed in<EMAIL_ADDRESS>


chore: adds dynamic version info for version command with ldflags

Signed-off-by: Jennifer Power<EMAIL_ADDRESS>Description
This PR changes the Makefile and  oc-mirror version command to use generated version info during build time with LDFLAGS.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?

[x] Unit test added
[x] Manually tested

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Failed on the known invalid channel issue.
/retest


added TheMealDB API

Hi @kodelebah 👋
If you are here for Hacktoberfest, please make sure to comply with the requirements mentioned in #2 🙇

This is my first pull request for Hacktoberfest. I have complied with the requirements


Add note re inferring initial infected in joint nowcasting session

Covers #125

Closing in favour of #270


Checkout Extension -- metafields is an empty array even after metafields.subscribe

This is a JavaScript (not react) Extension:
export default extension(
  "purchase.checkout.shipping-option-list.render-after",
  async (root, {lines, applyCartLinesChange, query, i18n, shippingAddress, shop, buyerJourney, buyerIdentity, storage, settings, ui, metafields}) => {
      console.log('metafields: ', metafields); // blank array
      let currentMetafields = metafields.current;
      metafields.subscribe((newMetafields) => {
	currentMetafields = newMetafields;
	console.log(`metafields: `, currentMetafields, newMetafields); // blank arrays
      });
});

.toml file snippet:
    [[extensions.targeting]]
    module = "./src/Checkout.js"
    target = "purchase.checkout.shipping-option-list.render-after"
      [[extensions.targeting.metafields]]
        namespace = "kickee"
        key = "notforwholesale"
      [[extensions.targeting.metafields]]
        namespace = "kickee"
        key = "nfs"

This also does not work:
    [[extensions.metafields]]
      namespace = "kickee"
      key = "notforwholesale"
    [[extensions.metafields]]
      namespace = "kickee"
      key = "nfs"

I have verfied that both the products and the variants I'm adding to the cart have at least one of these metafields.

Hi @schmidtc63 👋
This should work, but you'll need to use appMetafields instead of metafields. appMetafields are the available on products/variants (and other resources), while metafields are order level data that you can added during the checkout.
Can you let us know if this fixes your issue?


How to transfer to other projects.for example,yolov5

hello,I need these structures or weighting strategies for yolov5, what should i do?

This Docs shows how to apply LibMTL to your own project.

Closed as no further updates.


Relax URL validation

What does this MR do?
Relax URL validation
Why was this MR needed?
Does not take into account some special cases like localhost, and it's not very useful to make a strict URL validation here since we use request later.

@Chocobozzz thanks a lot for your PR. IMHO, checking protocol only does not make ensure as string as URL. Current Regex should accept https://localhost:{port} as valid url. If not let's make URL regex to accept localhost as valid URL. waiting eagerly to hear from you.

@nmrony I'm sorry but I won't have time to update my PR. But you're right, it would be better to add localhost as accepted domain in the regex!