Pagination, sorting and filtering of related resources no longer work properly

After upgrading to 0.9.0, when records for a relationship is overridden in the resource, pagination, sorting and filtering no longer works. Example, we have a UserResource and it has a has_many :comments relationship and on the resource, we override the method like:
def records_for_comments(_options = {})
  # do some custom stuff here
end

After debugging, I can see that this is because from the older versions, the logic where the records are sorted, filtered and paginated in the: define_on_resource relationship_name do |options = {}| block are moved to define_on_resource associated_records_method_name do |options = {}| block in RelationshipBuilder.

Any updates on this?


Allow matchesSemantics to only match certain properties

Use case
When writing a widget test that verifies the semantic properties of an element, I'm forced to specify every semantics trait the corresponding SemanticsNode has. For example, if I simply want to verify that the element found by find.text('myButton') is seen as a button in the semantics tree, I have to write:
expect(
  tester.getSemantics(find.text('myButton')),
  matchesSemantics(
    label: 'myButton',
    isButton: true,
    hasTapAction: true,
    textDirection: TextDirection.ltr,
    isEnabled: true,
    isFocusable: true,
    hasEnabledState: true,
  ),
);

This is inconvenient for the developer, makes the purpose of the test less clear, and makes the test more brittle, as changes to other semantic values that are irrelevant to this test will cause this test to start failing.
Proposal
Introduce a matcher that only checks the values provided to the matcher. For example, if we were to call such a matcher hasSemantics, the test above could be written as:
expect(
  tester.getSemantics(find.text('myButton')),
  hasSemantics(isButton: true),
);

Awww yeahhh ;-) .

I think we could probably change the API such that each default value is actually nullable, and then ignore nullable properties in the comparison. That should be backwards compatible

@jonahwilliams that would work too! :)

I support the idea of being able to match partial semantics. That way you can only encode the things in your test that actually matter without codifying the properties that the test doesn't actually care about.

I think we could probably change the API such that each default value is actually nullable, and then ignore nullable properties in the comparison. That should be backwards compatible

Sadly, I think this wouldn't be backwards compatible. Due to the lint avoid_redundant_argument_values someone may actually assert that something is NOT a button by just writing hasSemantics() since isButton defaults to false. This currently makes the right assertion. If we now change the default value of isButton to null, the test is no longer making this expected assertion and the semantics of the test have changed for the worse.

@bryanoltman @goderbauer
I ended up having to go with a name other than hasSemantics (I chose containsSemantics) because there was a naming conflicts with other global functions in some tests in the repo.


add Catalina domain specification to tomcat bean includes

