Fetch Python Tests from SDK

What changed
This PR is the phase-2 for the feature Python tests in TH UI.
The fetch SDK tests script file was renamed to scripts/fetch_sdk_tests_and_runner.sh and added support to fetch the python test. The Python tests should be displayed inside test_collections/sdk_tests/sdk_checkout folder.
Related Issue
Python tests in TH UI - Phase 2 (Fetch Python Test from SDK) - https://github.com/project-chip/certification-tool/issues/73
Testing

Unit test passing

Both YAML and Python tests are inside test_collections/sdk_tests/sdk_checkout folder.

This looks good.
I am wondering if we should move the fetch_sdk_yaml_tests_and_runner.sh script inside the test_collection/sdk_tests so that the Matter Test Collection is more self contained.

Done


feat(build): Include vendor css in build.

This should be closed as it was merged in #338

Of course, thanks.


Unity - SpeechSynthesisResult AudioDuration

In Unity editor Text to speech
AudioDuration is always 0 from SpeechSynthesisResult, but audio exists.
To Reproduce
Steps to reproduce the behavior:

Download Unity Cognitive Services Speech SDK Text-to-Speech Example
Add this line in HelloWorld.cs on line 49
 Debug.Log(result.AudioDuration);
Result will be printed inside Unity Console

Expected behavior
Expected the duration of generated audio.
Version of the Cognitive Services Speech SDK
1.27.0.
Platform, Operating System, and Programming Language

Windows 10 Pro
Hardware - x64
Programming language: C#

@yulin-li Can you please check.

Sorry for the late reply and I will take a look

@yulin-li Please update the status.

This is still under investigating.

@yulin-li Any update?

Closed since no update in 6 months -> either obsolete or unsupported. @yulin-li FYI


Support updated REST API

Implements https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/pull/3.

@OR13 @yogeshbdeshpande @SteveLasker https://github.com/ietf-wg-scitt/draft-ietf-scitt-architecture/pull/3 is merged now, so it would make sense to merge this corresponding PR as well. Please review/approve.


DIPs 11 (Identity) and 12 (DPNS)

This PR introduces the Dash Platform Identity and DPNS DIPs

Thanks @shumkov, @antouhou, @QuantumExplorer, @cofresi, @pastapastapasta and everyone else for your hard work on these

One reference to "DIP 5" should be "DIP0005" and one reference to "DIP 11" should be "DIP0011" in DPNS DIP Prior Work section.

Updated in https://github.com/dashpay/dips/pull/65/commits/21253e95857c6130f892c1f762cfff7e91bff2e6


Minor update re: np.arccos

Requested in an email from one of the content creators:

I see you also logged another minor change to the code:

Moved from arccos of cos metric to straight cosine matrix (there was no explanation and it was confusing)

The change is from np.arccos(rdms_comp) to 1 - rdms_comp

I discussed this with Niko (cc'd) today. Both of these are distance measures, but the difference is that arccos gives us an angle and makes the whole rdm comparison a metric. That's why we had it there. I think it would be good to go back to that.

Niko and Heiko have a slide in their deck (see below) that explains what a metric is so we can actually add more explanation on that if you think that would help.

Added in #383.


Feature/collection id handler

What
Added collectionID handler to middleware, govendor.
How to review
Sanity check.
Who can review
Anyone.

handler has changed.


本网页可以用GitHubPages搭建吗？

如题

obviously, no, you need to use virtual hosting or VPS, because you need PHP8 and mysql support


Material theme

A preloader theme inspired by Google Material Design and SFCD Android Spinner.

Cool, thank you.


Add custom shortcuts / commands line

Feature Description
The objective of this proposal is to add the possibility of incorporating custom commands.
It would be interesting if it could be created at a global level and at a project level.

Project lvl ~/path/project/.efde/commands/customaction.bash
Global lvl ~/.efde/custom_cli/customaction.bash

That can be executed by shortcut
efde custom:command:line
efde ccli:customaction

See documentation


Convenient aliases: T and I

Coming from NumPy I would propose to reserve the following two short aliases:

T as a property alias for transposed
I as a property alias for inverted

This is often quite handy

@9il what do you think about these convenience aliases?

We can thing about it when we implement LAPACK from scratch for matrix inversion XDD

We don't use them as public global names. So they are available

We don't use them as public global names. So they are available

Great! Then I would propose to add them - it's also useful without lapack and it's purely an api question ;-)

Would not be path of the Phobos. This may be implemented in the script like shell over the Mir library


python312Packages.icalendar: 5.0.13 -> 6.0.0

Description of changes
Diff: https://github.com/collective/icalendar/compare/refs/tags/v5.0.13...v6.0.0
Changelog: https://github.com/collective/icalendar/blob/v6.0.0/CHANGES.rst

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

This breaks xandikos until https://github.com/jelmer/xandikos/issues/351 is fixed
cc @0x4A6F @schnusch

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

2 packages marked as broken and skipped:

syncall
syncall.dist

9 packages failed to build:

autosuspend
autosuspend.dist
home-assistant-custom-components.waste_collection_schedule
khal
khal.dist
python311Packages.icalevents
python311Packages.icalevents.dist
python312Packages.icalevents
python312Packages.icalevents.dist

40 packages built:

calendar-cli
calendar-cli.dist
confy
errands
gtg
home-assistant-component-tests.caldav
ical2orgpy
ical2orgpy.dist
mutt-ics
mutt-ics.dist
python311Packages.caldav
python311Packages.caldav.dist
python311Packages.django-scheduler
python311Packages.django-scheduler.dist
python311Packages.icalendar
python311Packages.icalendar.dist
python311Packages.recurring-ical-events
python311Packages.recurring-ical-events.dist
python311Packages.x-wr-timezone
python311Packages.x-wr-timezone.dist
python312Packages.caldav
python312Packages.caldav.dist
python312Packages.django-scheduler
python312Packages.django-scheduler.dist
python312Packages.icalendar
python312Packages.icalendar.dist
python312Packages.recurring-ical-events
python312Packages.recurring-ical-events.dist
python312Packages.x-wr-timezone
python312Packages.x-wr-timezone.dist
tandoor-recipes
timeline
todoman
todoman.dist
topydo
topydo.dist
xandikos
xandikos.dist
yokadi
yokadi.dist

Packages that need fixing

[ ] autosuspend (@bzizou @anthonyroussel) https://github.com/languitar/autosuspend/issues/570
[x] icalevents (@JamieMagee) https://github.com/jazzband/icalevents/pull/145
[ ] khal (@gebner) https://github.com/pimutils/khal/issues/1361
[x] todoman (@leenaars @antonmosich) https://github.com/pimutils/todoman/pull/563
[x] xandikos (@0x4A6F) https://github.com/jelmer/xandikos/pull/352

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

2 packages marked as broken and skipped:

syncall
syncall.dist

4 packages failed to build:

autosuspend
autosuspend.dist
khal
khal.dist

45 packages built:

calendar-cli
calendar-cli.dist
confy
errands
gtg
home-assistant-component-tests.caldav
home-assistant-custom-components.waste_collection_schedule
ical2orgpy
ical2orgpy.dist
mutt-ics
mutt-ics.dist
python311Packages.caldav
python311Packages.caldav.dist
python311Packages.django-scheduler
python311Packages.django-scheduler.dist
python311Packages.icalendar
python311Packages.icalendar.dist
python311Packages.icalevents
python311Packages.icalevents.dist
python311Packages.recurring-ical-events
python311Packages.recurring-ical-events.dist
python311Packages.x-wr-timezone
python311Packages.x-wr-timezone.dist
python312Packages.caldav
python312Packages.caldav.dist
python312Packages.django-scheduler
python312Packages.django-scheduler.dist
python312Packages.icalendar
python312Packages.icalendar.dist
python312Packages.icalevents
python312Packages.icalevents.dist
python312Packages.recurring-ical-events
python312Packages.recurring-ical-events.dist
python312Packages.x-wr-timezone
python312Packages.x-wr-timezone.dist
tandoor-recipes
timeline
todoman
todoman.dist
topydo
topydo.dist
xandikos
xandikos.dist
yokadi
yokadi.dist

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

2 packages marked as broken and skipped:

syncall
syncall.dist

1 package failed to build:

tandoor-recipes

48 packages built:

autosuspend
autosuspend.dist
calendar-cli
calendar-cli.dist
confy
errands
gtg
home-assistant-component-tests.caldav
home-assistant-custom-components.waste_collection_schedule
ical2orgpy
ical2orgpy.dist
khal
khal.dist
mutt-ics
mutt-ics.dist
python311Packages.caldav
python311Packages.caldav.dist
python311Packages.django-scheduler
python311Packages.django-scheduler.dist
python311Packages.icalendar
python311Packages.icalendar.dist
python311Packages.icalevents
python311Packages.icalevents.dist
python311Packages.recurring-ical-events
python311Packages.recurring-ical-events.dist
python311Packages.x-wr-timezone
python311Packages.x-wr-timezone.dist
python312Packages.caldav
python312Packages.caldav.dist
python312Packages.django-scheduler
python312Packages.django-scheduler.dist
python312Packages.icalendar
python312Packages.icalendar.dist
python312Packages.icalevents
python312Packages.icalevents.dist
python312Packages.recurring-ical-events
python312Packages.recurring-ical-events.dist
python312Packages.x-wr-timezone
python312Packages.x-wr-timezone.dist
timeline
todoman
todoman.dist
topydo
topydo.dist
xandikos
xandikos.dist
yokadi
yokadi.dist

1 package failed to build

That will be fixed by https://github.com/NixOS/nixpkgs/pull/348408.


Operators in eosiolib add unnecessary bloat to documentation.

