Nuget Support!

Hello i love your Lib and i would love to work with it!
Can you maybe upload it on Nuget?

Hey, Vortice is on Nuget, or are you missing a library or version? https://www.nuget.org/packages?q=vortice

Hey, Vortice is on Nuget, or are you missing a library or version? https://www.nuget.org/packages?q=vortice

Probably he meant libraries from this game engine (not Vortice.Windows or Vortice.Vulkan)

Hey, Vortice is on Nuget, or are you missing a library or version? https://www.nuget.org/packages?q=vortice

Probably he meant libraries from this game engine (not Vortice.Windows or Vortice.Vulkan)

yea, would it possible?


FFT/OpenCL tests require user input to select the device

this locks the build ...

test_numpy_fft (silx.math.fft.test.test_fft.TestNumpyFFT) ... ok
test_numpy_fft (silx.math.fft.test.test_fft.TestNumpyFFT) ... ok
Choose platform:
[0] <pyopencl.Platform 'Intel Gen OCL Driver' at 0x7fed50181540>
[1] <pyopencl.Platform 'Intel(R) OpenCL' at 0x30d7490>
[2] <pyopencl.Platform 'Portable Computing Language' at 0x7fed4c975020>

Should be fixed by #2384.


Embed script support in Blazor server-side application

Describe the bug
In blazor Client side, the .js files are referred automatically. Where as in server side its not working. Is there any configuration made for that in server side? Can any one please help me regard this? Thanks
Additional context
i am Using VS2019 preview3
and .netcore preview5

Thanks for contacting us, @kmuthukumar23.
We're revising how static content works in Blazor with https://github.com/aspnet/AspNetCore/issues/6349


Update/Adds ButtonTertiary to GUI from GCDS

💬 Description
Adds ButtonTertiary to GUI based on GCDS.
Nothing particularly exciting here!

Branched from the ButtonPrimary PR https://github.com/gathercontent/gather-ui/pull/700

🔗 Links
https://www.figma.com/file/66iSurBAx32DWrJymo9NKL/GCDS-–-Web-UI?node-id=77%3A0
📹 GIF (optional)
https://share.getcloudapp.com/KouqWnmj
🚪 Start Points
Where is a good place to start the review? If there are multiple changes it may be worth listing multiple files.
👫 Related PRs (optional)
Any PRs that relate to the changes.
✅ Checklist

[ ] Tests written
[ ] Browser tested
[ ] Added to documentation
[ ] Added to storybook

 Add ButtonTertiary to Gather UI from GCDS


FFI plugin

Add support for flutter create --template=plugin_ffi and flutter run support for ffiPlugin: true in pubspec.yaml.
This addresses 2 issues:

Currently, the way to do FFI with Flutter is to use flutter create --template=plugin. However, this generates boilerplate for plugin registration and example code for method channels which go unused.
We've see dozens of issues with building, linking, and bundling native code. The FFI plugin template should be the sample that works for all platforms for users to reference or use as a starting point.

Design doc.
Internal design doc.
Some relevant issues:

https://github.com/flutter/flutter/issues/78819
https://github.com/flutter/flutter/issues/77790

Included in this PR:

Building shared C source code as part of the native build for platforms Android, iOS, Linux desktop, MacOS desktop, and Windows desktop.
Sample code doing a synchronous FFI call.
Sample code doing a long running synchronous FFI call on a helper isolate.
Use of package:ffigen to generate the bindings.

Not included in this PR:

Bundling closed source libraries. (MacOS, iOS, and Android require copying to the right place. Linux and Windows require referencing from CMake files.)
Building closed source libraries with the right compiler options (most notably rpath and include path).
Support for flutter test. This requires a bin/setup.dart to invoke a native build outside flutter run or flutter build.
Support for using the generated package as Dart standalone. This requires a bin/setup.dart to invoke a native build.
Linking against dart_api_dl.h to be able to invoke functions from dart_api.h.
Sample code doing an asynchronous callback through native ports form dart_api.h.
Compatibility between the plugin and plugin_ffi templates. The example apps (example/lib/main.dart) are different. @stuartmorgan we could change the plugin template to also perform a sum operation asynchronously and make them compatible that way.

Test this PR locally without building Flutter by running the Flutter commands from source (replace platforms for your host OS).
$ dart <PATH_TO_FLUTTER_CHECKOUT>/packages/flutter_tools/bin/flutter_tools.dart create -t plugin_ffi --platforms=macos,ios,android my_ffi_plugin
$ cd my_ffi_plugin/example/
$ dart <PATH_TO_FLUTTER_CHECKOUT>/packages/flutter_tools/bin/flutter_tools.dart run -d macos

@mit-mit can you give it a spin and let me know what you think.
@stuartmorgan do we run flutter create --template= + flutter run somewhere on CI? I could only find an Android integration test.
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

Gold has detected about 1 new digest(s) on patchset 1.
View them at https://flutter-gold.skia.org/cl/github/94101

Gold has detected about 1 new digest(s) on patchset 2.
View them at https://flutter-gold.skia.org/cl/github/94101

Gold has detected about 1 new digest(s) on patchset 3.
View them at https://flutter-gold.skia.org/cl/github/94101

Gold has detected about 1 new digest(s) on patchset 4.
View them at https://flutter-gold.skia.org/cl/github/94101

I've started reviewing this, but before I continue -

It would be good to discuss this in an API review meeting.
Have we considered other ways to provide a template for this? For example, a git repository? I'm also under the impression (maybe @craiglabenz knows?) that there's some work on going to make templates more pluggable. Could we do that for this?

My main thrust with question 2 is I suspect that people will want to heavily customize these. For example, someone might want to use a special compiler or build system that this doesn't use, or someone will want to use some other language choice that they'll write additional bindings for. It'd be really cool to have this as a stock/recommended/ready to go template for common use cases, but it'd be cool as well to see other templates pop up that support additional paradigms.

Thanks for the comments!

For example, someone might want to use a special compiler or build system that this doesn't use

People can do that in their own app. However, that will not work for reusable plugin packages on pub.dev. For reusable packages we rely on everyone having the same build tools (checked with flutter doctor). The benefit of having a predefined set of build tools is that the users of FFI plugin packages do not even have to know native code is involved and need to know nothing about native build tools. They could be ordinary Dart developers.
For prebuilt shared libraries, distributed in binary I agree. I noted in the PR description that I think a sample repo might be a better option than a template (and it is not part of this PR).

For example, a git repository?

We need to land the pubspec.yaml support for bundling and building native code without the registry that method-channel plugins use.
Whether the template lives in the Flutter repo or not does not matter so much. However:

I think a template is better than a sample, renaming things in the boilerplate is notoriously hard.
How would people find that template if it's not part of flutter create?

It'd be really cool to have this as a stock/recommended/ready to go template for common use cases, but it'd be cool as well to see other templates pop up that support additional paradigms.

I agree that having other templates pop up would be super cool. I'm interested in any work going in that direction.

Could we do that for this?

@mit-mit what is your take on how we should prioritize this?

Could we do that for this?

@mit-mit what is your take on how we should prioritize this?

I'd love to see plugable for Flutter templates in general, but I don't want to hold this work up behind that. When we do plugable templates, let's try and do it across all of them and not just for a single one.

It would be good to discuss this in an API review meeting.

+1 on this

Have we considered other ways to provide a template for this? For example, a git repository? I'm also under the impression (maybe @craiglabenz knows?) that there's some work on going to make templates more pluggable. Could we do that for this?

I'm planning on working on pluggable templates in Q1 2022. Don't have a design doc written yet, though.

For example, someone might want to use a special compiler or build system that this doesn't use

People can do that in their own app. However, that will not work for reusable plugin packages on pub.dev. For reusable packages we rely on everyone having the same build tools (checked with flutter doctor). The benefit of having a predefined set of build tools is that the users of FFI plugin packages do not even have to know native code is involved and need to know nothing about native build tools. They could be ordinary Dart developers.

Strong +1 on this. We do not want the ecosystem to become a wild west where every time you add a new package dependency you might have to install an obscure compiler or build system.

I would love if we could make this work using our future pluggable template system rather than adding 3 new types of templates to the tool (we only have 4 today, so this would almost double the number of built-in templates).

Can we make this template also include the steps to compile the C library to Wasm, and link to it from JS, for web plugins? It would be amazing if someone could create a plugin that supported both VMs and web.

Should the plugin include best practices for using ffigen?

Can we make this template also include the steps to compile the C library to Wasm, and link to it from JS, for web plugins? It would be amazing if someone could create a plugin that supported both VMs and web.

That would require emscripten, which is yet another build system constraint to deal with. But yes, it should be possible.

Can we make this template also include the steps to compile the C library to Wasm, and link to it from JS, for web plugins? It would be amazing if someone could create a plugin that supported both VMs and web.

As I think was brought up in the design review, this would be really cool, but would have to be a future project, as we would have to consider an official supported C -> WASM for Flutter toolchain, with associated doctor validators.

I'm a bit late to the party here, but the generically pluggable templates project is in its very early stages and probably shouldn't impact decision-making here. A day may come when various templates elsewhere get migrated over, but that's not imminent.

I've updated the PR to:

Exclude dart_api_dl.h for now. I'll follow up with another PR.
Include a sample with a helper isolate for longer running native code.
A lot more comments and documentation.

I think this should be good to go once CI is passing from my POV.
I'm interested in following up on the issue(s) related to dart_api_dl.h.
I would like to make sure @blasten has a chance to review the new NDK mechanisms.

Thanks for the review @stuartmorgan!
I can't seem to reply to one of your comments.

packages/flutter_tools/templates/ffi_plugin/README.md.tmpl
{{#no_platforms}}
The plugin project was generated without specifying the `--platforms` flag, no platforms are currently supported.
To add platforms, run `flutter create -t plugin_ffi --platforms <platforms> .` under the same
directory. You can also find a detailed instruction on how to add platforms in the `pubspec.yaml` at https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms.

This hasn't been changed.

Did you mean the website hasn't been changed? Or that comment in the readme. The comment in the readme is applicable.

We already share common code for the two different app templates; why is doing so with two plugin templates more confusing?

I had completely overlooked this.
I've added the shared files in plugin_shared now.

Did you mean the website hasn't been changed? Or that comment in the readme. The comment in the readme is applicable.

I mean that you marked the following comment on that line as resolved (which that new comment of mine was a reply to, but maybe that context was lost somehow):

s/under the same directory/in this directory/
(Saying "the same" directory is confusing, since usually the first run is "flutter create ... foo" in the directory above this one.)

But you didn't make the change I asked for (or reply to explain why you didn't).

But you didn't make the change I asked for (or reply to explain why you didn't).