What does this PR do?
It adds the "domain" specifier to conf.yaml.example and metrics.yaml in the tomcat integration.  The domain is "Catalina", in keeping with what tomcat publishes its JMX metrics under.
Motivation
We encountered an issue where JMX data would stop being reported by some of the agents on our production instances.  This would be accompanied by a spike in CPU usage.  The jmxfetch process under top showed an accumulation of hours of CPU time and continuous 60%+  CPU usage for hours on end.  Once JMX reporting failed in this manner, it would not come back without restarting both the agent as well as the tomcat instance it was monitoring.  A case was opened with datadog support, but it went unresolved.
By running "datadog-agent jmx collect", it was determined that jmxfetch was scanning hundreds of thousands of attributes.  Unable to finish, it would never reach the portion of the log where it should say that it was done scanning attributes and start applying the metric filters.  By examining the tomcat instance with jconsole, it was found that there were hundreds of thousands of attributes under the kafka.producer domain.  These were primarily the attributes causing jmxfetch to run for so long.
However, the tomcat integration should not have been scanning those attributes in the first place.  While jmxfetch has a builtin configuration to limit the number of metrics to report (not the issue here), so it will not use up arbitrary resources.  However, It does not have such a hard limit on the attributes it will scan prior to applying the include filters in the integration.  Its only protection from scanning an arbitrary number of attributes is by determining the proper beans to scan by examining the "bean" and "domain" specifiers in the includes.  jmxfetch has a routine which determines the minimal covering set of beans to scan by examining those specifiers (I don't recall the name of the method, but it is easily searchable).
If it is not able to define those beans (say, because an include doesn't define either of those specifiers), it then resorts to scanning attributes under all beans.  You can see this exhibited in the jmx collect output when it says, "Querying bean names on scope: :".
In our scenario, we had no use for the problematic kafka.producer bean and would not be scanning it.  So we were surprised to find it being scanned by the default datadog tomcat integration.  We found out that this is because the integration is missing any "domain" specifier on the includes.  By adding "domain: Catalina" to each of the includes, we were able to verify that the log no longer output "Querying bean names on scope: :".  jmxfetch then no longer scanned the problematic kafka.producer bean and stopped going off into la-la-land with CPU, and jmx reporting has been working for us since.
Additional Notes
I inspected the rest of the integration configurations.  The following also leave out domain or bean specifiers, and would exhibit the same issue:

activemq
solr

jboss_wildfly relies on "bean_regex", which i haven't verified, but I would imagine is ok if it contained the domain.  Still, I'm not sure the routine in jmxfetch which determines the minimal covering list of beans is smart enough to extract that from a regex, so it bears verification.
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Hallo @binaryphile Thanks a lot for your contribution. It seems like your change was not created from the master branch though as the conf section on instances has not been there since april (https://github.com/DataDog/integrations-core/commit/8aa6d4ec1340159549f6cc2ef7c17c85a9857fac)
You only need to edit metrics.yaml now.

I'll see what I can do, I was surprised to see merge conflicts but thought
maybe it was something else.
On Thu, Jul 9, 2020 at 10:31 AM Julia<EMAIL_ADDRESS>wrote:

Hallo @binaryphile https://github.com/binaryphile Thanks a lot for your
contribution. It seems like your change was not created from the master
branch though as the conf section on instances has not been there since
april (8aa6d4e
https://github.com/DataDog/integrations-core/commit/8aa6d4ec1340159549f6cc2ef7c17c85a9857fac
)
You only need to edit metrics.yaml now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DataDog/integrations-core/pull/7054#issuecomment-656162977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABKSEFE55ZHRVGWAERTSWDR2XIEJANCNFSM4OPKHRXQ
.

Don't know how I got on the wrong branch in the first place but this update should tidy things up now.


Choose the position of the buttons.

Is it possible to choose the position of the buttons? I need to fix them at the bottom of the image viewer.

In the current implementation, it is not possible. But I am planning to improve to look and feel of the component. So, in this improvement, I will try to add some button layout options.

Ok, i'll wait for this implemetation, tnks.


Move helper widgets to helperwidgets.py

Refactor the code in charge of the Check for updates PR, to move the CheckMessageBox to helperwidgets.py file.
Refactor code from the arraybuilder   to move the ToolTip to helperwidgets.py file.

+1 from me :-)

Yep, this was a reminder ;-), from me to me hehe


⚠ Bofrost.at has degraded performance

In ca94c83, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Bofrost.at performance has improved in 17b3465.


Unexpected output precision and/or rounding results in IronPython 3.4.0

Description
print - whether in conjunction with round or not - does not yield the expected output of decimal values as in 2.7
Steps to Reproduce
While I first observed the behavior in some breaking Unit tests while porting my .NET application to IronPython 3.4.0 using the new nupkg, a simple console example should do:
IronPython 3.4.0 (<IP_ADDRESS>0)
[.NETFramework,Version=v4.6.2 on .NET Framework 4.8.4515.0 (64-bit)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print(685.86)
685.86000000000001
>>> f = float(685.86)
>>> print(f)
685.86000000000001
>>> print(round(f,2))
685.86000000000001
>>> print(round(f))
686
>>> print(round(f,1))
685.89999999999998
>>>

Therefore, I'd think of an output rather than a numeric issue.
Expected behavior:
While I am aware that not every decimal number can be rendered in full fidelity, I would expect the same output as was the input argument; or in case of round the output being truncated to the specified number of decimal places. This was the case in IronPython 2.7.
Actual behavior:
Although the result may be correct from a numeric point of view, the numbers always seem to be output with the same number of decimal places, which is never the one provided as an argument. Especially, rounding to 1 digit should not give me 14 digits.
Versions

3.4.0 Release

If this is indeed expected, then I am not sure how to produce a normalized output.

Python 3 changed the str function of numbers to be equivalent to repr and so the values you're seeing is the repr for those numbers in IronPython. With IronPython 2 str was essentially applying %.12g formatting. You could do something like to get a similar representation as IronPython 2 (note that it won't match the trailing .0 if your float is an integer):
def to_str(val):
    return "%.12g" % val

Note that there is an outstanding task to try and match the shortest representation used by CPython: https://github.com/IronLanguages/ironpython2/issues/102.


python3Packages.aiolookin: 0.0.3 -> 0.0.4

Motivation for this change
Update to latest upstream release 0.0.4
Change log: https://github.com/ANMalko/aiolookin/blob/main/CHANGELOG.md#004
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

python38Packages.aiolookin
python39Packages.aiolookin


problem with equal sign in simple config file

I had a URL in a string in a simple init file and this URL contained an equal sign (=).
This led to a problem during the parsing.
I attach a simple solution to this problem
Imported from Bitbucket issue 70,  created by apdavison on 05-12-2011 at 09:31, last modified: 05-24-2011 at 13:19

patch applied in r244.
Trac comment by apdavison on 05-24-2011 at 13:19


return error when index url has env variable, but not set

closes https://github.com/tellor-io/telliot/issues/411
Signed-off-by: Krasi Georgiev<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build 927563081

0 of 7 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 4.917%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/tracker/index/index.go
0
7
0.0%

Totals

Change from base Build 926422201:
-0.02%

Covered Lines:
95

Relevant Lines:
1932

💛  - Coveralls


docstrings formatting fixed for discretise functions

Addressed formatting issues related to #749
Docstrings

[X ] Docstrings complete and follow Napoleon (google) style

Thanks very much @lbluett for this pull request. It looks great to me. I don't have any further feedback, aside from it looks great.

Liam Bluett

Liam Bluett

Thanks Liam. When I next update the release notes I will include you as "Liam Bluett (@lbluett)"


Cannot install on macOS 14.5

        Installing crate<EMAIL_ADDRESS>            Updating crates.io index
          Installing neocmakelsp v0.7.3
            Updating crates.io index
            Updating crates.io index
           Compiling proc-macro2 v1.0.84
           Compiling unicode-ident v1.0.12
           Compiling memchr v2.7.2
           Compiling autocfg v1.3.0
           Compiling serde v1.0.203
           Compiling libc v0.2.155
           Compiling cfg-if v1.0.0
           Compiling crunchy v0.2.2
           Compiling tiny-keccak v2.0.2
           Compiling pin-project-lite v0.2.14
           Compiling smallvec v1.13.2
           Compiling parking_lot_core v0.9.10
           Compiling once_cell v1.19.0
        error: failed to run custom build command for `crunchy v0.2.2`

        Caused by:
          process didn't exit successfully: `/var/folders/41/kstpxs7s151d7v9g3vc9d3_40000gn/T/cargo-installKdhO9O/release/build/crunchy-4258cbd7a49fa110/build-script-build` (signal: 9, SIGKILL: kill)
        warning: build failed, waiting for other jobs to finish...
        error: failed to compile `neocmakelsp v0.7.3`, intermediate artifacts can be found at `/var/folders/41/kstpxs7s151d7v9g3vc9d3_40000gn/T/cargo-installKdhO9O`.
        To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
        spawn: cargo failed with exit code 101 and signal 0.

this crate is induced by rust-ini, and the build.rs is
https://docs.rs/crate/crunchy/0.2.2/source/build.rs
Emm. I do not know why it cannot be compiled

https://github.com/zonyitoo/rust-ini
can you try if this crate can be compiled on macos14? if cannot, can you help me report a bug?

I found the issue with the rust compiler for macOS, where binutils from homebrew causes build issues for release builds: https://github.com/rust-lang/rust/issues/123114
I just ran brew uninstall binutils and now it works


Fix calendar deprecation warning on OSX 10.10

The warning that is fixed by this #ifdef is also appearing on OSX 10.10 build targets.
The macro is working, but also explicitly checking for OSX 10.10 feels a bit more clean to me, so it's up to you :)

Thanks @padinger!


Implementation CalculateAverage_japplis of 1BRC from Anthony Goubard

Implementation CalculateAverage_japplis of 1BRC from Anthony Goubard (japplis).
Local performance (7 years old desktop i7-6700K - 8 cores - 16GB) 26 seconds. For reference, Jamie Stansfield (isolgpus) is 23 seconds on my machine and 11s in your results. I've added the nbactions.xml to the .gitignore file. When you add in NetBeans options like --enable-preview to actions like debug file or run file, it creates this file.
Check List:

[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[x] All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh

Execution time: 26s
Execution time of reference implementation: 3min 53s

00:41.046. Thx for participating.


[IJ plugin] Fix a crash when loading plugin

Fix for com.intellij.diagnostic.PluginException: com.apollographql.ijplugin.telemetry.SendTelemetryAction (SendTelemetryAction): group with id "ApolloInternalActionGroup" isn't registered; action will be added to the "Other" group.
Actions in an internal group must be internal.

Fixes #5261


Need support for saving the textcontent

Area - Funtionality
Version - 2.4.2
Description :
Need to save text content in a variable
Actual behaviour:
Currently we are not able to save the text content in a variable
Expected behaviour:
Currently we can't able to save textContent [textContent()] of the specific Locators , in a variable , if it was stored we can reuse the variable for assertions and for calculations
In Eztovrfy , the major functionality depends on the Template's transaction and amount deduction for which the locators textcontent is needed
Impact : Medium

@NandhaSrinivasan
Add comment for this ticket whether this issue is fixed or this is expected.


Show config on Windows CI

Jenkins, test this please

I think it's done at line 67?

Yes, I missed that 😅

Jenkins CI test (for commit b95ea6a432b92b8e6fbc7189aed696b49ea0934c, target branch master) failed with status FAILURE.

@kmaehashi Can I bring back this? I feel it's easier if I can see the show_config outcome at the start of the test log...

Jenkins CI test (for commit b95ea6a432b92b8e6fbc7189aed696b49ea0934c, target branch master) failed with status FAILURE.

/test

Windows CI is green, with the config correctly prepended in the test log:
https://storage.googleapis.com/chainer-artifacts-pfn-public-ci/cupy-ci/70099/cupy_test_log.txt


Modularize tricky dependencies

This PR removes the forced dependencies on torch, torchaudio, and pyaudio. If you try to use VAD by setting vad_enabled=True on a DailyTransport, you'll get an error indicating you need to pip install torch and torchaudio yourself. Likewise, if you try to use the local transport, you'll need to pip install pyaudio and deal with any platform-specific dependencies there too.
Note: The local examples are actually broken right now; I'll have to fix that later.

LGTM! It would be nice to to the same for DailyTransport and log a message saying daily-python is needed.


WIP: Simplify cli options, add version printout

Before merging: merge PR #11 in cauterize, and change stack.yaml to point at that merged commit.

Should be ready to go.


fix: overlapping footer layout of browse and create buttons

Layout for create and browse button fix for small and medium-sized devices
Description
Fixed the overlapping create and browse buttons in the footer section for all small and medium-sized devices.
Fixes #1424
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?

This has been tested with the Chrome dev tools responsive view.
Switched between different devices and checked that the UI was not breaking.

Checklist:

[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
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots or example output

There is a conflict error in this branch. Could you take steps to resolve it?

now it's looking good ✨

@all-contributors add @clevercoderjoy for code


when you have open links in incog/private mode ticked on it does not work

Describe the bug

when you have open links in incog/private mode ticked on it does not work and it's open in non incog tab
To reproduce

tick open links in incog/private mode, open a link
Screenshots

https://streamable.com/q5yvf
Chatterino version

Chatterino 2.1.7 (commit 845c8fa63)
Operating system
N/A
Additional information

I believe this is intentional behavior.
The purpose of that setting is to affect the right-clicking of links and if you take a look at that menu closely, it gives you the option to open the link in an incognito window as well.

This is not intentional behaviour. Ticking the checkbox should indeed make all links get opened in icognito/private.

@apa420 Why would the "open link" option remain there if that option is enabled? imo this is intentional behaviour, this option should only change left clicking the link; not right clicking and clicking "open link" (when an obvious option to open in incognito is just below that.

The issue is that ticking the option and clicking a link will open it in normal mode and not private/icognito mode. The option when right-clicking should not change.

It works just fine for me, and in the gif it shows him right clicking > open link. Am I missing something? This behaviour seems entirely intentional to me...

I guess I messed up testing. I never checked the streamable link. But what he's showing is intentional. So I'll close this issue.

Sorry @5E7EN @alazymeme


Misaligned String Placeholders leading to Incorrect gcloud Commands

I've encountered an issue where the gcloud command generated by the code doesn't execute as intended. The credential-source-file and  output-file values get swapped, due to misaligned string placeholders.
Here is the piece of code in question:
  gcloud iam workload-identity-pools create-cred-config \
      $(GCP_WORKLOAD_IDENTITY_PROVIDER) \
      --service-account=$(GCP_SERVICE_ACCOUNT) \
      --output-file=$(CLOUDSDK_CONFIG)/%s \
      --credential-source-file=%s
      gcloud auth login --cred-file=$(CLOUDSDK_CONFIG)/%s
`, filepath.Join(K8sSATokenMountPath, K8sSATokenName),
  ExternalCredConfigFilename,
  ExternalCredConfigFilename,

https://github.com/pfnet-research/gcp-workload-identity-federation-webhook/compare/v0.3.2...v0.4.0#diff-7950d00968cf05b57d3dc0dc73c56d3abe3e2d58528d20e0c19a1ee44ea42b69L79-R119

Thanks for opening an issue! I will take a look.

Newly released v0.4.1 includes a fix for this bug. Thank you for reporting!


Upload(Save yours) feature

Should provide some ways to upload an image ?

Maybe we can use imgur ?
https://api.imgur.com/models/image


Health Checks and Corrective actions

I've read the documentation available on Health Checks, but i'm a bit confused when I run them why i'm getting the results I do despite everything working as expected from a network perspective:

I've been troubleshooting some devices on the edge of my network that are occasionally dropping dead and revive with a ping or come back to life without intervention moments later (error "Failed to send the command after 3 attempts (Status NoAck) (ZW0204)"). I have 50+ devices total, most are 700 series with about 1/3 still 500. I started doing some connection testing nearest to my controller and then working my way out. The device above has 28 neighbors and is one hop away from the controller and the above screenshot is what I see. Is this indicative of a bad connection to the controller or bad routes between the controller and the device. I know I can't do much except heal the devices in question, but no amount of healing results in improvement in this respect.
I don't recall seeing so many ping failures on health check previously, so maybe this is a bug or something, but wanted to check in case I was missing something and infarct do have my own local issue. really, any advice/clarity that can be provided regarding the topic of zwave and improving mesh health would be greatly appreciated.
Edit: I also did want to call out I do see the pings are rated directionally (from controller to node and the back from node to controller). just kinda wondering if this isn't why some of the ACK errors are coming up, the device is getting the command, but the responses are often timing out.

Based on the results seems controller has a good connection with device but not viceversa, I'm not an expert in trebleshooting such issues so I let @AlCalzone answer to you. Do you have an usb extension cable for your stick? That could improve network connectivity a lot

Based on the results seems controller has a good connection with device but not viceversa, I'm not an expert in trebleshooting such issues so I let @AlCalzone answer to you. Do you have an usb extension cable for your stick? That could improve network connectivity a lot

Thanks for the response. Yes, it is on an extension already and that did help when I did it originally. This issue specifically seems to be related to the fact that while this device can be controlled by the controller, and the mesh is confirming that its connected directly, its not able to respond directly, so I question why its not attempting to utilize other routes when the replies are failing or even removing the direct route all together. This isn't the only node I have in a similar situation, so using the principle of fixing issues closest to the controller, this seems like an issue to me:

I see there is possibly some discussion going on with this issue on the zwave base software, so i'll check that out and see if I can contribute at all there too.

so I question why its not attempting to utilize other routes when the replies are failing or even removing the direct route all together

I really have no clue why this happens but it's something related to driver, not zui. I suggest to follow the other issue, feel free to reopen this one if needed and I will move the conversation to zwave-js repo


feat(Dashboard) : add Visualizations in graphql

I think you have to run rpm install to update the package-lock.json

@cheikhgwane You can discard your package-lock.json commit since it should disappear (you reverted your change on package.json so nothing should have changed)

I think we talked about having tests for the pages no ?

@cheikhgwane You can discard your package-lock.json commit since it should disappear (you reverted your change on package.json so nothing should have changed)

Okay

I think we talked about having tests for the pages no ?

Yes! I was planning to do it after handling the backend test part, friday.

As depicted in the screenshot above, there are still a few problems:

[ ] Picture of the dashboard is not shown
[ ] Label is not set in the metadata
[ ] Description is not loaded as markdown


Dynamic Theme mode

Analyze existing CSS
Analyze background images
Enable by default for Firefox and Mobile

That's really great work. Now I'm going to use Firefox on mobile instead of Chromiums.


fix: adds theirLabel to connectionRecord

Simply adds theirLabel to the connectionRecord as retreiving it from the connectionRecord.invitation.label is too cumbersome and not inline with the other their... properties.
Signed-off-by: Berend Sliedrecht<EMAIL_ADDRESS>

Codecov Report

Merging #369 (46457b2) into main (7366ca7) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #369      +/-   ##
==========================================
+ Coverage   87.81%   87.86%   +0.04%
==========================================
  Files         224      224
  Lines        4127     4127
  Branches      491      492       +1
==========================================
+ Hits         3624     3626       +2
+ Misses        503      501       -2

Impacted Files
Coverage Δ

...modules/connections/repository/ConnectionRecord.ts
96.77% <100.00%> (+0.10%)
:arrow_up:

src/agent/Agent.ts
94.11% <0.00%> (+2.16%)
:arrow_up:

Continue to review full report at Codecov.

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

I've been meaning to make a PR to alter this functionality. Worth noting is that this only works when AFJ is the invitee. If AFJ is the inviter, then this will return the wrong label.

Ah interesting. Maybe we can take the label from the request if we're the inviter

Exactly, so I had added it to the connection service processRequest():
connectionRecord.theirLabel = message.label
This means we can't use this as a computed property (since IIRC we're not storing the request long term), but that shouldn't be too problematic.
If it's helpful I can open a PR pretty quickly with what I had created. Let me know. 👍

If that would not be too much effort @JamesKEbert then it would be awesome! Will close this when yours is up.


why do you use k steps of LSTM processor?

Hi wenhan,
Thanks for your great work.  I am a little confused and wondering why you use K processing steps of the same query and support entity pair?  It seems that they are not sequential data.
Thank you!
Yan

maybe you can check https://dl.acm.org/doi/10.5555/3157382.3157504


Make adapter ready for Admin v3

For Admin3 some changes are needed: see http://forum.iobroker.net/viewtopic.php?f=24&t=10268

This issue was moved to iobroker-community-adapters/ioBroker.find-my-iphone-community#3


Update to TibiaData API v4

Switching assets generation from TibiaData API version 3 to 4.

Reapplying with 9e030d7


Bug: Creating a newline before a word makes the editor jump

Entering a newline just before a character in the post creator causes the editor to jump down and place the newline at the top of the screen.
See the video here.

Huh, that's interesting. Thanks for sharing the video, it makes it very easy to reproduce! 🙏


A11y_AzureExtensionsforVSCode_AzureFuction_DefaultScreen_Screenreader : The controls such as "Repository" and "License" are not announced with proper role for screen reader users.

“Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier.”
GitHub Tags:#E2E-AzureExtensionsForVSCode-Mac-Aug2020;#A11y_Azure Extensions for VS Code;#Azure Tools for VS Code;#A11yTCS;#A11yMAS;#MAC;#FTP;#Benchmark;#Screenreader;#VoiceOver;#A11ySev2:#WCAG1.3.1;#WCAG4.1.2;#External: VS Code
Environment Details:
Application Name: Azure Extensions for VS Code
Application Version: 1.48.0-insider
Commit: cfbd1999769f4f08dce29629fb92fdc0fac53829
Date: 2020-08-06T05:40:40.871Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0
Operating system: macOS Catalina Version 10.15.6 (19G73)
Screen Reader: VoiceOver
Repro Steps:

Open Visual studio code
Click on extension button and search for "Azure Functions"
Click on install and move to the "Azure" button, the "Default Screen" will appear.
Start screen reader and navigate to controls such as "Repository" and "License" and observe if these are announced with role as link or not.

Actual:
When screen reader users navigate to the controls such as "Repository" and "License" they are announced as group and text which is incorrect as on activating them web page appears on the screen so they should be announced with proper role for screen reader users.
Expected:
The controls such as "Repository" and "License" should be announced as 'link' for screen reader users when they navigate to these controls.
User Impact:
If proper role is not announced for the interactive elements on the screen content then the screen reader users will miss out on the information available on these elements.
Attachment link for Reference:
2281_A11y_AzureExtensionsforVSCode_AzureFuction_DefaultScreen_Screenreader The controls such as "Repository" and "License" are not announced with proper role for screen reader users.zip

This issue should be filed in the VS Code repo: https://github.com/Microsoft/vscode
Our extension has no control over that section of the marketplace page. For example, if you look at any extension in the marketplace, it has the exact same styling and behavior:

Logged bug in VS Code- https://github.com/microsoft/vscode/issues/104552
As per the C & AI bug process assigning the bug to the Product Owner. Please assign this bug back to the tester once the "External" issue has been resolved and changes are pushed to the environment that will be available for bug verification.

@EricJizbaMSFT Logged external bug in VS Code: 108302

Closing since this bug is external and due to lack of response from accessibility test team on how to get this off our tracking list.


FlowDistribution

Following the conversation in #70

Back from rushing an icml paper. Sorry for being late but I'm reading the code now.

Sure no worries, hope ICML went well.


[Semantics] Think more about whether should embed relational logic, a la Alloy,  and how to best combine concrete with symbolic evaluation when it comes to the semantics

Questions

Should we remove boolean constants, as Alloy does, so that function expressions cannot return booleans (and so predicates would not be a subtype of functions)?
- Catala has booleans (as well as booleans with a default value of False)
How to handle potentially unknown values?
Should we distinguish between scalars and sets, or not?

Relevant:
Alloy book on scalars
This is a good argument for not having options be a union type for modelling purposes. But not sure it's as persuasive when you're trying to, e.g., write a decision tree like classifier.
p.44-5:

Alloy's semantics of integer expressions and formulas
p277
B.7.7 Integers (p 281)

as well as
semantics of integer expressions and formulas

Papers relating to Alloy semantics and state:

Evaluating State Modeling Techniques in Alloy
Towards an Operational Semantics for Alloy

TODO: Add docs cataloguing and explaining the differences between Alloy's semantics and Lam4's
EG:

Sig fields global in Alloy / Forge, but not in Lam4, because (i) evaluating expressions / doing computations is important for Lam4 (ii) global sig fields aren't the best given that


Add dataset metadata display for selected datasets

As a user, I want to view the metadata (name, description, data format, processes, source) of the selected dataset so that I can better understand its details before using it.

Size/Points: M (3)
Priority: High
Risk: Medium (Requires dynamic UI updates and integration with metadata)
Child of Epic: Frontend UI Development

Acceptance Criteria:

When a dataset is selected, a window must display its metadata (name, description, data format, processes required, and source).
Metadata should update dynamically as the user selects different datasets.

Initial design is completed, will close the ticket once I implement the collapsable window


2b-pt model produces outputs with less meaningful content

As the title says, I am running the 2b-pt model.
 Recommend starting with the --model 2b-it and 2b-it-sfp checkpoint.


handle directory uploads

There is a strong chance you won't like this, I am iffy about it myself. This handles directory uploads.
The challenge I had was dealing with the three types of file outputs and their expected upload behavior (as far as I know there are only three):

File outputs: which we want uploaded to their base name (ex out/my-file-output/my-file-output.txt -> s3://my-bucket/my-wd/my-file-output.txt)
File array outputs: which we want each file uploaded to it's basename (ex out/my-array-output/0/zeroth-output.txt -> s3://my-bucket/my-wd/zeroth-output.txt)
Directory outputs: which we want each file uploaded to it's path relative to the directory output (ex out/my-directory-output/foo.txt -> s3://my-bucket/my-wd/my-directory-output/foo.txt)

Since the array output and the directory output both use the directories under the main output directory differently I needed to explicitly recognize the output type of each output. At first I tried to do this by processing the outputs from the task but I felt this was overly complicated. The outputs follow a predictable pattern and I think it is more straightforward to recognize it. File outputs have a single file at the in their output directories, array outputs have one or more directories with integer names at the top level, and directory outputs have a single link directory.
I specifically opted not to use s3parcp's recursive functionality to more easily slot into your caching mechanism. I don't think it will impact performance at all and it is simpler.
I tested this on my use case and it worked.

In general, the reason miniwdl creates the out/ directory is exactly to make it simpler to process output files! So the overall approach is fine IMO.  Here are some details.

The numeric subdirectories for Array[File] outputs serve two purposes, first to preserve the array order no matter what the files may be named, and second because it's not guaranteed that the files must all have distinct basenames. I think we had already compromised handling those cases to get a flat output structure, so it's not a big deal to continue doing so, but it's something to keep in mind as a self-imposed constraint. (miniwdl itself obviously has to handle the corner cases)
If we start using compound output types like e.g. Array[Pair[File,File]] or structs, then the out/ directory will have a respectively nested structure this isn't equipped to deal with. We can cross that bridge when we come to it though.
The write_outputs_s3_json() could use some further updating to rewrite Directory output paths (as well as File paths) in the JSON data that points to all the task/workflow outputs. This is where the current approach of remembering the inode number of each uploaded file might need a little rethinking.

I don't think IDseq consumes this JSON currently, so this is once again not a big deal for now, but FWIW the JSON is the "one true" record of the WDL task/workflow outputs, whereas the out/ subdirectory is a miniwdl-specific convenience feature. If we had a task/workflow output that was not a file/directory, for example, the JSON is the place to go to find it.

So, none of these are blockers in my view as long we keep in mind some minor tech debts incurred. We can talk through adjustments to possibly make now or I'd be happy to do a go-around on them at some future time (just would need to know how to test to make sure I don't break something).
It also occurs to me that the crux of the problem is that the out/ directory doesn't currently provide a reasonable way to distinguish File and Directory outputs. I can think of some simple solutions to that, such as placing a dot-file or something like that alongside each output subdirectory to indicate its type.

@mlin thanks for the comments!

I thought about the different name constraint but I felt if we already had it there was no reason to change it. As far as I know the constraint is actually even stronger than that, no two outputs can ever have the same basename (unless in a directory output now). I think this isn't ideal but changing it would take a lot more effort than the gains we would make from it.
I didn't know that we could have such complex output types. It seems unlikely we will use them for a while but worth keeping in mind. I think if we want to move towards full support the only way is to just upload all of out and handle the paths when we interact with the outputs. I trust that you've already created the optimal directory structure to preserve all of the information from the outputs and any simplification we make will result in constraints.
I updated this to support directories. Once again, maybe not the cleanest thing in the world but I think it makes sense.


https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy#g-submitting-notices

https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy#g-submitting-notices

https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy#g-submitting-notices

@spunkanator what you want to say? with this link

https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy#g-submitting-notices

@spunkanator what you want to say? with this link

I think he wants to throw copyright on this repository


Create log system to count for login, register and the amount of viewings in the page.

just use google analytics


Allow list of team roots

Currently --teams-root allows only one folder.
Generalize to allow a list of folders, and all agents there will be collected.

Ohh I have done this already here: dd8338a8a8deac119ae453eab2585427e1bf286a


Partitioned Table may fail w/o Default Partition

Easiest solution here would be to ALTER any table without a default -- but potentially should scan for available ranges.

Thanks @brendanstephens for raising the issue, yes you are right mockD has an issue with partition tables mainly because it seems harder to fix all the check constraints on the table and partitions are built with check constraints on top of it, so until a proper solution to understand and translate the check constraint into the working solution we will have to ignore partition table for now, this has been highlighted on the known issue section.

Known Issues

When using a small amount of rows and having defined a composite PK index, there are chances that the primary key would fail (this is due to foreign key fix only runs after primary key fix)
Still having issues with Check constraint, only check that works is "COLUMN > 0"
On Greenplum Database/HAWQ partition tables are not supported (due to check constraint issues defined above)
Custom datatypes are not supported

This is now somewhat fixed on the v2.0 of the mock tool. The tool still has trouble with check constraints, so anything related to check and custom datatypes users have to use the custom sub command to load random data.
For more information on the custom subcommand check out here, it has steps on how to load to a partition table for example.
closing it as fixed


Fix the link check for Github sites

By passing in the correct config file for the link checker code https://github.com/github/docs/issues/17358

Current failure:
     "ename": "AssertionError",
     "evalue": "not found<EMAIL_ADDRESS>
Not sure how this will ever work unless we have the data files checked in, given that cardshark is also down...
Let's check the data file sizes and see if we can check them in...

GitHub warns for greater than 50MB, fails for greater than 100MB.
The biggest files we have are ~ 20M so let's go ahead and check them in, barring coordination for storing them in a better location.


visualization.py is too I/O heavy for Raspberry Pi 3 without standalone root partition

First at all big thanks for this project. It is awesome when it once works.
The problem i encountered the last few days of testing is a really strange one. I'm unable to run visualization.py on any SD card of mine in combination of librespot or any music application stable. My setup consists of pulseaudio running as systemd-service in system mode, providing a stereo monitor of my USB DAC for microphone.py as input. The visualization.py and librespot also run as systemd-services, also as root. When testing this setup with a good Samsung EVO 32GB microSD the Raspberry Pi shows unbelivable big error reports on console regarding the SD card. Testing it with an also good SanDisk Ultra 16GB microSD, puts the microSD in read-only mode. Both microSD cards and the Raspberry Pi work like a charm in normal operation. And with 2 super cheap vendorless China 8GB microSD the system instantly freezes and i can't even log in until i plug out the USB DAC. To be honest these two cards are super slow and only used for my cheap little Orange Pi Zeros. To sum this up neither of these setups works really stable. Now comes the hotfix of mine. Running this setup with a good USB flash drive (SanDisk Extreme USB 3.0) as root partition works without a hassle. Following the success, i tested it with and old 2,5 inch harddrive which also works normal. Using a old USB 2.0 flash drive from Kingston with poor read/write ( poor I/O ) again renders this setup unusable. I suspect your code somewhere needs too much I/O to work on my setup reliable.
EDIT: Forgot to mention that if i disable my visualization.py systemd-service all combinations of my setup run really good. Librespot and other applications are as responsive as on my desktop. So i really think there is something in your code which writes to much data to the disk ( log file maybe ? ).

@thokis I am not an expert on this topic as I just recently got an Raspberry Pi and was not able to set up this project with it yet. But from what I know also "good" SD cards can be somewhat slow. You could try using a class 10 SD card if you have access to one.

The good ones are min. Class 10 and the best is even a UHS-3, so i dont think the problem is on this end.

This sounds very much like a problem with your power source. I have seen Raspberry Pis "eat" SD cards when the power source was too weak.


Wat about DRM download scenario?

All examples talk about streaming. How can I create a DRM-protected file to be able to fetch it locally (and distribute)? The license is still to be retrieved online.

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

ID: 2c75e8fa-2e91-d600-417c-2de6f9d98c21
Version Independent ID: 09063127-7d0a-db1d-c2d1-69f7fb3fa3ac
Content: Protect your content with Media Services v3 dynamic encryption - Azure Media Services
Content Source: articles/media-services/latest/content-protection-overview.md
Service: media-services
GitHub Login: @Juliako
Microsoft Alias: juliako

@mc0re , I will investigate and update you. Thanks for raising this issue.

@mc0re , If offline DRM is what you’re looking for then there’s https://docs.microsoft.com/en-us/azure/media-services/previous/offline-playready-streaming-windows-10 and the other links are for Widevine and FairPlay.

Thank you, but this is the player. I was looking for a way to produce such contents - an MP4 file, which can be downloaded but cannot be played without a license.

There is currently no DRM bindings for just static MP4 files. Playready, Widevine and Fairplay never provided any DRM binding for standard MP4 files.
The only specification is the Common Encryption spec, which defines how to encrypt a fragmented Mp4 file.
It is still possible to download the fragmented MP4 file and use offline DRM from the major vendors to do what you want - which would be the feature above that explains the Offline DRM options available in our service.
Nobody currently in the market has any plans to add DRM to standard, non-fragmented MP4 files.
You would be best to stop searching for such a solution in that space and just work with the fragmented MP4 file versions.

So you're saying that while the player is capable of playing offline DRM-protected files, there is no way to actually create such one? How did they test it, then?..
Anyway, I'd appreciate some more technical explanation of what a fragmented MP4 file is (related to the CENC / HSL / whatever other Locator one can create in Media Services), and how I can go about it :-)  If I understand you right, it is basically dumping the stream onto the disk. But then, I didn't see anything like CencStream - how can I do it? And how do I feed the player with those bits afterwards?

No.  Players are only capable of playing back fragmented MP4 content that complies with the CMAF specification.  IOS supports only CMAF via HLS with Fairplay DRM.  Android uses the EXOPLAYER framework and only supports Widevine DRM with CMAF content.
Everyone tests with HLS and DASH based content and fragmented MP4 that is packaged for compliance with CMAF and Common Encryption.  In that scenario it all works perfectly fine, so it is quite easy to test it.
As far as background on MP4, CMAF and Common Encryption there are lots of sources out there.  But it takes some time to learn the details - so i will just cut to the chase to help you move ahead.  Basically, you need to use one of the formats supported by the DRM systems.  Which means you cannot use progressive download or standard MP4 files.
Did you follow the article above already?
https://docs.microsoft.com/en-us/azure/media-services/previous/offline-playready-streaming-windows-10
Some good articles on CMAF
https://bitmovin.com/what-is-cmaf-threat-opportunity/
https://www.wowza.com/blog/what-is-cmaf

I will rush answering you before you disappear :-)
I did go through that article, but now after your explanation it's somewhat more clear :-)  Those this phrase put me back on square one: "There are two options for hosting the PlayReady protected MP4 for progressive download".
Otherwise, as I understand, I need to:

Create a locator for smooth streaming
Download the streamed contents as "ismv" file, rename to "mp4"
I assume the DRM license is embedded into the "ismv" file
Open the file using "MediaSource.CreateFromStorageFile()"

The second item is most questionable for me now, as the streaming client is embedded into the player...

And then, there is ContentKeyPolicyPlayReadyContentType.UltraVioletDownload content type, what does that do?

On one hand, we wish for downloading a file which is PlayReady protected (for Windows), ideally it is MP4 file. On the other hand, there is no binding between MP4 file and DRM. To overcome this, suppose we have a smooth streaming content (containing multiple bitrates, each bitrate maps to a .ismv file). Suppose you could use a commercial encoder to perform PlayReady encryption on smooth streaming content. After such encryption, you still have the set of .ismv file, now under PlayReady encryption. Each .ismv file is actually a (GOP-aligned) MP4 file. You can rename it from .ismv to .mp4. Now you get a PlayReady encrypted MP4 file.
The remaining question is where you host this PlayReady encrypted content: you can host in Azure Media Services or else.
If you host in Azure Media Services, you can do either online streaming or (progressive) download as a file. Windows 10 player will handle license acquisition.
If you host on a web server or cloud storage, you can only do download which also meet your needs.

Let us know if there is any feedback on documentation improvements we can make

Thank you very much for guiding. It was really confusing for me to see the "progressive download" mode, DownloadOnly locator, UltraVioletDownload content type - but still been said that downloading is not what I need... It is somewhat clearer now, though took quite some time to wrap my head around this topic.
As for the documentation, probably explaining somewhere (tagged as "download" and "drm"), what that actually requires:

An .ismv file (possibly created by Media Services encoding for smooth streaming)
A PlayReady dynamic encryption of it (a setting on the locator)
A way to download such file (retrieve and parse the manifest?)
And an offline player (linked a couple of times above :-) )

I'd really appreciate someone answering some more detailed questions.

Downloading the .ismv file is possible after parsing and understanding the .imsc manifest. But this manifest provides separated [chunk] links for video and audio. Is it possible to get a link to a mixed contents? Otherwise I don't know how I feed it to the player...

Is it correct to assume, that even if I delete the asset containing the encrypted output after downloading, I can still request the DRM license for playback?

Thanks for the help. I will work with @Juliako to update the content.
I will go ahead and close this issue. Please feel free to reopen in case you need further assistance.

Can you answer my questions?


Capital letters

Hi,
I have written a few variables in capital letters so that they will be exported to other packages. Maybe you want to use that.

Thanks for the PR! Yeah, we need to export a proper API. I'm not yet sure how that API would look like though.
My planned approach was to start working on a client and expose the bare minimum needed, lifting up functions from tests into the library when it makes sense.

I have followed the example of openmls. First you have to define a ciphersuite and then the credentials.


scoop-cleanup: Remove-Item : Index (zero based) must be greater than or equal to zero...

$ scoop cleanup *
Removing cmder: 1.3.8Remove-Item : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
At C:\Users\<omitted>\scoop\apps\scoop\current\libexec\scoop-cleanup.ps1:51 char:9
+         Remove-Item $dir -Recurse -Force
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Remove-Item], FormatException
+ FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.RemoveItemCommand

 1.3.9Remove-Item : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
At C:\Users\<omitted>\scoop\apps\scoop\current\libexec\scoop-cleanup.ps1:51 char:9
+         Remove-Item $dir -Recurse -Force
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Remove-Item], FormatException
+ FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.RemoveItemCommand

Removing php: 7.2.12Remove-Item : Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
At C:\Users\<omitted>\scoop\apps\scoop\current\libexec\scoop-cleanup.ps1:51 char:9
+         Remove-Item $dir -Recurse -Force
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Remove-Item], FormatException
+ FullyQualifiedErrorId : System.FormatException,Microsoft.PowerShell.Commands.RemoveItemCommand

Everything is shiny now!

$ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.1
PSEdition                      Core
GitCommitId                    6.1.1
OS                             Microsoft Windows 6.1.7601 S
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Have you edited that file anyhow?? There is now such line
https://github.com/lukesampson/scoop/blob/be306871350506a30f8045ca11676f66fffb035f/libexec/scoop-cleanup.ps1#L51
What is result of git status in $env:SCOOP_HOME folder?

I just add some 'Write-Output' lines of code for debugging for myself. The original line should be https://github.com/lukesampson/scoop/blob/be306871350506a30f8045ca11676f66fffb035f/libexec/scoop-cleanup.ps1#L48

This is related to #2832 , to reproduce the issue, you need a restricted account.
https://github.com/lukesampson/scoop/blob/master/libexec/scoop-cleanup.ps1#L45
This line of code doesn't work, then Remove-Item <symboliclink> will trigger the error Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
I'll dig into this to try to find a fsutil.exe alternative to interact with symbolic link (or junctions). The whole Windows symbolic link stuff is really unpleasantly to restricted users.

This is related to #2832 , to reproduce the issue, you need a restricted account.
https://github.com/lukesampson/scoop/blob/master/libexec/scoop-cleanup.ps1#L45
This line of code doesn't work, then Remove-Item <symboliclink> will trigger the error Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
I'll dig into this to try to find a fsutil.exe alternative to interact with symbolic link (or junctions). The whole Windows symbolic link stuff is really unpleasantly to restricted users.


Provide support for limiting which providers to return back

Currently, all providers are returned back from the endpoint. Providing support for targeting specific providers might be more beneficial.

This has been completed with the recent work in https://github.com/aforloney/config-view/pull/21 and a follow-up hotfix via https://github.com/aforloney/config-view/pull/22 and can be found in v1.0.5


Severe Audio Degradation Issues

Bug description
I am having severe audio degradation issues in my videos, and occasionally also delay in audio. I am running all this in docker under WSL 2, here is part of neofetch:
 OS: Ubuntu 22.04.3 LTS on Windows 10 x86_64
 Kernel: <IP_ADDRESS>-microsoft-standard-WSL2

I've noticed the sample rate gets dropped from 160k to ~130k (sometimes 129, other 132...) and when i try to fix it with the audio_bitrate this works but causes even more artifacts. I've tried both the included and --my-ffmpeg, and my-ffmpeg usually causes even more issues. I've tried previous ffmpeg versions, and I've found v 4.2.3 causes the least amount of issues when using --my-ffmpeg, as the audio seems to be degraded for only part of the clip and the rest is kept intact.
Full Dockerfile:
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
WORKDIR /app
COPY requirements.txt ./
RUN apt-get update && apt-get install git python3 python3-pip -y
COPY --from=mwader/static-ffmpeg:4.2 /ffmpeg /usr/local/bin/
COPY --from=mwader/static-ffmpeg:4.2 /ffprobe /usr/local/bin/
RUN pip3 install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8080
CMD [ "python3","-u", "app.py"]
FFmpeg:
https://hub.docker.com/layers/mwader/static-ffmpeg/4.2/images/sha256-7e5c2d9f202dc2438ac52a9700ee72c623a64c654611dfeb81539a2efc93e916?context=explore
What's your platform?
Python Version: 3.10.12 64-bit\nPlatform: Linux <IP_ADDRESS>-microsoft-standard-WSL2 x86_64\nFFmpeg Version: 4.2.3\nFFmpeg Path: /usr/local/bin/ffmpeg\nAuto-Editor Version: 23w51a\n

What command did you use
auto-editor input.mp4 -o output_edited.mp4 --margin 0.6sec --keep_tracks_seperate

What properties does your input video have?
/app/static/files/yr3gpjr9o5vt2rn/yr3gpjr9o5vt2rn.mp4:
 - video:
   - track 0:
     - codec: h264
     - fps: 2768625/46144
     - resolution: 1920x1080
     - aspect ratio: 16:9
     - pixel aspect ratio: 1
     - duration:<PHONE_NUMBER>6666667
     - pix fmt: yuv420p
     - color range: tv
     - color space: bt709
     - color primaries: bt709
     - color transfer: bt709
     - timebase: 1/90000
     - bitrate: 6001574
     - lang: und
 - audio:
   - track 0:
     - codec: aac
     - samplerate: 48000
     - channels: 2
     - duration:<PHONE_NUMBER>6666666
     - bitrate: 159621
     - lang: und
 - container:
   - duration: 123.050667
   - bitrate: 6175309

ffmpeg:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/app/static/files/yr3gpjr9o5vt2rn/yr3gpjr9o5vt2rn.mp4':\n  Metadata:\n    major_brand     : isom\n    minor_version   : 512\n    compatible_brands: isomiso2avc1mp41\n    encoder         : Lavf58.29.100\n  Duration: 00:02:03.05, start: 0.015000, bitrate: 6175 kb/s\n    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 6001 kb/s, 60 fps, 60 tbr, 90k tbn, 120 tbc (default)\n    Metadata:\n      handler_name    : VideoHandler\n    Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 159 kb/s (default)\n    Metadata:\n      handler_name    : SoundHandler\nAt least one output file must be specified\n
Comments
I have multiple examples of the artifacts. They're all in this  drive folder, where the edited ones are marked with _EDITED. They represent examples I've tried with:
auto-editor input.mp4 -o output_edited.mp4 --margin 0.6sec
auto-editor input.mp4 -o output_edited.mp4 --margin 0.6sec --my-ffmpeg
auto-editor input.mp4 -o output_edited.mp4 --margin 0.6sec --keep_tracks_seperate --my-ffmpeg
In all these cases artifacts are present, sometimes worse sometimes better. This also somewhat seemed to change based on the ffmpeg version, although never where these problems gone completely.
I've also tried running the program on barebones windows and the issues persist (Included in the folder). Looking forward to help you out if you need more information

I can't repro audio bitrate issues or audio desync with your samples. Audio quality seems fine.
auto-editor only supports ffmpeg 6.0 and beyond. The fact that you can still use ffmpeg 4.x and auto-editor doesn't crash is a miracle in itself.
On Linux, the --my-ffmpeg flag is being applied already.
You should compile and use ffmpeg master with fdc_aac enabled if you want to remove audio artifacts to the lowest possible.

Thanks for pointing me in this direction, I finally figured out the issue was with an unstable clock in my cpu. With that being said, auto-editor still does indeed degrade the quality of the video a little bit when running, compared to the original sample. I noticed a sort of "reverb" effect


ocamlPackages.lablgtk: 2.18.6 -> 2.18.8

Motivation for this change
Ensures compatibility with OCaml 4.08.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @maggesi @roconnor

@GrahamcOfBorg build ocaml-top framac


[SDPA-4557] : Adding the new Twitter Social image available in the latest version of tide_site.

JIRA issue: https://digital-engagement.atlassian.net/browse/SDPA-4557
Changed

Adding the new Twitter Social image available in the latest version of tide_site.

Note
The new field hasn't been added to the BE as yet, so this will fail tests until that happens. This will be a breaking change between FE and BE, so it should go out in the same release.

@kurtfoster BTW, please fix unit test


Add Nesterov Baseline

Nesterov

Implementation: Optax's SGD
Tuned hyperparameters: learning_rate, momentum, weight_decay
Fixed hyperparameters: Nesterov=True

Addressed by #306.


Blueberry listed twice in creative menu

The Blueberry is listed twice in the creative menu (Use the search bar).
It's also called "Blueberry Bush" instead of just blueberry or blueberries, unlike Sweet berries which are named Sweet berries.
Imo, the latter term "blueberries" works better with the vanilla naming scheme and the current texture.

Related: Blueberries are both in the food category as well as the blocks category


Current Play Time and if currently playing

is there any way to calculate if the object is currently playing and what play time it got?

Did some more research. to check if its playing, use source.playing (true or false)
currentTime was not possible, but i made a function for it and added a pull request https://github.com/alemangui/pizzicato/pull/27


How I can validate json data inside monaco-editor and retrieve error list?

My target is to write json inside monaco-editor and reitreve list of errors.
Is it possible?

There is a feature request for adding read access to markers in #30


-f option for nuke

currently nuke doesn't delete dynamodb tables or s3 buckets if they have contents; we should add a flag for the super nuclear option 🚀

(on master now / not documented yet)


feat: 🎸 7.0 compatible SQ

Description

Entities Settlement, MediatorAffirmation, IdentityInstructions have been removed

Changes in Venue entity

New attribute signers has been added to track all the allowed signers associated with them
New derived field instructions: [Instruction]! has been added to track instruction info
associated a Venue

Adds new enum InstructionTypeEnum to track instruction type

Changes in Instruction entity

eventId, eventIdx have been removed
settlementType: String! has been modified to type: InstructionTypeEnum!
endAfterBlock: Int has been added to track block after which SettleManual type
instructions can be executed
mediators: [String!]! has been added to track list of mediators for an instruction
New derived fields namely - parties: [InstructionParty]!,
affirmations: [InstructionAffirmation]!, events: [InstructionEvent]! have been added to
query more information about an instruction

Changes in Leg entity

Attribute settlement: Settlement has been removed
Attribute instruction is now non-null
The from and to part of the legs have been split separately into identity and
portfolio number to support off chain legs. The new attributes are
from: String!, fromPortfolio: number, to: String!, toPortfolio: number

Following new entities have been added:

InstructionParty - to track all the DIDs associated with an instruction.
InstructionAffirmation- to track all the affirmations received for an instruction
OffChainReceipt - to track all the receipts used in affirming off chain legs
InstructionEvent - to track all the event associated with an instruction.
This will give a clear picture about the lifetime of an instruction on how it got created,
to affirming, to execution

New module electionprovidermultiphase has been added to ModuleIdEnum

Following new events have been added to EventIdEnum:
MultiSigAddedAdmin, MultiSigRemovedAdmin, MultiSigRemovedPayingDid,
MultiSigSignersAuthorized, MultiSigSignersRemoved, MultiSigSignersRequiredChanged,
ProposalApprovalVote, TickerLinkedToAsset, Chilled, EraPaid, ForceEra, Kicked,
PayoutStarted, SlashReported, StakersElected, ValidatorPrefsSet, ElectionFailed,
ElectionFinalized, PhaseTransitioned, Rewarded, Slashed.

Following new extrinsics have been added to CallIdEnum:
add_admin, add_multisig_signers, add_multisig_signers_via_admin, approve,
approve_join_identity, change_sigs_required_via_admin, create_proposal, join_identity,
reject, remove_admin_via_admin, remove_multisig_signers_via_admin,
remove_multisig_signers, remove_payer, remove_payer_via_payer, chill_other,
force_apply_min_commission, kick, set_min_commission, set_staking_configs,
register_unique_ticker, pre_approve_asset, exempt_asset_affirmation,
remove_asset_affirmation_exemption, remove_asset_pre_approval, link_ticker_to_asset_id,
governance_fallback, set_emergency_election_result, set_minimum_untrusted_score,
submit, sumbit_unsigned.

New handlers have been added to track the following events:
TickerLinkedToAsset, MultiSigAdminAdded, MultiSigRemovedAdmin,
MultiSigSignersAuthorized, MultiSigSignersRemoved, ProposalApprovalVote

venue is now optional in the Instruction entity.

ID of the Asset entity is the new Asset ID generated from chain 7.0.0 chain.
For older chains, legacy ticker format is used to generate the ID.
All referencing entities will now be tracking this ID for any given Asset.
To keep the old reference of ticker, new ticker attributes have been added to some
entities where assetId was referenced as string

ticker attribute of Asset entity is now optional.

A new attribute raisingTicker of type string has been added to Sto entity.
This will track ticker value for the raising Asset associated with an Sto.

New attributes raisingAssetId and offeringAssetId of type string have
been added to the Investment entity to track the asset ID for the
respective type of assets (raising and offering).

ticker: String attritube of the ClaimScope entity has been replaced
by asset: Asset to have a mapping to asset entity.

AssetPendingOwnershipTransfer entity has been removed

A new MultiSigAdmin entity has been added to track admins for a multisig.
This also results in a new derived attribute admins to be added tot MultiSig entity.

New Approved status has been added to MultiSigProposalStatusEnum

Both creator and creatorAccount fields in MultiSigProposal are now optional.

Breaking Changes
This will require a full resync for all the changes listed above
JIRA Link
DA-1232
Checklist

[ ] Updated the Readme.md (if required) ?

/fast-forward


No indication of how to save, or that saving is automatic, or to prevent saving.

ZMA does not tell the user saving is automatic.
There are users who may also make changes but not wish to save those changes. What can they do?
What about users that want to save the project under another name?
I was genuinely confused if closing ZMA was going make me lose my KCL.

this is a good point because I often compare the behavior of our app to vscode, there are lots of similarities:

local files
some extensions in vscode call out to a cloud but all files are still local

but a big difference would be in vscode you inheritly hit save, in that regard it is pretty unintuitive, maybe something for the onboarding?
adding @franknoirot

Yeah this is one of the points along which I think our app borrows from Figma not VS Code. I propose two things:

Adding early in the onboarding that saving is automatic (we should also mention that they are saved locally)
Add a little toast like Figma used to show when users hit ⌘S or Ctrl+S that says "All your changes are auto-saved"

Here are some notes from Figma on their autosave feature: https://www.figma.com/blog/behind-the-feature-autosave/


Click Shape Javascript Game

I would like to add a project (click shape javascript game) in JavaScript under GSSOC 2021.

Please assign me this issue @ridsuteri @991rajat @Vishal-raj-1 @harshgupta20

I would like to work on this , Will you assignee me

@Furquan712 the issues are assigned on fcfs basis, hence @neha07kumari is assigned to this issue, if she fails to come up with a PR ,it will be assigned to you :)

@ridsuteri I'm unable to push my changes to the repository , I tried many times in different ways to resolve the issue but couldn't. As I'm switching to new branch, the new branch isn't publishing and showing error. I'm attaching the screenshot of it.Please let me know what can I do next.


fix(table-pager): add flexible width when active page number is large

Related issue
Reference to the issue
#689
Description of the issue
When the table had 4-digit number of pages, the active page was truncated and blue bullet not centered
Person(s) for reviewing proposed changes
@samuel-gomez @guillaumechervet @youf-olivier @LeGrandKhan

Hmmmm I rebased after @samuel-gomez merged PR and lost your approval, @arnaudforaison. Sorry.

Le rebase était vraiment obligatoire ?

That's my religion, @youf-olivier, I always rebase before submitting a PR.
To me:

it keeps the history much much much cleaner and understable (history being "passive documentation")
much safer (even more after a 450+ file PR just merged before mine)

De mémoire ca change rien, le merge se débrouille tout seul, mais t'as surement raison.

Rebase will make sure commits are one after another... while merges may look like this :-)

Anyway, it's your move to merge it now, I don't have the write-access on this repo :)


Add call stack to unexpected mock call

Make identification of unexpected calls easier.
Note, this is a copy of https://github.com/uber-go/mock/pull/110 which is miraculously permanently closed.

Hey @feldentm-SAP, sorry for the confusion on the other PR. Not sure why github insists on it remaining closed.
I think this could be a helpful addition. I'm not too worried about performance implications of collecting stack traces since this is for testing code. One thing we may want to do is use https://pkg.go.dev/runtime#Callers instead and skip the first couple of frames since these are irrelevant and point to internal gomock code.
@tchung1118 what do you think?

@JacobOaks My understanding is that the code is executed for failed tests, only. Hence, performance considerations are almost irrelevant. I also agree that skipping callers would improve the output, but the benefit over the current proposal does not justify spending the required time as I no longer understand the change. Hence, I'd propose that this is either merged or one of you takes an educated guess on how many callers need to be skipped and if this can be determined statically. Getting this wrong by one reduces the benefit of the change to almost zero.


Lk86/daemon chart

Attempt to standardize a "daemon" chart that can be used to deploy testnets of all kinds, as a kin to the archive node chart. Potential future improvements include snark coordination (and snark workers), as well as more direct integrations with rosetta/archive.

!ci-build-me

!ci-build-me

Hello @lk86 .. What's the status on this please. I was looking to launch a production block producer on k8s, but cannot find a helm chart so was pondering if I should use this one. The official one seems focused on testnet if I'm not mistaken. Any help is appreciated! Thanks

It's working well at this point, just need to address the review feedback. I would recommend using this chart instead of the existing ones, especially for use on Mainnet, and if you have any issues with it feel free to comment here and I can try to clarify

Thanks a lot @lk86 .. Amazing work! Yes, I'd like to use it, but I've got some questions please:

How can I install this today, is it published to any repo yet? If not, I can checkout the branch locally, but not entirely sure how to install from that
Is this compatible with the official docker images that Mina publishes? i.e later on, I can just update the image and helm upgrade
I'm not sure I understand the concept of launching various nodes and their class and role. What do I need to set for a minimal block producer
Is it true that a single node needs 24 vCPUs and 80 GB RAM? This seems too much. Docs mention 8 cores, 16GB

So I'm basically looking for getting started info about a minimal block producer. Maybe this should also be added in a README as part of this PR to help others get started. Thanks a million!

How can I install this today, is it published to any repo yet? If not, I can checkout the branch locally, but not entirely sure how to install from that

It is already published to our charts repository, see the README for how to use it: https://github.com/MinaProtocol/mina/pull/12585/files#diff-e2a5c7ad835889cd42d06aea9ea211c1e5760636d6994d8472ad65e767cde595R7

Is this compatible with the official docker images that Mina publishes? i.e later on, I can just update the image and helm upgrade

Yes, the chart should work with any current or future mina daemon docker images

I'm not sure I understand the concept of launching various nodes and their class and role. What do I need to set for a minimal block producer

This is for organizing larger deployments with many nodes that have similar but not identical purposes, for example filtering log output by the label "role=extra-logging". The chart does not do anything fancy with these values, only using them for naming and labeling.

Is it true that a single node needs 24 vCPUs and 80 GB RAM? This seems too much. Docs mention 8 cores, 16GB

No, the default configuration shown in the chart is intended to mimic the O(1) Labs production seed nodes which are 1) over-provisioned for safety and 2) require more ram to handle many more peers than the average block producer. The 8 vCPUs and 16 GB ram should be a solid place to start for a simple block producer.

Next steps definitely include more examples and docs for how to use this chart for other purposes, but the basics are:

Define a new "my-block-producer.yaml" based on the contents of seed-1.yaml
Update the image to whatever you intend to run
Set the feature flags for a standard block producer (name=block-producer-1, fullname=block-producer-1, class=block-producer, seedFlags=false, maxConnections=50, minaKeys.enabled=true, minaKeys.produceBlocks=true, requests.memory=16Gi, requests.cpu=8)
Install dependencies locally and run keygen.sh block-producer 1 or otherwise generate and upload your block producer + libp2p keys (keep the resulting keys.yaml file safe as it contains the private keys in base64)

!ci-build-me

!ci-build-me

!ci-build-me


50 move rule does not seem to be implemented

For the following command:
4k3/8/8/8/8/8/8/4K2R w - - 99 1
The engine should only play 1 move and then draw in accordance to the 50 move rule, but it keeps playing anyway. I've checked the code and it doesn't seem to have this rule implemented anywhere.

Thats correct, there is no check for the 50 move rule, only 3 fold is checked. This is on the list of things to do if I do get around to it but since it occurs so seldomly in real games that its low priority


sound doesn't works on hl2

hello, i already read some of the closed issues searching for a solution, but nothing worked for me so i will lend some videos bc i don't know what to do :P
https://github.com/modusmogulus/GmodDynamicWeaponReverb/assets/72633372/1fbc4af6-3ab8-4ed1-b425-e9b9b5400424
https://github.com/modusmogulus/GmodDynamicWeaponReverb/assets/72633372/89538ff4-0914-452c-a706-0a9bafa78545
https://github.com/modusmogulus/GmodDynamicWeaponReverb/assets/72633372/9979e5df-1806-449f-b350-0989d2113f54

this mod is likely conflicting with DWR.

use this mod instead: https://steamcommunity.com/sharedfiles/filedetails/?id=2977096121
It's 100 times better, however it's still incompatible. if you ask the developer nicely he might implement a fix for other mods that rely on entityfirebullets.

 this mod is likely conflicting with DWR.

thanks for the answer, but i tried and stills not working dude, im getting upset

 this mod is likely conflicting with DWR.

thanks for the answer, but i tried and stills not working dude, im getting upset

it's definitely not dwr's fault. try turning off mods that can manipulate or detect bullets in any way.


No Frontend in Hassio. SSH produces json errors.

Home Assistant release with the issue:
0.78.3
Last working Home Assistant release (if known):
0.78.3
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Description of problem:
Problems after installing the Hass.io addon Motioneye:
https://community.home-assistant.io/t/community-hass-io-add-on-motioneye/71826
My frontend will not load. I get "page cannot be displayed" errors in all browsers.
When I SSH into Hassio, no command will work. "hassio ha update", and "hassio ad uninstall name -"motioneye" produces the following error:
Error decoding json invalid character ':' after top-level value: 403: Forbidden
Similarly, when debugging, I get the same error for my endpoints:
core-ssh:~# hassio ad uninstall -name "motioneye"
Error decoding json invalid character ':' after top-level value: 403: Forbiddencore-ssh:~# ^C
core-ssh:~# hassio -d ad uninstall -name "motioneye"
DEBUG [addons]: action->'uninstall', endpoint='motioneye/uninstall', serverOverride->'', GET->'false', options->'', rawjson->'false', filter->''
DEBUG [ExecCommand]: basepath->'addons', endpoint->'motioneye/uninstall', serverOverride->'', get->'false', Options->'', Filter->'', RawJSON->'false'
DEBUG [GenerateURI]: basepath->'addons', endpoint->'motioneye/uninstall', serverOverride->''
DEBUG [RestCall]: data->'http://hassio/addons/motioneye/uninstall', GET->'false', payload->''
DEBUG [RestCall]: ResponseBody->'403: Forbidden'
Error decoding json invalid character ':' after top-level value: 403: Forbidden

**Problem-relevant configuration.yaml entries **
homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: !secret latitude
  longitude: !secret longitude
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 188
  # metric for Metric, imperial for Imperial
  unit_system: imperial
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: America/New_York
  # Customization file
  customize: !include customize.yaml
  packages: !include_dir_named packages

# Enables the frontend
frontend:

recorder:

# Enables configuration UI
config:

http:
  base_url: https://***.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  api_password: !secret api_password
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
    include_used_components: true

logger:

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:

# Zwave
zwave:
  usb_path: /dev/ttyUSB0
  network_key: "0xED, 0xB9, 0x87, 0x56, 0xBA, 0xAF, 0x3B, 0x29, 0x51, 0x08, 0xF7, 0xC2, 0xC5, 0xF6, 0x8F, 0x41"

zha:
  usb_path: /dev/ttyUSB1
  database_path: /config/zigbee.db

# Text to speech
tts:
  - platform: google

# MQTT
mqtt:
  discovery: true
  discovery_prefix: homeassistant
  password: !secret mqtt_password

# Cloud
cloud:

# Example configuration.yml entry
cover:
  - platform: myq
    username: ***
    password: !secret myq
    type: chamberlain

# RGBW:
light:
  - name: Kitchen Cabinets
    platform: mqtt
    state_topic: RGBW/relay/0
    command_topic: RGBW/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: RGBW/status
    payload_available: 1
    payload_not_available: 0
    brightness_state_topic: RGBW/brightness
    brightness_command_topic: RGBW/brightness/set
    rgb_state_topic: RGBW/rgb
    rgb_command_topic: RGBW/rgb/set
    color_temp_command_topic: RGBW/mired/set
    white_value_state_topic: RGBW/channel/3
    white_value_command_topic: RGBW/channel/3/set

  - name: Closet
    platform: mqtt
    state_topic: Closet/relay/0
    command_topic: Closet/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: Closet/status
    payload_available: 1
    payload_not_available: 0

  - name: Flood Light
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/0
    command_topic: ESPURNA-4859C5/relay/0/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

  - name: Garage Light
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/1
    command_topic: ESPURNA-4859C5/relay/1/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

  - name: Side Light
    platform: mqtt
    state_topic: ESPURNA-4859C5/relay/2
    command_topic: ESPURNA-4859C5/relay/2/set
    payload_on: 1
    payload_off: 0
    availability_topic: ESPURNA-4859C5/status
    payload_available: 1
    payload_not_available: 0

ecobee:
  api_key: oIwsvLHWlpIX8J4xu8v9JCRHbot1tOoC

notify:
  - platform: pushbullet
    name: Push
    api_key: ***

automation: !include automations.yaml

script: !include scripts.yaml

group:
  living_room:
    name: Living Room
    entities:
      - light.philips_lwb014_03162b33_11
      - light.philips_lwb014_031fd3b9_11
  stairs:
    name: Stairs
    entities:
      - light.philips_lwb014_0298f2ba_11
      - light.philips_lwb014_03074345_11
  downstairs:
    name: Downstairs
    entities:
      - light.level_5
      - light.level_4
      - light.level_6
      - switch.office
      - light.philips_lwb014_03162b33_11
      - light.philips_lwb014_031fd3b9_11
  outside:
    name: Outside
    entities:
      - light.flood_light
      - light.side_light
      - light.garage_light
  upstairs:
    name: Upstairs
    entities:
      - light.philips_lwb014_03074345_11
      - switch.zooz_zen23_toggle_switch_switch
# Weather prediction
sensor:
  - platform: yr
  - platform: systemmonitor
    resources:
      - type: disk_use_percent
        arg: /home
      - type: memory_free

This seems to be an issue with the add-on. Report your issue at https://github.com/hassio-addons please.

I'm unsure if it's an addon issue because the whole system is not working. I have no idea if motioneye's installation is the cause or if it's a coincidence. I only mention that as it's one of the things that I changed between reboots. I believe I also upgraded to the aforementioned version of home assistant at this same time.


Add NetworkDown notification to NetworkInterface.c [PR: #671]

This PR reopens the PR: #671 by @zipperowiec, which got auto closed when the formatting changes was force pushed and as it was accidently updated with upstream main branch.

[Original PR Description:]
Add NetworkDown notification support to STM32FXX network interface.
Description
NetworkInterface for STM32FXX lacks support for NetworkDown notification.
Current driven only disables MAC interface without notification to higher layers.
Proposed solution add this notification after MAC layer operations.
Test Steps

Run FreeRTOS TCP stack on STM32FXX board with ethernet cable attached.
Disconnect ethernet cable.
NetworkDown notification will be submitted, higher stack layers will be notified about situation and user callback will be called ( vApplicationIPNetworkEventHook(eNetworkDown) )

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@zipperowiec we merged your changes, once again, apologies for hiccups on previous PR. Thank you for your contribution to FreeRTOS.

@amazonKamath  Nice! I hope my changes will be helpful :)
I will be happy to help you again in the future

@zipperowiec we always look forward for community support.  We recently tagged 4.0.0-rc1, which is unifying IPv4 and IPv6 into a single branch. If you do get some time, check/test it out and provide any feedback. https://forums.freertos.org/t/freertos-plus-tcp-release-candidate-available-for-preview/17063


Constant configmap updates causing nonstop handler runs

Rancher Server Setup

Rancher version:
2.6.3+

Describe the bug
Configmap lasso handler are running constantly due to certain configmaps being edited frequently. Observed one configmap being updated every 2 seconds. These tasks should be fullfilled:

Investigate why these confimaps are constantly being updated.
Is it a possibility for these configmaps to not be updated on a fixed interval?
Investigate what these configmap handlers do and if there is an alternative to having handlers watching configmap events.
Deregister configmap manually and see if this has an effect on cpu/memory footprint.

To Reproduce

Install rancher, then install monitoring using steps https://github.com/rancher/rancher/wiki/How-to-setup-prometheus-dashboard-for-controllers. Metrics for lasso handlers will be available soon once https://github.com/rancher/lasso/pull/17 is merged and brought into rancher.
Result
Config map handlers are never reaching a plateu and are running constantly:

I watched the configmaps and saw some were having constant events. Here are a few events from one:
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"gitjob-6cd5874f8c-q8zz7","leaseDurationSeconds":45,"acquireTime":"2022-02-04T22:35:42Z","renewTime":"2022-02-08T02:06:32Z","leaderTransitions":1}'
  creationTimestamp: "2022-02-04T18:20:20Z"
  name: gitjob
  namespace: cattle-fleet-system
  resourceVersion: "1106478"
  uid: 8d59a318-86d5-4567-964d-6f9c9a55e5c2
---
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"gitjob-6cd5874f8c-q8zz7","leaseDurationSeconds":45,"acquireTime":"2022-02-04T22:35:42Z","renewTime":"2022-02-08T02:06:34Z","leaderTransitions":1}'
  creationTimestamp: "2022-02-04T18:20:20Z"
  name: gitjob
  namespace: cattle-fleet-system
  resourceVersion: "1106486"
  uid: 8d59a318-86d5-4567-964d-6f9c9a55e5c2
---
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"gitjob-6cd5874f8c-q8zz7","leaseDurationSeconds":45,"acquireTime":"2022-02-04T22:35:42Z","renewTime":"2022-02-08T02:06:36Z","leaderTransitions":1}'
  creationTimestamp: "2022-02-04T18:20:20Z"
  name: gitjob
  namespace: cattle-fleet-system
  resourceVersion: "1106493"
  uid: 8d59a318-86d5-4567-964d-6f9c9a55e5c2
---
apiVersion: v1
kind: ConfigMap
metadata:
  annotations:
    control-plane.alpha.kubernetes.io/leader: '{"holderIdentity":"gitjob-6cd5874f8c-q8zz7","leaseDurationSeconds":45,"acquireTime":"2022-02-04T22:35:42Z","renewTime":"2022-02-08T02:06:38Z","leaderTransitions":1}'
  creationTimestamp: "2022-02-04T18:20:20Z"
  name: gitjob
  namespace: cattle-fleet-system
  resourceVersion: "1106501"
  uid: 8d59a318-86d5-4567-964d-6f9c9a55e5c2

It appears that the leader annotations is being updated to to the renewTime field.
Expected Result

These handlers should reach a plateau or if these change events are non negotiable, we may want to find alternatives to using configmap handlers.

try disabling fleet to see if that makes this issue go away

The top handlers that are firing off at an upward slope are snapshotbackpopulate, helm-app-configmap and prov-log-configmap which are all configmap handlers. The configmaps that are being updated so frequently are kube-system/cattle-controllers, cattle-fleet-system/gitjob, cattle-fleet-system/fleet-controller-lock, and cattle-fleet-local-system/fleet-agent-lock. These are all leader election configmaps and the updates are all for renewing leases. The RetryPeriod for the leader election config is always 2 seconds (except in dev mode) plus a jitter factor, and this value is used as the polling period in the leadership renewal. This is working as expected, and configmap handlers firing off frequently is a natural consequence. We could change the renewal period to a higher value or make it configurable to try to reduce the slope, but the increase over time is unavoidable.
operator-sdk offers an alternate type of leader election that uses owner references rather than annotations so that the leader config object is garbage collected when the leader dies rather than updated at every renewal period. It comes with its own tradeoffs, and is not part of the upstream leader election implementation, but using that framework or using its implementation as inspiration is an option.
I commented out the registration of those three handlers and saw no discernible difference in the CPU or memory utilization with these controllers turned off (the spike is the rancher restart):

IMO we don't need to make changes to this until we can show that it is causing a problem.


Component site index page—improve "lab" visibility

Unclear which components are in lab. If we improve visibility, and once all other component docs are out of Storybook, we can consider removing the "available and upcoming components" table.
### Tasks
- [ ] Add 🚧 symbol to navigation link titles for lab components
- [ ] Change nav link sort so lab components appear at the bottom of the vertical nav list
- [ ] Add "in progress" badge to lab component doc pages
- [ ] Add explanatory copy to index page

@lilyvc below is proposed explanatory copy for the index page, also checked by Delme.

Stable components do not feature an accompanying symbol in their navigation link titles. You can find them in the @salt-ds/core package.
Unstable components feature a 🚧 symbol in their navigation link titles. These are under active development and may not function as expected. You can find them in the @salt-ds/lab package.

@mikearildbrown is this meant to replace all the copy above the components table?

I've raised this PR https://github.com/jpmorganchase/salt-ds/pull/2503 but let me know if the copy should be amended as per the comment above


fix(input-helper): replace span with p element to improve semantic

General summary
For a11y, improve the semantic of the inputHelper component by using a semantic <p> tag instead of a <span>.
Screenshots
No visual changes, only the markup changes.

Test OK - no visual regression, the input helper span is indeed replaced by a p


Extract relationships from abstracts and titles only

Currently running on titles and abstracts to extract sentences_input

Hope there is a complementary ticket to bring all pubmed abstracts... And an interesting science question of how would the merge look like
-Gill
On Jul 22, 2015, at 3:47 PM, Colossus<EMAIL_ADDRESS>wrote:

Currently running on titles and abstracts to extract sentences_input
—
Reply to this email directly or view it on GitHub.

This issue seems obsolete- see #69 and others


Add more HasCallStack to shelley network layer

Issue Number
Relates to #1708
Overview

Adds HasCallStack annotations where possible, based on the principle that future bugs often appear in the same place as past bugs.
Make the parallel socket connections test more robust by removing the threadDelay.

Comments

I was unable to add HasCallStack to connectClient. This requires a change in the ouroboros-network library.

bors r+


indexes of 68 landmarks

Hi, are there indexes of 68 landmarks?

Thanks for your attention, more details will be released in the next two months

Any updates on this?


Custom BuildStorage example is wrongly typed

Hello !
Thanks for this lib, I wanted to use it with redis to store the cache, and followed that example : https://axios-cache-interceptor.js.org/#/pages/storages?id=creating-your-own-storage
But when I implemented it, I got an error from typescript :

I think I figured out what's wrong :

Redis expects a string to save, so in the set function we Stringify the value.
When we get the value from redis in the get function and give it to the buildStorage, we do not parse it. Either the parse is done by the buildStorage and the get function is wrongly typed, or we have to manually parse the value returned by Redis before returning it :

If I'm correct, maybe adjust the documentation for futur users ;) If I'm wrong, what am I missing ?

Yep, you are 100% correct.
I don't know how I let this get his way into the documentation. Looking forward, seems that this even may be the fix for #165.

@arnaud9145 i am also using redis storage, do you mind to put an example about how you are using redisStorage when setupCache and do you need to await on buildStorage?

I've just updated the redis example in the documentation.
https://github.com/arthurfiorette/axios-cache-interceptor/blob/main/docs/pages/storages.md#creating-your-own-storage

@arnaud9145 can I close this issue?