RESTORE and IMPORT INTO multi-region functionality docs

Closes #10937 Draft of features for RESTORE & IMPORT INTO 21.2 multi-region features:
RESTORE doc changes:

Added section to the RESTORE page on restoring with the different table localities and their nuances. The RBT & RBR ordering/matching limitations are outlined here and on the known limitations page for 21.2. (Closes #11283)
Added a bullet on the default primary region setting (Closes #11373 )
Note on SET LOCALITY page
Added the skip-localities-check option to the option table and this section (Closes #11278)

IMPORT INTO doc changes:

Removed the section on this from the known limitation page (Closes #11919 )
Removed the consideration bullet and added that RBR in import into is now available
Added a bullet that import into now supports in computed columns default expressions with user-defined types (Closes #11720 )

TFTR @rmloveland !


Fix memory limit on composer install

Explained on issue #109.

We use templating (to avoid needing to update multiple files at once).  I've opened #111 based on your commit. Thanks.


Update CMake to build with intrinsics on Apple M1

On  Apple M1 machines, building failed to determine the system was an arm machine and therefore silently failed to build with the appropriate intrinsic header. Adding a check for arm64 fixes the issue.

Excellent. Thank you again. :)


Mac OS - Highlighting text in the editor requires two clicks when the integrated terminal is open

VSCode Version: 1.2.1
OS Version: 10.11.5 (15F34) (El Capitan)

Steps to Reproduce:

Open a file in the editor
Open the integrated terminal
Type some commands on the terminal
Try to copy some text on the editor by highlighting and typing Mac + c
You will have to click on the section twice before the text successfully copies

Already fixed in v1.3.0.


Automate releases (part 1)

Part of the changes needed for #1056 . I have encrypted the keystore, modified .travis.yml to handle that via Travis cmd line, and added the env vars.

Codecov Report

Merging #2111 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2111      +/-   ##
=========================================
+ Coverage     5.6%   5.68%   +0.07%
=========================================
  Files         225     225
  Lines       11379   11418      +39
  Branches     1065    1070       +5
=========================================
+ Hits          638     649      +11
- Misses      10689   10715      +26
- Partials       52      54       +2

Impacted Files
Coverage Δ

...n/java/fr/free/nrw/commons/CommonsApplication.java
42.85% <0%> (-1.73%)
:arrow_down:

...explore/recentsearches/RecentSearchesFragment.java
0% <0%> (ø)
: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 2175ba2...f885d3a. Read the comment docs.


Epic: Lurk and Filecoin Green collaboration

Working to prototype a system in Lurk allowing a project to model its energy use and make representations to customers.
Outline of an MVP and notes doc: https://docs.google.com/document/d/11W3y2yhct75gJmvlLbexyT1Dyn-HBs_BiROGKNMkgF4/edit#
Relevant people:
@redransil
@mjohnson518
@porcuquine
@emmorais
@jpeg07

Comments from @porcuquine in Slack, July 28:

Maybe there is a better place for this message (let’s decide on one and create), but while on my mind:
I think maybe the easiest way to deal with the ‘multiple time steps’ issue we discussed for an MVP would be if we can keep the model small enough that one time step can reasonably fit into a row (even a very large row).
The top row can contain initial inputs, and each row’s formulae can refer either to the previous or current row (while respecting public/private boundaries).
Each ‘organization’ can have a range of columns, further subdivided into a public and private part.
Alternately, if it’s easier to manage or reason about, we could swap rows and columns. Each org has a range of rows. If the model gets large, it just has a lot of rows.

Pasting the "notes" section from the MVP doc here:

Notes

Bounds on emissions for different types of emissions models

Electricity, electric arc furnaces, etc -> trigger audit

DAO needs subject matter experts who are involved in adjudicating disputes
Auditors could become a bottleneck, particularly because they need to be experts in both GHG accounting and Lurk
Aggregate intensity/production information for an industry

Or opt out of reporting a variable?

“Framework” implements the global spreadsheet. “Application” is an individual model
Need to come up with a specific MVP application that implements all of the MVP features above

Example: SP who stores data and provides both estimates and proofs as they resolve

What specifically does the model need to be capable of, computationally

Big int? Negatives? Floating point?
Does field elements rn
Less than and greater than aren’t currently cheap

Practically how to set up

(1) Inputs: write some sort of data scraping tool that gets the data we need from the external world and provides it, simulating individual data providers
(2) some application level program represents the entity (ie company or project), receives data and uses the library or tool to produce an output file and proof representing entity X (ie some data source) contribution to the next clock cycle

And produces the proofs
Could separate into two entities: one that uses the lurk system, and the other that is the lurk system itself (application and framework)

Put two systems together

One google doc that describes what we are doing and what we think we’ve done
Second a spreadsheet model that actually does this as the example

Just need to model one clock cycle unambiguously (either two different regions of one sheet, or just set up a sheet that internally has all the relationships)

@redransil - my understanding is that the spreadsheet we need for the next steps here (bold, above) will come from your team. Let me know if we are on the same page here. Thanks!


[FR] Statistics aggregation function

Is your feature request related to a problem? Please describe.
In addition to sum() count() and average() I would like to propose that we should have an aggregate function that will return both .count .sum .sumSquare in the same query. And so we can calculated both average and standard deviation along with presenting all statistics related value in one query
Describe the solution you'd like
There should be stat() function that return .count .sum .sumSquare in the returned aggregated object
Describe alternatives you've considered
Without aggregated function there are no optimal way to calculate standard deviation
Or could there possibly be custom aggregate function like couchdb in firebase system?

Hi @Thaina Thank you for your feature request!
Cloud Firestore support is provided by the @google-cloud/firestore library. Therefore the easiest and most efficient way to get Firestore issues resolved is by directly reporting them at the nodejs-firestore GitHub repo.

Hi @Thaina Thank you for your feature request! Cloud Firestore support is provided by the @google-cloud/firestore library. Therefore the easiest and most efficient way to get Firestore issues resolved is by directly reporting them at the nodejs-firestore GitHub repo.

Thank you for your response. Is it possible to transfer issue between repo?


Add two lines around pasting images or uploading images, and quoting and replying

Fix #11389
Testing Plan:
Tested manually.
A few js tests had to be changed in test-js-with-node
GIFs or Screenshots:

@Z0Marlin thanks for working on this!
This should be implemented as a block_format option to compose_ui.replace_syntax and compose_ui.insert_syntax_and_focus, not all of their callers; and those functions should (1) check if the caret is already at the start of a line, and only if not add extra newlines.  And we should add unit tests for the new option with various caret positions extending frontend_tests/node_tests/compose_ui.js.  Done well, just reading those tests should be enough to be confident it works correct in various situations.  Some test cases to try, with | as the place the caret was:
|

(i.e. just the | at the start of an empty message, should not add any extra newlines)
some text |

| some text

some text
|

@skunkmb FYI, you can help review this since you know this code path well.

@timabbott I've added the option in the compose_ui.insert_syntax_and _focus function as of now. Is it required to add a similar option to the replace_syntax function? As per my understanding, the insert_syntax_and_focus function is always being called first to insert a syntax string, and then the replace_syntax function is replacing this string with another one, whenever quoting and replying, or uploading images. So I think, just having the option in insert_syntax_and_focus function is enough. What do you think is the right approach here?

@Z0Marlin I think that's correct for the cases we care about here. Can you add unit tests?

Having spent a bit of time in this code recently fixing the bug mentioned above, I think the structure of your code changes are wrong; you should be passing the option to smart_insert and changing the whitespace rules inside there, not effectively duplicating parts of smart_insert in its caller.

Alright, so essentially, all the whitespace editing must be done in smart_insert, and the other functions should just pass the required parameters to smart_insert  ?

Ok, so I've shifted the logic of adding new lines to smart_insert(),  and added the unit tests for the same.

@timabbott the PR is ready for review. Are there any more changes that need to be made?

Closing as this is stale and much of the core work has already been merged via another PR.


text-class="***"    Generate the pseudo class effect is not what happened, please

I try to text-class="stars' but this cannot take effect why

It's difficult to say, could you provide a JS Fiddle with your code?


linux_6_2: re-export kernel_neon symbols to non-GPL out of tree modules

Description of changes
Introduced in https://github.com/torvalds/linux/commit/aaeca98456431a8d9382ecf48ac4843e252c07b3 with the usual disdain for ZFS.
We have been there in the past with
https://www.phoronix.com/news/NixOS-Linux-5.0-ZFS-FPU-Drop / https://github.com/NixOS/nixpkgs/pull/61076.
This fixes ZFS on aarch64 until the next breakage.
See https://github.com/openzfs/zfs/issues/14555 for original upstream issue.
I know this can have legal consequences for NixOS, I will submit myself to all scrutiny and bikeshedding :).
Things done
Tested through pkgsCross.aarch64-multiplatform.linuxPackages_6_2.zfs.

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

I feel like a better approach is to hold off on shipping these packages for aarch64 until this is fixed upstream rather than effectively re-licensing code under the GPL without permission.

I feel like a better approach is to hold off on shipping these packages for aarch64 until this is fixed upstream rather than effectively re-licensing code under the GPL without permission. This isn't as bad as patching ZFS to report that it is GPL, as suggested at openzfs/zfs#11357 (comment) but it's definitely not a great idea, IMO.

Well, the code was there at some point. This is not going to be fixed by the kernel upstream in any way atm. (I contacted kernel upstream with no avail).
OpenZFS upstream can reintroduce their own version of the trivial helper, but if, for some reason, there's a treewide change of the semantics of start/end, OpenZFS has to track them.
From a distribution point of view, this change minimize the breakage and the risks for the users.

but it's definitely not a great idea, IMO.

There is zero impact on other users. This has nothing to do with re-licensing the whole of the linux kernel is under the GPL. This is true before and after applying this patch. We don't need any permission to apply patches to Linux kernel. The license allows us to change code as long as we publish the changes, which is done by publishing the patch.

Is there an easy way to also patch the Raspberry Pi kernels once they are updated?

A while ago I stumbled upon this: https://lwn.net/Articles/154602/
There's some back and forth in the comments, but I'd like to highlight one thing: intent seems to matter when doing that and right now we're patching the kernel to get it to work with a kernel module that has a license being incompatible to GPL.
Of course, I'm not a lawyer and my interpretation may be wrong, however I'm pretty sure that if we're doing something we're not legally not allowed to, things can become nasty pretty quickly. Hence I'd advice to seek legal advice first.
If @armijnhemel has some time right now, they could help out for instance.

A while ago I stumbled upon this: https://lwn.net/Articles/154602/ There's some back and forth in the comments, but I'd like to highlight one thing: intent seems to matter when doing that and right now we're patching the kernel to get it to work with a kernel module that has a license being incompatible to GPL.
Of course, I'm not a lawyer and my interpretation may be wrong, however I'm pretty sure that if we're doing something we're not legally not allowed to, things can become nasty pretty quickly. Hence I'd advice to seek legal advice first.
If @armijnhemel has some time right now, they could help out for instance.

Here is the response I got from my personal legal assistant:
[1]: https://lwn.net/Articles/154602/ "On the value of EXPORT_SYMBOL_GPL [LWN.net]"
[2]: https://opensource.stackexchange.com/questions/4185/what-legal-meaning-do-gpl-symbols-hold-in-the-linux-kernel "What legal meaning do GPL symbols hold in the linux kernel?"
[3]: https://lwn.net/Articles/860262/ "A stable bug fix bites proprietary modules [LWN.net]"
[4]: https://stackoverflow.com/questions/22712114/what-is-export-symbol-gpl-in-linux-kernel-code "What is EXPORT_SYMBOL_GPL in Linux kernel code?"
[5]: https://www.kernel.org/doc/html/latest/core-api/symbol-namespaces.html "Symbol Namespaces — The Linux Kernel documentation"

According to an article on LWN.net[^1^][1], it is possible to change EXPORT_SYMBOL_GPL back to EXPORT_SYMBOL in the Linux kernel if you like. However, it is important to note that this does not change the license of the kernel itself and that any changes made to the kernel must still be released under the GPL license.

Here's a new approach which is more honest about what we are offering. :)
NixOS won't distribute ZFS kernels for 6.2+ this way, so I don't think there's any risk for the project anymore.
Anyone who wants to cache it and circumvent Linux access control/DRM protection for putting a CPU in the right mode for doing SIMD can now enjoy doing it in one flag.

Closed in favor of #237873.


Rapport update

Updates the rapport library peer dependency. Resolves #4.

Coverage remained the same at 100.0% when pulling 58d5d1357bec3b0edc4fd8e74db0180d85a34244 on lrezek:rapportUpdate into 5353ba8e2232faf129ca17dcf63b2e1fd87567d9 on miratronix:master.


error: ‘c10::SymInt’ has not been declared

Hello, can you tell me why the installation of everything you need does not work through setup.py. I launched the command: python3 setup.py install
Errors:
In file included from /projects/vision/torchvision/csrc/ops/autocast/deform_conv2d_kernel.cpp:1:
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:31:10: error: ‘c10::SymInt’ has not been declared
   31 |     c10::SymInt stride_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:32:10: error: ‘c10::SymInt’ has not been declared
   32 |     c10::SymInt stride_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:33:10: error: ‘c10::SymInt’ has not been declared
   33 |     c10::SymInt pad_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:34:10: error: ‘c10::SymInt’ has not been declared
   34 |     c10::SymInt pad_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:35:10: error: ‘c10::SymInt’ has not been declared
   35 |     c10::SymInt dilation_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:36:10: error: ‘c10::SymInt’ has not been declared
   36 |     c10::SymInt dilation_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:37:10: error: ‘c10::SymInt’ has not been declared
   37 |     c10::SymInt groups,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:38:10: error: ‘c10::SymInt’ has not been declared
   38 |     c10::SymInt offset_groups,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:69:10: error: ‘c10::SymInt’ has not been declared
   69 |     c10::SymInt stride_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:70:10: error: ‘c10::SymInt’ has not been declared
   70 |     c10::SymInt stride_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:71:10: error: ‘c10::SymInt’ has not been declared
   71 |     c10::SymInt pad_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:72:10: error: ‘c10::SymInt’ has not been declared
   72 |     c10::SymInt pad_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:73:10: error: ‘c10::SymInt’ has not been declared
   73 |     c10::SymInt dilation_h,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:74:10: error: ‘c10::SymInt’ has not been declared
   74 |     c10::SymInt dilation_w,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:75:10: error: ‘c10::SymInt’ has not been declared
   75 |     c10::SymInt groups,
      |          ^~~~~~
/projects/vision/torchvision/csrc/ops/autocast/../deform_conv2d.h:76:10: error: ‘c10::SymInt’ has not been declared
   76 |     c10::SymInt offset_groups,
      |          ^~~~~~
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

You probably don't have an up-to-date version of pytorch. If issues persist feel free to re-open an issue following our templates and in particular providing info about your env so we can better help https://github.com/pytorch/vision/issues/new?assignees=&labels=&projects=&template=bug-report.yml

@NicolasHug Thanks!
I have a CUDA 11.1 and I have version 1.10.1 installed for this version of CUDA.
How do I install the night version so that everything works for me? Which version do you recommend?
torch                                1.10.1+cu111
torchaudio                           0.10.1+cu111
torchvision                          0.11.2+cu111

Are you suggesting I install this version?
pip3 install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu118

I'd suggest starting from a clean environment. You have alread-installed versions that may conflict with the ones your trying to build. Please follow our instructions, https://github.com/pytorch/vision/blob/main/CONTRIBUTING.md#development-installation there's all you need to  know there

@NicolasHug Yes, thanks, I did.


Add support for libzip encryption functions

Originally libZipSharp had no use for libzip's encryption functions as Xamarin.Android doesn't use them, but now that the library is shipped in a nuget those functions may come useful. Implement the following:

[ ] Explicitly open an encrypted archive
[ ] Automatically detect if the archive is encrypted and, if yes, use a callback to ask user for password (libZipSharp must not do it on its own)
[ ] Create an encrypted archive with a provided password and a choice of encryption methods

Relevant upstream APIs:

zip_file_set_encryption
zip_fopen_encrypted
zip_fopen_index_encrypted
zip_set_default_password

Hi, I want to propose an implementation if it's still relevant. But my Unit tests basically don't pass because it does not find the libzip.dll (System.DllNotFoundException: 'Unable to load DLL 'libzip': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'
How do you run UnitTests ? (On Windows)

Hi, I want to propose an implementation if it's still relevant. But my Unit tests basically don't pass because it does not find the libzip.dll (System.DllNotFoundException: 'Unable to load DLL 'libzip': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'
How do you run UnitTests ? (On Windows)

@Fniz yes, it's still definitely relevant! We don't use it in Xamarin.Android, but if you need it and can provide an implementation we will happily accept a PR :)
Regarding running tests, I'll let @dellis1972 answer it since I don't use Windows and I don't know the answer
Thanks!

@Fniz yes, it's still definitely relevant! We don't use it in Xamarin.Android, but if you need it and can provide an implementation we will happily accept a PR :)
Regarding running tests, I'll let @dellis1972 answer it since I don't use Windows and I don't know the answer
Thanks!

@Fniz the unit tests should work on windows. This line https://github.com/xamarin/LibZipSharp/blob/master/LibZipSharp.UnitTest/LibZipSharp.UnitTest.csproj#L27 in the csproj should copy the libzip.dll from the Window build directory over to the unit test output directory.
On my Mac machine LibZipSharp.UnitTest/bin/Debug/net471 contains the libzip.dll. That should be the same on windows.
My guess is build\Windows\64\lib\libzip.dll does not exist so it is not being copied. Have you built the libzip.dll ? It does need to be done as a separate step.
Our current build system uses the following commands https://github.com/xamarin/LibZipSharp/blob/master/azure-pipelines.yml#L30 to build the dll. It makes use of the vcpkg project to handle dependencies and uses cmake to handle the build process. So I suspect you will either need to run all those commands to build the dll yourself, or the easier way just grab the native dll from the latest nuget package and place it in the correct location build\Windows\64\lib\libzip.dll. You can probably find the dll in your nuget package cache which is normally in a .nuget directory in you User AppData folder.
I should probably write a helper batch file which will do all those commands like we have to unix based systems to make this easier for contributors. Both @grendello and I work on unix based systems most of the time these days.

@Fniz the unit tests should work on windows. This line https://github.com/xamarin/LibZipSharp/blob/master/LibZipSharp.UnitTest/LibZipSharp.UnitTest.csproj#L27 in the csproj should copy the libzip.dll from the Window build directory over to the unit test output directory.
On my Mac machine LibZipSharp.UnitTest/bin/Debug/net471 contains the libzip.dll. That should be the same on windows.
My guess is build\Windows\64\lib\libzip.dll does not exist so it is not being copied. Have you built the libzip.dll ? It does need to be done as a separate step.
Our current build system uses the following commands https://github.com/xamarin/LibZipSharp/blob/master/azure-pipelines.yml#L30 to build the dll. It makes use of the vcpkg project to handle dependencies and uses cmake to handle the build process. So I suspect you will either need to run all those commands to build the dll yourself, or the easier way just grab the native dll from the latest nuget package and place it in the correct location build\Windows\64\lib\libzip.dll. You can probably find the dll in your nuget package cache which is normally in a .nuget directory in you User AppData folder.
I should probably write a helper batch file which will do all those commands like we have to unix based systems to make this easier for contributors. Both @grendello and I work on unix based systems most of the time these days.

@Fniz we merged that PR, hopefully you can build the native dll's on windows now.

@Fniz we merged that PR, hopefully you can build the native dll's on windows now.


tuple_access_strategy_test times out on Ubuntu 18.04 Docker

(Docker setup guide available on our wiki)
When running make test on both my local machine and Travis, the Ubuntu 18.04 Docker image gets stuck on tuple_access_strategy_test. I have let it run locally for over an hour.
tuple_access_strategy_test however completes in ~70 seconds on OSX.

Runs extremely slowly on my 18.04 box as well. Something is fishy in Linux land.

For future reference: the issue was that C++ doesn't have cross-platform random distributions.
e.g. on first run, Mac ran 2 inserts while Ubuntu ran 700k inserts.
We fixed this by capping the amount of randomly generated work.


[ new ] - add BodyParserFallBack support

Thanks for the PR @ali-babaei, but I think what you're suggesting is out of scope for this project.
The correct approach to achieve what you are doing is to add the appropriate body-parsers in your express project. busboy-body-parser itself will only attempt to parse multipart/form-data request bodies, and the middleware will pass through for other types.
As such, to achieve fallback body parsing for other mime types you can simply add the desired options in your express app as follows:
const app = require('express');
const busboy = require('busboy-body-parser');
const bodyparser = require('body-parser');

app.use(busboy());
app.use(bodyparser.json());
app.use(bodyparser.urlencoded({extended: true});

/// your code here

Thanks to you.
I tried to do what you said.
But couldnt get it working.
Both modules are preventing each other to work.
If you could do so, tell me please how to.

@ali-babaei If you can share some of the code that you're running, and a description of how it is failing then I can try to help. Ideally in the form of a minimal reproduction test case.
Without being able to see what you're doing there's little I can do.
Thanks.


0.61-rc3 Background image override the View color

Hi !
I just upgrade to ReactNative 0.61-rc3 and i would like to report an issue about background and position absolute:

The component appear correctly but the background color doesn't follow the properties of z-index (maybe ?).
const Component: React:FC<{}> = props => (
  <SafeArea>
    <BackgroundImage source={greenImage} />
    <FrontComponent />
  </SafeArea>
)

const BackgroundImage = styled.Image`
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
`
const FrontComponent = styled.View`
  background-color: white;
`

Any idea ?
React Native version:
System:     OS: macOS 10.14.6     CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz     Memory: 40.20 MB / 16.00 GB     Shell: 3.2.57 - /bin/bash   Binaries:     Node: 10.16.3 - /usr/local/opt/node@10/bin/node     Yarn: 1.17.3 - /usr/local/bin/yarn     npm: 6.9.0 - /usr/local/opt/node@10/bin/npm     Watchman: 4.9.0 - /usr/local/bin/watchman   SDKs:     iOS SDK:       Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3     Android SDK:       API Levels: 28       Build Tools: 28.0.3, 29.0.2       System Images: android-26 | Google Play Intel x86 Atom   IDEs:     Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312     Xcode: 10.3/10G8 - /usr/bin/xcodebuild   npmPackages:     react: 16.9.0 => 16.9.0      react-native: 0.61.0-rc.3 => 0.61.0-rc.3    npmGlobalPackages:     react-native-cli: 2.0.1
Trobyss'

Notice the same issue with elements using position: absolute

I'd like your code link to review it, please.

Hello  !
The problem come from styled-component package. I link you the issue on the styled repo :)
https://github.com/styled-components/styled-components/issues/2759
Trobyss

this looks like bug with 'absolute' position


Update eShopWinForms sample to target netcoreapp3.1 instead of netcoreapp3.0

Update netcoreapp3.0 to netcoreapp3.1 in https://github.com/dotnet-architecture/eShopModernizing/blob/master/eShopModernizedNTier/src/eShopWinForms/eShopWinForms.csproj

Resolved via the attached PR


Proximity detection function

Thank you for the repo and the examples, extremely informative and helpful.
The data sheet of PAJ7620 says it has an in-built function for proximity detection for the purpose of sensing objects approaching and departing.  I would want to know how to implement this, do you have some examples implementing this? I will really appreciate if you can share them with me.
Thank you.

Hello,
I'm very sorry to have kept you waiting so long.
Do you still have this problem now?

Hello,
I'm going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]


Incorrect Description of an Availability Set

The description of an Availability Set in the second paragraph under VM Redundancy is incorrect.  Availability Sets and Availability Zones are different types of server redundancy within Azure.

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

ID: 9f4f2ef2-d071-c86e-0afe-ff6aed852132
Version Independent ID: 20998982-0546-5814-76a7-cd53abe9d590
Content: Overview of SQL Server Always On availability groups - SQL Server on Azure VM
Content Source: articles/azure-sql/virtual-machines/windows/availability-group-overview.md
Service: virtual-machines-sql
GitHub Login: @MashaMSFT
Microsoft Alias: mathoma

@ewittrock-uwm - Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

Hi @ewittrock-uwm , thanks so much for this feedback! We've processed a change to update this information and it should be live later this week.
I hope that helps but please feel free to comment should you need anything further.
Thanks for contacting Microsoft and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close

#assign:kfarlee


WyScout Importer

WyScout integration into Kloppy

Great work here! Love to see you improved more parts of the code like the domain part and to_pandas. Did you use any tool to fix the import order? Would be good to enforce it for all code.
Code looks good. Some minor comments I’ll add on line level. One that applies to the entire serializer: please use “constants” instead of numbers. You can have a look at the statsbomb serializer how we set this up.
looking forward to merge this one 👍

@koenvo : regarding sorting of the imports, this is a feature I have enabled in my Visual Studio Code. There should be a way to add something similar to the pre-commit hook.
https://eshlox.net/2019/12/02/vscode-sort-python-imports-automatically

Another note: please make sure you are allowed to include the Wyscout json file for the test. Most provider don't permit publishing the entire file.

@koenvo : I have removed the wyscout file and download it on the fly if required. IMHO the pull request is ready for being merged.

Ah it’s a public file. Didn’t know. Then please include 👍
Prefer to have the tests run independent of network, otherwise the test might fail because they moved the file or network is down

@koenvo Pull request is ready. Let me know if something else needs to change.

Ready for merge?


Client side running?

Hi,
I'm currently trying to do a grib webview. Is it possible to run your tool on webserver or something similar?
Thanks,
Phil/

I currently use it to visualize wind in a web app, yes it can run in a webserver.
This fork might help you: https://github.com/weacast/weacast-grib2json.


Documentation errors are not shown when there's semantic errors

Description:
Documentation errors are not shown when there's semantic errors. This is a major blocker for language server since language server cannot provide quick-fixes related to documentation issues.

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Related discussion can be found in https://github.com/ballerina-platform/ballerina-lang/discussions/27938.


startEstimoteBeaconsDiscoveryForRegion: not starting in background

I am using estiomote iOS SDK ver.2.0 for long time and do not want switch to latest one. I would like to use start and stop discovery beacon in background. But startEstimoteBeaconsDiscoveryForRegion: does not work in background. Could u please help me?

At this time, startEstimoteBeaconsDiscoveryForRegion is coded such that it only works in the foreground—we do not consider this a bug, as we never promised it'll work in the background. We are however considering making it work this way in one of the upcoming releases, so if you could share why exactly you need this particular method (and not regular ranging or monitoring), that'd help inform our decision (:
Thanks!


Question about object categories

Nice work！
The potential function network πpf uses the goal object category (o) to predict the object potential functions. What form of object category inputted into the network? One-hot vector or others?
Only the names of the object categories are presented in the literature [6], and the specific form in the dataset is not described.
Plz give me some advice.

Hi @YYDS-cc,
Thanks for your interest in our work. We do not input the object category explicitly. Instead, the model predicts potential functions for all defined object categories simultaneously (see here) and we pick the potential-function corresponding to the goal category during navigation (see here).

Thank you for your reply！


HI everyone!! I have a Q. How to hide some area of code??

HI everyone!! I have a Question about monaco-editor.
main Q : How to hide some code of the monaco-editor??
for Example)
var userInfo = self.user;
var def_cdPcDataSource = [];
def_cdPcDataSource.push({CD_PC : userInfo.profitCenterCode,NM_PC : userInfo.profitCenterName});
I wrote above 3 line in monacoEditor! but I don't want to show 3 lines to user...
Could you let me know ....?

@Kang-Jun-sik I found that there is an internal method (non API way and might get removed in the future) that can be applied to editor:
setHiddenAreas(ranges: IRange[]): void;

Thank you very much for your apply!! But I have a another problem. when I use delete all of the content in monaco Editor, I can see that error and editor can't execute anymore.. how can i solve it...

I solve it!!! you have to write the code .setEditableChange(Range)
Thank you very much!!


pull-right not working for navs in a subnav

This works for a navbar but isn't working for a subnav:

Foo

Bar

The second ul is rendered at the bottom-right of the first ul, rather than on the right-side of the first ul.

The subnav isn't a part of Bootstrap 2—it's only a part of the docs at this point. We're thinking of adding it for 2.1.


Update querycontextattributes--schannel.md

Fixed broken text and links about SecPkgContext_CipherInfo.

@baton : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for your contribution. This change looks good.  #sign-off


common: [LINK] added Link component and routing logic

Added a common component to use standardized Links and implement React Router

FIGMA LINK

 Common component: Create Link


mix pow.extension.phoenix.gen.templates only generates the reset password template

If I run mix pow.extension.phoenix.gen.templates --extension PowEmailConfirmation --extension PowInvitation (together or one by one), I receive the following error: No extensions was provided as arguments, or found in config :my_app, :pow configuration. Running the same command for PowResetPassword works fine and generates the templates.
At the moment, I have my app configured as the web_module for other non-extension templates, so missing the invitation template in my web context breaks things.
I see this stuff is really new so if I have a minute tomorrow I'd be happy to see if I can make a PR if this just hasn't been implemented for the other extensions yet.
EDIT: Took a peek at the code and Invitations looks like it's implemented, so perhaps something is wrong with my config; here is my config block for Pow:
config :my_app, :pow,
  user: MyApp.Users.User,
  repo: MyApp.Repo,
  extensions: [PowResetPassword, PowEmailConfirmation, PowInvitation],
  controller_callbacks: Pow.Extension.Phoenix.ControllerCallbacks,
  mailer_backend: MyAppWeb.PowMailer,
  web_module: MyAppWeb

EDIT EDIT: I started this thread on 1.0.3 then upgraded to 1.0.4 when I noticed the fresh commits specifically pertaining to PowInvitation. Alas, the issue persists with my current config.

Thanks! I've improved the feedback provided by the mix tasks in #145, so it now outputs a warning for the extension(s) that doesn't seem to have any views/templates. It'll make it easier to understand what's going wrong.

Just to be clear, running mix pow.extension.phoenix.gen.templates --extension PowEmailConfirmation --extension PowInvitation with 1.0.4 works right?
1.0.3 doesn't have the PowInvitation extension.

Running that command on 1.0.4 yields the same result: No extensions was provided as arguments, or found in config :my_app, :pow configuration.
And actually I set up and confirmed PowInvitation was working on 1.0.3. I couldn't dump the template but I was able to go to /invitations/new and send invitations and everything.

Oh yeah, you are right, 1.0.3 adds PowInvitation extension, and 1.0.4 fixes extension templates support for it.
I tested locally with from scratch with phoenix 1.4, and it generates the extension templates with the same config setup as you got. You should not get this error either way since you are passing the extensions in the arguments, and also have them in your config settings.
Can you offer some more information on your setup so I can try replicate the issue? I can't really think of a reason why the extension arguments aren't picked up.

It was cached build stuff! Clearing my deps and _build before upgrading to 1.0.4 fixed it.
thanks!


Questions Regarding Data Pipeline

Hi all,
My understanding is that the data flowing into this repository is about to slow down or stop entirely. I noticed that as of right now there are still periodic updates happening to the gh-pages branch with new data coming in.
With my limited understanding of your architecture as described here, what I wanted to ask is if the process of putting data into Google Sheets completely manual and volunteer-led? Or is there also automation that is adding data into Sheets as well?
Thanks!

As far as I digged rn, a telegram bot is used which does OCR on state bulletin images. This is then verified by a volunteer, which approves it and the bot adds the data in the sheets.
Please refer the following:
https://blog.covid19india.org/2021/08/24/operations/
https://github.com/covid19india/monitor-bot
https://github.com/bee-rickey/webScraper
https://github.com/covid19india/automation-bot

Hi @jonathoy the bulletin is passed to a bot that parses it and provides a textual output. This is then pasted to a sheet manually. We did not do a full automation since image qualities decide how good the output of the bot is.


Too many redirects issue

I looked through what appear to be related (closed) issues, but was not able to find a solution to my problem. I hope you can help.
I have Lasso (compiled binary, not docker container) running on one host, proxied behind NGINX with SSL, with its own hostname (lasso.[domain].com). I have a basic NGINX static site for testing with Lasso, running on a separate host, with its own hostname (foo.[domain].com), also with SSL. I've tried to follow several guides for configuring both NGINX and Lasso. Here's what I see:
When I hit the static site in Chrome, I'm redirected to the Google "Sign in" page. In my static site's NGINX access.log, I see the expected 302 redirect to Lasso; Lasso shows no jwt found in request, a 401 from /validate, then a 302 from /login. Back in the browser, I enter my email address and password (I've got allowAllUsers: true in my Lasso config.yml, along with a whitelist specifying my email address). My address bar shows https://accounts.youtube.com/accounts/SetSID for a bit, then I get a "too many redirects" error. In the logs, I see a long series of duplicate 302 redirects on the static-site side to that https://accounts.youtube.com/accounts/SetSID address, and on the Lasso side a google userinfo body JSON block that appears to be correct information about my account, but followed by a long series of /auth -> no jwt found in request -> /validate -> /login -> google userinfo body -> [loop]. I have some Lasso debug log output, too, and nothing looks like an error.
Here are what I hope are the relevant portions on my configs:
Static site nginx.conf:
http {

  server {

    listen 443 ssl http2;
    server_name foo.[domain].com;
    root /usr/share/nginx/html;

    ssl_certificate /etc/pki/nginx/server.crt;
    ssl_certificate_key /etc/pki/nginx/private/server.key;

    auth_request /validate;

    location /validate {
      proxy_pass https://lasso.[domain].com;
      proxy_pass_request_body off;
      proxy_set_header Content-Length "";
      auth_request_set $auth_resp_err $upstream_http_x_lasso_err;
      auth_request_set $auth_resp_failcount $upstream_http_x_lasso_failcount;
      auth_request_set $auth_resp_jwt $upstream_http_x_lasso_jwt;
      auth_request_set $auth_resp_x_lasso_user $upstream_http_x_lasso_user;
    }

    error_page 401 = @error401;

    location @error401 {
      return 302 https://lasso.[domain].com/login?url=$scheme://$http_host$request_uri&lasso-failcount=$auth_resp_failcount&X-Lasso-Token=$auth_resp_jwt&error=$auth_resp_err;
    }

    location / {
      auth_request_set $auth_resp_x_lasso_user $upstream_http_x_lasso_user;
      proxy_set_header X-Lasso-User $auth_resp_x_lasso_user;
    }

  }

}

Lasso nginx.conf:
http {

  server {
    listen 443 ssl http2;
    server_name lasso.[domain].com;
    ssl_certificate /etc/pki/nginx/server.crt;
    ssl_certificate_key /etc/pki/nginx/private/server.key;
    location / {
      proxy_set_header Host lasso.[domain].com;
      proxy_pass http://<IP_ADDRESS>:9090;
    }
  }

}

Lasso config.yml:
lasso:
  logLevel: debug
  allowAllUsers: true
  whiteList:
  -<EMAIL_ADDRESS>  jwt:
    secret: ...
    issuer: Lasso
    maxAge: 1
    compress: true
oauth:
  provider: google
  client_id: ...
  client_secret: ...
  callback_urls:
    - https://lasso.[domain].com/auth

Any ideas where I might be going wrong here?

I'm traveling atm but just quickly...
Could you try turning allowAllUsers: true to allowAllUsers: false.  If you're using a whitelist, then you don't want allowAllUsers on.
If that doesn't work I can take a closer look tomorrow

Hi Ben, thanks for responding. I tried allowAllUsers: false, but I still fall into the redirect loop.
I had set allowAllUsers: true with the thought that that, combined with whiteList entries, would let me authenticate a selected set of users from any domain, without setting anything under domains. Is using allowAllUsers: false, no domains section, and a whiteList section the right configuration choice for that?

'domains' are the ones that you are managing and is required in this case.
It's where the lasso cookie will be set.
On Tue, Nov 13, 2018, 4:45 PM Paul Madden<EMAIL_ADDRESS>wrote:

Hi Ben, thanks for responding. I tried allowAllUsers: false, but I still
fall into the redirect loop.
I had set allowAllUsers: true with the thought that that, combined with
whiteList entries, would let me authenticate a selected set of users from
any domain, without setting anything under domains. Is using allowAllUsers:
false, no domains section, and a whiteList section the right
configuration choice for that?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/LassoProject/lasso/issues/42#issuecomment-438481996,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNK64gbDsQII-4sMPUwaKyaosRMMMFyks5uu1mcgaJpZM4YcfG3
.

Aha, that's the ticket. Now my (simplified) config works fine:
lasso:
  domains:
    - [domain].com
  whiteList:
    - [my gmail address]
  jwt:
    secret: [secret]
    maxAge: 10080
oauth:
  provider: google
  client_id: [google oauth2 client id]
  client_secret: [google oauth2 client secret]
  callback_urls:
    - https://lasso.[domain].com/auth

Thank you for the clarification. And thanks for Lasso!

Glad that it's working.  Feel like there's either a documentation bug or
possibly a configuration bug here.  I'll look at that angle
On Tue, Nov 13, 2018, 4:59 PM Paul Madden<EMAIL_ADDRESS>wrote:

Closed #42 https://github.com/LassoProject/lasso/issues/42.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/LassoProject/lasso/issues/42#event-1964639105, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABNK64apWBeuxUbfvjlA07xT8gIaZ3DCks5uu2rhgaJpZM4YcfG3
.


(BKR-1018) copy_ssh_to_root not working on windows

https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/xcopy.mspx?mfr=true

/i : If Source is a directory or contains wildcards and Destination does not exist, xcopy assumes destination specifies a directory name and creates a new directory. Then, xcopy copies all specified files into the new directory. By default, xcopy prompts you to specify whether Destination is a file or a directory.
/y : Suppresses prompting to confirm that you want to overwrite an existing destination file.

Also it should be applied for 3.x versions too but I don't know about procedure. What I need to do?

Can one of the admins verify this patch?


Add Azure as an external load balancer

Prompted by Rancher support for external LB: #4445
We have several clusters on Azure that could benefit from this!
See #4659 for AWS equivalent

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


More flexible text

It would be great to have html tags or at least text overflown to two lines.

Thanks for this awesome tool, dude!! This is also what I came here to request. It'd be nice to be able to put some subtext under the text (preferably via html). If you could suggest even suggest a temporary hack, that'd be great. I noticed if I change the 2 to 1.5 below, it will make some room to put text under, but I have no idea how to get it there.
var textAngle = this.degToRad(seg.endAngle - ((seg.endAngle - seg.startAngle) / 2) + this.rotationAngle - 90);
For example, I'm trying to draw segment text horizontally to look like the following, with the second line in smaller text, ideally.
North Dakota
(Bismarck)
Thanks again!

Thanks for the feedback.
I looked in to this the other day and its not going to be easy, especially if the second line can have different size or styling to the first. @beetjerky I would suggest using an image for the wheel if that is possible, see http://dougtesting.net/winwheel/docs/tut9_creating_with_an_image as that will give you full control over the visuals of the wheel.
HTML canvas text does not accept or use HTML markup, only plain text. The text attributes are controlled by font size, family and the fillStyle and strokeStyle, with the text itself rendered by stoking and filling.
If all the lines of text can have the same color and formatting the simplest solution would be to break the text on \n and then loop and output adjusting the position vertically to position the second line below the first in the drawText() function. If each line can be different then I was possibly thinking of an array/object for the 'text' property with a label attribute and all the font and colour options attributes of the text object as well. However I want to be careful not to over-complicate the wheel or segment parameters for everyday use.
Multi-line text does seem to open a can of worms, so to speak, also in terms of positioning in the segments of the wheel - for example I imagine it would be logical for when there is 3 lines to have the second one at the halfway point of the segment and then the other 2 sitting either side of it. Might need a textVerticalAlign property, for example, to control if the text sits at the top, bottom, or middle of the segment (when talking about normal horizontal text).
I'll think on it some more and probably have another play around over the Christmas holidays. Please feel welcome to add any of your own thoughts or suggestions on how this might work to this ticket.
Cheers,
DouG.

Thanks for responding. Sorry, I've been busy during the holidays. This added feature is AWESOME! Thanks. Also, not a big deal and just a personal preference thing, but some people (like me) find it easier t o use the literal '\n' as a delimiter instead of an actual new line, especially in the case of a title/subTitle. So, I "hacked" lines 798-799 to escape the backslash.
// Split the text into multiple lines using new lines or the literal '\n' character.  var lines = seg.text.split(/\\n|\n/);
I'll send you a link later to where I'm including your wheel in my project (assuming I can finish it in this lifetime).
Thanks again!

Thanks for responding. Sorry, I've been busy during the holidays. This added feature is AWESOME! Thanks. Also, not a big deal and just a personal preference thing, but some people (like me) find it easier t o use the literal '\n' as a delimiter instead of an actual new line, especially in the case of a title/subTitle. So, I "hacked" lines 798-799 to escape the backslash.
// Split the text into multiple lines using new lines or the literal '\n' character.  var lines = seg.text.split(/\\n|\n/);
I'll send you a link later to where I'm including your wheel in my project (assuming I can finish it in this lifetime).
Thanks again!

Sorry. My suggestion was dumb. My string with the \n just needed to be in double quotes instead of single quotes and your way works fine.

Sorry. My suggestion was dumb. My string with the \n just needed to be in double quotes instead of single quotes and your way works fine.


[1.19.2] Fairy lights incompatibility

Fairy Lights mod recipes are defined in an unusual way (when the item is returned or used is the same in many recipes, just NBT data is different). A binary search through all mods to find out what causes the issue shows that exactly this mod (Fast Suite) makes Fairy Lights recipes broken.

Add the custom types which have problems from https://github.com/pau101/Fairy-Lights/tree/master/src/generated/resources/data/fairylights/recipes (e.g. fairylights:crafting_special_copy_color) to the blacklist, see https://github.com/Shadows-of-Fire/FastSuite/issues/28

That doesn't work for specializations of crafting recipes - the blacklist is for specific recipe types (crafting, smelting, etc).
Fairy lights has been notoriously weird with recipes in the past, as they have special recipes that they do not declare as special recipes.
@vgrynch can you drill down on which particular recipe is broken?

Actually all recipes related to hanging mini flags on string (do not remember how it is called exactly in the game), and some others, I did not check all.
I will try blacklisting and let you know the result.

Tried single-threded recipes (blacklistign) option - it did not work. Here is a config I used:
# File Specification: https://gist.github.com/Shadows-of-Fire/88ac714a758636c57a52e32ace5474c1

# FastSuite Configuration

general {
    # A list of recipe types which may only be looked up on the main thread. Add a recipe type to this list if errors start happening.
    # Default: [
    S:"Single Threaded Recipe Types" <
       fairylights:crafting_special_triangle_pennant,
       fairylights:crafting_special_color_changing_light,
       fairylights:crafting_special_pennant_bunting,
       fairylights:crafting_special_pennant_bunting_augmentation,
       fairylights:crafting_special_square_pennant,
       fairylights:crafting_special_spearhead_pennant,
       fairylights:crafting_special_swallowtail_pennant,
       fairylights:letter_bunting
     >

    # The max time, in seconds, that a recipe lookup may take before aborting the lookup and logging an error.
    # Default: 25; Range: [1 ~ 300]
    I:"Max Recipe Lookup Time"=25
}

So basically I added all recipes I found related to pennants. Still, none are working, and seems nothing changed in the behavior or in the displaying of recipes by JEI.

Yeah apparently they're not in the recipe type registry
FastSuite might need either modid or recipe serializer registry blacklist
Don't really know the difference between a recipe type and recipe serializer
But they appear in the minecraft:recipe_serializer kubejs dump
fairylights:crafting_special_hanging_lights
fairylights:crafting_special_hanging_lights_augmentation
fairylights:crafting_special_tinsel_garland
fairylights:crafting_special_pennant_bunting
fairylights:crafting_special_pennant_bunting_augmentation
fairylights:crafting_special_triangle_pennant
fairylights:crafting_special_spearhead_pennant
fairylights:crafting_special_swallowtail_pennant
fairylights:crafting_special_square_pennant
fairylights:crafting_special_fairy_light
fairylights:crafting_special_paper_lantern
fairylights:crafting_special_orb_lantern
fairylights:crafting_special_flower_light
fairylights:crafting_special_candle_lantern_light
fairylights:crafting_special_oil_lantern_light
fairylights:crafting_special_jack_o_lantern
fairylights:crafting_special_skull_light
fairylights:crafting_special_ghost_light
fairylights:crafting_special_spider_light
fairylights:crafting_special_witch_light
fairylights:crafting_special_snowflake_light
fairylights:crafting_special_heart_light
fairylights:crafting_special_moon_light
fairylights:crafting_special_star_light
fairylights:crafting_special_icicle_lights
fairylights:crafting_special_meteor_light
fairylights:crafting_special_light_twinkle
fairylights:crafting_special_color_changing_light
fairylights:crafting_special_edit_color
fairylights:crafting_special_copy_color

Tested it some more with different versions and this bug does not occur with FastSuite 4.0.0

FastSuite might need either modid or recipe serializer registry blacklist
This would be the ultimate solution in my opinion

Fairy Lights' recipe implementation is beyond the most haunted thing I have ever seen, there is pretty much no way to support this.


feat(text output): Fix1920 break text output

@deviantony
Hi deviantony:
I try to add a css style to fix #1920 and already have a tested was ok.

Fix issue:
break long text output in tables everywhere #1920

Closed in favor of #2052


not working

When I use This Its not working.How Config this?

@lyricsbd please give us a demo in jsfiddle or else.

@Copay here  https://jsfiddle.net/yc02vsa6/

@lyricsbd thanks, now I am working with it.

please bro solve it @Copay
thanks :) advance

@lyricsbd try this https://jsfiddle.net/czq7wbd0/

its just  play as mp3 not video.mp4  demo  大图暗黑样式 https://cplayer.js.org/

@lyricsbd Maybe you'd better look through the readme.

Thanks Bro I also used your aplayer its awesome if you add download button ;) & add musicmatch api for lyrics 💃

@lyricsbd I am sorry but I have to say the aplayer is diygod's, not mine.

is cplayer is yours?  bro @Copay

@lyricsbd The current version is made by EYHN

can i use this cplayer likes as ? bro

@lyricsbd sorry you can't


Example for iOS and Android

Would it be possible to have any example on how to use SLib for iOS/Android via a tableview/list sample app ?

If possible, at the very least, I would just like to see how an iOS xcodeproj would look like using this app, I can't even find any link for some documentation which is quite problematic to say the least...

anyone ?

Slib is moving to new version with massive core update.
iOS example will be added by next week.

Great, will be waiting for it next week then.
Thank you.

iOS example is added


"Basic plugin analysis failed" after upgrading to 0.3.11

In our CI/CD pipeline, we were using the uploader to publish plugin releases.
Now, we had 0.3.10 and suddenly the pipeline failed:
Fatal error: Uncaught TypeError: strtolower() expects parameter 1 to be string, null given in /app/src/Components/SBP/Components/Producer.php:42

Fair enough, I realised we need to update to 0.3.11. But lo and behold, this fails with:
$ php /app/bin/pluginupload ext:upload "${PLUGIN_NAME}-${PACKAGE_VERSION}".zip
 [ERROR] === basicCheck ===
         Basic plugin analysis failed.
         new platform plugin system is only available for version >= 6

What gives? Note that the plugin is indeed a platform plugin and publishing worked fine before.
Is there some reference where I can look what is checked and in which environment?

Thats now an issue from this uploader. This error comes from the API. You should have the same when you upload it manuelly

Nope, just tried it manually and it worked.
(logged in, chose the shopware 6 plugin, opened the relevant version and clicked on "Zip Archive aktualisieren", uploaded the zip artifact build by the CI pipeline:

In the static analysis, there is an error:
Warnings of the static code analysis:
The command "git checkout v<IP_ADDRESS>" failed.

Exit Code: 1(General error)

What does that mean?
Again, where is the spec? What is tested and how?

The static analyse is currently broken in the API. Is fixed with the <IP_ADDRESS> release.
The error: new platform plugin system is only available for version has been fixed on backend side of the API


Support node's require.main, require.resolve, etc.

Upgrading from 0.20.1 to 0.21.0 creates new failures for us:
lib/xyz.js:69
 69: if (require.main === module) {
                 ^^^^ property `main`. Property not found in
 69: if (require.main === module) {
         ^^^^^^^ statics of function type

Hmm, sorry this is happening. We made this change intentionally, because it was unsound, but we should have called it out in the changelog. I'll update the changelog as well.
I have to admit some ignorance about the features Node has added to require. Right now we're in a position of supporting both node and browsers, which leaves us with a sort of lowest common denominator support. This is something we should work to improve. It comes up in other contexts as well. For example, node also hangs attributes off timers, which are non-standard in browsers.
My only recommendation for now is something like if ((require:any).main === module), i.e., opt-out of type checking locally. Alternatively, can you isolate this kind of code into a separate file which is not checked by Flow?

I'll update the changelog as well.

Thanks!

My only recommendation for now is something like if ((require:any).main === module), i.e., opt-out of type checking locally. Alternatively, can you isolate this kind of code into a separate file which is not checked by Flow?

Yeah, those were basically the workarounds I was considering. I understand your desire to support the lowest common denominator, but It'd be nice to be able to support require.main and require.resolve which are not too uncommon in node scripts. What if flow/lib/node.js supplied a type for Node's require attributes? That way we could write e.g. if ((require: node$require).main === module). It'd be even nicer of course if we could do something like declare var require: Function & node$require based on a flag in .flowconfig.
I'm not sure I'd know how to do the latter, but I'd be happy to throw up a PR to provide node$require if you think it's worthwhile.

Looks like was fixed in https://github.com/facebook/flow/commit/a59a0afc29878f904f2a053c1dc2c776d3725e77 and https://github.com/facebook/flow/commit/4e99287c0be8022ac5b9b51d05c7710b05f93380


Update to r73 w/ extras also updated

Can we see this merged?

@MatejJan  in case you need it really quick, you can already use chfritz/meteor-three


AaveV3: update use case to use new data contracts deployed by Aave

Aave has recently changed the contracts that store and serve data for each lending asset. The Aave pooler branch should be updated to use the updated contracts, and any necessary changes due to differing ABIs or data output should be made.

Aave use case has been updated with the latest contracts: https://github.com/PowerLoom/snapshotter-computes/commit/034680efb4fe182cb6185e669cb7d4d9ba5fa5cf
The data market is live with the change. Closing as complete.


merge: expose Meta/Data struct of tmq

Codecov Report

Merging #55 (e59f407) into main (b850df2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage   62.64%   62.64%
=======================================
  Files          98       98
  Lines       17393    17393
=======================================
  Hits        10895    10895
  Misses       6498     6498

Impacted Files
Coverage Δ

taos-ws/src/query/asyn.rs
70.57% <ø> (ø)

taos/src/lib.rs
7.14% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Workflow - Make custom model Workflow creation easier

A lot of users might want to add support for different models. It would be great if we can make this process easier. It was found that following are potential issues while creating a new Workflow.

Dependencies
The pytorch/tensorflow image might not have all the required dependencies. We can use our JupyterLab image which has many libraries installed.
Path issues
Since users need to change input and output paths based on mounts in the template, a lot of time this creates a problem because of incorrect paths or typos. I am not sure if we can do something here since it depends on user's code.

Based on latest discussion, we need to:

Repurpose MaskRCNN template and use the JupyterLab image.
Add this template in the New Workflow Template form.

Yes, I will modify the MaskRCNN template.


[Feature Request] Turn the command bar into a "command palette"

Have the command bar auto-complete or suggest commands like the VS Code command palette, and maybe also show bindings next to suggested commands.

Hi
I love the fuzzyfind interface - you could shell out to select from a list of favourite commands. Windows implementation:
function io.exists(filename)
    if type(filename)~="string" then
	    return false
    end
    local fileinfo, err = osutil.Stat(filename)
    if osutil.IsNotExist(err) then
        return false
    else
        return true
    end
end

function cmdfzf(Current)
-- Select a command from a list
    -- Requires cat.exe and fzf.exe in your path
    -- (https://github.com/junegunn/fzf/releases)

    -- Locate completions - a list of your favourite commands (manual update)
    local target = config.ConfigDir..[[/commands.txt]]
    if not io.exists(target) then return end

    -- Run fzf (fails if history file does not exist)
    if not io.exists(config.ConfigDir.."/../history/cmd.fzf") then return end
    local sel, err = shell.RunInteractiveShell("cmd.exe /c cat.exe "..target.. " | fzf.exe --history='"..config.ConfigDir.."/../history/cmd.fzf' --prompt='> ' --color='dark' --tac", false, true)

    -- Check for selection
    if not sel or sel == ""  then return end

    -- Run the command
    Current:HandleCommand(sel)

end

I have not tried to automatically generate a list of all commands (would need to merge lists of colorschemes and plugins etc.)
Kind Regards Gavin Holt
NB This approach also works for other lists, and I have made several "fzf functions"

openfzf(Current)
snippetfzf(Current)
templatefzf(Current)
loadbackupfzf(Current)
switchbufferfzf(Current)
gobackfzf(Current)
gotofzf(Current)
findinfilefzf(Current)

@Gavin-Holt this looks like it would be a great plugin, and one I'd actively use. Something akin to fzf-speed in vim.

Hi,
Happy to help if I can, but I am a very superficial user of git, I do not have it installed and have never made a PR. Also, the plugin repository does not seem to include scripts dependent upon third party utilities.
Personally I don't use plugins (other than those built-in) all my Lua code is in a single init.lua file in my micro config directory (settings.json contains  "initlua": true,). The global functions defined in that file can be bound to keys or made into callable commands. Standing upon the shoulders of giants, I have added code from published plugins and from my experiments customizing SciTE.
If you place the code above in a file named init.lua, within your config directory, it will be loaded at startup. cmdfzf will fail if the command.txt or history/cmd.fzf  files don't exist (please note my odd path to cmd.fzf - it's shared with other applications).
To bind this function include "F9": "lua:initlua.cmdfzf", or similar in your bindings.json.
The list of commands must be hand edited/maintained - my current copy attached below.
Kind Regards Gavin Holt
PS, I have attached all my current configuration files designed for Windows OS:
The key bindings are dependent upon Autohotkey to translate keypresses, so you will need to change for your own preferences.
The Lua script includes some Lua extensions, some general editor functions and then bindable functions. This does depend upon some third party Windows utilities. Afraid to say the init.lua file is best viewed in a folding editor (e.g. SciTE). Any help with my outstanding TODOs gratefully accepted.
NB renamed to allow upload
bindings.json.txt
settings.json.txt
init.lua.txt
commands.txt


Can't rip always getting Unexpected makemkvcon output: DRV:0,256,999,0,"","",""

Hi,
I'm currently trying to get this to work but with no luck.
This is the the log when I start up the container with an dvd already inserted.
[root@whites-nb4 docker-ripper]# docker-compose up
Starting docker-ripper_ripper_1 ... done
Attaching to docker-ripper_ripper_1
ripper_1  | *** Running /etc/my_init.d/10_syslog-ng.init...
ripper_1  | Apr  5 16:56:14 87158848ca2f syslog-ng[8]: syslog-ng starting up; version='3.5.6'
ripper_1  | Apr  5 16:56:14 87158848ca2f syslog-ng[8]: EOF on control channel, closing connection;
ripper_1  | *** Running /etc/my_init.d/ripper.sh...
ripper_1  | Using MakeMKV beta key: T-UWwbYn781f1gjZcH5NOsJkGgWHnUkQsr2IduoSJ8sssNXOqclsWhowNWTclkBjHIMH
ripper_1  | 05.04.2020 16:56:15 : Starting Ripper. Optical Discs will be detected and ripped within 60 seconds.
ripper_1  | 05.04.2020 16:56:16 : Unexpected makemkvcon output: DRV:0,256,999,0,"","",""
ripper_1  | 05.04.2020 16:56:27 : Unexpected makemkvcon output: DRV:0,256,999,0,"","",""
ripper_1  | 05.04.2020 16:56:38 : Unexpected makemkvcon output: DRV:0,256,999,0,"","",""
ripper_1  | 05.04.2020 16:56:49 : Unexpected makemkvcon output: DRV:0,256,999,0,"","",""
ripper_1  | 05.04.2020 16:56:59 : Unexpected makemkvcon output: DRV:0,256,999,0,"","",""
ripper_1  | 05.04.2020 16:56:59 : Too many errors, ejecting disk and aborting
ripper_1  | MSG:1005,0,1,"MakeMKV v1.15.0 linux(x64-release) started","%1 started","MakeMKV v1.15.0 linux(x64-release)"
ripper_1  | MSG:5074,0,0,"Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server.","Automatic checking for updates is enabled, you may disable it in preferences if you don't want MakeMKV to contact web server."
ripper_1  | MSG:5042,0,0,"The program can't find any usable optical drives.","The program can't find any usable optical drives."
ripper_1  | DRV:0,256,999,0,"","",""
ripper_1  | DRV:1,256,999,0,"","",""
ripper_1  | DRV:2,256,999,0,"","",""
ripper_1  | DRV:3,256,999,0,"","",""
ripper_1  | DRV:4,256,999,0,"","",""
ripper_1  | DRV:5,256,999,0,"","",""
ripper_1  | DRV:6,256,999,0,"","",""
ripper_1  | DRV:7,256,999,0,"","",""
ripper_1  | DRV:8,256,999,0,"","",""
ripper_1  | DRV:9,256,999,0,"","",""
ripper_1  | DRV:10,256,999,0,"","",""
ripper_1  | DRV:11,256,999,0,"","",""
ripper_1  | DRV:12,256,999,0,"","",""
ripper_1  | DRV:13,256,999,0,"","",""
ripper_1  | DRV:14,256,999,0,"","",""
ripper_1  | DRV:15,256,999,0,"","",""
ripper_1  | MSG:5010,0,0,"Failed to open disc","Failed to open disc"
ripper_1  | TCOUNT:0
ripper_1  | *** /etc/my_init.d/ripper.sh failed with status 1
ripper_1  |
ripper_1  | *** Killing all processes...
ripper_1  | Apr  5 16:57:00 87158848ca2f syslog-ng[8]: syslog-ng shutting down; version='3.5.6'
docker-ripper_ripper_1 exited with code 1

The only changes I have made so far is to change the sleep 1m to sleep 10. So I don't have to wait so long for it to crash ;-)
And I use this compose file
version: "3.7"
services:
  ripper:
    image: rix1337/docker-ripper
    volumes:
      - ./config:/config:rw
      - ./ripps/:/out:rw
    devices:
      - /dev/sr0:/dev/sr0

Content of the Ripper.log:
eject: unable to eject, last error: Inappropriate ioctl for device

But when I exec into the container and run eject /dev/sr0 my drive ejects successfully so I would say I mapped my drive quite right into the container.
Any help or hint is appreciated ;-)
Edit: I now tried to mount the drive inside of the container, maybe this is the error:
root@5e711f50642f:/media# mount /dev/sr0 .
mount: permission denied

This is from inside the container:
root@5e711f50642f:/media# ls -lisah /dev/sr0
2601606 0 brw-rw---- 1 root 990 11, 0 Apr  5 17:19 /dev/sr0

and this is from the host:
[white@whites-nb4 arm]$ ls  -lisah /dev/sr0
16478 0 brw-rw----+ 1 root optical 11, 0  5. Apr 19:34 /dev/sr0

Only thing I noticed is you using docker-compose which I never tried.
Maybe your Host needs the --privileged parameter. If that does not help, there is little we can do.

I also tried the docker run command with no success. Now I retried in with the --privileged flag. And its working. My main OS is Arch linux. But I also tried it on a debian server (with the docker-compose file)
I now also added the privileged: true to my compose file and it is also working :-)
Thanks for your work :-)

I am using docker compose and on a debian 10 host.  I had similar issues until I added the /dev/sg0 to the devices.  Not sure if this will help you but I am not running in privileged mode. Here is my devices section now.
       devices:
            - /dev/sg0:/dev/sg0
            - /dev/sr0:/dev/sr0

Thanks for your suggestion but the device sg0 is not doing anything here on my side. (but only tested on arch linux today)

You will need to install some additional package on the host to make /dev/sg0 available, although I'm not sure which. Installing

makemkv

from the AUR should fix it.

Adding --privileged Fixed this issue for me.


Missing polygons in the arms of the VRM1_Constraint_Twist_Sample.vrm model.

Rn Version: v0.12.8-11-g0eceb9213-dirty branchfix/vrstate
In Uniform/DataTexture/WebGPU mode.

The cause was the bug of sparse accessors handling of glTF.
https://github.com/actnwit/RhodoniteTS/pull/1449 fixes this problem.


Added Back To Top Button

Issue Title: Back to Top Button
Issue Number: #7
Close #7
Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented on my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy-to-understand README.md
[x] The Back To Top Button works well on different devices.

A small Description of the project :
Description:
This pull request enhances the functionality of the "Back to Top" button in the HTML document by adding smooth scrolling behavior and dynamic visibility based on the user's scroll position. Here are the key changes:
CSS:
Improved the styling of the button for better user experience.
Added a smooth transition effect on hover to make the button more interactive.
JavaScript:
Added a click event listener to the "Back to Top" button.
When clicked, the page now smoothly scrolls back to the top.
The button dynamically appears when the user has scrolled down more than 200 pixels and hides when they are near the top of the page.
These enhancements provide a smoother and more user-friendly experience for navigating the webpage.
Here is the Video Illustration of the Feature:
https://github.com/divyanshudhruv/Minifolio/assets/129049677/d6a3a532-fdca-40ac-a8b0-414ecfc9fada

Cool but can you stlye the back to to button  as Know more button when hover as it is our theme i.e the background should be green and text as white only when hover

stlye the back to to button as Know more button when hover as it is our theme i.e the background should be green and text as white only when hover

ok m doing

Cool but instead of the black color for the icon use the shade of blueblack color. If possible

Also try to lighter the shade of the the hover green color of button. You may use colorhex website for that.

Alsonset the background color to f0f0f0

@divyanshudhruv All 3 tasks are done now check the changes here below are some Screenshots

Cool just shift the button to a little more top and a little more left.

Cool just shift the button to a little more top and a little more left.

I don't think it will look good because it is in perfect position, should i do these changes because i uploaded photo by croping screenshots make sure that

Cool just shift the button to a little more top and a little more left.

I don't think it will look good because it is in perfect position, should i do these changes because i uploaded photo by croping screenshots make sure that

Ok then leave it I'll merge

Can you publish the forked site to gh page? I may see that

Ok then leave it I'll merge

Can you publish the forked site to gh page? I may see that

Sorry not understand ?

Can you publish the forked site to gh page? I may see that

@divyanshudhruv  https://github.com/Kapileswar-Moharana/Minifolio  is it ?

I mean publish to gh pages, so that I can live preview

I mean publish to gh pages, so that I can live preview

@divyanshudhruv  Check
https://kapileswar-moharana.github.io/Minifolio/

Also increase the zindex of the back to top button high as it is overlapping the footer.

@divyanshudhruv already  updated Check it

@divyanshudhruv are there any other issues?

Cool, will merge soon

@divyanshudhruv WHEN?

@Kapileswar-Moharana merge. Congrats

@Kapileswar-Moharana merge. Congrats

Thanks


Cross-building to Scala (2.11.8, 2.12)

Closes #6
(Apologies for opening the PR before the issue, I thought it was a simple change that didn't warrant a discussion.)

👍

Thanks @amrhassan!


Club Gamma Logo

Design Club Gamma Logo to Display it on Website.

I would like to contribute in it. please assign this issue to me.

@pratham0809
You can start working I have assigned this issue to you. Make sure to follow Contributing Guidelines.


stop emailing withdrawn

Discovered withdrawn users continue to be sent reminder emails.

This PR patches a number of incorrect usages of user.email_ready() (as it returns a tuple, a simple if user.email_ready() check is misleading.
masks the email address of all withdrawn users, to make certain they aren't sent any additional messages (via a migration)
blocks another path to hand trigger sending reminders.  I doubt this was being used, but no reason to leave door open

Hello @pbugni! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file portal/migrations/versions/5caf794c70a7_.py:

Line 38:80: E501 line too long (97 > 79 characters)
Line 48:5: E265 block comment should start with '# '
Line 57:80: E501 line too long (83 > 79 characters)
Line 62:1: E302 expected 2 blank lines, found 1
Line 63:80: E501 line too long (83 > 79 characters)
Line 65:80: E501 line too long (81 > 79 characters)
Line 67:80: E501 line too long (84 > 79 characters)
Line 77:5: E306 expected 1 blank line before a nested definition, found 0
Line 112:80: E501 line too long (87 > 79 characters)
Line 117:9: E265 block comment should start with '# '
Line 122:1: E303 too many blank lines (3)


WIP:  Resolve all ip addressees for broker and cycle between them on …

Signed-off-by: kwall<EMAIL_ADDRESS>

The approach I have taken here (making the broker object stateful) doesn't completely solve the problem.  There are situations where the broker object is deleted (in response to a broker restart), and so the state is lost.  Furthermore, I was under the impression that DNS entries in the answer weren't permuting on OpenShift on the AWS cloud provider and for this reason Dial is always trying the same address.  This is incorrect.  DNS entries in the answer section are permuted each time TTL expires.


Promote the CLI example to a bin crate

As stated in #244, there are some use cases where an addr2line replacement can be greatly useful.
Please consider promoting the example to a bin crate (by moving to src/main.rs), which allows it to be more easily installed through cargo install.

We'll probably want to move it into its own crate, so that it can have its own dependencies.

This is a good idea, but note that you can use cargo install today: cargo install --examples addr2line


Alpine base image cannot receive SIGTERM in k8s pod

I tried to reproduce this issue, but could not reproduce it.
Search the internet and find out that maybe some images not writing correctly might send additional signals: https://gitlab.com/gitlab-org/gitlab-runner/blob/b78aed5a4867d3342cf9a7ef2d24ee214402b3be/dockerfiles/alpine/Dockerfile#L42

Also a lot of reasons not receiving SIGTERM explained here: https://hynek.me/articles/docker-signals/


Integration Test - Release - 2018/11/16 17:50:10

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest3 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


关于3s极速复刻，prompt参考音频格式bug

想知道对于prompt音频格式有什么要求，输入的32khz采样率的音频报错
RuntimeError: Cannot load audio from file: ffprobe not found. Please install ffmpeg in your system to use non-WAV audio file formats and make sure ffprobe is in your PATH.
显示输入的文件是非音频文件
但是输入采样率16khz和24khz的能正常生成，是音频采样率除了不低于16khz还有别的限制吗

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

用的是.wav文件报错，这个.wav文件和别的不报错的.wav文件比 他是32khz的采样率，所以我想问prompt音频格式支持的采样率范围是多少

/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/pydub/utils.py:198: RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/processing_utils.py", line 544, in audio_from_file
print('1111111111111111111111111111111111111111111111',filename)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/subprocess.py", line 1720, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/queueing.py", line 521, in process_events
response = await route_utils.call_process_api(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/blocks.py", line 1941, in process_api
inputs = await self.preprocess_data(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/blocks.py", line 1655, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/components/audio.py", line 218, in preprocess
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/processing_utils.py", line 554, in audio_from_file
if isfile
RuntimeError: Cannot load audio from file: ffprobe not found. Please install ffmpeg in your system to use non-WAV audio file formats and make sure ffprobe is in your PATH.
这是完整报错内容

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

用的是.wav文件报错，这个.wav文件和别的不报错的.wav文件比 他是32khz的采样率，所以我想问prompt音频格式支持的采样率范围是多少

your file may end with .wav, but the log shows that it is not wav format. greater than 16khz is ok

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

用的是.wav文件报错，这个.wav文件和别的不报错的.wav文件比 他是32khz的采样率，所以我想问prompt音频格式支持的采样率范围是多少

your file may end with .wav, but the log shows that it is not wav format. greater than 16khz is ok

是能播放的.wav文件，我该怎么核实一下这个音频的log是否是wav format呢

完整报错如下
RuntimeWarning: Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work
warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)
Traceback (most recent call last):
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/processing_utils.py", line 544, in audio_from_file
audio = AudioSegment.from_file(filename)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/pydub/audio_segment.py", line 728, in from_file
info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/pydub/utils.py", line 274, in mediainfo_json
res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/subprocess.py", line 858, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/subprocess.py", line 1720, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/queueing.py", line 521, in process_events
response = await route_utils.call_process_api(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/route_utils.py", line 276, in call_process_api
output = await app.get_blocks().process_api(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/blocks.py", line 1941, in process_api
inputs = await self.preprocess_data(
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/blocks.py", line 1655, in preprocess_data
processed_input.append(block.preprocess(inputs_cached))
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/components/audio.py", line 218, in preprocess
File "/home/lixiufeng/.conda/envs/cosyvoice/lib/python3.8/site-packages/gradio/processing_utils.py", line 554, in audio_from_file
raise RuntimeError(msg) from e
RuntimeError: Cannot load audio from file: ffprobe not found. Please install ffmpeg in your system to use non-WAV audio file formats and make sure ffprobe is in your PATH.

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

用的是.wav文件报错，这个.wav文件和别的不报错的.wav文件比 他是32khz的采样率，所以我想问prompt音频格式支持的采样率范围是多少

your file may end with .wav, but the log shows that it is not wav format. greater than 16khz is ok

是能播放的.wav文件，我该怎么核实一下这个音频的log是否是wav format呢

try torchaudio.load(wav) to see whether there is error

this is due to audio file format, it is not wav format, please first convert it to wav format. what audio format are you using?

用的是.wav文件报错，这个.wav文件和别的不报错的.wav文件比 他是32khz的采样率，所以我想问prompt音频格式支持的采样率范围是多少

your file may end with .wav, but the log shows that it is not wav format. greater than 16khz is ok

是能播放的.wav文件，我该怎么核实一下这个音频的log是否是wav format呢

try torchaudio.load(wav) to see whether there is error

torchaudio.load都可以正常print出来，格式都是（tensor,采样率）

apt install ffmpeg


Update example notebooks to check if data is present

Checks for existence of example data files and downloads from zenodo if they are not present

I'm happy with these changes in general. I agree with the suggestions made by @JuliaKukulies and think it would be best to resolve those before merging. Is there a reason that we wanted this in 1.3? Should we just go ahead and release 1.3, and once these changes (and any bugfixes) are in, we can increment to 1.3.1?

Yes, I think we can release 1.3 as is, then think about increasing the python requirement to >=3.7  for 1.3.1

Sounds all good to me!


Remove curly braces from GUID in user-secrets

Curly braces in UserSecretsId seem to trigger an msbuild bug (see https://github.com/Microsoft/msbuild/issues/1357) - I just experienced this in a test dotnet 2.2 project on Azure App Service. Removing curly braces to avoid encouraging people falling into this trap :-)

Hello @leighghunt ... that's by-design. We use the braces as a placeholder, and the instruction indicates that the entire {GUID} should be replaced with the GUID. We'll keep an :ear: out for more feedback like this tho. If it trips up a lot of devs, we'll definitely do something different.


Error Sending Fetch Request

Describe the bug
{"@timestamp":"2024-04-25T21:03:01.106Z","@version":"1","message":"[Consumer clientId=consumer-knative-trigger-dxcm-helm-0-65, groupId=knative-trigger-dxcm-helm-0] Error sending fetch request (sessionId=INVALID, epoch=INITIAL) to node 3:","logger_name":"org.apache.kafka.clients.FetchSessionHandler","thread_name":"kafka-coordinator-heartbeat-thread | knative-trigger-dxcm-helm-0","level":"INFO","level_value":20000,"stack_trace":"org.apache.kafka.common.errors.DisconnectException: null\n"}
{"@timestamp":"2024-04-25T21:03:01.106Z","@version":"1","message":"[Consumer clientId=consumer-knative-trigger-dxcm-helm-0-65, groupId=knative-trigger-dxcm-helm-0] Error sending fetch request (sessionId=INVALID, epoch=INITIAL) to node 1:","logger_name":"org.apache.kafka.clients.FetchSessionHandler","thread_name":"kafka-coordinator-heartbeat-thread | knative-trigger-dxcm-helm-0","level":"INFO","level_value":20000,"stack_trace":"org.apache.kafka.common.errors.DisconnectException: null\n"}
{"@timestamp":"2024-04-25T21:03:01.223Z","@version":"1","message":"[Consumer clientId=consumer-knative-trigger-dxcm-sonarqube-0-122, groupId=knative-trigger-dxcm-sonarqube-0] Disconnecting from node 0 due to request timeout.","logger_name":"org.apache.kafka.clients.NetworkClient","thread_name":"vert.x-kafka-consumer-thread-121","level":"INFO","level_value":20000}
Expected behavior
Fetch request succeeds.
To Reproduce
Upgraded from 1.2 to 1.3.8
Knative release version
1.3.8
Additional context
Not sure why some consumers work fine, and others are just continuously failing.

My consumer lag is just continously growing, even when no events are coming in, any ideas on where I should look to provide more context?

I think this was an issue with my kafka configuration, and stuck in an endless error on restart due to not a long enough session.timeout.ms


useful-forks does not show on the new forks page

Description

Find useful forks button no longer appears on the new fork page.
How to replicate the issue + URL
https://github.com/refined-github/refined-github/forks
Extension version
23.3.2
Browser(s) used
Microsoft Edge

Mentioned in https://github.com/refined-github/refined-github/issues/6397
I'll leave this issue open so it can be fixed in the meanwhile

In the meantime, here's a Redirector configuration that redirects the new forks page to the old one.

You can just disable the beta, as far as I know.

I keep clicking switch back to the tree view but it still gets me to the new page.


[Transaction] Fix transaction coordinator handleAddPartitionsToTransaction behavior and migrate tests

Motivation
Currently, KoP support transaction but don't have units test to cover transaction coordinator handleAddPartitionsToTransaction behavior, for future maintain, we should add units test from Kafka.
In addition: handleAddOffsetsToTxn  should response  AddOffsetsToTxnResponse, previous implementation use AddPartitionsToTxnResponse to response.
Modification

Fix handleAddPartitionsToTransaction behavior.
Fix handleAddOffsetsToTxn  wrong response.
Add units test to ensure behavior same as Kafka.

@BewareMyPower PTAL


Edatool proto interfaces

Codecov Report

Merging #47 (6629183) into master (994b922) will increase coverage by 0.23%.
The diff coverage is 72.72%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   61.83%   62.07%   +0.23%
==========================================
  Files          40       41       +1
  Lines        3252     3254       +2
==========================================
+ Hits         2011     2020       +9
+ Misses       1241     1234       -7

Impacted Files
Coverage Δ

edatool/src/error/mod.rs
0.00% <0.00%> (ø)

edatool/src/sim/analysis.rs
21.42% <25.00%> (-9.35%)
:arrow_down:

edatool/src/plugins/ngspice_sim/mod.rs
87.50% <81.81%> (-0.97%)
:arrow_down:

edatool/src/plugins/ngspice_sim/tests/mod.rs
93.44% <84.00%> (-6.56%)
:arrow_down:

sram22/src/cells/gates/nand/tests/mod.rs
100.00% <100.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


[CARBONDATA-3645] BadRecords are inserted as NULL when column is of complex data type and BAD_RECORDS_ACTION is IGNORE

Why is this PR needed?
In case if BAD_RECORDS_ACTION is IGNORE, Carbon should skip those bad records while loading. But in case of Complex data type, badrecords are inserted as NULL. Here, badRecordAdded flag is not set, from second BadRecord found,since message is already added to columnMessageMap for first found BadRecord.
What changes were proposed in this PR?
Set badRecordAdded flag, if badRecord is found.
Does this PR introduce any user interface change?

No

Is any new testcase added?

Yes

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1373/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1383/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1393/

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1398/

Build Failed with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1407/

retest this please

retest this please

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.1/1418/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/1438/

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.2/1426/

LGTM


Stream::all implementation

[x] Adds stream::all implementation.
[x] update method docs
[x] an example for stream all method.
[x] tests

@yoshuawuyts @shekohex is this ready to merge?

@jamesmunns yes!
seems ok to me


Include support for the new Syncfusion MAUI Toolkit

Include support for the new Syncfusion MAUI Toolkit

This feature is now part of the below releases.
CLI NuGet package - VijayAnand.MauiTemplates - v5.15.0
.NET MAUI Templates Pack - v<IP_ADDRESS>


Application Item G_DATE_FORMAT is missing in Public App

Hi Jari - first of all, great idea, a blog application with APEX !!
I updated to the newest version for 21.2.5 - the application Item G_DATE_FORMAT is missing in Public App...

Hi,
It's bug, sorry about that :(
It's fixed in latest version.
You can workaround issue by running below statements
update blog_settings set attribute_name = 'G_APP_DATE_FORMAT' where attribute_name = 'G_DATE_FORMAT';

delete from blog_init_items;

insert into blog_init_items(is_active, application_id, item_name)
select 1              as is_active
  ,ai.application_id  as application_id
  ,ai.item_name       as item_name
from apex_application_items ai
join blog_settings s
  on ai.item_name = s.attribute_name
where 1 = 1
  and ai.application_id = blog_util.get_attribute_value( 'G_PUB_APP_ID' )
  union all
select 1              as is_active
  ,pi.application_id  as application_id
  ,pi.item_name       as item_namee
from apex_application_page_items pi
join blog_settings s
  on pi.item_name = s.attribute_name
where 1 = 1
  and pi.application_id = blog_util.get_attribute_value( 'G_PUB_APP_ID' )
  union all
select 1              as is_active
  ,ai.application_id  as application_id
  ,ai.item_name       as item_name
from apex_application_items ai
join blog_settings s
  on ai.item_name = s.attribute_name
where 1 = 1
  and ai.application_id = blog_util.get_attribute_value( 'G_ADMIN_APP_ID' )
  union all
select 1              as is_active
  ,pi.application_id  as application_id
  ,pi.item_name       as item_namee
from apex_application_page_items pi
join blog_settings s
  on pi.item_name = s.attribute_name
where 1 = 1
  and pi.application_id = blog_util.get_attribute_value( 'G_ADMIN_APP_ID' )
;

Btw, if you just installed version where is that bug, you might consider uninstall and take latest version for APEX 21.2

Thx - it was the version for APEX 21.2 - but I upgraded it from the version before.
Btw - are there anywhere upgrade scripts? I did it by comparing the files and their content here @github ;-)

I just created upgrade scripts. You can find it from
https://github.com/jariolaine/apex-blog/tree/APEX_21.2/APEX/Upgrade
First of course take backup from application parsing schema.
Then run patch_21.2.20220409.sql and after that recreate all views, triggers and packages using database_objects_upgrade.sql

Latest release includes script to upgrade supporting objects. Upgrade scripts will be included also to future releases.


Wildcard Version Parameter results in 400 Bad Request

This article needs more details about what is supported for the version parameter.  It seems that "*" is not supported as I'm getting back a 400 Bad Request error when executing the command:

task: DownloadPackage@1
displayName: 'Download PackageName'
inputs:
packageType: 'nuget'
feed: 'feedname'
definition: 'packagename'
version: '*'
extract: true
downloadPath: $(Pipeline.Workspace)/foldername

Further investigation highlights that the 400 response returns the following message "A potentially dangerous Request.Path value was detected from the client ()", for a Url such as: "https://pkgs.dev.azure.com//_apis/packaging/feeds//nuget/packages//versions//content".
The Azure Cli download command allows wildcards in the "version" parameter.
https://docs.microsoft.com/en-us/azure/devops/artifacts/quickstarts/universal-packages?view=azure-devops&tabs=azuredevops#download-the-latest-version
I need wildcard version support in the DownloadPackage yaml task.

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

ID: 5bbb58a5-5e29-114a-cad4-dd4856926812
Version Independent ID: 864f99cb-348d-21e9-c561-8ae1d038bb88
Content: Download Package task - Azure Pipelines
Content Source: docs/pipelines/tasks/utility/download-package.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

Thanks for letting us know. This issue is fixed in our new task reference, which is generated using the task source code and includes all task inputs, including any aliases here:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/download-package-v1?view=azure-pipelines
Please check it out and let us know what you think. Thank you.


AWS::ECT::TaskDefinition properties not being recognized

CloudFormation Lint Version
cfn-lint 0.77.5
What operating system are you using?
Ubuntu on WSL
Describe the bug
None of the valid properties for AWS::ECS::TaskDefinition are being reconized as can be seen on the screenshot below. I tried runnning cfn-lint --update-specs and restarting VSCode but still nothing.

Expected behavior
cfn-lint should not flag this properties as errors as they are valid for this CFN resource.
Reproduction template
  MyTask:
    Type: 'AWS::ECS::TaskDefinition'
    Properties:
      Environment:
        - Name: HOST
          Value: !Ref MyHostUrl
      Essential: true
      HealthCheck:
        Command:
        - CMD-SHELL
        - curl -f http://<IP_ADDRESS>:8080/actuator/info || exit 1
        Interval: 200
        Retries: 3
        StartPeriod: 100
        Timeout: 60
      Image: !GetAtt Repository.RepositoryUri

cfn-lint is working properly. My CFN template is incorrect. 🙈


Docker building common netwrok to communicate the microservices

Created a default bridge network, make every microservices contact to one another using the container names. wrote .yml files to host on the same network


Update 04-add-user-auth.md

Fixed references from old C# tutorial, replacing them with references appropriate to the Python tutorial.

Thanks for catching this!