My bad, not sure how that happened. I made the change now.

@stuartmorgan @blasten I'd like to go ahead and merge this so it's in the branch cut. Any more comments?

@stuartmorgan @blasten I'd like to go ahead and merge this so it's in the branch cut. Any more comments?

You posted this question on a holiday for us, and landed it before we started work. I haven't had any work days in which I could have reviewed this since your last update.
Were the NDK issues ever actually fully discussed and reviewed? There was discussion of having a design doc for that, but I never saw one. That was a major blocking point for this work, so if not this should absolutely be reverted until it has been.

You posted this question on a holiday for us, and landed it before we started work. I haven't had any work days in which I could have reviewed this since your last update.

Oops, my bad! Apologies.
I had misremembered https://github.com/flutter/flutter/pull/94101#discussion_r768010184 as the NDK review.
Thanks for reverting @zanderso. I'll reupload the PR.

@dcharkes For some more context on the revert, this PR likely landed too late to make the branch cut, anyway, so there's plenty of time to give everyone a chance to review and lgtm.

@dcharkes for an abundance of clarify: please always wait for (a) an LGTM from either the owner of the code (e.g. for flutter_tools, that would be @christopherfujino) or someone that that owner has delegated to, and (b) an LGTM from anyone who has left comments previously, before landing anything. If you need to land something in a hurry please escalate to me before landing. Thanks!


Add album caption parameter to SendAlbum

Even though we can set caption in individual inputtable items, in some applications(such as crossposting bots) you parse and construct  attachments separately from text. After you create a slice of Inputtables, real media items are wrapped in interface and you can't change their caption(because InputMedia() returns value, not a reference). So i added caption parameter to sendAlbum which is assigned to Caption field of first media before sending if caption is not empty. If we don't want to change function signature, we can also add GetCaption/SetCaption to Inputtable interface, so let's discuss

It seems like there is still no way to send album with a caption, so i'd appreciate some attention from maintainers.

agree, very useful

How can I send an album with caption if caption parameter is now absent?

It breaks the backward compatibility. The best way for this major version I can think of is adding a SetCaption method for the Album type:
var a tele.Album
a = // fill the album
a.SetCaption("...")

b.SendAlbum(to, a)


Upstream abseil now has logging

What language and solver does this apply to?
C++
Describe the problem you are trying to solve.
Abseil has released logging (see 20240116.1 which adds VLOG) which leads to conflicts w/ the logging support in this repo. There are macro redefinition errors and linker errors from duplicated flags.
Describe the solution you'd like
Ideally there'd be some sort of feature detection so that old abseil versions would still work.
Describe alternatives you've considered
If it's OK to drop support for old abseils, then it could be simpler just to rip out the or-tools logging and move over to abseil logging.

I do not see how not to be in lockstep with abseil code.
There are so many subtle bugs.
We do not have the resource to to all the patches.
Note that we already ripped out OR-Tools logging.

we do our best to target the last abseil-cpp release, so each time abseil-cpp finaly release a new feature then we remove our mock...
Out of curiosity did you use main branch ?

Ah, my bad. I was building a project that depends on an older release of or-tools and when I went to github to see if the logging stuff was still present, I didn't realize I was looking at the stable branch. Sorry for the confusion!


Current candidate face sometimes stays on the candidate, and may influence text in the buffer.

This is a very weird problem, and I don't have a recipe to reproduce. So I'm just bring it to your attention first.
How it happens (using my configuration)
Define a command that shows text from kill-ring in a selectrum session. Here's a simple one:
(defun browse-kill-ring ()
  (interactive)
  (completing-read
   "Kill ring: " kill-ring))

Now copy this from a buffer with emacs-lisp-mode on:
(defvar var nil
  "A `symbol' in docstring.")

And call browse-kill-ring. Then in the buffer, the "symbol" in the docstring is highlighted using selectrum-current-candidate:

and it keeps looking like this even after I cancel the session with C-g.
Here's something I've noticed:

It doesn't happen every time.
As long as I type something in that line, the problem is gone. After that, if calling browse-kill-ring again, the problem won't show up.
It happens on text that have both font-lock-constant-face and font-lock-doc-face. I've noticed the \\[command-name] thing in docstrings also suffers from this.