Operators defined in eosiolib/* need to be prevented from being interpreted by Doxygen.

This was resolved by #396


fix: refactor the service invocation parameter settings component & integrate the API for the workflow list page

Look good to me.


Error 500

Hello, i used your grafana-reporter on Grafana 7.5.6. since long days and we get an issue 'Error 500'. Have you an idea to resolve this issue ?  I give you the log for example.
2021/07/05 12:46:37 Error creating image for panel: error getting panel {Id:40 Type:graph Title:Traffic IN GridPos:{H:10 W:24 X:0 Y:43}}: Error obtaining render: 500 Internal Server Error
2021/07/05 12:47:02 Error obtaining render for panel {Id:42 Type:graph Title:Traffic Out GridPos:{H:10 W:24 X:0 Y:53}}, Status: 500, Retrying after 10s...
2021/07/05 12:47:37 Error generating report: error rendering PNGs in parralel for dash {Title:Multi Selection : All servers on one graph Description: VariableValues:week, EMEA, SERVER01, SERVER02, SERVER03 Rows:[] Panels:[{Id:38 Type:text Title: GridPos:{H:2 W:24 X:0 Y:2}} {Id:30 Type:graph Title:CPU System Load GridPos:{H:10 W:24 X:0 Y:4}} {Id:32 Type:graph Title:CPU Percent Used (Total) GridPos:{H:10 W:24 X:0 Y:14}} {Id:34 Type:graph Title:Memory Used GridPos:{H:9 W:24 X:0 Y:24}} {Id:41 Type:graph Title:Disk Free  GridPos:{H:10 W:24 X:0 Y:33}} {Id:40 Type:graph Title:Traffic IN GridPos:{H:10 W:24 X:0 Y:43}} {Id:42 Type:graph Title:Traffic Out GridPos:{H:10 W:24 X:0 Y:53}}]}: error getting panel {Id:30 Type:graph Title:CPU System Load GridPos:{H:10 W:24 X:0 Y:4}}: Error obtaining render: 500 Internal Server Error
Best Regards.
Philippe.

I have the same issue here


Rename SaaS frontend to React frontend

As we should be supporting any number of frontends based on what developers want, each frontend should have a name reflecting the technology it uses.
This PR renames "SaaS App" to "React App" in all places it is used. Because in the future, the options will probably look like:
> Stateless App
> API-Only App
> React Frontend
> HTMX Frontend
> Other frontends as desired

Since I hope HTMX is worked on from this issue, this is a necessary first step before we can approach HTMX.
I'm not quite sure how to test everything properly, but I did the following test and debugging steps to ensure this works. If I am missing any steps, let me know. Please also confirm that everything works as expected from your experience as well.
In the root project folder:
cargo test

Everything passes except 1 failure, but the failure is due to windows line endings in the mailer template "/r/n" so the test just needs to be updated later to accommodate either.
Then in the /loco-cli/ folder
cargo test

and all tests pass!
Here's the tricky part - the starters are generated from the BASE_REPO_URL, so I had to change that in my code while testing this to actually get the updated starters.
I had to modify "BASE_REPO_URL" to target my updated branch, and so I also had to specify a BRANCH_NAME. I figure this feature is useful to retain for future developers as they may add more frontends, making this easier to debug.
So in my case, to run tests, I had to set:
const BASE_REPO_URL: &str = "https://github.com/ryankopf/loco.git";
const BRANCH_NAME: &str = "react-frontend";

cargo build
.\target\debug\loco new
Presents the new options!

Your efforts are genuinely commendable; thank you for the extensive work you've put in.
We should not support all kinds of started (like you write in the description).
Many starters mean a lot of maintenance and work and depend on a lot of changes in many places. the start should be minimalist, small and contain a context,
As I see it adding all these kinds of templates should be like this repo that people can clone and start to work on.

(Closed PR on accident, sorry.)

Further note, I separated the PRs renaming "SaaS App" and creating the "HTMX Frontend" into two different PRs for exactly this reason.
Even if we don't support additional frontends, "SaaS App" is misleading when it is really "API + React Frontend".

@ryankopf, as mentioned in my previous comment, For now, I prefer not to open the starters selection per use case (e.g., SaaS app, SaaS with React, SaaS with HTMX, etc.).
I suggest creating a project similar to this one. Users can clone it and start their work from there.

@kaplanelad I think the community should have a say regarding which starters are included. All the guides say to use "cargo loco new" to create a project, and having a "SaaS App" that starts with React is an unexpected experience for many devs. Further, a framework SHOULD be as JavaScript-agnostic as possible, which is why the recommendation for HTMX; it would be much easier to replace than replacing React if the default frontend is React. As I've said, I'm willing to volunteer to maintain an official HTMX starter.
Alternatively, all starters should be removed from the project and we should change the docs to suggest cloning one of the examples as you proposed.

Reconsidering the way we serve starters is a valid idea. However, I suggest implementing such changes after we establish a clear vision and engage in thorough discussions about these modifications because this will affect on how we going to maintain and manage those apps.
So, at this point, I recommend opening a discussion, making a decision there, and how it fits into the roadmap of @jondot and I

@ryankopf, I am closing this pull request for now.


Failed state push to Terrakube

Bug description 🐞
I'm attempting to migrate a state file from our old system to Terrakube. I have the state file local on my machine, and I run a terraform state push ~/localstatefile. This works for all the other state files I have tried previously, but on one in particular, I'm getting an error.
The terraform state push command completes successfully without error, but if I look in Terrakube at the state file, it looks like this:

I'm not even sure what that error is referring to as there are not any forEach statements used in the terraform code I'm trying to upload the state for. Maybe that's a Java error? I looked in the logs for the API server, I don't see any errors at all during that upload. It just logs that it created the state file.
I checked the state file that I'm trying to upload locally, it looks fine.
Steps to reproduce
I have reproduced this by deleting the workspace and trying again on a fresh one. I get the same error.
Expected behavior
State file is uploaded to Terrakube like all the other states we have migrated.
Example repository
No response
Anything else?
No response

One additional note on this: I went and checked the backend storage, and the state file actually did get uploaded to the S3 storage. That's why terraform didn't throw an error. So the problem seems to be with Terrakube reading the state file successfully.

Hello @jderieg what terraform version is using your old state?
I think it could be the logic that we use to create a visual representation for the state in the UI.

This particular state last ran using Terraform version 1.3.4.

I think this is an issue in the UI, if you open the console you should see the state. Something like this:

It is using this part of the code
https://github.com/AzBuilder/terrakube/blob/main/ui/src/domain/Workspaces/States.jsx#L65
After it shows the state in the console it will try to build the following diagram.

To build the diagram it will basically loop inside the state json for the "resources", "child_modules" and "child_modules.resources" in this part of the code
https://github.com/AzBuilder/terrakube/blob/main/ui/src/domain/Workspaces/States.jsx#L79
https://github.com/AzBuilder/terrakube/blob/main/ui/src/domain/Workspaces/States.jsx#L99
Maybe you could compare your JSON state and see which "foreach" logic is failing.
I hope this can help you.

@alfespa17
I went and checked in the console, and I'm still not sure why it's failing for this state, although I did verify that the full state file is there in the backend storage and I can call it successfully from terraform. So you're right, it is strictly a UI error.
In the console under 'states.jsx', I see it parse all 16 resources in this  particular state. I'm not sure what would be causing the code to throw that error. I wonder if it's because there are multiple child modules?
This particular state has:
7 resources under the root
3 child modules: one with 5 resources, one with 3 resources, and one with a single resource
The only other thing that I see that could potentially be causing the loop to break is that one of the submodules has some values marked 'sensitive'.

Maybe the code doesn't know what to do with that and fails. Just a hypothesis.
I do see that you did a PR that will still show the state file if the diagram fails, so that's a good workaround for us for now. Thanks!

@alfespa17 I just tested. Your fix actually also made it so the diagram worked as well on this particular state, so that's great! Still not sure what caused it in the first place, haha! But all is well now, and the state file shows up properly in the UI along with the diagram. Thanks again for your help!


Backport: lint: add changed_when to command [stable-3.2]

Backport of commit https://github.com/ceph/ceph-ansible/commit/53972ee67232ef2239d7e864b2dd93095a634b8f by Sébastien Han to the stable-3.2 branch.
Signed-off-by: Kevin Coakley<EMAIL_ADDRESS>

we only backport bugfixes into stable branches.


Fix for Line Wrap issue

Fix for issue #25: Added Line Wrap to plugin settings to compensate for apparently deprecated vault config value

@deathau would it be possible to have this merged and released?


Feature Proposal: Programmatic Descriptions for Table Columns

Feature Proposal:

I think it would be useful to have Programmatic Descriptions for Table Column entities. We currently have them at the Table level and they provide the really useful feature whereby we can have descriptive metadata from the source co-existing with user-editable descriptive data from the Amundsen front end. We avoid the issue of a refresh from source overwriting edits made in the front end which is currently what happens with Columns.

Expected Behavior or Use Case

As with Table programmatic descriptions we would add the column "description_source" to the input column data.
Service or Ingestion ETL

This would have to be handled by the ingestion processes and also metadata and the front end services.
Possible Implementation

Example Screenshots (if appropriate):
Context

This would provide the double benefit of having column descriptions from multiple sources and remove the inconvenience of lost front end edits.

Can we please keep this issue alive?

Can we please keep this issue open?

I think this issue is still live

Would still like this


Would you accept a PR to optionally change the Quaternion format?

Hi there,
First of all, thanks for the great tool. I use it all the time.
Right now quaternions are [x, y, z, w]. In all of my work however the format used is [w, x, y, z]. This makes for an annoying conversion everytime I want to use the output. I think it would be great if there was a selector for using [x, y, z, w] vs [w, x, y, z] format. Could this be added if I wrote the code for it?
Thanks

Happy to hear.
Sorry, this project is in maintenance mode and I only accept simple bug fixes.

would you mind if I fork this repo and publish my own version with some changes made? i'd be sure to include proper attribution

No problem, just stick to https://github.com/gaschler/rotationconverter/blob/master/LICENSE
Attribution is of course appreciated.


1426 broken keyboard nav structured list with selection

Closes #1426
This PR will fix the keyboard navigation behavior for structured lists, in accordance to http://w3c.github.io/aria-practices/#radiobutton

When a radio group receives focus:

If a radio button is checked, focus is set on the checked button.
If none of the radio buttons are checked, focus is set on the first radio button in the group.

Space: checks the focused radio button if it is not already checked.
Right Arrow and Down Arrow: move focus to the next radio button in the group, uncheck the previously focused button, and check the newly focused button. If focus is on the last button, focus moves to the first button.
Left Arrow and Up Arrow: move focus to the previous radio button in the group, uncheck the previously focused button, and check the newly focused button. If focus is on the first button, focus moves to the last button.

Changelog
New

event handlers for left/right arrow keydown events

Changed
The previous keydown handlers were looking for <label> rows with a for attribute for a corresponding labelable element, but the for attribute is not required when using a <label> due to the implicit association by nesting the corresponding input in our templates. The new element selection query will:

in the case of Enter or Space keypress: find the nested input in the selected row

in the case of arrow key keypress: find the nested input in the row with the correct index that the user is navigating towards

handle enter or space keydown events for selecting <label> rows

handle up arrow and down arrow keydown events for selecting label rows

Testing / Reviewing

tab into a structured list
navigate the list with tab or arrow keys
press Enter or space bar to make new selection

related issues:
https://github.com/IBM/carbon-components-react/issues/1555
https://github.com/IBM/carbon-components-react/pull/1528

@asudoh just double checking: does the logic for changing the checked input look alright? do we need to explicitly set input.checked to true in _handleClick?


chat: do not auto add selection context if source is chat

We now explicitly mention the current file/selection. This bit of logic was making it so that if we remove the mention for current file it would still get added in if code was selected.
Test Plan: Did a chat with code selected. In one case with the @-mention and one time without.
Fixes https://linear.app/sourcegraph/issue/CODY-1972/file-selection-is-included-as-context-even-if-the-user-deletes-it

@abeatrix I had to remove agent test chat/submitMessage understands the selected text. We now rely on explicitly mentioning the context, which means this test doesn't really make sense. Maybe there is a way for it to be useful?
I also had to update recordings, and I'm unsure if all is good in the world since so many recordings changed without the auto inclusion of selected text.

@keegancsmith Hmmm that's a good point. We might need to keep it for Agent since the selection is not available on other clients

We now explicitly mention the current file/selection
@keegancsmith This only works for the first chat right? And users are required to @-selection manually on follow-up chats?

(Should we have a way to have a compat layer for non-latest-webview clients to handle cases like this?)

I realise I am missing a lot of context on how things fit together. Would love some direction here, maybe even do a quick call later @abeatrix so I get some better understanding :)

@keegancsmith Hmmm that's a good point. We might need to keep it for Agent since the selection is not available on other clients

Ok, so from what I understand we need to keep auto inclusion of selection. I will update this PR such that vscode doesn't do the auto-inclusion, but other agents do. As it stands the code I deleted had some special casing to decide if to include selection, so will try work out a reasonable way to extend that decision.

This only works for the first chat right? And users are required to @-selection manually on follow-up chats?

I believe users do have to be explicit to ensure the context is included. However, we auto-include context from history so see this example below so I think in practice this is fine. This is based on how I thought it works and this testing. Note that this screenshot is actually showing two issues that I will file in linear: we don't say which context item is excluded (based on follow-up it is the full file); when sending both the full file and a selection, it is useful to the LLM to know the full file so it can correctly comment on the surrounding code. My follow-up question had a very poor response since the LLM didn't know anything but the tiny snippet of code, so did lots of hallucinating.

(Should we have a way to have a compat layer for non-latest-webview clients to handle cases like this?)

I was considering this approach. But to be honest I think I will do a call to find out more about how things fit together before attempting this.

just came back to finish this off but I can't reproduce the problem anymore :)


Pull in changes from @benjay10

User @benjay10 inspired substantial upgrades inspired by this repository.  I've merged these and kept the authors of the commits so forks can see what has changed.

This looks good to me. I have been using this new Yasgui via a local image build and it works great!

Thank you @benjay10 :pray:


Add support for tvOS and Swift 2.2

I've added support for tvOS, along with updating swift syntax for 2.2 and adding testing via Travis CI.
Closes #31

:+1:


Custom plists are no longer installed in the LaunchDaemons/LaunchAgents directories

Greetings,
Sorry to bother you again about this, but an issue still remain after my last issue (#349) and I took way to much time to notice it. The PR that added the --file argument (#353) changed the installation behaviour of custom plist files. That change cause services to not start after a system reboot.
Normally, plist files (customs and regulars) would be installed in the LaunchDaemons/LaunchAgents directories. Now, custom plist files are installed in different directory. For example, custom mysql plist are installed in /usr/local/opt/mysql/homebrew.mxcl.mysql.plist instead of /Users/USERNAME/Library/LaunchAgents/homebrew.mxcl.mysql.plist.
Would it be possible to restore the previous behaviour to ensure that the services start after a system reboot? I would love to make a PR myself, but Ruby is not a language that I practice often enough. However, I do think the issue is around this line: https://github.com/Homebrew/homebrew-services/blob/master/lib/services_cli.rb#L237
Thanks!

@SMillerDev could you take a look at this?

Yeah, gonna try and have a look today

@SMillerDev @MikeMcQuaid Is it possible this is related to the issue I am seeing where services aren't going to the stopped status?
$ brew --version
Homebrew 3.2.6-116-gafc5804
Homebrew/homebrew-core (git revision 529ebf5af1; last commit 2021-08-12)
Homebrew/homebrew-cask (git revision d0ac4a7962; last commit 2021-08-12)

I have redis service running, see that it is started
$ brew services list | grep -E "Name|redis"
Name            Status  User        Plist
redis           started lukerodgers /Users/lukerodgers/Library/LaunchAgents/homebrew.mxcl.redis.plist

I can properly restart it, see that it stays at started
$ brew services restart redis; brew services list | grep -E "Name|redis"
Stopping `redis`... (might take a while)
==> Successfully stopped `redis` (label: homebrew.mxcl.redis)
==> Successfully started `redis` (label: homebrew.mxcl.redis)
Name            Status  User        Plist
redis           started lukerodgers /Users/lukerodgers/Library/LaunchAgents/homebrew.mxcl.redis.plist

However when I stop the service it goes to unknown status rather than stopped
$ brew services stop redis; brew services list | grep -E "Name|redis"
Stopping `redis`... (might take a while)
==> Successfully stopped `redis` (label: homebrew.mxcl.redis)
Name            Status  User        Plist
redis           unknown

Actually, maybe https://github.com/Homebrew/homebrew-services/pull/350 could be the cause of the above @SMillerDev ? Rather than this issue.

Thanks to everyone involved!
I've tested on my side and everything seems to work as intended! 👌


Add appveyor status for 3.05 branch

@zdenop
Please add appveyor status for 3.05 branch.
https://ci.appveyor.com/project/zdenop/tesseract/branch/3.05
https://ci.appveyor.com/project/zdenop/tesseract/branch/master
https://www.appveyor.com/docs/status-badges/

@zdenop reminder, since u r closing issues today.


Implement temporary 'cheap' solution to match product version flow in non-source only

The cheap solution here is to alter the dependency graph when building in non-source only modes DotNetBuildSourceOnly == false. Match what would flow 'actively' via Maestro.
Doing this requires some of the foundational work from #3608

Closed as part of https://github.com/dotnet/installer/pull/18557


Unable to search themes & packages in atom .

Hi !
I just downloaded atom . Whenever I try to search for a package or a theme  I keep getting this weird error:
Searching for “file icons” failed.Hide output…
i.filter is not a function
[object Object]

I got the above output while searching for file-icons.
Alternatively if i search for Hydrogen package this error pops up:
Searching for “hydrogen” failed.Hide output…
i.filter is not a function
[object Object]

But I can download the packages that are showed in the Featured Packages list and they seem to be running fine.
I am Atom version: 1.50.0 on macOs Catalina 10.15.5

I am getting the same issue on 1.50.0, Windows 10. I however am not using a fresh install and have been able to download packages in the past

Same here,
Currently unable to search Atom.io for packages.
It gives 500 errors https://atom.io/packages/search?q=Package

Everything works for, fresh install of Atom, see screenshot.

Yeah, it is working again now. I think maybe around 2 or 3 pm est for me yesterday.

Thank you for confirming it now works.


In case you don’t get around to it...

Here’s so very amateurish code (first time using go) that fixes the issue.

Fixed via other methods.


Publish to azure initial request returns "The service is unavailable"

Repro:

Publish site to azure using inprocess
Initial request is sent to site automatically
Check response

Expected: Response is the home page of the site
Actual: ~50% of the time, it returns "The service is unavailable". Refreshing the page will return the home page.

Maybe servers are oversold? There are certainly more reliable Web hosting providers out there having ANCM 2.2 preview installed for testing.

What's the point of recycling the worker process before shutting down anyway? If publishing fails, it's most likely due to file locks and the site (not the worker process) must be restarted in IIS to remove file locks.

(But maybe I misread the issue.)


Reportback count override

With #4396 we lost the ability to override reportback counts
Because of campaigns with 3rd party sponsors, we need this, for now, going to build it like #4320 where the helper text displays the total count in the database, but you can add extra values and the two will be added together for the sum

For this can we have the title of the field be "Progress Update" and have the help text read "The total approved reportback quantity so far is: x. Subtract this number from the number our partner gave us, and enter the difference in this field. I.e. if a partner told you 1,000 and the total approved reportback quantity is 100, you would enter 900 into this field."


OSLogMandatoryOptTest.swift test REQUIRES: swift_stdlib_no_asserts

This test began failing when we added begin_borrow [var_decl].
I'm not sure we want to maintain this optimization pass with an asserts stdlib. So here's a quick fix that disables the test.
@nate-chandler you might be interested in knowing why this fails after your begin_borrow changes.
@ravikandhadai do we care if this optimization works with an asserts stdlib?

@swift-ci test

@atrick  Looks like this PR is targeting main.  Is this test failing on main or only release/5.10 as in https://ci.swift.org/job/oss-swift-5.10_tools-RA_stdlib-DA_test-simulators/218/ ?  The check lines only needed tweaking on release/5.10, presumably because of the begin_borrow simplification only added on main.


readme: pause a little

@tshepang Thanks for the PR! Could you remove the one after "crates.io"?

I done it, I squashed it

Great, thanks a lot! :)


_pickle.UnpicklingError: Failed to interpret file 'mdm/dataset/Mean_smr.npy' as a pickle

Thank you for your great work. When I am using TADA Visualization, I meet this problem, and my numpy version is 1.23.0, how can I solve this? Thank you for your attention.

Maybe you can try to download the repo by git lfs
git lfs install  & git clone xxxx
If it does not work, please give your email.

Thank you very much for your reply, and I have solved this problem.
By the way, I would like to know that when you output the generated motion, the exported fbx file does not contain TADA texture, only the mp4 file has the TADA. If I would like to export fbx file that contains both motion and TADA texture, how should I do? Thank you very much for your attention.

We export fbx file based on provided human skeleton data by https://smpl-x.is.tue.mpg.de/download.php  (SMPL-X Blender Add-on) .
If you need to export TADA fbx file, you may need to change the basic skeleton data. You can refer to https://github.com/ChenFengYe/motion-latent-diffusion for building skeleton data and rendering with blender API.
Instead, you can ask the authors of TADA for help.

OK, I understand. Thank you so much for your great help.

I may further ask that how to modify:

since when I use your code to export fbx file in blender, the default key frame from start to end is 1~120, how to modify the keyframe in order to shift the keyframe, for example, I want to play the motion from 101~220, it does not work if I simply modify the scene.frame_start and scene.frame_end, like this:
frame_shift = 100
scene.frame_start = frame_shift
scene.frame_end = (int)(poses.shape[0] / sample_rate) + frame_shift
how to modify the location when I play the motion, for example, if I want to shift the x and y location to 10 units, it also does not work:
bones[BODY_JOINT_NAMES[0]].location.x += 10
bones[BODY_JOINT_NAMES[0]].location.y += 10
Do you know how to fix these two problems, thank you very much for your attention.

I may further ask that how to modify:
since when I use your code to export fbx file in blender, the default key frame from start to end is 1 to 120, how to modify the keyframe in order to shift the keyframe, for example, I want to play the motion from 101 to 220, it does not work if I simply modify the scene.frame_start and scene.frame_end, like this:
frame_shift = 100
scene.frame_start = frame_shift
scene.frame_end = (int)(poses.shape[0] / sample_rate) + frame_shift
how to modify the location when I play the motion, for example, if I want to shift the x and y location to 10 units, it also does not work:
bones[BODY_JOINT_NAMES[0]].location.x += 10
bones[BODY_JOINT_NAMES[0]].location.y += 10
Do you know how to fix these two problems, thank you very much for your attention.

I have been busy with other things recently, and I am sorry for not replying in time. Blender motion consists of a basic skeleton and several keyframes.
For problem2:
"bones[BODY_JOINT_NAMES[0]].location" only means the position of the root point or the position of the whole body.  If you add 10 to the root joints of all frames, which is roughly equivalent to the movement of the initial position, do not affect the visual result. If you only want to change specific keyframes, you may need to change def process_poses
For problem1:
Similarly, def process_poses decides how many keyframes you will insert in the final fbx file.
    source_index = 0
    frame = 1

    while source_index < poses.shape[0]:
        print('Adding pose: ' + str(source_index))

        # Go to new frame
        scene.frame_set(frame)
        camera = scene.camera

        process_pose(frame, poses[source_index], (trans[source_index]), pelvis_position)
        process_camera(frame, camera_inf[source_index], camera)
        source_index += sample_rate
        frame += 1

You can ask chatGPT4 or https://docs.blender.org/api/current/index.html for more details about blender api.


Enable Haddock tests in GHC windows CI

Goes with https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6295

@Kleidukos can we merge it now?


Please add support to .netstandard2.0

We would like to use this nuget package for a package that is on .netstandard2.0. We are not ready to move that package to netstandard2.1.
It looks like not a lot of changes are necessary. Ranges are not supported in netstandard2.0, so this line would need to be updated to Substring: https://github.com/MrZoidberg/VaultSharp.Extensions.Configuration/blob/master/Source/VaultSharp.Extensions.Configuration/VaultConfigurationProvider.cs#L106

Sure, will do this in the nearest days.

Done in 0.6.3


[WIP] optimize graph in presence of dynamic shape ops

Description
(Brief description on what this PR is about)
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot add [Operator, Backend, pr-work-in-progress]

@mxnet-bot run ci [all]

This is broken. You can try the following slight extension of the test_dynamic_shape.py:
modified   tests/python/unittest/test_dynamic_shape.py
@@ -33,7 +33,7 @@ def test_dynamic_shape():
             super(_TestBlock, self).__init__()

         def hybrid_forward(self, F, data, index):
-            return F.contrib.boolean_mask(data, index)
+            return F.contrib.boolean_mask(data, index).reshape((-1, ))

     block = _TestBlock()
     block.hybridize()

For your convenience, I add a commit to this PR to add the extra reshape statement.

Backtrace of the issue below. I use the following patch to obtain the backtrace
modified   src/c_api/c_api_ndarray.cc
@@ -394,7 +394,6 @@ int MXAutogradBackwardEx(uint32_t num_output,
                          NDArrayHandle **grad_handles,
                          int **grad_stypes) {
   MXAPIThreadLocalEntry<> *ret = MXAPIThreadLocalStore<>::Get();
-  API_BEGIN();

   std::vector<NDArray*> outputs, ograds, variables;
   outputs.reserve(num_output);
@@ -430,7 +429,7 @@ int MXAutogradBackwardEx(uint32_t num_output,
     *grad_handles = dmlc::BeginPtr(ret->ret_handles);
     *grad_stypes = dmlc::BeginPtr(ret->out_types);
   }
-  API_END();
+  return 0;
 }

 int MXAutogradGetSymbol(NDArrayHandle handle, SymbolHandle *out) {

and build via cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLOG_FATAL_THROW=0 -DUSE_CUDA=0 ..; ninja
Backtrace:
Thread 1 "python3.8" received signal SIGABRT, Aborted.                                                                                __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.                                                                                (gdb) bt
#0  0x00007ffff705ef47 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff70608b1 in __GI_abort () at abort.c:79
#2  0x00007fff3737c257 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007fff37387606 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007fff37387671 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007fff37387905 in  () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007fff3737e96b in std::__throw_bad_cast() () at /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007fff3ba064f7 in __gnu_cxx::new_allocator<nnvm::NodeEntry>::allocate(unsigned long, void const*) (this=0x555555e73ea0, __n=18446744073709459446) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/ext/new_allocator.h:106
#8  0x00007fff3ba064b4 in std::allocator_traits<std::allocator<nnvm::NodeEntry> >::allocate(std::allocator<nnvm::NodeEntry>&, unsigned long) (__a=..., __n=18446744073709459446) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/alloc_traits.h:460
#9  0x00007fff3ba06423 in std::_Vector_base<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> >::_M_allocate(unsigned long) (this=0x555555e73ea0, __n=18446744073709459446) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:346
#10 0x00007fff3ba060cc in std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> >::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<nnvm::NodeEntry const*, std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> > > >(unsigned long, __gnu_cxx::__normal_iterator<nnvm::NodeEntry const*, std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> > >, __gnu_cxx::__normal_iterator<nnvm::NodeEntry const*, std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> > >) (this=0x555555e73ea0, __n=18446744073709459446, __first={node = <error reading variable: Cannot access memory at address 0xf0000000a>, index = 15, version =<PHONE_NUMBER>}, __last={node = <error reading variable: Cannot access memory at address 0x100000010>, index =<PHONE_NUMBER>, version = 21845}) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_vector.h:1511
#11 0x00007fff3ba04c07 in std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> >::operator=(std::vector<nnvm::NodeEntry, std::allocator<nnvm::NodeEntry> > const&) (this=0x555555e73ea0, __x=std::vector of length -92170, capacity 12802 = {...}) at /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/vector.tcc:226
#12 0x00007fff3bc74a44 in nnvm::Graph::operator=(nnvm::Graph const&) (this=0x555555e73ea0) at ../include/nnvm/graph.h:46
#13 0x00007fff3bc60133 in mxnet::CachedOp::DynamicBackward(bool, mxnet::OpStatePtr const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&) (this=0x555557aa41b0, retain_graph=false, op_state=..., inputs=std::vector of length 3, capacity 3 = {...}, reqs=std::vector of length 1, capacity 1 = {...}, outputs=std::vector of length 1, capacity 1 = {...}) at ../src/imperative/cached_op.cc:853
#14 0x00007fff3bc6262b in mxnet::CachedOp::Backward(bool, mxnet::OpStatePtr const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&) (this=0x555557aa41b0, retain_graph=false, state=..., inputs=std::vector of length 3, capacity 3 = {...}, reqs=std::vector of length 1, capacity 1 = {...}, outputs=std::vector of length 1, capacity 1 = {...}) at ../src/imperative/cached_op.cc:1048
#15 0x00007fff3bcdd29d in (anonymous namespace)::InvokeOperator(nnvm::IndexedGraph const&, int, bool, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, mxnet::Context, std::vector<mxnet::OpStatePtr, std::allocator<mxnet::OpStatePtr> >*, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::function<void (mxnet::OpStatePtr const&)>) (idx=..., node_idx=5, retain_graph=false, arrays=std::vector of length 8, capacity 8 = {...}, ctx=..., p_states=0x7ffffffccfa8, ndinputs=std::vector of length 3, capacity 3 = {...}, ndoutputs=std::vector of length 1, capacity 1 = {...}, p_req=0x7ffffffcc328, p_ref_count=0x7ffffffccfc8, invoke=...) at ../src/imperative/imperative_utils.cc:91
#16 0x00007fff3bcdcaca in mxnet::imperative::RunGraph(bool, nnvm::IndexedGraph const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, unsigned long, unsigned long, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> >&&, std::vector<unsigned int, std::allocator<unsigned int> >&&, std::vector<mxnet::OpStatePtr, std::allocator<mxnet::OpStatePtr> >*, std::vector<mxnet::DispatchMode, std::allocator<mxnet::DispatchMode> > const&, bool, std::vector<mxnet::TShape, std::allocator<mxnet::TShape> >*, std::function<void (char const*, char const*, void*)> const&, bool) (retain_graph=false, idx=..., arrays=std::vector of length 8, capacity 8 = {...}, node_start=4, node_end=7, array_reqs=..., ref_count=..., p_states=0x7ffffffccfa8, dispatch_modes=std::vector of length 7, capacity 7 = {...}, recording=false, shapes=0x0, callback=..., monitor_all=false)
    at ../src/imperative/imperative_utils.cc:165
#17 0x00007fff3bcbe53c in mxnet::Imperative::Backward(std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, bool, bool, bool) (this=0x7fff501e8e78 <mxnet::Imperative::Get()::inst>, outputs=std::vector of length 1, capacity 1 = {...}, ograds=std::vector of length 1, capacity 1 = {...}, variables=std::vector of length 0, capacity 0, is_train=true, retain_graph=false, create_graph=false) at ../src/imperative/imperative.cc:616
#18 0x00007fff3bab5a3f in MXAutogradBackwardEx(uint32_t, NDArrayHandle*, NDArrayHandle*, uint32_t, NDArrayHandle*, int, int, int, NDArrayHandle**, int**) (num_output=1, output_handles=0x7ffda003bbe0, ograd_handles=0x7ffda003bd20, num_variables=0, var_handles=0x0, retain_graph=0, create_graph=0, is_train=1, grad_handles=0x0, grad_stypes=0x0) at ../src/c_api/c_api_ndarray.cc:418
#19 0x00007ffff2f65dae in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#20 0x00007ffff2f6571f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#21 0x00007ffff317d415 in _call_function_pointer (flags=4353, pProc=0x7fff3bab57c0 <MXAutogradBackwardEx(uint32_t, NDArrayHandle*, NDArrayHandle*, uint32_t, NDArrayHandle*, int, int, int, NDArrayHandle**, int**)>, avalues=0x7ffffffcd9c0, atypes=0x7ffffffcd960, restype=0x7ffff35bb9f8, resmem=0x7ffffffcda20, argcount=10) at /tmp/python-build.20200514035455.63369/Python-3.8.2/Modules/_ctypes/callproc.c:871
#22 0x00007ffff317de19 in _ctypes_callproc (pProc=0x7fff3bab57c0 <MXAutogradBackwardEx(uint32_t, NDArrayHandle*, NDArrayHandle*, uint32_t, NDArrayHandle*, int, int, int, NDArrayHandle**, int**)>, argtuple=(1, <c_void_p_Array_1 at remote 0x7ffda003bb90>, <c_void_p_Array_1 at remote 0x7ffda003bcd0>, 0, <c_void_p at remote 0x7ffda003be10>, <c_int at remote 0x7ffda003beb0>, <c_int at remote 0x7ffda003bf50>, <c_int at remote 0x7ffdc19de050>, <c_void_p at remote 0x7ffdc19de0f0>, <c_void_p at remote 0x7ffdc19de190>), flags=4353, argtypes=0x0, restype=<_ctypes.PyCSimpleType at remote 0x555555e7bce0>, checker=0x0) at /tmp/python-build.20200514035455.63369/Python-3.8.2/Modules/_ctypes/callproc.c:1199
#23 0x00007ffff3178169 in PyCFuncPtr_call (self=0x7ffda004cc90, inargs=(1, <c_void_p_Array_1 at remote 0x7ffda003bb90>, <c_void_p_Array_1 at remote 0x7ffda003bcd0>, 0, <c_void_p at remote 0x7ffda003be10>, <c_int at remote 0x7ffda003beb0>, <c_int at remote 0x7ffda003bf50>, <c_int at remote 0x7ffdc19de050>, <c_void_p at remote 0x7ffdc19de0f0>, <c_void_p at remote 0x7ffdc19de190>), kwds=0x0) at /tmp/python-build.20200514035455.63369/Python-3.8.2/Modules/_ctypes/_ctypes.c:4201
...

Specifically note the Cannot access memory at address 0xf0000000a
To obtain the backtrace run gdb /path/to/python and (gdb) run -m pytest --color=yes --verbose --exitfirst ./tests/python/unittest/test_dynamic_shape.py and then bt

I think it's a great need and we must develop it further because the competitor py*ch has very perfect jit system to handle with dynamic ops and flow control that make the model deployment very easy and convenient.

@samskalicky it would be great to have your review on this

@samskalicky it would be great to have your review on this

Thanks Sheng, will keep an eye on this PR as it gets closer to completion.

@mxnet-bot run ci [all]

@leezu thanks for providing us with an example to reproduce the memory error. After investigation, it turns out that there is some issue with the reshape operator itself, such that backward pass fails on subgraphs containing reshape op. It is not related to the changes made in this PR. I have created a GitHub issue for the same #18823 . Similar failure is observed for transpose operator.
Currently, since we are not allowing subgraphs containing a single op, your change return F.contrib.boolean_mask(data, index).reshape((-1, )) does not produce any subgraphs anymore, and does not cause the same error. Hence, we'll revert your change as the test now fails due to incorrect checks.

Thanks @mseth10 for investigating the root cause. Could you add a new tests that contains the reshape after dynamic shape?

Thanks @mseth10 for investigating the root cause. Could you add a new tests that contains the reshape after dynamic shape?
Test case added. Thanks for your suggestions and help on this issue

@mseth10
Here is an example of layer dropout as in paper https://arxiv.org/pdf/1909.11556.pdf. You may use this for profiling.
import mxnet as mx
from mxnet.gluon import nn
mx.npx.set_np()

def np_cond(F, pred, then_func, else_func):
    out = F.contrib.cond(pred.as_nd_ndarray(), then_func.as_nd_ndarray(), else_func.as_nd_ndarray())
    return out.as_np_ndarray()

class LayerDropMLP(nn.HybridBlock):
    def __init__(self, use_layer_drop,
                 layer_drop_ratio=0.1,
                 units=32,
                 num_layers=10):
        super().__init__()
        self._num_layers = num_layers
        self._use_layer_drop = use_layer_drop
        self._layer_drop_ratio = layer_drop_ratio
        self.layers = nn.HybridSequential()
        for i in range(num_layers):
            layer = nn.HybridSequential()
            layer.add(nn.Dense(units, in_units=units))
            layer.add(nn.Activation('tanh'))
            self.layers.add(layer)

    def hybrid_forward(self, F, x):
        out = x
        for i in range(self._num_layers):
            choose_new = F.np.random.uniform(0, 1) > self._layer_drop_ratio
            if F == mx.ndarray:
                if choose_new.asnumpy():
                    out = self.layers[i](out)
            else:
                forward_out = self.layers[i](out)
                out = np_cond(F, choose_new.astype('float32'), forward_out, out)
        return out

units = 32
foo = Foo(use_layer_drop=True, units=units, layer_drop_ratio=0.2)
foo.initialize()
foo.hybridize()
out = foo(mx.np.random.normal(0, 1, (32, units), dtype=mx.np.float32))

I left a few comments, can you guys clarify what your current todo list or is this PR done in your mind?

I left a few comments, can you guys clarify what your current todo list or is this PR done in your mind?

Thanks for the review @samskalicky . Our current todo list includes evaluating 1) moving graph partitioning to C++ cachedop vs 2) using optimize_for in _call_cached_op, and making those changes to this PR. Apart from this refactor, we do not plan to add any functionality to this PR.

Why are we updating mkldnn here?

Some issue with my setup, git submodule update checks out a different commit of mkldnn. I did a hard reset to the master version now.


We should only ever display "Differentiae Database", and never "Differentia Database"

"Differentia Database" is displayed on some of the CantusDB's pages. This is an error - the name of the site is "Differentiae Database".

Tempted to add a "simple fix" label, but this error may be hiding in some sneaky places - e.g., in addition to checking the templates, we should also make sure to look in places like field definitions on our models, which may contain "Differentia" and may be displayed on the site.


updated macOS target to one supporting arm

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

It does compile, but the tests fail. Unsure how to handle this.


Review Astro CSS Docs

https://docs.astro.build/en/guides/styling/

https://github.com/reallyluis/reallyluis/pull/29


specify exact grid size

It would be nice to enable exact specification of grid size, e.g., to keep it constant across several diagrams. On a similar note, it would be good to be able to enforce local defaults, e.g., "i want to see the grid by default", or "i want the grid size to default to 300".

it should be possible to save those preferences in the browser in the same way as quicksave is storing the graph.


Mediapipe face mesh Jittering issue

Hi mediapipe developers!!
I am working on mediapipe face mesh, I am able to get face mesh with 468 landmarks properly but I am facing jittering issue ,
and for me it's very important to reduce or stabilize this jittering effect of face mesh.
I have tried many ways but not working. Below are my system specification
OS - windows11
Python 3.8
mediapipe- 0.8.11
OpenCV- 4.6.0
Though I am not making much movement but the face mesh as well as point cloud is getting jittered(shaking).
Please reply

@AyishwaryaM,
Sorry for the issue you are facing However, Jittering behaviour is expected and we already have this issue (#825) reported earlier and sill is in open status. Although, we suggest that please upgrade to latest version of mediapipe 0.9.1 and try out the calculator LandmarksSmoothingCalculator mentioned here will definitely help out to reduce the jittering as per the use case.

@kuaashish ,
Is there any landmark smoothing technique like computing the moving average of the landmark coordinates ?
I tried with latest mediapipe version but it seems nothing change.

@AyishwaryaM,
We do have such smoothing technique available to reduce the jittering effect. You can find the similar implementation
using the calculator LandmarksSmoothingCalculator and pose_landmark example here. However, we see that smoothing technique has not been implemented in face mesh example, You may need to define that explicitly. Thanks!

Do I need to do in the same way as you LandmarksSmoothingCalculator did in pose_landmarks example ?
What changes do I need to do ?

Can you please guide me How we can write the LandmarkSmoothingaCalculator for face mesh ?
I have tried but getting very confusing these calculators ?

Sure, thank you for quick reply, will wait for solution!

Hello,
Can we expect now something on jittering issue ?

Hello, Google mediapipe developers,
Can we expect some workable solution which resolves damping of face mesh issue ?

Hi @AyishwaryaM,
We would like to inform you that the implementation you are currently utilizing is now considered a legacy solution. It is no longer under maintenance, and support for it has been completely discontinued, as indicated on this page.
The functionality has undergone an upgrade and is now integrated into the Face Landmarker Task API. We encourage you to explore our new Face Landmarker Task API, along with its corresponding documentation, and review the provided Python examples.
Additionally, we kindly request that you inform us of any similar issues related to jitter that you may encounter while using the upgraded Face Landmarker Task API.
Thank you


remove region prefix from ElasticBeanstalk domain fingerprint

ElasticBeanstalk applications can be created in any region, but the current domain fingerprint includes the us-east-1 region prefix, which leads to false negatives when using it in an automated fashion to check a vulnerable domain in another region. This PR removes the region to prevent those false negatives (in the same way it's done for S3 and ELB).

Thank you, @mdeous!


Use Az module instead of  AzureAD module

Use Az module instead of  AzureAD module

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

ID: 156a552a-fe64-e5dc-b86a-b7d8ccbeee1d
Version Independent ID: d83f235e-3ae2-ad71-30c6-0bd7f95fb894
Content: Windows Virtual Desktop service principal role assignment - Azure
Content Source: articles/virtual-desktop/create-service-principal-role-powershell.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.


error: process didn't exit successfully

Most of the examples don't exit correctly for me on Windows 7 Enteprise SP1 x64.
Many close gb messages are printed, but when I close the GUI I have to Ctrl+c to kill the process.
Then I get the following:
error: process didn't exit successfully: `target\debug\examples\anim.exe` (exit code: 0xc000013a, STATUS_CONTROL_C_EXIT)

shello and perftest exit correctly.

The problems you are seeing exist for everyone, so you're not doing anything wrong.
The exiting is tracked in #265. The close gb issue is tracked in piet #65.

closing as a dupe, #265 tracks this.


Implement progress bar on item deposit page

Design doc: https://docs.google.com/document/d/1fcr2DYo7OrX-qTdeUOTWKSS1rlq_47sehESmbvgUsrk/edit#heading=h.2j7a9yfzetyj
Wireframes: https://projects.invisionapp.com/share/EQXC9CLKCR2#/screens/428088403

Waiting to put this in the ready column until details of the functionality of the progress bar on the dashboard are ironed out.

Waiting to put this in the ready column until details of the functionality of the progress bar on the dashboard are ironed out.

Encompasses #993


Add middleware setting current user, got from GET param

https://docs.djangoproject.com/en/1.9/topics/http/middleware/

Added setting crm_user_id into session


Warn that Added/Changed filters do not see deferred changes

Explain https://github.com/bevyengine/bevy/issues/10625.
This might be obvious to those familiar with Bevy internals, but it surprised me.

Small wording improvement, but I like including this in more places.


Deserializing a RawValue inside an untagged enum always fails

cargo script compatible example:
//! ```cargo
//! [dependencies]
//! serde = "1.0.79"
//! serde_json = { version = "1.0.32", features = ["raw_value"] }
//! serde_derive = "1.0.79"
//! ```

#[macro_use] extern crate serde_derive;
extern crate serde;
extern crate serde_json;

#[derive(Debug, Deserialize, Serialize)]
struct FooNewtype<T>(T);

#[derive(Debug, Deserialize, Serialize)]
#[serde(untagged)]
enum FooEnum<T> {
    Single(T)
}

fn main() {
    // works
    let val: FooNewtype<Box<serde_json::value::RawValue>> = serde_json::from_str("42").unwrap();
    println!("{:?}", val);

    // thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("data did not match any variant of untagged enum FooEnum", line: 0, column: 0)', libcore/result.rs:945:5
    let val: FooEnum<Box<serde_json::value::RawValue>> = serde_json::from_str("42").unwrap();
    println!("{:?}", val);
}

I haven't figured out what's causing this yet.

Ok, I think I get it now. RawValue assumes the Deserializer from serde-json but untagged enums use their own deserializer.
@dtolnay Do you have opinions on putting deserialize_raw onto the Deserialize trait (with a default impl that errors)? It's the first fix that comes to mind

Right, untagged enums are deserialized from a data structure that has been buffered into heap memory, not from the original JSON deserializer.
I don't think a deserialize_raw method is the right fix. The underlying limitation is the same as https://github.com/serde-rs/serde/issues/1183. Both issues would be better resolved by supporting a customizable buffer type per deserializer (proof of concept in https://github.com/serde-rs/serde/pull/1354).

Closing in favor of https://github.com/serde-rs/serde/issues/1183 since this issue is a direct consequence.


feat: add --dry-run for --flow=patch

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

v6.3.0
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add file extension filters to save panels

Hi there!
First and foremost, thanks A LOT for this library, it helped me working around the winit issue https://github.com/rust-windowing/winit/issues/1779
I am trying to achieve the following: when a user saves a file it is very nice if the dialog itself provides the file extension, reducing the possibility of user error. I investigated how to achieve this under MacOS and found this relevant piece of information:
https://stackoverflow.com/questions/42856370/macos-how-to-have-nssavepanel-to-add-a-file-extension-in-the-file-name
I tried following the suggestion and implemented it in rfd. This very little change was enough to make it work on my MacBook, but I am not familiar with Apple SDKs nor MacOS, so I have no idea if this could somehow break something else.
In the upcoming days I will also investigate if the same can be done under Windows and Linux.

Thanks, I can investigate Linux/GTK as it's what I'm most familiar with.
So do you want to do all the work in this PR? Or do we keep it MacOs only? And merge other platforms separately?

Perfect! I will focus on Windows next, then.
I do not have any preference on having a single PR or many different ones, therefore I would say: I will do as you like!

Sure, I think the change is small enough to be all in one PR, you can add your commits (or any findings) here.

So... it has a bit more caveats than initially expected:

On MacOs:

Filter for one extension works like a charm
When we add 2 extensions it gets ify:
If we have [".rs",".txt"] filters:

Default extension if none was provided will be the first one (it's all right)
User can manually add extension, both .txt and .rs will work (it's all right)
But... in GUI only first filter is respected, which means all files with second extension are grayed out, which is quite misleading for a user (I don't like it at all)

On Linux/GTK

It turns out filter for save dialog is already implemented but...

It only filters which already existing files gets shown to the user
It does not append extensions automatically
It does not prevent you from adding unsupported extension

We could mimic macos behavior by adding the extension ourself in rfd, but then we are loosing a confim overide dialog, and user can override files by accident, because gtk will think that file name will be test, it will check if one exits and close a dialog, after that we add .txt to the end of test and gtk has no knowledge about that, and we can override anything that way

On Win:

It turns out filter for save dialog is already implemented
If no extension was provided it will just add it for you
If supported extension was provided it will just return
If unsupported extension was provided it will append supported one at the end, example: test.png.txt
Overall I think it's acceptable behavior

IOM it should stay as is, gtk and win users probably expect their file dialogs to act this way.
The only concern I have is the misleading graying out of files in MacOS, besides that I think we are good, and there is no need for any additional work.
Do you have any thoughts on that?
If not I think I will just merge this PR, and that's it.

I read some explanations on how NSSavePanel works and I played around a bit. NSSavePanel behavior is confusing AF to me:

it does not matter if you set zero, one or two filetype filters, on my MacOS BigSur all files just get grayed out. This also happens in other software, like in TextEdit.
if one enables the allowsOtherFileTypes flag then a user can input any file extension it wants,
HOWEVER, if MacOS does not recognize the extension, it will just append the first filter anyway. E.g: if the filter is pdf and user inputs test.mp3 everything is good, if they input test.ert the file will become test.abc.pdf

Apparently there are things that can be done by use of accessory views, (see http://www.extelligentcocoa.org/nsopenpanel-nssavepanel/ ) but I think that is too much complicated. Maybe maybe one could explore that option at a later time, but for my personal use case one file filter for save is enough.
w.r.t. gtk and windows behavior, I think those are fine the way they are. I now remember having to deal with the gtk "accidental overwrite because you added the extension" in the past, I had to manually check if the file existed and ask the user for overwrite confirmation, but that should be done in application code anyway.
In the end, I think that "merge the PR and that's it" is the correct call. Maybe just a couple of lines in the doc to tell the users that different platforms handle things differently.


Cardano cluster service

Turn the cardano-node.service into instanced set of<EMAIL_ADDRESS>systemd-unit-wise
Define a cardano-cluster target.

I don't see how this can be ran without having systemd

Absolutely, it needs systemd.

Breaks connect scripts:
nix-build -A scripts.mainnet.node
error: The option `services.cardano-node.port' defined in `<unknown-file>' does not exist.

Breaks the scripts.

Hmm, @disassembler, are you sure you tested the latest commit?
nix-shell:~/cardano-node]$ git diff

[nix-shell:~/cardano-node]$ grev
7d998a6155cf16eecb698d8b6fbaefbe34e66591 Tue Sep 10 21:06:48 2019 +0300 cardano-cluster-service:  a flock of cardano-node@NODE-ID services

[nix-shell:~/cardano-node]$ nix-build -A scripts.mainnet.node
/nix/store/c586rsqmd211gjlxbciacax7x4k317dr-cardano-node-mainnet

[nix-shell:~/cardano-node]$ /nix/store/c586rsqmd211gjlxbciacax7x4k317dr-cardano-node-mainnet
Starting cardano-node with --node-id 0 --port 3001 --topology /nix/store/g8fb0sjaq39dbxnvv35dqcwafgvc26vx-topology.yaml --log-config /nix/store/jw29jyvvzdfdwccdc96qckwjbywva6c5-log-configuration.yaml
[iohk.cardano.node.CoreId 0:Debug:4] [2019-09-11 20:17:43.67 UTC] tracing verbosity = normal
[iohk.cardano.node.CoreId 0:Debug:4] [2019-09-11 20:17:44.14 UTC] System started at SystemStart {getSystemStart = 2017-09-23 21:44:51 UTC}

bors r+


How to remove separator between collectionView and input toolbar?

New issue checklist

[x] I have read the README, documentation, and FAQ.
[x] Contributing guidelines confirmation: ____
[x] I have searched existing issues and this is not a duplicate.

General information

JSQMessagesViewController version: 7.3.4
iOS version: 10.3
Devices/Simulators: 10.3
Reproducible in the demo project? (Yes/No): Yes
Any related issues: No

What happened?
I'm using JSQMessagesViewController (7.3.4) and I couldn't find a way to remove the line that divides the collectionView and the input toolbar.

Where's this line added? I've tried setting the border of input toolbar to 0, but it didn't work.

its in JSQMessagesViewController.xib:

thanks, @mding5692. 💯


New face

SonarQube analysis reported 3 issues:

 3 major

Watch the comments in this conversation to review them.
Note: the following issues could not be reported as comments because they are located on lines that are not displayed in this pull request:

 The [com.google.inject.Inject] import is never referenced

SonarQube analysis reported 2 issues:

 2 major

Watch the comments in this conversation to review them.

at last!!!11

WOW!


Improved author splitting

Who its for
Users when they are searching by author
Problem it solves
Currently, we populate the Authors filter assigning the PyPI author as a single author, even though many plugin developers populate this string with a list of authors separated by commas, ampersands, "and", and Oxford commas.
This limits the value of the Author filter since it isn't very reliable (e.g. the filter for "Nicholas Sofroniew" misses plugins where Nick is one of many authors)
How it should work

If plugin author information is sourced from PyPI, we should split the author string according to common separators (e.g. ,, ;, &, and and) and assign the results as individual authors to the plugin.
If plugin author information is sourced from .napari-hub/config.yml, we should use the individual author entries

Done with #592!


Admin Search Component 🔍

What's this PR do?
This pull request updates the Admin Club Index page to allow making requests to the backend to search for/filter list of clubs to a specific result based on the search while typing in the search input.
Here's a quick video of the functionality on Clubs and Redirects index pages:
https://user-images.githubusercontent.com/105849/139491987-b8c2ac4f-8dbb-4fbb-8cc0-fd479a2b6e90.mp4
We previously allowed for this in the old interface but did not debounce the calls to GraphQL so as staff typed in the field, new requests would fire off for each keystroke. I don't recall well if this did not matter as much because of GraphQL caching, but for this new Admin interface we're hitting the backend directly so I definitely wanted to do some debouncing.
Took a bit but ended up figuring out a nice solution with a custom hook, thanks to a bit of googling around. It works really nice ✨  and I've also accounted for ensuring the input is disabled when it is fetching so there's no weird user experience where a user could continue typing in the interim while the search request is executing, and when it returns it changes the input text to match what that query was (this all happens super fast and I noticed this behavior while testing it, so made sense to address it).
How should this be reviewed?
👀
Any background context you want to provide?
I'm still considering a couple changes to see if I can fully encapsulate the behavior inside a single component, but I think that means having a SearchForm component... I'll update here if I proceed with that direction.
Relevant tickets
References Pivotal #179677332.
Checklist

[x] This PR has been added to the relevant Pivotal card.

Another thing I realized while building, was that I separated out and unified enough of the logic/structure for the SearchField and FilterField where they are essentially the same with just a different icon. So I may try and combine them into a single component with a prop you can pass to designate which icon (for type of search it's doing) to show.
I'll leave that for now as a future update along with the idea of providing a SearchForm component so all the logic is contained and makes the Index.js pages simpler.


Fix

What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time?
Fix 2 bugs occurs when zeppelin.livy.tableWithUTFCharacters is set to True. ref. commit ID  0fc1d7ba2081ebeed5c45d87c27ca57727f54099
What type of PR is it?
[MINOR] Bug Fix
How should this be tested?

Enable tableWithUTFCharacters feature from livy interpreter.
Create non-select SQL statement, such as: CREATE table statement , you will receive an error, however, the table will be created !

%livy.scala
spark.sql("CREATE TABLE  test ( id int, name String, destination []String)")

INSERT a record with an array of values, will raise an exception as arrays are non-primitive data

%livy.scala
spark.sql("INSERT INTO test VALUES ('6', 'test', '[\'1'\,\'2\']')")

Screenshots (if appropriate)
N/A
Questions:

Does the license files need to update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

@levi0090 Thank you for your contribution. I checked the code quickly and looks reasonable. BTW, could you please change the title of the PR including a ticket or the prefix [MINOR]?

@levi0090 I'm not sure the rules of Apache Zeppelin community, but generally, the bug fix requires a JIRA ticket

@levi0090 would you mind providing the error stacktrace/message of the case you listed before applying this patch in the PR description? Such messages could help users who meet the same issue to identify the root cause.

I have created two Jira issues that describe both issues, for your reference.

@levi0090 Thank you for making tickets. Could you please add your ticket numbers in your PR title?

@levi0090 I've added ticket prefixes. Could you please edit the title summarizing your contribution?

I will merge the changes with the master on 20.11 if no further comments are received.


BugFix: Fix merge result from more than one server

Summary
The merge operation results in a null reference error when the set operations is not set properly for Tuple Sketches.
Description
When more than one server returns an intermediate result to the broker, the custom object accumulators need to perform a merge.  When some of the state on the object accumulator is not re-initialised, this can lead to unpredictable behaviour.
The serialisation on these custom objects (for sketches) is somewhat cumbersome.  Ideally, we would encode the fields in binary together with the underlying sketch payload.  I came across a test case where sketches were fetched directly from the servers and I'm not sure as to whether there are users in the community who expect results to conform directly to a sketch for these server responses.
Finally, I was not able to find a good way to test multiple server responses with an aggregation function - please let me know if there is a good example.
Tags
bugfix .

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 34.84%. Comparing base (59551e4) to head (56f1ab6).
Report is 198 commits behind head on master.

Files
Patch %
Lines

...unction/IntegerTupleSketchAggregationFunction.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #12778       +/-   ##
=============================================
- Coverage     61.75%   34.84%   -26.91%
+ Complexity      207        6      -201
=============================================
  Files          2436     2386       -50
  Lines        133233   131082     -2151
  Branches      20636    20268      -368
=============================================
- Hits          82274    45680    -36594
- Misses        44911    82118    +37207
+ Partials       6048     3284     -2764

Flag
Coverage Δ

custom-integration1
?

integration
<0.01% <0.00%> (-0.01%)
:arrow_down:

integration1
<0.01% <0.00%> (-0.01%)
:arrow_down:

integration2
0.00% <0.00%> (ø)

java-11
<0.01% <0.00%> (-61.71%)
:arrow_down:

java-21
34.84% <0.00%> (-26.79%)
:arrow_down:

skip-bytebuffers-false
34.83% <0.00%> (-26.91%)
:arrow_down:

skip-bytebuffers-true
34.80% <0.00%> (+7.07%)
:arrow_up:

temurin
34.84% <0.00%> (-26.91%)
:arrow_down:

unittests
46.57% <0.00%> (-15.18%)
:arrow_down:

unittests1
46.57% <0.00%> (-0.32%)
:arrow_down:

unittests2
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Do you also need to set threshold?

Good catch - you are correct.  This has now been included.

The root cause of this is that the intermediate result is not fully serialized

If by this you mean that it is falling back on the sketch serialiser - yes.  The reason for this is described above.  I found a use case in the tests where the results from servers are inspected directly / programmatically and I'm unsure whether this represents a real world use case.  If we can discard this use case we can then consider how best to provide a backward compatible serialiser for the current (Theta) implementation.
What do you think?

What I meant is that the ser/de doesn't carry all information from intermediate result, thus we need to set the extra parameters after it being deserialized. I think it is okay for now.


Gallery fixes.

Removed now.UnixNano time from the IDs of the galleries so page generation is deterministic. This fixes generated pages with galleries always having differences after each build, even if the page hasn't changed. With .Ordinal, the galleries IDs should already be unique.
Make sure that all images have finished loading before calling Packery, fixing some image overlapping problems.

Thanks @MaikelChan really appreciate this one


Added passive buffs to Invoke and gave it 7 levels

Just as a note, there are a few hacky things that could be eventually changed with this:

The modifier uses a thinker to update its values, which means it is requesting 5 values at a thinker rate of .25, would be nice to do this in a less costly way

Added a line to award this modifier to Invoke in hero_selection.lua, probably should belong somewhere else

Otherwise, this should be working, thanks!

I would probably even change the thinker to be every second, as there is no real need to check that periodically. Invoker leveling Invoke is pretty rare and can only happen 6 times in a game after all.
I'll change it after merging is done.
Thanks!


Apim 3555 organization license repository

Issue
https://gravitee.atlassian.net/browse/APIM-3555
Description
Create OrganizationLicenseRepository for saving licenses by organization.
Additional context

📚  View the storybook of this branch here

Do not forget to implement this in the bridge repository too! https://github.com/gravitee-io/gravitee-apim-repository-bridge

@jhaeyaert According to you comment:
"Also, it allows anticipating support for the platform license"
Shouldn't we have a general "LicenceRepository" instead of a dedicated "OrganizationLicenseRepository"?

@jhaeyaert According to you comment: "Also, it allows anticipating support for the platform license" Shouldn't we have a general "LicenceRepository" instead of a dedicated "OrganizationLicenseRepository"?

Indeed, I was more thinking about having a LicenseRepository and search licenses by referenceType / referenceId


[popups] Add data-closed style hook

Adds hidden to popup components' State, and when true (i.e. hidden is applied with keepMounted) it has a data-closed style hook.

@vladmoroz thinking data-hidden (not transforming the hook name) makes more sense? Since data-closed seems like it should match open: false to match the other components' symmetric counterpart

Since data-closed seems like it should match open: false to match the other components' symmetric counterpart

Wait I don't follow, isn't it symmetric to open: false? Maybe an example would help
data-hidden would have made sense if the other one was data-visible

Wait I don't follow, isn't it symmetric to open: false? Maybe an example would help

This PR represents when it's fully unmounted. You were mentioning [hidden] isn't enough to target the relevant state since you can do hidden={false}. Maybe it should be data-closed (open: false state) AND data-hidden ([hidden] / mounted: false state)?

Wait I don't follow, isn't it symmetric to open: false? Maybe an example would help

This PR represents when it's fully unmounted. You were mentioning [hidden] isn't enough to target the relevant state since you can do hidden={false}. Maybe it should be data-closed (open: false state) AND data-hidden ([hidden] / mounted: false state)?

I'd expect that just data-closed that corresponds to open: false, and then if they are force mounting or adding a manual hidden={false}, they can add their own styling attributes as needed

Going to close this and open a new one that matches the open: false boolean.


lenovo-thinkpad-x1-6th-gen: swap throttled with thermald

Description of changes
According to https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Using_thermald, using newer thermald + newer kernel (which we have since 22.11) should be enough to workaround the throttling issue. thermald comes from intel and it seems to be better maintained than throttled, so I propose we switch to that.
Things done

[x] Tested the changes in your own NixOS Configuration
[x] Tested the changes end-to-end by using your fork of nixos-hardware and
importing it via <nixos-hardware> or Flake input

bors merge


Error RUnning CNNMRF

When I run qlua cnnmrf.lua I get through the network is built, syntheses started at resolution and implementing mrf layers. Then it throws the error:  /home/jim/CNNMRF/mylib/mrf.lua:167: attempt to call field 'SpatialConvolutionMM_updateOutput' (a nil value).
Not sure what I am doing wrong. I have torch and loadcaffe and cudnn running well using jcjohnson's neural-style. I just wanted to give CNNMRF a try as the results look more like what I am trying to achieve.
Thanks for any help.

I see that issue #9 on the same issue is closed. However, I am still having the old issue.

Hi,
did you try updating both nn and cunn following the advice given here:
https://groups.google.com/d/msg/torch7/CnkUoI6Dh1E/wZrXJaXTAwAJ
Chuan (Chris) Li
Postdoc Researcher
Mainz University
On Thu, Jul 7, 2016 at 9:56 PM, jbgrant01<EMAIL_ADDRESS>wrote:

I see that issue #9 https://github.com/chuanli11/CNNMRF/issues/9 on the
same issue is closed. However, I am still having the old issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chuanli11/CNNMRF/issues/27#issuecomment-231189196,
or mute the thread
https://github.com/notifications/unsubscribe/APOkqPw_SjtCaCYMFE0sTX1NI5IMxFO7ks5qTVoBgaJpZM4JHYyY
.

Thanks for the quick reply. Finally got nn and cunn (as well as cudnn) updated and got through the rmrf layers. Then it threw a new error:
Synthesis started at resolution

Implementing mrf layers ...
qlua: ./transfer_CNNMRF_wrapper.lua:317: bad argument #3 to 'format' (number expected, got nil)
stack traceback:
[C]: at 0x7f9fd62d39c0
[C]: in function 'format'
./transfer_CNNMRF_wrapper.lua:317: in function 'maybe_print'
./transfer_CNNMRF_wrapper.lua:346: in function 'opfunc'
/home/jim/CNNMRF/mylib/myoptimizer.lua:179: in function 'mylbfgs'
./transfer_CNNMRF_wrapper.lua:517: in function 'main'
cnnmrf.lua:92: in main chunk
Not sure what is going on. Thanks for your help.
Jim

I got it to work! Rather than trying to tun it with parameters specified I make another copy of run_trans.lua, made changes to the parameter list and got results similar to what you show in the readme.md.
I think we can close this one.


Update SDK and document NewSession

Update SDK and document NewSession

Pull Request Test Coverage Report for Build 50

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 61.055%

Totals

Change from base Build 47:
0.0%

Covered Lines:
243

Relevant Lines:
398

💛  - Coveralls


[Feature] Make it easier to exclude files

Is this feature missing in the latest version?

[X] I'm using the latest release

Is your feature request related to a problem? Please describe.
Right now files can be used to easily match files, essentially an "allow" list. For example, you can match any file which begins with a path, like ^path/to/directory. However, it's not easy to exclude files. For example, if I wanted to match on all files in the path/to/directory except files which end with .md.
Describe the solution you'd like?
It may be easiest to accept another input, such as exclude-files, which will simply be negated versions of the provided GREP regular expressions. For example, to exclude all files ending with .md you could do exclude-files: \.md$
Describe alternatives you've considered?
See also: https://github.com/tj-actions/changed-files/issues/264 -- which if implemented could invalidate this ticket.
Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@solarmosaic-kflorence This should now be available in the latest release. Thanks


Property not checked in union of objects

TypeScript Version:  3.3.3333

Search Terms:
Code
type MyPhotoA = { id: number };
type MyPhotoB = MyPhotoA & { userId: number };

type MyPhoto = MyPhotoA | MyPhotoB;

declare const myPhoto: MyPhoto;

const myPhoto2: MyPhoto = {
    ...myPhoto,
    // Expected type error but got none. `userId` should be string
    userId: {},
};

if ('userId' in myPhoto2) {
    // No type error, but runtime exception!! Very bad…
    myPhoto2.userId.toFixed();
}

IIUC, this is because TS considers myPhoto2 assignable to MyPhotoA with an excess property userId.
Shouldn't TS check that the excess property is not used in other members of the union?

Think this is a duplicate of #20863.
The real design issue here is that excess property checking runs exclusively before further type-checking, delivering a yes/no answer. To correctly check this case you need excess property checking to effectively prune off MyPhotoA from the union MyPhoto when comparing the types of the properties. For that to work you either need excess property checking to work in tandem with type-checking, or you need excess property checking to return more than just yes/no.

Closing due to duplicate


fabric8:build 4.0.0-M2 failes with message  Failed to execute the build: Error while trying to build the image: Connection is still allocated

Description
running the goal fabric8:build failes with message  Failed to execute the build: Error while trying to build the image: Connection is still allocated
This hapens only starting from version 4.0.0-M2. it is working well in 4.0.0-M1
Info

f-m-p version : 4.0.0-M2
Maven version (mvn -v) : Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T20:41:47+02:00)
Maven home: C:\younes\softs\maven\bin..
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: C:\progra~1\Java\jdk1.8.0_191\jre
Default locale: fr_FR, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows

Kubernetes version : v1.11.5
If it's a bug, how to reproduce : run mvn  clean package fabric8:build
(see attached dockerfile and pom.xml)

pom.txt
dockerfile.txt

@yonoos : Could you please provide some reproducible example project? I tried using your pom but it seems to be dependent on some parent pom of your project.

@rohanKanojia : you find attached the full project
full-test-project.zip

[dgaur@MiWiFi-R3L-srv jee.test-ear]$ mvn fabric8:build
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Expected root element 'settings' but found 'servers' (position: START_TAG seen <servers>... @1:9)  @ /home/dgaur/.m2/settings.xml, line 1, column 9
[WARNING]
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------------< yc:jee.test-ear >---------------------------
[INFO] Building jee.test-ear 1.0-SNAPSHOT
[INFO] --------------------------------[ ear ]---------------------------------
[INFO]
[INFO] --- fabric8-maven-plugin:4.0-SNAPSHOT:build (default-cli) @ jee.test-ear ---
[INFO] Failure in determining private key algorithm type, defaulting to RSA
[INFO] F8: Running in Kubernetes mode
[INFO] F8: Building Docker image in Kubernetes mode
[INFO] Failure in determining private key algorithm type, defaulting to RSA
[INFO] Failure in determining private key algorithm type, defaulting to RSA
[INFO] Failure in determining private key algorithm type, defaulting to RSA
[INFO] Failure in determining private key algorithm type, defaulting to RSA
[ERROR] F8: Failed to execute the build [Error while trying to build the image]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.597 s
[INFO] Finished at: 2019-04-02T18:28:25+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:4.0-SNAPSHOT:build (default-cli) on project jee.test-ear: Failed to execute the build: Error while trying to build the image: Unable to pull 'jboss/wildfly:13.0.0.Final' from registry 'oracleCloudContainerRegistery' : {"message":"invalid reference format: repository name must be lowercase"} (Internal Server Error: 500) -> [Help 1]
[ERROR]

@yonoos I tried this on your provided project repo.
If you will look closely, the error message is :
[ERROR] Failed to execute goal io.fabric8:fabric8-maven-plugin:4.0-SNAPSHOT:build (default-cli) on project jee.test-ear: Failed to execute the build: Error while trying to build the image: Unable to pull 'jboss/wildfly:13.0.0.Final' from registry 'oracleCloudContainerRegistery' : {"message":"invalid reference format: repository name must be lowercase"} (Internal Server Error: 500) -> [Help 1]

The error is with your configuration in pom and set registry name and properties. I tried to build the image with the default docker.io registry and it worked successfully.
Closing this issue.

FYI, I tried with the current version of fmp , and not 4.0.0-M2 . I'd suggest you ugrade to our latest release 4.0.


Download Bitcoin whitepaper from the blockchain (service and command)

After my unsuccessful attempts here https://github.com/rootzoll/raspiblitz/pull/2017 and here https://github.com/rootzoll/raspiblitz/pull/2078 to rebase my original pull request (PR 2017), I have opened this one based on a new fork.
This one seems that captures only the intended commit and no other weird stuff.
For info about what it does , see the description in the PR #2017

much thanks ... this looks good :) will be part of v1.7RC1 release.

cool, thanks  a lot!

@raulcano Can you make the pdf viewable through the terminal? I tried but did not accomplish this.

@raulcano Can you make the pdf viewable through the terminal? I tried but did not accomplish this.

Hmm, I haven´t tried that.
Probably there are some tools for that but at the moment it just downloads the file to your raspiblitz, so you can copy & view in your remote computer.
If you know a way to view a pdf via terminal let me know and I´ll try to include that in the code.

I did SCP to confirm that yesterday, all good, just trying to make the pdf viewable on terminal but no solution yet worked for me,

@raulcano
basically there is two options …

simple text: e.g. pdftotext ${pdf} - will show the content as Text. An alternative is poppler-utils or mc.
graphical on the framebuffer with e.g. fbgs for a verz basic result or nicer is green

have fun.

Thanks @vv01f, did with pdftotext :100: . I think this is the best we can get through ssh, as we cant view images through ssh, so fbgs or green wont work, as Blitz dont use a graphical enviroment (just for the lcd screen).
@raulcano Maybe do this mod to add a copy of the whitepaper in .txt with pdftotext, so there will be 2 files, .pdf and .txt, and remember to exclude them.


CI: use the trust template

@homunkulus r+

:pushpin: Commit d183d83 has been approved by japaric

:hourglass: Testing commit d183d83 with merge d183d83...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit 5834ed1 has been approved by japaric

:hourglass: Testing commit 5834ed1 with merge 5834ed1...

:broken_heart: Test failed - status-travis

@homunkulus r+

:pushpin: Commit 43490a9 has been approved by japaric

:hourglass: Testing commit 43490a9 with merge 43490a9...

:broken_heart: Test failed - status-travis

@homunkulus retry

:hourglass: Testing commit 43490a9 with merge 43490a9...

@homunkulus retry

:pushpin: Commit a6a3e76 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit a6a3e76 with merge a6a3e76...

:broken_heart: Test failed - status-travis

:pushpin: Commit d7b0f03 has been approved by japaric

@homunkulus r+

:hourglass: Testing commit d7b0f03 with merge d7b0f03...

:sunny: Test successful - status-appveyor, status-travis
Approved by: japaric
Pushing d7b0f03a0eb7f28a6e832d31ff37d0779ac83922 to master...


Added features

Added histogram role:
The current deployment provides the histogram page under the stats URL and summary request. A new histogram role has been added with its appropriate functions in the backend.

Added date range:
This feature allows the user to view unique mementos in the summary page with in the selected date range.

Added image selector:
The user can now be able to view his/her selected mementos on the summary page. The grid tab in the summary page shows little close buttons on the upper right that allow users to select the thumbnails they would like to dismiss and can then click the update button to see the new selection which is updated in the slider and the GIF tabs as well. The user can revert back to the original selection by clicking the revert button.

@dhruv282 have you tested these changes and are you confident that these should be merged?
Also, currently this PR seems to have some conflicts, would you mind rebasing and resolving these conflicts then test properly before we can merge it?
Most of your commit messages are not really helpful for anyone who would look at the history of the repository. Please have a look at some guidelines on writing good commit messages (such as this one) and exercise them in future.

Sorry about that. I merged my code with https://github.com/a-mabe/tmvis to get the features Abigail added. I got some of the old commits with bad commit messages to my branch after merging our repositories. However, the new features we added before the merge explain the changes. Apologies for all this confusion.

This PR still has many conflicting files and cannot be merged. Please see me in my office.

So I was able to resolve the conflicts by rebasing and I also tested the rebased code. Everything is working as expected.

@dhruv282 it looks like you broke the live site by not describing necessary dependencies and not testing it in an isolated environment. Our docker deployment is now broken and giving the following error:
fs.js:27
const { Math, Object } = primordials;
                         ^
ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/app/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/app/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/app/node_modules/webshot/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:776:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
    at Module.load (internal/modules/cjs/loader.js:643:32)
    at Function.Module._load (internal/modules/cjs/loader.js:556:12)
    at Module.require (internal/modules/cjs/loader.js:683:19)
    at require (internal/modules/cjs/helpers.js:16:16)

The error comes from the latest version of node, version 12. Switching from node: latest to node: 11.11.0 eliminates this error. The previous deployed version from April 8th this year was made before node v12 was released. I made necessary changes to the Dockerfile and tested it in an isolated environment. I'll make a new pull request with those changes.

@dhruv282 did you attempt to fix it for the latest version of node (potentially, in a way that works for both new and old versions of node)? If this can't work with the latest version of node, very soon there will be security issues discovered and we will be locked in with an unsupported node version.

I've started working towards that but using node v11 is a temporary fix to get the site back