Testing with emacs -Q
I tried to reproduce it with emacs -Q, and the chance it happens seems to become very low. You can try to play with this snippet in emacs -Q:
(add-to-list 'load-path "/home/kino/.emacs.d/straight/repos/selectrum/")

(require 'selectrum)
(selectrum-mode)

(defun browse-kill-ring ()
  (interactive)
  (completing-read
   "Kill ring: " kill-ring))

(defvar var nil
  "A `symbol' in docstring.")

However, another problem happens in emacs -Q every time: when browsing the kill-ring, if you go through a candidate with that "symbol" thing, the selectrum-current-candidate face would stick with it:

Some inspection on the code.
From my experiment, this problem is introduced in https://github.com/raxod502/selectrum/commit/57df53b91abe4e3c487c58441b0f0fc7f330b09d.
I don't understand how this happens, because I saw Selectrum copies displayed-candidate first, and only operates on the copy.

I'm not seeing that in emacs -Q. Are there additional steps required than copying the form to the kill ring and then calling your command?

Here are the steps to reproduce:

emacs -Q
Copy my snippet into Emacs.
Run eval-buffer.
Copy the defvar form.
Copy a single line like (selectrum-mode).
Run browse-kill-ring.
Press C-n then C-p. You should see this:

Emacs version: 26.3.
OS: Manjaro Linux 19.0.2 on Kernel 5.4.28

I'm guessing you are using a newer version of Emacs that may fixed this problem.

Thank you for the directions to reproduce. I can confirm that the problem happens in 26.3 but not on master.

I had a similar problem and have proposed a fix in #76.

I've found a recipe to reproduce the original problem.

$ emacs -Q

Set up the load-path, and
(require 'selectrum)
(selectrum-mode)

(defun browse-kill-ring ()
  (interactive)
  (completing-read
   "Kill ring: " kill-ring))

Open an elisp file. I don't know why but the bug can be 100% reproduced in elisp file, but not in *scratch* buffer. I do M-x find-library minibuffer.el.

Do kill-ring-save on the completion-metadata function.

browse-kill-ring, go to the just copied one, and C-g. You can see this in the buffer:

I'm still using Emacs 26.3, and I used the patch on #76.

Can this be closed?

I think yes.

I also tried your last recipe and can't reproduce any more so I will close it, thanks!


fixed outdated permissions references (Merge this PR so that you can test your version of Table Bot)

Description

Checklist

[ ] If code changes were made, they have been tested
[ ] This PR fixes an issue
[ ] This PR is not a code change (ie. documentation, typehinting, comments, etc.)

Thank you very much!


Obsoletion request: barbed-end actin filament capping (GO:0051016) actin filament capping (GO:0051693)  pointed-end actin filament capping (GO:0051694)

Please provide as much information as you can:
Follow on from https://github.com/geneontology/go-ontology/issues/22594
pointed-end actin filament capping (GO:0051694)
barbed-end actin filament capping (GO:0051016)
actin filament capping (GO:0051693)
The binding of a protein or protein complex to the end of an actin filament, thus preventing the addition, exchange or removal of further actin subunits. [ISBN:071673706X]
currently a child of regulation of actin polymerization
migrate annotations to NEW Molecular function terms where appropriate
GONEW actin filament cap activity
GONEW actin filament barbed end cap activity
GONEW actin filament pointed end cap activity
However note that there are erroneous annotations.
Formins should not have been annotated to
barbed-end actin filament capping (GO:0051016)
and should not be annotated to the new MF terms
because their purpose is not "preventing the addition, exchange or removal of further actin subunits"

GO term ID and Label

Reason for deprecation Put an x in the appropriate box:

[ ] The reason for obsoletion is that the term is not clearly defined and usage has been inconsistent.
[ ]  The reason for obsoletion is that this term is pre-composed and should be represented as a GO-CAM model.
[ ]  The reason for obsoletion is that this term represent an assay and not a GO process.
[ ]  The reason for obsoletion is that this represents a phenotype.
[ ] The reason for obsoletion is that the data from the paper for which the term was requested can be accurately described using [appropriate GO term].
[ ] The reason for obsoletion is that this term represents a molecular function.
[ ]  The reason for obsoletion is that this term represents a gene product.
[ ] The reason for obsoletion is that this term refers to a class of proteins.
[ ]  The reason for obsoletion is that this term was added in error.
[ ]  The reason for obsoletion is that more specific terms were created.
[ ]  The reason for obsoletion is that this term was an unnecessary grouping term.
[ ]  The reason for obsoletion is that the meaning of the term is ambiguous.
[ ]  The reason for obsoletion is that is not known to be catalyzed by any gene product.
[ ]  The reason for obsoletion is that it more specific than the specificity of any known gene product.
[ ]  The reason for obsoletion is that there is no evidence that this function/process/component exists.

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[ ] check internal mappings: RHEA, EC, MetaCyc
[ ] check subset usage
[ ] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Annotation Review template: https://docs.google.com/spreadsheets/d/1izV3q1jnq_Ybg5MJ53O_b5BCTkGtjl_Fi-cOg3-7eBE/edit#gid=0

Instructions: https://wiki.geneontology.org/Annotation_Review_Request

[ ] create annotation review ticket: https://github.com/geneontology/go-annotation/issues/new?assignees=&labels=annotation+review&template=annotation-review-for-obsoletion.md&title=Review+annotations+to+[INSERT+GO+TERM]
[ ] find external mappings (via IEAS), include in obsoletion notice
[ ] tag curators in Annotation Review ticket. Responsible annotator for each group: https://github.com/geneontology/go-site/blob/master/metadata/group-contacts.csv

Notification

[ ] create obsoletion announcement
[ ] announce to GO friends<EMAIL_ADDRESS>[ ] paste the text in the ontology ticket

@pgaudet  does this sound OK?

from https://github.com/geneontology/go-ontology/issues/19107
Is the correct solution to restore
GO:0003782
obsolete F-actin capping activity

It's certainly an option -
what process should these gees be annotated to? actin cytoskeleton organization?

Current parentage:

I'm a bit confused by the CC term "actin cap"
GO:0030478   actin cap
Polarized accumulation of cytoskeletal proteins (including F-actin) and regulatory proteins in a cell.
?

ignore. This CC "actin cap" is unrelated to "actin capping"


Add Old-School Essentials AAC Character Sheet

Changes / Comments
Add a new Old-School Essentials Ascending Armor Class character sheet. Includes lots of rollable items and a monster tab for GMs.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[X] If this is a new sheet, did you follow Building Character Sheets standards ?

I did have a question. I was going to add a tipeee link, but hesitated due to the requirements. Is it okay if I add it now or should I wait for this to merge and then create another pull request?


[Snyk] Upgrade tslib from 2.8.0 to 2.8.1

Snyk has created this PR to upgrade tslib from 2.8.0 to 2.8.1.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.

The recommended version was released on a month ago.

Release notes

Package name: tslib

2.8.1 - 2024-10-31What's Changed

Fix publish workflow by @ andrewbranch in #271
Include non-enumerable keys in __importStar helper by @ rbuckton in #272
Remove use of ES2015 syntax by @ andrewbranch in #275

Full Changelog: v2.8.0...v2.8.1

2.8.0 - 2024-10-15What's Changed

Validate export structure of every entrypoint by @ andrewbranch in #269
Add rewriteRelativeImportExtension helper by @ andrewbranch in #270

Full Changelog: v2.7.0...v2.8.0

    from tslib GitHub release notes

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
📜 Customise PR templates
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@hashgraph/developer-advocates Please check this PR and merge if appropriate.


[Bug]: Example for animated transition contains error-prone code.

What version of React Router are you using?
5.1.0
Steps to Reproduce

Visit the animated transition example.
Repeatedly click on any of the links from the example very quickly.

Expected Behavior
The transition between the previous page and the new page should only happen once.
The previous page should only unload once.
The new page should only load once.
Actual Behavior
The previous page begins to unload and the new page begins to load, but the transition is interrupted, the animation from the previous page restarts and the new page reloads.
This can cause a race conditions when using the componentDidMount() and componentWillUnmount() lifecycle methods, as the components from the new page will load, unload, and reload very quickly.
It also looks wierd.
Possible Fix
This desired behavior can be obtained by replacing the key prop of <CSSTransition /> from key={location.key} to key={location.pathname}. Here is a code example where repeatedly clickling on a link does not cause the animation to restart.

I tried to reproduce it, but I didn't catch it. I mean, I couldn't see both pages being loaded repeatedly, actually just a once each. I've seen the next page been mounted first, and right after that, the previous one been unmounted, sequencelly. Is that not right?

Here's a video of what I get.
You can see that when I double click on a link, instead of there being a smooth transition from one color to the next, the transition starts, then abruptly restarts. This results in the color flashing.
https://user-images.githubusercontent.com/44372776/127690005-0b1170a8-5164-408e-9bd5-27648ea91489.mp4

If you want to submit a PR to fix the example, I can get that updated. The code lives here: https://github.com/ReactTraining/react-router/tree/master/packages/react-router-dom/examples/Animation


Find in Selection for Notebook

VSCode Editor's find in selection function doesn't work in notebooks. It's a pity as it would be quite helpful especially since refactoring variable names doesn't work in notebooks either.

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Deferred response demo

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Tests pass?
✔

This PR is outdated. It is for informational purposes only. See https://github.com/yiisoft/yii-demo/pull/73


[enh][doc]describe message ID and enhance the description of sequence ID

Modifications
Fix #14455.

add a description for Message ID.
enhance the description of Sequence ID.

Preview looks good.

Documentation

[x] doc

Thanks @RobertIndie for providing inputs and support.
Hi @codelipenghui @Anonymitaet, can you pls review this PR? Thanks.

BTW, the TypedMessageBuilder item is an interface rather than a component of a message. Can it be moved to https://pulsar.apache.org/docs/en/next/client-libraries-java/#configure-messages or somewhere else? @codelipenghui

BTW, the TypedMessageBuilder item is an interface rather than a component of a message. Can it be moved to https://pulsar.apache.org/docs/en/next/client-libraries-java/#configure-messages or somewhere else? @codelipenghui

@momo-jun Yes, correct. It's not a component of a message, it's a builder for building message instances, and in most case users do not need to use it directly, instead, users should use producer.newMessage() to create messages.
I think we can remove it from the above table first. And looks like the table also missed some components of a message, such as https://github.com/apache/pulsar/blob/master/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Message.java#L175.

BTW, the TypedMessageBuilder item is an interface rather than a component of a message. Can it be moved to https://pulsar.apache.org/docs/en/next/client-libraries-java/#configure-messages or somewhere else? @codelipenghui

@momo-jun Yes, correct. It's not a component of a message, it's a builder for building message instances, and in most case users do not need to use it directly, instead, users should use producer.newMessage() to create messages.
I think we can remove it from the above table first. And looks like the table also missed some components of a message, such as https://github.com/apache/pulsar/blob/master/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Message.java#L175.

@codelipenghui Seems there were quite a few advanced and optional components added in the latest releases. And it will be a dynamic and long list if we keep adding more features in the coming releases.
Does it make sense to maintain a minimum list of mandatory components in the doc?
For example, add SchemaVersion but skip RedeliveryCount (because it is only available when msg redelivery is turned on).

Does it make sense to maintain a minimum list of mandatory components in the doc?
For example, add SchemaVersion but skip RedeliveryCount (because it is only available when msg redelivery is turned on).

Make sense. The client Java doc will provide the complete list.


Loop deoptimization in variable analysis

This avoids carrying the variable declaration analysis through loops, which was the bug in grpc in that we had inlined an asset for one specific branch of the loop (the initialization case).
The test here would inline asset1 without this fix.

Any loop that permits variable declarations. But yes that means ForIn and ForOf too so I've added those.
I've also extended a similar analysis opt-out to assignments.

Codecov Report

Merging #49 into master will increase coverage by 0.22%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #49      +/-   ##
==========================================
+ Coverage   75.54%   75.76%   +0.22%
==========================================
  Files          10       10
  Lines        1104     1106       +2
==========================================
+ Hits          834      838       +4
+ Misses        270      268       -2

Impacted Files
Coverage Δ

src/asset-relocator.js
83.49% <100%> (+0.05%)
:arrow_up:

src/utils/static-eval.js
70.98% <0%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

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


Grid item class name not changing

I'm running into an issue dynamically updating the classname of a grid item.
I have a button that adds an item to the grid when clicked. When the item is created, I add extra props such as boolean for if it's a new item, a class name to specify that it is true for styling, and a boolean setting edit mode to true. When the item is confirmed, a button click there is meant to update the item setting the booleans to false and changing the class name. The class name on the element stays the same, though. I'm assuming this is because on updates only layout information is cared about.
Is there any way I can make this work?

Hard to answer without code/example. So I 'guess' that GridItem does not update because of ReactGridLayout does not update. ReactGridLayout should update on nextProps.layout change.
https://github.com/STRML/react-grid-layout/blob/59fae7b408175b894d1c36b40f2c6c1a612b57b0/lib/ReactGridLayout.jsx#L170-L172
Could you pass in layout.slice(0) to RGL when you mutate the griditem to test if equality fails? This should fire RGL update routines.

No, that wouldn't cause it - RGL doesn't have a shouldComponentUpdate() at all, so there should never be any problems with change propagation. I would suspect it's something internal to your app, @jomasti.

absolutely right. I somehow had in mind that PureRenderMixin was used. Sorry.

@STRML are you sure about this? Yes there is no shouldComponentUpdate used, but RGL only renders state and never props.
https://github.com/STRML/react-grid-layout/blob/59fae7b408175b894d1c36b40f2c6c1a612b57b0/lib/ReactGridLayout.jsx#L167-L187
I understand: When nextProps.layout change, then change state with this.setState({layout: nextProps.layout}). But if the change is not detected, state is not updated and therefore the component does not need to update.

It doesn't matter, if a render cycle propagates through the tree, RGL will rerender, unless shouldComponentUpdate returns false, which it can't because it's not defined. That's just default React behavior.
If you setState in componentWillReceiveProps you can get a state change into the current render without waiting for the next (and doing unnecessary work). But the rerender is happening, whether or not you set state.

The reconciliation is done on comparing the virtual DOM result. But the vDOM equals true since internal state is the components data provider and stays the same when a change is not detected.
I'm only talking about not detected prop change here, as I said before, this is just a 'guess'.

From trying to debug, I think the issue might be with this line. If the layout never changed previously in componentWillReceiveProps, then the layout state is not updated with the non-layout related changes (such as the classname). So when this is called, it's still pulling the old layout information for that child. The content updates fine, though.
Relevant code snippets to help understand my situation:
 createElement(el, index) {
    let removeStyle = {
      position: 'absolute',
      right: '5px',
      top: 0,
      cursor: 'pointer'
    };
    let i = el.i;
    let child;

    let innerElement = (

        {el.content}
        x

    );

    let popoverElement = (
      <Popover isOpen={true} body={this.getPopoverContent(index)} preferPlace="below">
        {innerElement}
      </Popover>
    );

    if (el.isNew) {
      child = popoverElement;
    } else {
      child = innerElement;
    }

    let element = (

        {child}

    );

    return element;
 },

 getPopoverContent(elementIndex) {
    return (

Test

        <input type="button" className="btn" onClick={this.setTile.bind(this, "test", elementIndex)} value="Test" />

    );
 },

 setTile(value, elementIndex) {
    let classname = 'custom_dashboard_tile';
    let items = update(this.state.items,  {[elementIndex]: {$merge: {isNew: false, content: 'Old Tile', className: classname}}});
    this.setState({items, isEditing: false});
 },

onAddItem() {
    let { isEditing } = this.state;
    if (isEditing) {
      return;
    }
    this.setState({
      // Add a new item. It must have a unique key!
      items: update(this.state.items, {$push: [{
        i: 'n' + this.state.newCounter,
        x: this.state.items.length * 4 % (this.state.cols || 12),
        y: Infinity, // puts it at the bottom
        w: 4,
        h: 4,
        minW: 4,
        minH: 4,
        tileType: this.state.tileType,
        isNew: true,
        content: 'New Tile',
        className: 'custom_dashboard_tile new'
      }]}),
      // Increment the counter to ensure key is always unique.
      newCounter: this.state.newCounter + 1,
      isEditing: true
    });
  },

I've been reworking  createElement several times to try different things to see if it's the way I was specifying the element. I also previously had a shouldComponentUpdate method, but I removed it to still have the same issue. Am I doing something wrong here?

I don't recognize the update function, but if it returns an array, could you please try
this.setState({
      // Add a new item. It must have a unique key!
      items: update(this.state.items.slice(0), {$push: [{
        i: 'n' + this.state.newCounter,
        x: this.state.items.length * 4 % (this.state.cols || 12),
        y: Infinity, // puts it at the bottom
        w: 4,
        h: 4,
        minW: 4,
        minH: 4,
        tileType: this.state.tileType,
        isNew: true,
        content: 'New Tile',
        className: 'custom_dashboard_tile new'
      }]}),
      // Increment the counter to ensure key is always unique.
      newCounter: this.state.newCounter + 1,
      isEditing: true
    });

@jomasti Could you post your render() method? It's essential to understand what you're actually instantiating.

@menelike That's react-addon-update, which I think should help me avoid needing to do slice. I tried it anyway, and I get the same result.
My render method:
  render() {
    let elements = _.map(this.state.items, this.createElement);
    return (

          <input type="text" placeholder="Dashboard name" />
          <input type="text" placeholder="Dashboard description" />
          <input type="button" className="btn" onClick={this.onAddItem} value="Add Item" />

        <ResponsiveReactGridLayout
            onBreakpointChange={this.onBreakpointChange}
            onLayoutChange={this.onLayoutChange}
            {...this.props}>
          {elements}
        </ResponsiveReactGridLayout>

    );
  }

and props.layout exists? because you are talking about state above and passings props here.

No, I'm not passing in layout at all. I'm setting each items _grid property. props.layout(s) is not needed in that situation, right?

you are right, did not see that, my mistake.

This is mainly the dynamic add/remove elements demo with the additional methods for editing the tiles after they added.

no it isn't because you do not add or remove the children, you update the childrens grid properties. Therefore children.length stays the same and internal state is not set.
We need synchronizeLayoutWithChildren in order to map item properties, if this is not fired together with an internal state update, nothing happens.
One guess:
Try to change the browsers width, this should update some routines which then fire synchronizeLayoutWithChildren.

I can resize the browser window, add another element, delete an element, move the element around, etc. The class name never changes for that item in the internal layout state. If I understand the purpose of synchronizeLayoutWithChildren, it only seems to be useful to add new children and recheck bounds.

Okay, here's what's going on:

Back in the 0.12-0.13 days, when this lib was written, it used cloneWithProps() to merge props into <GridItem> children.
That was deprecated, so we switched to React.cloneElement().
At some point, it was forgotten that style and className have to be manually merged. cloneWithProps would do this by default.

If you were passing element props in your layout items to get around this (e.g. [{w: 2, h: 3, x: 0, y: 0, i: '1', className: 'foo'}, ...], don't. Layout should only contain coordinates.
I've pushed a fix and a release at 0.10.7.

Right, that makes sense. I think I had a fundamental misunderstanding of what could be passed into _grid. Everything is good now. Thanks!

I don't think it can be said that the layout object is only coordinates because it seems like the only way to set props like the min/max height/width or static is through that object since the processGridItem gets those props from the layout state. I think that is what led me to believe I could set className in layout/_grid, which would correspond with this section of the README.

Ah yes. min/max and static are also in the layout (technically coordinates, or at least layout properties).
I'll update the documentation, although putting these properties on the layout itself is technically still valid.


On/off sensor

I’ve successfully configured  my H series and the power switch automatically states “on” when the TV is on.
Would it be possible to create a sensor based on TV power?

Hi @picto3000, can you please elaborate? What do you mean to create a sensor? Are you referring to some automation options in Home.app?

I'm attempting to create automation based on the state (on or off) of the TV. The TV is being turned on by the TV remote.
eg.
Turn TV on = Amp turns on automatically
Turn TV off = Amp turns off automatically
I can create automation of the amp in Home, but the TV's state (the switch), is only checked when someone opens the Home app.
I'm looking into other ways of doing this via Homebridge or Home Assistant but everything seems to hinge on a sensor being used and not a switch. Happy to be proved wrong.


ClientCertificates not working in .NET Core 1.1

I got "The remote certificate is invalid according to the validation procedure." event if I define a certificate.
I checked certificate in events "e", and my own instance of X509Certificate2, they are the same but I still see error in e.PolicyErrors.

_ftpClient.EncryptionMode = FtpEncryptionMode.Explicit;
_ftpClient.SslProtocols = SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12;
_ftpClient.SocketKeepAlive = false;

// Trust SSL Cer
_ftpClient.ClientCertificates.Add(new X509Certificate2("C:\mycert.cer"));

// Tried this aswell _ftpClient.ClientCertificates.Add(new X509Certificate("C:\mycert.cer"));

_ftpClient.ValidateCertificate += (control, e) =>
{
	e.Accept = e.PolicyErrors == SslPolicyErrors.None;

};
_ftpClient.Connect();

Can you try the example code of comparing the certificate as plain text instead?

Please reply if you still have this issue with the latest version.


[AIRFLOW-XXX] Fix Flake8 error

This error passed PR CI (in https://github.com/apache/incubator-airflow/pull/4403) when the Flake8 test was not working from https://github.com/apache/incubator-airflow/commit/7a6acbf5b343e4a6895d1cc8af75ecc02b4fd0e8 (10 days ago) to https://github.com/apache/incubator-airflow/commit/0d5c127d720e3b602fb4322065511c5c1c046adb (today).
The Flake8 test is already fixed in https://github.com/apache/incubator-airflow/pull/4415 https://github.com/apache/incubator-airflow/commit/0d5c127d720e3b602fb4322065511c5c1c046adb, so this error arose after it was merged into master.

@Fokko @feng-tao , for you notice please.

yes my bad.
I wanted to push a fix but I saw @Fokko  already did:
https://github.com/apache/incubator-airflow/pull/4421/commits/0834a1033719528773170a5930e214fb3bcaa518

@eladkal No worries!
I will close this PR then given @Fokko already noticed this issue.

Codecov Report

Merging #4422 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #4422      +/-   ##
=========================================
+ Coverage    78.6%   78.6%   +<.01%
=========================================
  Files         204     204
  Lines       16445   16445
=========================================
+ Hits        12926   12927       +1
+ Misses       3519    3518       -1

Impacted Files
Coverage Δ

airflow/models/__init__.py
92.6% <0%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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

I have re-opened and merge this one as it is a separate issue and affecting other PRs. Thanks @XD-DENG


⚠ Bofrost.de has degraded performance

In 60716f9, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1453 ms

Resolved: Bofrost.de performance has improved in d38024c after 14 minutes.


Add Vulnerability Reporting Policy

This commit updates SECURITY.md to inform contributors and users of the Vulnerability Reporting Policy for the Time Graph.

I updated the name of the policy to Eclipse Foundation Vulnerability Reporting Policy to match https://github.com/eclipse-cdt-cloud/theia-trace-extension/pull/723


Hardware accelerated frame decode on comma three

This is probably best done as an ffmpeg extension that we can eventually include in AGNOS. The first use will be to make the model replay test fast. The V4LEncoder has the encode side of this.
@deanlee interested in this one?

WIP


Fix: Language-Dependent Test #1213

The tests fail when the system language is not set to English
This PR...
Fixes issue #1213
Changes

Relax the test's assertion

Checklist

[x] tested locally
[ ] updated the docs
[ ] added appropriate test
[x] signed-off on the DCO referenced in the CONTRIBUTING link below via git commit -s on my commits, and submit this code under terms of the Apache 2.0 license and assign copyright to the Quartz project owners
(If you're not using command-line, you can use a browser extension )

In submitting this contribution, I agree to the terms of contributing as referred to here:
https://github.com/quartz-scheduler/contributing/blob/main/CONTRIBUTING.md

thanks!


Release 2.0.0

Release preparation

Thank you! I think this is all that needs to be done, but just to make sure I went through the usual bundle exec fastlane release. So 2.0.0 should be out now, just working out some CocoaPods kinks as usual :)


want to clear value in input type

Hello, i have used this autocomplete and its working fine but i want to clear the value of which i have selected after button save which is in my system?
how can i clear value on outside button click?

it is done i have did following:
remove-after-store="removeAfterStore" in autocomplete
and added scope argument removeAfterStore:'=removeAfterStore'
and set it in attr.inputId
and it works for me.


ld.lld: error: bin/bootstrap/abi.o: unsupported relocation reference

Hi --
lacc is unable to build itself when the linker is lld, the LLVM linker. When running make bin/selfhost/lacc, the bootstrap lacc builds and links fine. When the bootstrap lacc tries to build lacc, lld gives the complaint seen in the title of this issue report.
Both GNU ld and GNU gold happily link the selfhosted lacc so this seems to be something unique to lld.

This error was caused by relocation sections being placed before their targets (f.ex .rela.text before .text). Turns out lld is more pedantic than gnu linker, so I fixed some more issues as well before it stopped complaining. Should work now.
Thanks for reporting this. Using lld was very useful to validate the generated object files.


'Failed to spawn command' after 2.1.0 update

Using Linux Mint 17.3
Everything worked fine in v2.0.0, but after updating to v2.1.0 when I try to launch live-server it opens the dev-tools and gives the following error:
Failed to spawn command
/resources/app/apm/bin/node. Make sure /resources/app/apm/bin/node is installed and on your PATH
When I run which node in my terminal I get /usr/bin/node. I'm not sure why the package is looking for a resources directory in my root (/) directory, but there's obviously not one there.

Please follow this issue in #40.


feat: add lazy component

Hi 👋,
I'm working with some resource-intensive queries that take some time to execute, and the embed option on the card component works really well. However, I’d like to prevent layout shifts and avoid having cards nested inside other cards.
The lazy component follows a similar logic but provides an element you can style before it's replaced with the actual content.
Please feel free to make any changes, rename the component (coming from React/Solid, that's what comes naturally to me), or guide me in the right direction.
If you like this implementation, I'd be happy to add it to the documentation.

Hello ! This sounds like a very useful component to add, and I'll be happy to integrate it. Thank you !
Could you please:

remove the indentation changes to make the code easier to review
add documentation for the component in https://github.com/lovasoa/SQLpage/tree/main/examples/official-site/sqlpage/migrations

The audience of SQLPage is generally not familiar with web development, so we need to find a way to explain the concept and why it is useful in a way that is approachable to non-technical users.

add a test for it in https://github.com/lovasoa/SQLpage/blob/main/tests/end-to-end/official-site.spec.ts

hi 👋,
Thanks for your comments

remove the indentation changes to make the code easier to review

could we invest for future change and make the indentation consistent across the file ?
I can add tests and documentation during the next WE if you don't mind 😉

Yes, we can set an indentation standard, but maybe after your PR? You are going to end up with large conflicts for nothing, otherwise. I need a clean diff in this PR to review it.

Hello ! Any news on this ? I think only docs and tests are missing, then we can merge !


A few issues since last FF update and more.

Since last FF update my sometimes when i click on the video it doesn't even buffer, other times autoplay off option doesn't work, or it gets buggy and annotations turns on, on their own (to which i found fix in here already, annotations are fine now). Since forever too i was unable to watch in 60FPS or higher resolution without dash mode. Anyone capable (unlike me) out there know how to fix (some of) this and can share the solution?

I noticed some broken features I use:
annotations: They always stay on. It used to work before.
autoplay: video starts to play for a second or slightly less and then stops. Then it's not possible to view it untill page is refreshed. Refreshing the page in stead of an image, it shows buffering animation, and only then I can watch the video.
remove watermark: No longer removes the watermark. It just stays on.
default resolution: I set it to 1080p, but it always drops back to 720p. It used to work before.


relative imports

We should try to use relative imports within the package; e.g. in isomap.py use
from ..utils.eigendecomp import eigen_decomposition

rather than
from Mmani.utils.eigendecomp import eigen_decomposition

The latter can bring up weird issues at times.

@jmcq89 – let me know if these kinds of things are changes you'd like me to make (and submit a PR). I don't want to conflict with other work you might be doing on the code.

If you have time that would be great Jake. I'll mostly be working on getting a good example embedding with Word2vec.

Great - will do. I'm also working on getting the Astro data together asap as well

Done in https://github.com/mmp2/megaman/commit/78cac011d6327dd4fed51e3add2caa8d5a84b45a


Reverse audit dates

Codecov Report

Merging #34 into master will decrease coverage by 0.08%.
The diff coverage is 100%.

@@           Coverage Diff            @@
##           master    #34      +/-   ##
========================================
- Coverage   75.08%    75%   -0.09%
========================================
  Files          71     71
  Lines        1778   1780       +2
  Branches       92     92
========================================
  Hits         1335   1335
- Misses        412    414       +2
  Partials       31     31

Impacted Files
Coverage Δ

...lgrimaud/qualitoast/service/AuditEventService.java
83.33% <100%> (-16.67%)
:arrow_down:

...scalgrimaud/qualitoast/web/rest/AuditResource.java
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add the /dev/tlk_device (Open Trusted Execution device driver) description

@dvyukov: PTAL
version 2: added resources

Obsoleted by https://github.com/google/syzkaller/pull/65


[Feature Request] setting auto timer interval

Will like to request a timer option that allows running of the script every X min interval without using apples, so the script can be kept running over night for those low AP farming.
Some idea for implementation:
a) after battle result finish, implement optional X min timer option before re-select the battle on menu.
b) After apple selection fail/no-autorefill, close the apple screen, wait X minute timer option and re-select battle again.

This is easily doable. The problem is if there is a notably bad wait timer setup, it could end up waiting for a very significant time before going through again.

It would still be really helpful, I know I don't plan on buying unlimited time until the next Gil Fest so being able to set it so it turns off after every quest and then automatically turns itself back on after a few minutes would be immediately helpful.  I'd also appreciate it if it's not too hard to program in.


Error in training

Hello,
I'm getting an error "NotImplementedError: Cannot convert a symbolic Tensor (transpose_1:0) to a numpy array." while training the spleeter.
I am using Google colab environment while training.
Steps to reproduce:
Step 1: pip install spleeter
Step 2: !spleeter train -p 'base_config.json' -d '/content/drive/My Drive/Training data/'
Errors:
File "/usr/local/lib/python3.6/dist-packages/spleeter/main.py", line 46, in main
entrypoint(arguments, params)
File "/usr/local/lib/python3.6/dist-packages/spleeter/commands/train.py", line 98, in entrypoint
evaluation_spec)
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/training.py", line 473, in train_and_evaluate
return executor.run()
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/training.py", line 613, in run
return self.run_local()
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/training.py", line 714, in run_local
saving_listeners=saving_listeners)
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/estimator.py", line 370, in train
loss = self._train_model(input_fn, hooks, saving_listeners)
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/estimator.py", line 1161, in _train_model
return self._train_model_default(input_fn, hooks, saving_listeners)
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/estimator.py", line 1188, in _train_model_default
input_fn, ModeKeys.TRAIN))
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/estimator.py", line 1025, in _get_features_and_labels_from_input_fn
self._call_input_fn(input_fn, mode))
File "/tensorflow-1.15.0/python3.6/tensorflow_estimator/python/estimator/estimator.py", line 1116, in _call_input_fn
return input_fn(**kwargs)
File "/usr/local/lib/python3.6/dist-packages/spleeter/dataset.py", line 78, in get_training_dataset
wait_for_cache=False)
File "/usr/local/lib/python3.6/dist-packages/spleeter/dataset.py", line 399, in build
.map(instrument.compute_spectrogram, num_parallel_calls=N)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/data/ops/dataset_ops.py", line 1913, in map
self, map_func, num_parallel_calls, preserve_cardinality=False))
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/data/ops/dataset_ops.py", line 3472, in init
use_legacy_function=use_legacy_function)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/data/ops/dataset_ops.py", line 2713, in init
self._function = wrapper_fn._get_concrete_function_internal()
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/eager/function.py", line 1853, in _get_concrete_function_internal
*args, **kwargs)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/eager/function.py", line 1847, in _get_concrete_function_internal_garbage_collected
graph_function, _, _ = self._maybe_define_function(args, kwargs)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/eager/function.py", line 2147, in _maybe_define_function
graph_function = self._create_graph_function(args, kwargs)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/eager/function.py", line 2038, in _create_graph_function
capture_by_value=self._capture_by_value),
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/func_graph.py", line 915, in func_graph_from_py_func
func_outputs = python_func(*func_args, **func_kwargs)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/data/ops/dataset_ops.py", line 2707, in wrapper_fn
ret = _wrapper_helper(*args)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/data/ops/dataset_ops.py", line 2652, in _wrapper_helper
ret = autograph.tf_convert(func, ag_ctx)(*nested_args)
File "/tensorflow-1.15.0/python3.6/tensorflow_core/python/autograph/impl/api.py", line 237, in wrapper
raise e.ag_error_metadata.to_exception(e)
NotImplementedError: in converted code:
/usr/local/lib/python3.6/dist-packages/spleeter/dataset.py:134 compute_spectrogram  *
    return dict(sample, **{
/usr/local/lib/python3.6/dist-packages/spleeter/audio/spectrogram.py:47 compute_spectrogram_tf  *
    return np.abs(stft_tensor) ** spec_exponent
/tensorflow-1.15.0/python3.6/tensorflow_core/python/framework/ops.py:736 __array__
    " array.".format(self.name))

NotImplementedError: Cannot convert a symbolic Tensor (transpose_1:0) to a numpy array.

I could able to run the code after I change the below code:
/usr/local/lib/python3.6/dist-packages/spleeter/audio/spectrogram.py:47 compute_spectrogram_tf  *
I cahnged    return np.abs(stft_tensor) ** spec_exponent
to
return tf.abs(stft_tensor) ** spec_exponent

where did you change the code?

All over the project, just did find and replace.


Update BUILD.md and README.md instructions for csproj

I'm going to go ahead and merge this. CI shouldn't be affected by this and I'll get a full code review when merging migrate-to-csproj into the dev branch.


add received value to payment txInfo

Check at confirmation if value is set, otherwise use the balance of the address


Centralized generator of error messages

Current:

Introduced error_messages class with the static functions returning const char *  for all possible error messages, name of the function reflects content of the message, but not tightly coupled with it to have flexibility in changing error message content.
Replace all raw string in throw expressions across the oneAPI part

Future:

Support messages formatting
Generate error_messages and exception_generator from YAML:

input_data_is_empty: >
   Input data is empty

input_labels_are_empty: >
   Input labels are empty

/intelci: run

/intelci: run

@PetrovKP, @mchernov-intel  I'll reopen PR and rename branch, private CI treats the name of this branch central-error-messages-2 as an error 😃


Warning and Can't converge problem

Hi David,
I applied your algorithm to my data set and found two issues:

I sometimes obtain the warning like this:
/usr/lib/python2.7/dist-packages/numpy/lib/function_base.py:2476: RuntimeWarning: Degrees of freedom <= 0 for slice
warnings.warn("Degrees of freedom <= 0 for slice", RuntimeWarning)
Is it serious warning? should I stop or just ignore it.

Oscillation between solutions
('\n\n\nITERATION ###', 15)
('OPTIMIZATION for Cluster #', 0, 'DONE!!!')
('OPTIMIZATION for Cluster #', 2, 'DONE!!!')
('OPTIMIZATION for Cluster #', 3, 'DONE!!!')
('length of the cluster ', 0, '------>', 739)
('length of the cluster ', 1, '------>', 0)
('length of the cluster ', 2, '------>', 20)
('length of the cluster ', 3, '------>', 20)
('length of the cluster ', 4, '------>', 0)
UPDATED THE OLD COVARIANCE
beginning the smoothening ALGORITHM
('cluster that is zero is:', 1, 'selected cluster instead is:', 0)
('cluster that is zero is:', 4, 'selected cluster instead is:', 3)
('length of cluster #', 0, '-------->', 739)
('length of cluster #', 1, '-------->', 20)
('length of cluster #', 2, '-------->', 0)
('length of cluster #', 3, '-------->', 0)
('length of cluster #', 4, '-------->', 20)
Done writing the figure
('\n\n\nITERATION ###', 16)
('OPTIMIZATION for Cluster #', 0, 'DONE!!!')
('OPTIMIZATION for Cluster #', 1, 'DONE!!!')
('OPTIMIZATION for Cluster #', 4, 'DONE!!!')
('length of the cluster ', 0, '------>', 739)
('length of the cluster ', 1, '------>', 20)
('length of the cluster ', 2, '------>', 0)
('length of the cluster ', 3, '------>', 0)
('length of the cluster ', 4, '------>', 20)
UPDATED THE OLD COVARIANCE
beginning the smoothening ALGORITHM
('cluster that is zero is:', 2, 'selected cluster instead is:', 0)
('cluster that is zero is:', 3, 'selected cluster instead is:', 4)
('length of cluster #', 0, '-------->', 739)
('length of cluster #', 1, '-------->', 0)
('length of cluster #', 2, '-------->', 20)
('length of cluster #', 3, '-------->', 20)
('length of cluster #', 4, '-------->', 0)
Done writing the figure
The runs continuously oscillate between two outcomes (739, 0, 20, 20, 0) and (739, 20, 0, 0, 20).
Should I stop the run and choose one of them? What happens here and how to avoid this?

Thanks,

Are you sure you’ve pulled the newest version of the solver on Github? We’ve pushed some bug fixes in the past month or two that may have caused this

I think you can ignore the warning

That oscillation is because the TICC algorithm is not converging (since it’s non-convex, there is no guarantee of convergence in certain scenarios). Typically, I’ve seen it occur with poorly selected hyper-parameters. Can you try increasing lambda and decreasing beta and let us know if that fixes it?

Are you still getting the same oscillations? Depending on your dataset, it's possible that you'll need to lower beta even lower (such as 0.1) to get it to converge.

I lowered the beta to 0.1 and it still does not converge.

Hmm, would it be possible to share the dataset you're running it on? It would be easier to debug if I could play with the exact data to recreate the error. If not, though, can you provide details on the dataset size/dimensions/etc, and the exact command you're running (with all the hyperparameter values)
Also, does it converge when beta = 0?

Just in case anyone else is running into this same issue, after speaking with Vu, it turns out the problem was the the different sensors had extremely different scales (from 0.1 to 1e16), which caused the solver to run into some numerical issues. Normalizing the data fixed this error!

I'm getting different results when I use normalized data to when I use the data without normalization. What can that be attributed to?


Added several algo's

Added several algo's

Let's add a seperate section for algos not supported by nicehash, and keep the formatting the same

will merge this by hand


Fix some images in readme

Switched to HTML tags for the images because the brackets in the folder names broke things otherwise. Tweaked the formatting to make use of titles as well. I think it looks better.

Indeed, thanks for fixing brackets and improving the overall look!


Separate Responsive Expansion Style

I'm quite a fan of the two smaller responsive layouts but the one which expands the layout to 1200px is wreaking havoc on our site. While I'm well aware I could just delete or comment out the larger implementation, that would inevitably lead to it becoming re-enabled upon future upgrades.
It also leads to confusion on the documentation site when you see a 940px grid but hovering shows 1170px for the 12 column section.

I propose that the bootstrap-responsive file be split into two, one of which contains the two smaller configurations and one of which contains the expansion variant.
Forgive the bad chop, I'm used to Photoshop, not GIMP

Hahaha, best issue to stumble upon at 2:30am ever. I've removed "940px" from the heading there to resolve that aspect. In the future we may remove that aspect of the responsive file and make it (and the others) separated, but for now we won't. Please delete it as necessary.


Add spilling support for distinct aggregation

Add spilling support for distinct aggregation:
(1) when spilling has triggered, the hash aggregation operator stops producing the
distinct output rows;
(2) the spilling write out all the rows in row container to disk;
(3) during the output stage, we leverage the stream id from the spill file to tell if the
spilled row is a new distinct or not. If a spilled row contains in the first merge stream,
then it is not a new distinct, otherwise it is a new distinct.

@xiaoxmeng CI is red and seems related.
[ RUN      ] PlanFragmentTest.aggregationCanSpill
../../velox/core/tests/PlanFragmentTest.cpp:193: Failure
Expected equality of these values:
  planFragment.canSpill(queryCtx->queryConfig())
    Which is: true
  testData.expectedCanSpill
    Which is: false
Google Test trace:
../../velox/core/tests/PlanFragmentTest.cpp:177: aggregationStep:SINGLE isSpillEnabled:true isAggregationSpillEnabled:true isDistinct:true hasPreAggregation:false expectedCanSpill:false
[  FAILED  ] PlanFragmentTest.aggregationCanSpill (0 ms)


Tooltip initial position off on first load

Hi,
I have set the tooltip to appear when hovered over a font awesome icon. However I've noticed that on the first hover on the page load, the tooltip appears right under the mouse, see image below, red circle is where the mouse is.
When I move the mouse away and hover again, the tooltip appears correctly, over the top of the icon.

I'm grabbing the image url which is stored inside a data attribute:
$('.tt').tooltipster({
                theme: 'tooltipster-shadow',
                speed: 0,
                functionReady: function (origin, content) {
                    var desc = ellipsify($(this).data('description'), DESCRIPTION_LENGTH);
                    var img = $(this).data('img');
                    origin.tooltipster('content', $('
' + desc + '
'));
                },
                content: "Loading..."
            });

Any ideas?

Sorry, I forgot to add this. Just for reference, this is how it appears after the initial hover:

Hi, please check out the opened issue named "Tooltip not shown properly the first time". Thank you.

Hard to set a link there, right?
https://github.com/iamceege/tooltipster/issues/546


Checkpoint/restart: Create all partitions & subdirectories on all PEs

For #2627.

Replaced by #2641.


luci-ssl-openssl: Provide OpenSSL-based LuCI collection

@jow-
Your opinion, please.
The discussion with build000 got me into looking things and this might be the sensible first step on the LuCI side. I thought about creating a menu for selecting the SSL provider for luci-ssl, but then I thought that it is more-straightforward to keep the old luci-ssl intact and to create a new collection next to it.

Add a new OpenSSL-based collection luci-ssl-openssl that uses libustream-openssl instead of the default libustream-polarssl. (Note: px5g is included and still needs libpolarssl, so both underlying SSL libs will be included. Mention that in the package description.)
Mention PolarSSL in the title of luci-ssl.

Additional thoughts:
The next step in the path towards "openssl-only" would be to look for openssl-based alternatives for px5g, e.g. a new px5g-openssl variant with only a script calling openssl, but that will require coordination between LEDE and Openwrt, as we can't define a core LuCI dependency for a package that exists only in one of them.
I have already tested creating certs for uhttpd with Openssl and it works ok by itself.
/usr/sbin/px5g  selfsigned -der -days 365 -newkey rsa:2048 -keyout ./test.key -out ./test.crt -subj /C="FI"/ST="Uusi maa"/L="Es poo"/CN="user"

openssl equivalent (Note: key is still in PEM format, but uhttpd copes with that)
openssl req -x509 -outform der -nodes -days 365 -newkey rsa:2048 -keyout ./test.key -out ./test.crt -subj /C="FI"/ST="Uusi maa"/L="Es poo"/CN="user"

But when I tried to figure out how to use the existing uhttpd init file without modifications (in order to have just a new px5g-openssl script replacing px5g), I stumbled into a problem: I have not been able to figure out how to pass double-quoted arguments from uhttpd init into a script that converts the received px5g command into a openssl command and calls openssl. The certificate subject contains double-quoted items and those quotes get parsed and removed. That leads into trouble if any of the cert subject field contains space.
https://git.lede-project.org/?p=source.git;a=blob;f=package/network/services/uhttpd/files/uhttpd.init;hb=HEAD#l46
So far it looks like the easiest solution would be modify the uhttpd init script itself to directly call openssl if px5g is not found. But I am not sure if that kind of solution would be acceptable.

@jow-
ok to merge this new luci-ssl-openssl collection?

Thanks, I will update the spelling to OpenSSL and then merge this.
I will also try to draft a patch for the uhttpd init and will submit that to LEDE & Openwrt.

@jow-
I crafted a simple patch for uhttpd init script. The patch first evaluates which keygen-executables are found and then uses one them (if found). Luckily most of the arguments are common to openssl & px5g, so the needed patch is small:
--- a/package/network/services/uhttpd/files/uhttpd.init
+++ b/package/network/services/uhttpd/files/uhttpd.init
@@ -7,6 +7,7 @@ USE_PROCD=1

 UHTTPD_BIN="/usr/sbin/uhttpd"
 PX5G_BIN="/usr/sbin/px5g"
+OPENSSL_BIN="/usr/bin/openssl"

 append_arg() {
 	local cfg="$1"
@@ -43,8 +44,12 @@ generate_keys() {
 	config_get location   "$cfg" location
 	config_get commonname "$cfg" commonname

-	[ -x "$PX5G_BIN" ] && {
-		$PX5G_BIN selfsigned -der \
+	# Prefer OpenSSL for certificate generation (existence evaluated last)
+	local GENKEY_CMD=""
+	[ -x "$PX5G_BIN" ] && GENKEY_CMD="$PX5G_BIN selfsigned -der"
+	[ -x "$OPENSSL_BIN" ] && GENKEY_CMD="$OPENSSL_BIN req -x509 -outform der -nodes"
+	[ -n "$GENKEY_CMD" ] && {
+		$GENKEY_CMD \
 			-days ${days:-730} -newkey rsa:${bits:-2048} -keyout "${UHTTPD_KEY}.new" -out "${UHTTPD_CERT}.new" \
 			-subj /C="${country:-DE}"/ST="${state:-Saxony}"/L="${location:-Leipzig}"/CN="${commonname:-Lede}"
 		sync

The patch currently prefers OpenSSL (as it is evaluated last), but that could be changed if px5g is to be kept as default if found.
After this patch is applied, it is possible to change the new luci-ssl-openssl collection's dependency on px5g to openssl-util. That would make the build truly "OpenSSL-only". That is a brute-force approach using the openssl commandline tool. In practice that package is slightly larger than px5g+polarssl. (But I guess that many OpenSSL users already have openssl-util installed as I did, so the actual size difference may even be negative. My own firmware size decreased as libpolarssl got dropped.)
openssl-util - 1.0.2j-1 - 199442
px5g-polarssl - 4 - 5011
libpolarssl - 1.3.17-1 - 144312
More polished approach could be using px5g C code to write a small program to call libopenssl directly, but that requires deeper SSL programming skills than I have :-(
Note: the certificate is generated in DER format (like with px5g), but the key gets into PEM format (unlike px5g). Both PolarSSL and OpenSSL accepts those ok (and based on docs also CyalSSL/WolfSSL should do the same)
Any comments, or should I just file a PR?


Regenerate exercises with make exercises

Follow-up of #579.
This puts back exercises as generated by make exercises.
I looked a bit in the jupytext code, but there is no straightforward way to remove the jupytext header, see https://github.com/INRIA/scikit-learn-mooc/pull/408#issuecomment-1041463684.
I assume it's the same thing for the utf-8 first line. Note that the reason that utf-8 appeared in the rendering was that they were after the yaml frontmatter due to #576 adding frontmatter at the top where there was none. Having them in the first line (or at least before the front matter) will not cause them to show up in the rendered HTML or notebook.
We could get rid of jupytext info in the frontmatter by hand if we really wanted to, there is an old TODO about this in https://github.com/INRIA/scikit-learn-mooc/blob/f5ed939ed3f259137830af1e1433bcf9f30ed5de/build_tools/generate-exercise-from-solution.py#L41-L43 but I feel this is not super high priority.

Having them in the first line (or at least before the front matter) will not cause them to show up in the rendered HTML or notebook.

Just to illustrate my point: https://2873-246063957-gh.circle-artifacts.com/0/jupyter-book/python_scripts/01_tabular_data_exploration_ex_01.html does not show utf-8 in the rendering although the .py file has it.


Provider stops bidding after < 9 hours running.

Noticed bdl.computer stopped bidding after < 9 hours. Here is the logs when attempting create a new deployment...
I[2022-11-28|17:21:41.597] order detected                               module=bidengine-service cmp=provider order=order/akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1
I[2022-11-28|17:21:41.601] group fetched                                module=bidengine-order cmp=provider order=akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1
I[2022-11-28|17:21:41.601] requesting reservation                       module=bidengine-order cmp=provider order=akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1
D[2022-11-28|17:21:41.602] reservation requested                        module=provider-cluster cmp=provider cmp=service cmp=inventory-service order=akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1 resources="group_id:<owner:\"akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v\" dseq:8676889 gseq:1 > state:open group_spec:<name:\"akash\" requirements:<signed_by:<> > resources:<resources:<cpu:<units:<val:\"1000\" > > memory:<quantity:<val:\"536870912\" > > storage:<name:\"default\" quantity:<val:\"536870912\" > > endpoints:<> > count:1 price:<denom:\"uakt\" amount:\"10000000000000000000000\" > > > created_at:8676891 "
D[2022-11-28|17:21:41.602] reservation count                            module=provider-cluster cmp=provider cmp=service cmp=inventory-service cnt=2
I[2022-11-28|17:21:41.603] Reservation fulfilled                        module=bidengine-order cmp=provider order=akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1
D[2022-11-28|17:21:42.844] running check                                module=provider-cluster cmp=provider cmp=service cmp=deployment-manager lease=akash18u6zew2sg9kfwlk4rurh3m8vxlylp9jmzr25ah/8669866/1/1/akash19yhu3jgw8h0320av98h8n5qczje3pj3u9u2amp manifest-group=akash cmp=deployment-monitor attempt=1
I[2022-11-28|17:21:42.889] check result                                 module=provider-cluster cmp=provider cmp=service cmp=deployment-manager lease=akash18u6zew2sg9kfwlk4rurh3m8vxlylp9jmzr25ah/8669866/1/1/akash19yhu3jgw8h0320av98h8n5qczje3pj3u9u2amp manifest-group=akash cmp=deployment-monitor ok=true attempt=1
D[2022-11-28|17:21:43.878] submitting fulfillment                       module=bidengine-order cmp=provider order=akash1q0m0kz83qwpuc5ss39y8sf25mq85a43ffjfd3v/8676889/1/1 price=11.000000000000000000uakt

The bidengine-order never gets past submitting fulfillment and that is where the logs stop for module=bidengine-order

@88plug what's your bid timeout value in the provider?
I've noticed your providers aren't expiring the bids after the default 5 mins. Most likely you have set this to a higher value

while your provider is holding on the bids the tenant isn't accepting, it won't bid on the new ones if the "pending" deployments holding up all resources.


OpenUI5 App can be swiped out of the visible area

OpenUI5 version:
1.34.8
Browser/version:
BlackBerry Leap & BlackBerry Z10
Softwareversion:
<IP_ADDRESS>36
OS Version:
<IP_ADDRESS>76
Any other tested browsers/devices(OK/FAIL):
BlackBerry 10 (FAIL)
Android (OK)
iOS (OK)
URL (minimal example if possible):
https://openui5.hana.ondemand.com/explored.html#/entity/sap.m.IconTabBar/samples
Steps to reproduce the problem:
Swipe the Tabbar quickly from right to left (It also occurs on other components like sap.m.List). Sometimes it takes some tries and is difficult to reproduce (Make different movements and swipe quickly from right to left and vice versa) and sometimes it occurs very often.
Screenshot (I could also provide an video example if needed but I first made a screenshot):

I forgot to mention when the app is outside of the visible area it will remain there until I press a button or something like that.

Hello Balgam,
thank you for reporting. We will have to check using a blackberry device and get back to you as soon as we can verify the issue (internall tracked as #1670187841)
Best,
Michael

Fixed with:
https://github.com/SAP/openui5/commit/03ca14c483849ea7d0491bcc536a2fb0a1e6683b
Downported to 1.38 and 1.36. For version 1.34 there are no more patches planned.
Best,
Teo

@TeodorTaushanov
I've tested the solution with version 1.36.11 and unfortunately the issue is not fixed for vertical scrolling containers such a list with action items. For horizontal scrolling components like the IconTabBar the fix seems to work now.

Unfortunately, it seems there is some issue in Blackberry about this. We've been investigating it, but we couldn't find a solution until now.
Best,
Teo

@TeodorTaushanov
Are there further investigations planned or will you leave it as it is?
Best regards


Added SelectMenu Values slice

From what I know, this change is only for modals and is undocumented.
They only return the selectmenu name and the values.

Update from discord devs, they are waiting for the new release android to ship.
They also hinted that they might be rewriting modals ingeneral, as atm they use a webview, and they are thinking and making them native.
If they decide to move models to native that will delay future modal additions.


[CWS/CSPM] fix revive lint issues in cmd/security-agent

What does this PR do?
This PR fixes the revive lint issues in cmd/security-agent. Mostly unused params, missing doc on packages

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


Bad Request - Problem Details - RestSink

Is it possible to access the problem details, or any other details, related to a bad request?
(UPDATE - my question also applies to custom response bodies, e.g. an Create entity type endpoint that reports errors with a custom response class)
In my scenario, I'm POSTing to a Rest sink with a request that contains an invalid date.
When called via PostMan, a helpful Problem Details is returned, listing the incorrect date.
But using Copy-Data, the only error is that there has been a Bad Request, which isn't enough to debug for my scenario. ( I have made sure that the server is returning a problem details)
thanks
The errors section is below, I don't see anything else helpful in the rest of the OutPut
 "errors": [         {             "Code": 23352,             "Message": "ErrorCode=RestSinkCallFailed,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Rest Endpoint responeded with Failure from server. Check the error from server：Rest Call Was not sucessfull, response status BadRequest,Source=Microsoft.DataTransfer.ClientLibrary,'",             "EventType": 0,             "Category": 5,             "Data": {},             "MsgId": null,             "ExceptionType": null,             "Source": null,             "StackTrace": null,             "InnerEventInfos": []         }     ]
The sort of message I hope to be returned

this comes from running the exact same request in PostMan

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

ID: c9da1816-3f64-bd45-443f-5bdb48bacc24
Version Independent ID: e649f787-62da-fc97-2e9a-ba89765beed4
Content: Copy data from and to a REST endpoint by using Azure Data Factory - Azure Data Factory
Content Source: articles/data-factory/connector-rest.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

Thank you for the detailed question. We are currently investigating and will update you when we have accurate information to provide.

Thank you for the detailed question. We are currently investigating and will update you when we have accurate information to provide.

@BenjaminWCarne thanks for trying out the REST connector and reporting the issue. Could you file a support ticket so we can let engineer look into details on your API behavior, and see how to improve the error reporting for bad request?

#please-close

Good evening, I found this issue via a google search and am running into the same problem. I'm getting a BadRequest from an API call being made via the Copy Data activity with the REST API as the sink, but with no further detail on what the cause of the error is. It would be helpful if the Copy Data activity, when interfacing with a REST data source, logged exactly what the BODY of the request was as well as the full response sent by the server and not just the top-level error code. The Web activity which can also interface with a REST API provides more information in its inputs, outputs, and errors, but is not well-suited for bulk data copy operations.


Recipe : requiredBonks

Hello
I test recipe but requiredbonks does not work
{
  "type": "create_mechanical_extruder:extruding",
  "ingredients": [

    {
      "fluid": "minecraft:water",
      "amount": 1000
    },
    {
      "fluid": "minecraft:water",
      "amount": 1000
    }
  ],
  "result": {
    "item": "minecraft:obsidian"
  },
  requiredBonks:10
}

Seems like an oversight in the documentation. Put it in parentheses like normal syntax and it works:
"requiredBonks":10


resin-proxy-config: Use iptables PREROUTING instead of OUTPUT to also…

… redirect traffic coming from containers on custom docker networks
Connects-to: https://github.com/resin-io/hq/issues/1258
Changelog-entry: Fix connectivity with a network proxy in containers on custom docker networks
Change-Type: patch
Signed-off-by: Pablo Carranza Velez<EMAIL_ADDRESS>(still untested)

Contributor checklist

[ ] Changes have been tested
[x] Change-type present on at least one commit
[x] Signed-off-by is present
[x] The PR complies with the Open Embedded Commit Patch Message Guidelines

Reviewer Guidelines

When submitting a review, please pick:

'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

@pcarranzav @agherzan I'm trying to try this, but get an error and redsocks does not seem to run properly:
[  150.666416] x_tables: ip_tables: owner match: used from hooks PREROUTING, but only valid from OUTPUT/POSTROUTING

Replaced by #1056


Validation Error is not visible to manager submitting

Background: As a manager I am trying to submit my decision on a telework agreement. I don't notice or see the 'agree' button.
Nothing appears to happen when I submit as the validation error is happening in an area I can't see on the screen
Steps to Reproduce: process a telework form for more than 3 days, manager does NOT select 'agree' but does everything else correctly, then submits... it look like it's broken and nothing happened
Actual Behavior: Manager does not see the validation error on the area of the screen where they are working
Expected Behaviour: Manager should see the validation error on the area of the screen where they are working
Environment: ALL

Would a solution where we scroll you to where the error message is be OK here?
@david-sabadash If so, There might be some built in functionality we can use for this: https://github.com/formio/formio.js/issues/3650

Investigation ccomplete on this task; currently the component we need access to in order to implement this functionality is not exposed to us in our implementation. None of the currently available properties of the Form component accurately allow us to catch validation events and focus them on the screen. In order to implement this functionality, a full reimplementation of the Form component would be needed. This is related to @simensma-fresh 's suggestion - the class method mentioned in the formio repo is only accessible in the core JS library, and not in the react-formio library we currently have implemented. we would need to switch over to the formio.js library, or alternatively, make a local override for the Form component similar to how we are handling the existing forms-flow-ai component overrides.

Decision to keep it open at today sprint review - Simen might have a workaround and will connect with David.
Another option is a pop-up message
Another option is the red box at top of page that lists errors.

Tested successfully in DEV. Ready to be transferred to TEST

yay this worked great in DEV move it over please :)

Can be moved to Test

@Stella-Archer @HasanSifat  Ready to be tested on TEST

Tested successfully in TEST-
Ready to be transferred to PROD

Yes, this is Good in TEST please move to PROD

tested successfully in PROD! Ready to be closed


3-way Tables and Stair Stepping

Good morning @AaronGullickson
I hope all is well. I got sick over the holiday weekend and am feeling rough. However, I am trying to work through it. I think I sorted out the 3-way table and inserted it below the graph showing religiosity by education and race. I am not sure if I got it correct, it doesn't seem to add to 100 across rows. I also tried the stair-step approach and got weird results too. I put that code under the 3-way-table. All work is labeled and pushed to git. If you could take a look, I would be grateful. I will continue rough drafting the final paper this evening. I am just moving slow. Thank you again for your support.
Thank you,
Kevin Gable

On the three way table, you have to do the prop.table with two dimensions not one, like so:
round(prop.table(table(gss$relig_affil, gss$educ_attain, gss$race),c(2,3)),3)*100

I would recommend doing a barplot though. This is a start:
ggplot(gss, aes(x=relig_affil, y=after_stat(prop), fill=educ_attain, group=educ_attain))+
  geom_bar(position = "dodge")+
  facet_wrap(~race)+
  coord_flip()+
  theme_bw()

On the ordered factor, you have to assign back the result of the function to educ_attain:
gss$educ_attain <- ordered_factor(gss$educ_attain)


vector confussion

**hello, ,I am reviewing a function in the paper and have a question regarding some of its variables. Specifically, I'd like to understand the variables common_name_1 and common_name_2 in the function below: **
def Calculate_Score_list_for_thresholding(orthology_map,species_1_coexpression_network,species_2_coexpression_network):
    import pandas as pd
    #Get Species Names in Common form

    cross_species_n_m_genes = pd.read_csv(orthology_map)
    orig_column_common_name_1 = common_name_1 + ' Symbol'
    orig_column_common_name_2 = common_name_2 + ' Symbol'

Could you please explain what these variables represent and how they should be defined?
Thank you for your help.

Hi Yang. Yes, these refer to column names in the orthology file.  I've attached an example file to clarify
maize_to_arabidopsis_ortholog_NM.csv

Hi Yang. Yes, these refer to column names in the orthology file. I've attached an example file to clarify maize_to_arabidopsis_ortholog_NM.csv

Thanks so much for the example. This is very useful and helpful~


when sample data is all 0.0  thread 'main' panicked at 'min must be <= max  min:NaN max: NaN', src/spectrum.rs:469:9

if our samples len is short  only 2
samples data is [0.0, 0.0]
when run not release
thread 'main' panicked at 'min must be <= max  min:NaN max: NaN', src/spectrum.rs:469:9

Hi @wasabia
can you please give some more details. With what other parameters are you invoking the lib?

Hi @phip1611
i just run the example
this error happen
Change
to_spectrum_and_plot(
        &samples[0..4096],
        sampling_rate,
        "example__mp3-samples__bass_drum__spectrum",
        FrequencyLimit::Max(5000.0),
    )

To
to_spectrum_and_plot(
&samples[0..128],
sampling_rate,
"example__mp3-samples__bass_drum__spectrum",
FrequencyLimit::Max(5000.0),
)

Thanks for the feedback. I'll refactor the whole scaling functionality, make it simpler and less error-prone in the next release - <7 days until the fix will be live

Fixed on my dev branch. Release in a few days

Took a little bit longer .. release in a few hours to days now! @wasabia


Make Parameters and Constants behave similarly for possibly-singular PSD/NSD matrices.

Motivation
Changing Leaf._validate_value as was done in #454 had two effects.

First, it resolved #442: incorrect rejection of positive definite matrices due to rounding errors in computing the residual A - proj_A.
Second (as a side-effect) it allowed singular PSD and NSD matrices to be used in cvxpy. All the user needed to do was define those matrices as Parameter objects with the PSD=True or NSD=True keywords.

I want to follow-up on this side-effect.
Although the side-effect is useful in that it provides some resolution to issues like #407 and #553, it creates subtle differences in when cvxpy will accept PSD/NSD matrices. Specifically, if P_arr is a numpy array representing a singular PSD matrix, then

P = cvxpy.Parameter(shape=P_arr.shape, value=P_arr, PSD=True) can be constructed without error, and will have P.is_psd() == True.
P = cvxpy.Constant(P_arr) may have P.is_psd() == False.

The behavior of Constant objects is important. Even if a user doesn't declare something as a cvxpy Constant, it will automatically be cast to a Constant once it participates in a cvxpy Expression or Atom (e.g. quad_form).
Modifications
This pull request modifies Constant.is_psd() and Constant.is_nsd() to allow for a 1e-8 tolerance on the eigenvalues. This is largely the same as tolerance that is already allowed in Leaf._validate_value for Parameters with PSD=True or NSD=True. The only distinction is that on the official cvxpy master branch, Leaf._validate_value currently does an element-wise check on the residual A - proj_A, while the proposed change checks the largest singular value of A - proj_A.
Considerations for approving or denying

It would allow users to provide a value like -1e-9  * np.eye(n) and have the resulting cvxpy Constant be identified as a PSD matrix. I should remark that this is already possible with Parameter objects right now.
It would make Constant and Parameter objects behave in almost identical ways.
The calculation of eigenvalues in Constant objects can be made much more efficient than in Parameter objects. (The latter needs the eigenvectors, while the former does not.)

Coverage increased (+0.6%) to 80.172% when pulling a52f92a1760db2b8db0402189fe9a3fe9262926e on rileyjmurray:master into 941b1caf04dc16824e7d49fb2343eb70803c2c7e on cvxgrp:master.

Coverage increased (+0.6%) to 80.172% when pulling a52f92a1760db2b8db0402189fe9a3fe9262926e on rileyjmurray:master into 941b1caf04dc16824e7d49fb2343eb70803c2c7e on cvxgrp:master.

This makes a lot of sense, but there's a subtle issue. CVXPY has some logic for when an element is zero. For example, symbolic zero times anything is zero. If symbolic attributes are based on tolerances, you can have things that aren't exactly zero numerically be symbolically zero. You would think this wouldn't matter with small enough tolerances, but it used to work like this and people complained.

I actually remember resolving that issue (#468).  It is true that the only matrix that is PSD and NSD is the zero matrix, but to the best of my knowledge, there is nothing in the cvxpy codebase that exploits this fact. In particular, the changes in this PR only introduce tolerances for 2x2 matrices and larger. Any 1-by-1 matrix is tested for PSD/NSD by "is nonnegative" and "is nonpositive" respectively.

True, it doesn't matter for PSD vs NSD, but didn't you add tolerances also for nonnegative and nonpositive? It's not obvious how to handle these tolerance issues correctly! It would be fine by me to add tolerance for PSD and NSD but not for nonnegative and nonpositive.

@SteveDiamond this is ready to merge.
Changes:
Defined four constants which are stored in cvxpy.settings.  Those constants (and their initialized values) are
EIGVAL_TOL = 1e-10
PSD_NSD_PROJECTION_TOL = 1e-8
GENERAL_PROJECTION_TOL = 1e-10
SPARSE_PROJECTION_TOL = 1e-10

The "eigval" tolerance is used in the Constant class for determining is_psd() and is_nsd(). The "projection" tolerances are used in Leaf._validate_value, and were previously hardcoded there as 1e-10 (in various places). The projection tolerance for PSD/NSD is higher than the other tolerances because projection onto the PSD/NSD cone is more numerically intense than any other projection operation performed by cvxpy.
If a user runs into an issue from these tolerances (being too generous, or too demanding), they can simply change the value in cvxpy.settings at runtime (no need to edit source code).


Smaller / configurable footer

Is there an easy way to make the footer more compact, or align things side-by-side (vs. vertically) like in the footer in the Casper theme? Would prefer to avoid having to modify the hbs files if possible and my CSS-foo isn't as strong. Thanks for the great theme!

You can paste the following code into the the Site Header Code injection section of your Ghost instance:
<style>
@media only screen and (min-width:48rem) {
  .m-footer__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 35px 0;
  }

  .m-footer-copyright {
    margin-right: 50px;
    margin-bottom: 0;
  }

  .m-footer-social {
    margin-bottom: 0;
  }

  .m-footer-copyright.jslicense {
    margin-left: 50px;
    margin-bottom: 0;
  }
}
</style>

This code will make the footer more compact and align things side-by-side but centered in relation to their container. Sadly if you want to have one part on the left side and another part on the right side then the layout has to be changed and that's outside the scope of this issue.

I will close this issue for now, please feel free to reopen it if you think is necessary.


Link to https://www.kaggle.com/learn/overview

good resource to learn about Python/Pandas/Seaborn/Data Visualization

Does not fit anymore the lesson.


Improve Navbar UI for better user experience

Navbar have some issues

The Home ,categories, about us are appearing twice and the world wise logo also

Login and sign-up buttons are having bad color combination and border ,creates a poor visual experience for users

We should resolve them to improve better user experience.

Can i work on this to enhance the navbar and to be more attractive

please assign it to me.
@ANSHIKA-26

PR already made , ask @Deepak0yadav if he needs help , there still a lot he has to finish

Hi @ANSHIKA-26, I would like to enhance the "Navbar UI" to improve overall user experience. This update will include better visual styling, improved responsiveness for different screen sizes, and streamlined navigation links to make it easier for users to access key sections of the website. Please let me know if this aligns with our project goals.

@ANSHIKA-26 , could you please assign to me ?

PR already made