[Discussion] Using Spleeter under Ubuntu 22.04 LTS

Spleeter (or a Python module it uses) appears to be incompatible with Python 3.10, however Python 3.10 is the default Python version in the recently-released Ubuntu 22.04.
It is possible to install Python 3.9 from the Ubuntu 22.04 repos using apt, but evidently virtualenv support is broken due to missing distutils module.
However we can build Python 3.9 manually from source and install it to $HOME/opt/python-3.9/:
sudo apt install build-essential libssl-dev
cd $HOME/src
wget https://www.python.org/ftp/python/3.9.12/Python-3.9.12.tar.xz
tar xf Python-3.9.12.tar.xz
cd Python-3.9.12
sh configure --prefix=$HOME/opt/python-3.9
make -j8
make install

Now install Spleeter in a Python 3.9 virtualenv:
cd $HOME
sudo apt install python3-pip
pip3 install --user virtualenv
virtualenv -p $HOME/opt/python-3.9/bin/python3 spleeter
source $HOME/spleeter/bin/activate
pip3 install --upgrade setuptools
pip3 install spleeter

Finally run Spleeter:
spleeter separate --verbose audio.mp3 -p spleeter:5stems-16kHz -o output

Note you'll need to use the "source" command each time you want to run Spleeter from a new terminal. This configures the correct environment to set up Python 3.9 for Spleeter, ie.
source $HOME/spleeter/bin/activate
spleeter separate --verbose audio.mp3 -p spleeter:5stems-16kHz -o output

All of the above has been tested on x86_64. I can't vouch for it working on arm64.
Have fun!

Hi @zoomosis,
thanks for the help. Note that it should be quite straightforward to build spleeter from sources adding support to python 3.10. We'll have a look at it soon in order to provide this support.

Thanks @romi1502 :)

After issueing python3 -m pip install spleeter --user on PopOS 22.04 which runs python 3.10.4 we receive the following ERROR messages, so we fail to install spleeter:
ERROR: Ignored the following versions that require a different python version: 1.4.1 Requires-Python >=3.6, <3.8; 1.4.3 Requires-Python >=3.6, <3.8; 1.4.4 Requires-Python >=3.6, <3.8; 1.4.5 Requires-Python >=3.6, <3.8; 1.4.6 Requires-Python >=3.6, <3.8; 1.4.7 Requires-Python >=3.6, <3.8; 1.4.8 Requires-Python >=3.6, <3.8; 1.4.9 Requires-Python >=3.6, <3.8; 1.5.0 Requires-Python >=3.6, <3.8; 1.5.1 Requires-Python >=3.6, <3.8; 1.5.2 Requires-Python >=3.6, <3.8; 1.5.3 Requires-Python >=3.6, <3.8; 1.5.4 Requires-Python >=3.6, <3.8; 2.0 Requires-Python >=3.6, <3.9; 2.0.1 Requires-Python >=3.6, <3.9; 2.0.2 Requires-Python >=3.6, <3.9; 2.1.1 Requires-Python >=3.6.1,<3.9; 2.1.2 Requires-Python >=3.6.1,<3.9; 2.2.0 Requires-Python >=3.6.1,<3.9; 2.2.1 Requires-Python >=3.6.1,<3.9; 2.2.2 Requires-Python >=3.6.1,<3.9; 2.3.0 Requires-Python >=3.6.1,<3.10; 2.3.1 Requires-Python >=3.6.2,<3.10
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.0 (from spleeter) (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1)
ERROR: No matching distribution found for tensorflow==2.3.0

After issueing python3 -m pip install spleeter --user on PopOS 22.04 which runs python 3.10.4 we receive the following ERROR messages, so we fail to install spleeter:
ERROR: Ignored the following versions that require a different python version: 1.4.1 Requires-Python >=3.6, <3.8; 1.4.3 Requires-Python >=3.6, <3.8; 1.4.4 Requires-Python >=3.6, <3.8; 1.4.5 Requires-Python >=3.6, <3.8; 1.4.6 Requires-Python >=3.6, <3.8; 1.4.7 Requires-Python >=3.6, <3.8; 1.4.8 Requires-Python >=3.6, <3.8; 1.4.9 Requires-Python >=3.6, <3.8; 1.5.0 Requires-Python >=3.6, <3.8; 1.5.1 Requires-Python >=3.6, <3.8; 1.5.2 Requires-Python >=3.6, <3.8; 1.5.3 Requires-Python >=3.6, <3.8; 1.5.4 Requires-Python >=3.6, <3.8; 2.0 Requires-Python >=3.6, <3.9; 2.0.1 Requires-Python >=3.6, <3.9; 2.0.2 Requires-Python >=3.6, <3.9; 2.1.1 Requires-Python >=3.6.1,<3.9; 2.1.2 Requires-Python >=3.6.1,<3.9; 2.2.0 Requires-Python >=3.6.1,<3.9; 2.2.1 Requires-Python >=3.6.1,<3.9; 2.2.2 Requires-Python >=3.6.1,<3.9; 2.3.0 Requires-Python >=3.6.1,<3.10; 2.3.1 Requires-Python >=3.6.2,<3.10
ERROR: Could not find a version that satisfies the requirement tensorflow==2.3.0 (from spleeter) (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1)
ERROR: No matching distribution found for tensorflow==2.3.0

https://github.com/deezer/spleeter/wiki/5.-FAQ#python-39
Downgrade your python to 3.8

Missing distutils is also affecting Debian unstable for me.

We've made some dependency changes in the 2.3.2 version that should make it straightforwardly compatible with latest Ubuntu

if 'cd $HOME/src' show not found just ignord it
remendber to delete the tar file via 'rm Python-3.9.12.tar.xz'
if 'pip3 install --user virtualenv' so an error use 'sudo apt install python3-virtualenv'
if you run spleeter and it show error about NumPy, just run this command 'pip install "numpy<2.0" '


[5.0][build] Fix generated header files in standalone overlay builds.

Cherry-picked from #21206.

@apple/swift5-branch-managers This is a build fix required for #21125.

@swift-ci please test

Build failed
Swift Test OS X Platform
Git Sha - 3fa1da5186afa4f34cffc1197e86e5599e045f7d

Build failed
Swift Test Linux Platform
Git Sha - 3fa1da5186afa4f34cffc1197e86e5599e045f7d

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 3fa1da5186afa4f34cffc1197e86e5599e045f7d

Build failed
Swift Test OS X Platform
Git Sha - 3fa1da5186afa4f34cffc1197e86e5599e045f7d


Reformat using black CLI tool

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

107 of 140 (76.43%)  changed or added relevant lines in 11 files are covered.
20 unchanged lines in 6 files lost coverage.
Overall coverage remained the same at 80.748%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

charon/config.py
4
5
80.0%

charon/pkgs/pkg_utils.py
4
7
57.14%

charon/utils/archive.py
5
9
55.56%

charon/cmd/command.py
0
5
0.0%

charon/pkgs/maven.py
26
31
83.87%

charon/pkgs/npm.py
27
32
84.38%

charon/storage.py
18
28
64.29%

Files with Coverage Reduction
New Missed Lines
%

charon/config.py
1
87.93%

charon/pkgs/npm.py
1
87.14%

charon/pkgs/maven.py
2
86.45%

charon/pkgs/pkg_utils.py
2
73.91%

charon/cmd/command.py
4
28.95%

charon/storage.py
10
83.66%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1317

Relevant Lines:
1631

💛  - Coveralls

This one probably isn't that important, but I thought I'd see how much black changed the formatting. This is usually a pretty reliable way to format sources to avoid linting problems and make it more standardized.
Interestingly, it seems to have some places where black and Flake8 don't agree...particularly on array ranges.

LGTM. But I remember that I've also met a conflict between black and flake8 before. I don't remember which rule exactly it is, but when I use black to do format, then the flake8 complains it.

That's trivial to fix, see e.g. https://github.com/psf/black/blob/main/.flake8 in Black's repo.

@jdcasey @pbabinca I'll close this as it has some conflicts with current stable code. I'll use black to reformat the whole code again to see if works.


documentation for 'copy_spreadsheet' method

@sqrrrl
Here is the link to the documentation for the copy_spreadsheet method : https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.sheets/copyTo
I think that, it would be easier for developers if the following line of code is added to that documentation:
request_body.destination_spreadsheet_id = "PLACE_THE_ID_OF_THE_DESTINATION_SPREADSHEET_HERE"

The documentation only shows:
request_body = Google::Apis::SheetsV4::CopySheetToAnotherSpreadsheetRequest.new

Which is helpful, but it's not obvious which Instance Attribute we have to set. In this case, you would have to look up the code here to determine that you have to setup destination_spreadsheet_id .  Once you have an instance attribute, you can then use
response = service.copy_spreadsheet(spreadsheet_id, sheet_id, request_body)

@architapatelis Thanks for the suggestion. However, since this is a documentation issue, can you submit via the 'Send Feedback' link on that page instead? Thanks!


[FLINK-17273][runtime] ActiveResourceManager closes task manager connection on worker terminated.

What is the purpose of the change
This PR fix the problem that active RMs does not close the task manager connection on worker terminated. Without this fix, RM has to wait for heartbeat timeout to find out that TM has terminated.
Verifying this change

Add ActiveResourceManagerTest#testCloseTaskManagerConnectionOnWorkerTerminated

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

cc @wangyang0918

Thanks for the review, @tillrohrmann


[BEAM-11740] Estimate PCollection byte size

Add byte size estimate to SDK harness. Since size estimation can be expensive, don't do it for every element

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java Examples on Dataflow Runner V2

Run Dataflow ValidatesRunner

Run Java Dataflow V2 ValidatesRunner

Run Java PreCommit

Run Java Dataflow V2 ValidatesRunner

R: @boyuanzz, @robertwb

Thanks! I'll merge this PR when all tests passing.

Run Java PreCommit

Run Java PreCommit

The Java Precommit is broken on master. We may want to wait until that gets fixed.

Run Java PreCommit


Effects composition and CubeTexture background

Hi,
I'd like to combine a scene with several effects composition (outline + godRays + bloom) on the 3D meshes and a background (cubemap) which is not affected by all the effects.
The best I've achieved is to have both the scene and the background but rendered with all the effect passes. I tried several things to prevent effects to apply on the background but it didn't succeed until then.
Issue #79 seems to be quite close to my problem but it applied to processing 4.5 and I use 5.5.0 (TexturePass have disappeared from doc).
What should I try for solving this differentiated rendering issue ?

WebGLBackground has been changed in<EMAIL_ADDRESS>The scene background no longer tests depth. This means you'll need to use a custom cube texture material to draw the background.
The EffectPass has also been changed in<EMAIL_ADDRESS>When there's no apparent need to render anything, it will now leave the internal frame buffers untouched.
The render pipeline changes as follows:

Render the 3D objects without the background.
Create a bloom effect and set its blendFunction to SKIP. Render the effect using a stand-alone EffectPass.
[Optional]: Render additional effects that should only be applied to the 3D objects.

Use a ShaderPass together with a CopyMaterial to copy the input buffer over to the output buffer.
Use a second EffectPass instance to render other effects.

Draw the background using a custom sky box with a material that tests depth.
Draw the bloom as a TextureEffect.

I've updated the example accordingly.

Many thanks for your answers and the example code, which are really helpful !

I'm glad I could help. If you have any other questions, just open another issue.


Add 'recheck now' button to menu interface

Should first call:
Cache.clear(key);
And then treat as a normal request (since the cache is cleared, the real server request will then be made)

something like:

Maybe put it in the section above? In this way, the grouping can better indicate that it's the servers that will be rechecked.

Please check: https://github.com/dhowe/ChinaEye/pull/53

Works well, however we need some kind of loading animation, otherwise it is not clear that the software is being done. Can we change the OK/FAIL icons to a little spinning circle (or some other easy indication that the check is being done)?

This one can be closed


Change of month and year does not erase date

With this pull, when a user changes the month or the year after having selected the month date, this one will be saved upon changes.

This has been implemented with other PR. Thank you so much for your PR and supporting me.


How to compile the code in VS-Code [help wanted]

The installation of package on VS-Code is non buggy and very straightforward but the "Compiling process is not beginner friendly". I am not able to compile processing code on VS-Code and run it. Can we have some animated gifs/ screenshots for the process?
Reference:
Command: Create Task File

Adds a .vscode/tasks.json file to your project folder, that has the contents of the ProcessingTasks.json located in the root folder of this project.

When you run this task (Keyboard shortcut: Ctrl+Shift+B), it will compile and run your project!

If you would like to see output from the compiler, simply comment out the line "showOutput": "never",

NOTE: Processing must be added to your path, or you must set the "processing.path" setting!

Edit:
Upon pressing ctrl + shift + b, it produces this error:
Executing task: processing-java --force --sketch=/home/ashish/Desktop/ProcessingSketchbook --output=/home/ashish/Desktop/ProcessingSketchbook/out --run <

Not a valid sketch folder. /home/ashish/Desktop/ProcessingSketchbook/**ProcessingSketchbook.pde does not exist.**
The terminal process terminated with exit code: 1

Any Solutions

The error message you posted tells you exactly what is wrong:

Not a valid sketch folder. /home/ashish/Desktop/ProcessingSketchbook/ProcessingSketchbook.pde does not exist.

Nothing to do with VSCode, but Processing requires that your main .pde file name match exactly the folder name. Example: If I have a project called "TestProject" it need a file located in where/ever/you/want/TestProject/TestProject.pde
Try renaming the main pde file you are working with to match the folder name, it should work then.


Upgrade CLI

Obsolete because of: https://github.com/eclipse-velocitas/devcontainer-base-images/pull/74


Svelte Flow: implement examples overview page

We could implement a nice example overview page like this https://reactflow.dev/examples for Svelte Flow too :)

Let's wait with this task until we've updated our React example structure.


Show delivery service ID in TR log output

What does this PR (Pull Request) do?
These changes add a svc=... tag to request logging for both DNS and HTTP requests. The value of this field is the XmlId of the delivery service that routed the request.

[x] This PR is not related to any Issue

Which Traffic Control components are affected by this PR?

Traffic Router

What is the best way to verify this PR?
Pull code and build CiaB. Make a request against a DNS or HTTP delivery service and observe that the log output contains lines that contain one of the following:

svc="mydeliveryservice1"
svc="-"

The second output should only be there if a request was made where no delivery service was used (e.g. an error occurred).
The following criteria are ALL met by this PR

[x] This PR includes tests
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

I apologize for the delay. After some discussion it was determined that displaying all of the delivery services, delimited with a |, was the best way forward for our use case. This has been implemented in the latest commit and has been verified and tested locally.

I'm ok with merging this. Running in production on 5.1.2.


Set topology settings as class attribute in DSL

The Topology DSL allows setting storm settings with the config parameter to components:
    pixel_counter = PixelCounterBolt.spec(name='pixel-count-bolt',
                                          inputs={pixel_deserializer:
                                                  Grouping.fields('url')},
                                          config={"topology.tick.tuple.freq.secs": 1})

However, it doesn't really make sense to set topology-level settings in particular components, and it introduces ambiguity since a topology-level setting could be set for multiple components.
Perhaps config should be specifiable as a class attribute of a Topology?

see discussion between me and @dan-blanchard here: https://twitter.com/dsblanch/status/746015061928460288


Fl agg mask heu

Preamble
For Pull Request initiator, please read the following steps carefully. 请合并请求的发起人仔细阅读下列步骤。

If you are creating a Pull Request about listed topic below, please go the the Preview tab and click the relative link:
如果您要创建一个有关下列内容的的合并请求，请切换到 Preview 面板并点击下方相关的链接:
fiexd#895
#895

Select Awesome-PETs for files under docs/awesome-pets

Select a proper Pull Request template can accelarate the review process, thanks for your cooperation.
选择一个正确的合并请求模版可以加速审查流程，谢谢您的配合
If your Pull Request topic is not amoung the list above, please just delete all prepopulated template content.
如果您的合并请求内容不在上述的列表里，请删除提前填入的模版内容。

Thanks for your contribution to SecretFlow project
感谢您对于 SecretFlow 项目的贡献

I have read the CLA Document and I hereby sign the CLA


cannot work on Atom 1.17.0 beta

RT
can switch to new project but tree view was cleared.

same for me

This is caused by atom-project-util.
I made a new package for 1.17.0+: https://atom.io/packages/project-neue

Same issue here with Atom 1.17.
I've installed @xream's project-neue but it does not solve anything in my case.
Temporary solution is to move to the project manager popular package in the meantime.

@xream Would you mind sending a PR to atom-project-util instead?  https://github.com/danielbrodin/atom-project-manager uses that as well for its project switching so if there is an issue with 1.17+ I'd be awesome to have the fix there.

@vinyll Since you seem to feel that is a temporary solution would you mind chiming in on #95 as to why?

@mehcode to to honest, I don't have the time. I use this api atom.restoreStateIntoThisEnvironment(state) in 1.17+.

FYI I have the same issue with Project Manager when opening in the same window; the folders tree is empty.

Fixed and released as v1.0


MAINT: stats: allow wishart dim - 1 < df < dim

Reference issue
Closes gh-5562
What does this implement/fix?

The degrees of freedom $v$ of a Wishart distribution are currently limited to be equal or greater than the dimensions $p$ of the scale matrix. However, degrees of freedom do not have to be integers. In case of a float, they should be $v > p-1$.

The reason for this limit was that the rvs method produces singular matrices when $v < dim$, which are not within the support of the distribution. This seems to be a problem with the algorithm rather than the implementation, as Matlab suffers from the same problem.
As there is still value in using the distribution with $v < p$, one compromise is to allow $p - 1 < v < p$ but mention the RVS issue in the documentation. That's the approach I took.
Additional information
Matlab still suffers from the same problem; I checked the example code in gh-5562.

I am not a Chad but FWIW Casella and Robert 2nd ed McMC statistical methods book, has positive definite (pg28 of my printing).
Sincerely,
-Lucas Roberts

On Jan 18, 2021, at 4:49 PM, Matt Haberland<EMAIL_ADDRESS>wrote:

@mdhaber commented on this pull request.
In scipy/stats/_multivariate.py:

@@ -1717,6 +1719,12 @@ class wishart_gen(multi_rv_generic):
distribution :math:W_1(\nu, 1) collapses to the :math:\chi^2(\nu)
distribution.

The algorithm [2]_ implemented by the rvs method occasionally
@ChadFulton do you happen to know the answer here? We're wondering if the support is actually the positive semidefinite matrices when p-1 < n < p.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I am not a Chad but FWIW Casella and Robert 2nd ed McMC statistical methods book, has positive definite (pg28 of my printing).
Sincerely,
-Lucas Roberts

On Jan 18, 2021, at 4:49 PM, Matt Haberland<EMAIL_ADDRESS>wrote:

@mdhaber commented on this pull request.
In scipy/stats/_multivariate.py:

@@ -1717,6 +1719,12 @@ class wishart_gen(multi_rv_generic):
distribution :math:W_1(\nu, 1) collapses to the :math:\chi^2(\nu)
distribution.

The algorithm [2]_ implemented by the rvs method occasionally
@ChadFulton do you happen to know the answer here? We're wondering if the support is actually the positive semidefinite matrices when p-1 < n < p.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I looked back into this briefly, and here's how I understand things:

The distribution ought to have support over positive definite matrices (i.e., as @rlucas7 said), even with scalar degrees of freedom n in the range (p-1, p).
The clearest citation for this that I found was Muirhead (2005)  "Aspects of Multivariate Statistical Theory", where he notes that the density function (e.g. in Scipy's docs) is also valid for scalars in that range.
That density is clearly equal to zero for non-singular matrices, so the support must be positive definite matrices
By contrast, the density function for integer degrees of freedom n < p has support over strictly positive semi-definite (i.e. singular) matrices (see e.g. Uhlig (1994), "On singular Wishart and singular multivariate beta distributions")

My guess is that as the scalar degrees of freedom get closer to p-1, more and more of the support is over "nearly singular" matrices. And I guess that the algorithm may not be robust enough to numerical issues (see Smith and Hocking [1972] "Algorithm as 53: Wishart variate generator"). To check this, I varied the degrees of freedom in the example from the previous issue from to 1.99, and indeed most of the generated variates were non-singular.  When instead using 1.01, most of the variates were singular.
I also checked the behavior of R (rWishart) and Julia (Distributions.Wishart):

R does not allow degrees of freedom less p (i.e. like the current behavior in Scipy)
Julia does allow scalar degrees of freedom in the range (p-1, p), and its behavior is similar to what we would get if we lowered the bound (i.e. most of the variates are singular)
As stated above, Matlab is the same as Julia

To me, there is nothing wrong with lowering the bound.  If we do, I guess that we can follow Matlab and Julia and just return the singular or nearly singular matrices without warning or error.

I looked back into this briefly, and here's how I understand things:

The distribution ought to have support over positive definite matrices (i.e., as @rlucas7 said), even with scalar degrees of freedom n in the range (p-1, p).
The clearest citation for this that I found was Muirhead (2005)  "Aspects of Multivariate Statistical Theory", where he notes that the density function (e.g. in Scipy's docs) is also valid for scalars in that range.
That density is clearly equal to zero for non-singular matrices, so the support must be positive definite matrices
By contrast, the density function for integer degrees of freedom n < p has support over strictly positive semi-definite (i.e. singular) matrices (see e.g. Uhlig (1994), "On singular Wishart and singular multivariate beta distributions")

My guess is that as the scalar degrees of freedom get closer to p-1, more and more of the support is over "nearly singular" matrices. And I guess that the algorithm may not be robust enough to numerical issues (see Smith and Hocking [1972] "Algorithm as 53: Wishart variate generator"). To check this, I varied the degrees of freedom in the example from the previous issue from to 1.99, and indeed most of the generated variates were non-singular.  When instead using 1.01, most of the variates were singular.
I also checked the behavior of R (rWishart) and Julia (Distributions.Wishart):

R does not allow degrees of freedom less p (i.e. like the current behavior in Scipy)
Julia does allow scalar degrees of freedom in the range (p-1, p), and its behavior is similar to what we would get if we lowered the bound (i.e. most of the variates are singular)
As stated above, Matlab is the same as Julia

To me, there is nothing wrong with lowering the bound.  If we do, I guess that we can follow Matlab and Julia and just return the singular or nearly singular matrices without warning or error.

Thanks so much @ChadFulton! I agree that we should just return what the algorithm produces without warning or error. Do you think we should mention it in the documentation? If so, is the wording:

The algorithm [2]_ implemented by the rvs method may produce singular matrices with :math:p - 1 < \nu < p; the
user may wish to check for this condition and generate replacement samples as necessary.

appropriate?

Thanks so much @ChadFulton! I agree that we should just return what the algorithm produces without warning or error. Do you think we should mention it in the documentation? If so, is the wording:

The algorithm [2]_ implemented by the rvs method may produce singular matrices with :math:p - 1 < \nu < p; the
user may wish to check for this condition and generate replacement samples as necessary.

appropriate?

Do you think we should mention it in the documentation? If so, is the wording: If so, is the wording:

The algorithm [2]_ implemented by the rvs method may produce singular matrices with :math:p - 1 < \nu < p; the
user may wish to check for this condition and generate replacement samples as necessary.

appropriate?

Yes, I agree that we should mention it in the documentation (even though Julia and Matlab do not, as far as I could see), and I think that wording is appropriate and will be helpful to users.
Thanks for dealing with this issue!

Do you think we should mention it in the documentation? If so, is the wording: If so, is the wording:

The algorithm [2]_ implemented by the rvs method may produce singular matrices with :math:p - 1 < \nu < p; the
user may wish to check for this condition and generate replacement samples as necessary.

appropriate?

Yes, I agree that we should mention it in the documentation (even though Julia and Matlab do not, as far as I could see), and I think that wording is appropriate and will be helpful to users.
Thanks for dealing with this issue!

LGTM, merging.  Thanks @mdhaber!


Configure greenkeeper

We'll probably want better test coverage before we do this. Greenkeeper runs tests when bumping dependencies and will tell you if the new version broke anything.

https://greenkeeper.io/#getting-started


Change Title & Link for USB CDC and WinUSB on GHI features pages

The page should be renamed to something generic, like PC data transfer. Since the page will now also have and WebUSB and in the future we can talk about RAW transfers.

Don't forget to update main website

Main Website Updated


Removes TODO

This has been in the codebase for 10 years and I think the value we've
been using is the value we're sticking with.

[approve ci freebsd]


Geo location finder

What does the program do ?
This groovy script will take IP address or Website address as a input from Console/IDE and will show
the Geo location of IP address/Website as output in console.

In what programming language it is written?
Groovy

Thank you for participating  in hacktoberfest ❣ if you liked working on this repo you can share it with friends and star this project for helping others


Url filter not working together with VeePN extension

I tested with my code using python + selenium and see that when I've used Mod Header alone, Url filter is working fine. But when I add VeePN extension to Chrome, somehow Url filter stops working then every request get the same referer header

You are right, I've debug VeePN's code and it cancel all other config. Issus close: :D


Protractor tests and configuration should be updated

Hi..
I was recently told to dive deeper into the whole e2e testing process. One of the big things I was told to do, or to make it work is to run the e2e tests on devices. I succeeded but with issues because of which, I think we should change some parts of configuration and generating of protractor files.
1. Before explaining the issue
Looking at protractor.conf.js, we find out the baseUrl is set to http://localhost:3000. and within the tests, switching states we are using browser.get('/#/someRoute'). Merging this two things together, we get http://localhost:3000/#/someRoute. It works.
2. Now, we want to take a huge leap into the App Testing on Device/Simulator/Emulator. There, we find out few things:

There's no server available on port 3000,
There's no option to user http base,
All files are accessible using file:/// base

That being said, lets assume we first update the baseUrl, which is now: file:///android_asset/www/index.html (Android in this example). We can get the path using location.origin + location.pathname.
When now using existing calls using browser.get('/#/someRoute'), we are getting url which looks like this: file:///android_asset/www/index.html/#/someRoute, which results in network error (or simply said, file not found).
3. So, what should we do?
To make protractor tests universal, meaning independent of platform on which we are running tests, we have to change two things,
first, update protractor.conf.js baseUrl from http://localhost:3000 to http://localhost:3000/,
second, change all occurrences of browser.get() in protractor tests which start with /#/someRoute into #/someRoute.
This way, we avoid the collision of paths for different platforms. There's many other things but this one is the single one found to be working properly. This does not concern changing any other part of app, only protractor and, in case of device testing, protractor+appium.

I'd love to hear your comment about this @gruppjo & @MathiasTim

From my point of view, there's absolutely no reason not to do that. Small unobtrusive change. I'll get right on it unless you'd rather like to create a PR @lordgreg?

A couple of months ago I tried to have the default protractor tests run in our travis setup but didn't succeed. Maybe this is worth looking into again. Since that way we could ensure that the default protractor tests work with every build, without having to manually run them (this is what I am mostly doing right now).

@gruppjo I don't care :) If you have time you do it, otherwise I'll push things in next week 🙊

@lordgreg. Implementing this now.

This should do it. Right? (see commit above)

👍

PR: protractor and karma conf update for better reporting: https://github.com/mwaylabs/generator-m-ionic/pull/489


Lexer causing problems with parsing typeargs

Typearguments are implemented using (using <>) and shift operators <<, >>, >>>.
When im working with nested type arguments, this creates problems, as the lexer processes List<List<int>> to the following stream:
List, <, List, <, int, >>
This causes the parser to have problems parsing this structure as one token has two structures it belongs to. Much better would be the following result
List, <, List, <, int, >,  >

Solution: We will completely remove the handling of shift operators from the lexer and will just always return this type of token stream:
List, <, List, <, int, >, >
In the correct context we will build the parser to handle >, > as a shift operation.
This solution will cause the following code-snippet to work:
val z = x < < y;

Normally this should be written as
val z = x << y;

But this should not be a problem as our parser just accepts a syntax that is "unpleasant"

Resolved with https://github.com/shakelang/shake/commit/f37a59f7c89342084ecfe82c746a752bc8421339


[HUDI-476] Add hudi-examples module

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contributing.html before opening a pull request.

What is the purpose of the pull request
See HUDI-476 this pr adds hudi-examples module
Brief change log

add hudi-examples module and add other modules as dependencies in pom
add scala dependencies and scala-maven-plugin in parent pom

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.

@leesf Hi, PTAL.

Hi @dengziming Thanks for your contribution! It would be better to follow the new contribution guidance about how to name the title of the PR.
Firstly, you can squash your commits into one commit.
Regarding adding a new module, we'd better listen to @vinothchandar 's opinion firstly. I agree that it's better to have an example module.

@yanghua thank you, I just rebased the code. also cc @vinothchandar , PTAL.

Agree init a module with at least some example codes, it at least could prove that contributor has the power and energy to drive this work.

Hi, @vinothchandar @yanghua
I just updated the pr and add 2 examples: HoodieWriteClient API and datasource API, other examples such as HoodieDeltaStreamer and structure streaming use case, I think it's better to add more subtasks to be convenient to do code review.

Could we also provide delta streamer examples?

Could we also provide delta streamer examples?

@vinothchandar  hi, I am working on it, HoodieDeltaStreamer seems more complex so I need some time to debug and review the code, and it will be completed soon.

No worries.. please take your time!

@dengziming are you still working on this?

@dengziming are you still working on this?

I tried to reuse more code but I can't improve it anymore, I think it's ready for review, thank you!

Codecov Report

Merging #1151 into master will decrease coverage by 66.45%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master   #1151       +/-   ##
============================================
- Coverage     67.09%   0.64%   -66.46%
+ Complexity      223       2      -221
============================================
  Files           333     287       -46
  Lines         16216   14320     -1896
  Branches       1659    1465      -194
============================================
- Hits          10880      92    -10788
- Misses         4598   14225     +9627
+ Partials        738       3      -735

Impacted Files
Coverage Δ
Complexity Δ

...rg/apache/hudi/common/model/HoodieAvroPayload.java
0% <0%> (-84.62%)
0 <0> (ø)

...che/hudi/common/table/timeline/dto/LogFileDTO.java
0% <0%> (-100%)
0% <0%> (ø)

...apache/hudi/common/model/HoodieDeltaWriteStat.java
0% <0%> (-100%)
0% <0%> (ø)

...org/apache/hudi/common/model/HoodieFileFormat.java
0% <0%> (-100%)
0% <0%> (ø)

...g/apache/hudi/execution/BulkInsertMapFunction.java
0% <0%> (-100%)
0% <0%> (ø)

.../common/util/queue/IteratorBasedQueueProducer.java
0% <0%> (-100%)
0% <0%> (ø)

...rg/apache/hudi/index/bloom/KeyRangeLookupTree.java
0% <0%> (-100%)
0% <0%> (ø)

...e/hudi/common/table/timeline/dto/FileGroupDTO.java
0% <0%> (-100%)
0% <0%> (ø)

...apache/hudi/timeline/service/handlers/Handler.java
0% <0%> (-100%)
0% <0%> (ø)

.../common/util/queue/FunctionBasedQueueProducer.java
0% <0%> (-100%)
0% <0%> (ø)

... and 287 more

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 2d04014...3c3703e. Read the comment docs.

@dengziming please let me know when you have addressed some of the comments..

@dengziming please ping me when you are ready for another review pass

Hello, @vinothchandar ,Sorry for the late reply. I want to address some of your comment and here are issues:

I tried make data prep part of the deltastreamer themselves and then also provide same defaults for input/output paths, but at last I found my code the same as org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer#main, it seems that we don't have to add deltastreamer examples because the HoodieDeltaStreamer class is already a complete deltastreamer example. Maybe we just need to add some simple examples rather than a very complete and unified example.
I wrote a run_hoodie_examples.sh to run the example and reuse spark-bundle/utilities-bundle instead of building a fat jar, but the build process of hudi-utilities-bundle will relocate com.beust.jcommander. to org.apache.hudi.com.beust.jcommander., and my example have a dependency on com.beust.jcommander. and the spark-shell failed, so should I also add a relocation to  pom.xml of hudi-examples.
How do you think about these 2 problems.

@dengziming thanks for getting back..
I think we can solve both problems for deltastreamer by simply reusing the deltastreamer from the utilities-bundle and just provide the command line arguments and config files via the run_examples.sh script...
DataSource examples can hopefully be easily dealt with.. it may be worth it to even get that working first, if it helps us move forward..

Thanks for your reply @vinothchandar . Do you mean we can just delete the 3 XxxDeltaStreamerExample and replace them with a  run_examples.sh and some config files?

we can just delete the 3 XxxDeltaStreamerExample and replace them with a run_examples.sh and some config files?

yes.. based on your previous comment, that would probably make sense.

@vinothchandar hello, PLAL.
I deleted the 3 DeltaStreamerExample and replace them with 3 xxx-delta-streamer-example.sh, and provide 2 shell delta-streamer-cluster and delta-streamer-local to run them local or in cluster.

@lamber-ken are you able to take this across finish line? @dengziming has something that is very close to a first version.. we can try to land that and then improvise

@vinothchandar sorry, a little busy these days, I will addressed your comments in a few days.

Can you confirm if you have run these examples locally once and verified the instructions work?

@vinothchandar , I ran these examples locally and ensured they do work, but haven't tried them in a yarn-cluster mode.

Can you confirm if you have run these examples locally once and verified the instructions work?

@vinothchandar , I ran these examples locally and ensured they do work, but haven't tried them in a yarn-cluster mode.

Will check, thanks 👍

Changes:

Remove Deprecated usages.
Update scrptis.

Codecov Report

Merging #1151 into master will decrease coverage by 53.42%.
The diff coverage is 0.00%.

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

@vinothchandar I test these examples locally and yarn-cluster mode, worked fine, will merging.

Thank you @dengziming !! for this really great contribution.. We will keep improving this


Timed paywall content

The ability to post "#blog" posts that are time walled and only if a tip has been paid will the content be viewable. Note that there isn't really a way to "enforce this" but it encourages supporting a content producer.

Specification:
Add additional options when creating a new thread
Timed Pay Wall:
Token, Amount, Duration
How does the reader pay?
Replace "Tip" button with "Pay" button with prepaid amount filled in
How does the reader know it's premium content?
Ideally content overlay, if not, message above with details


How h/stateen become read-only zero for zero bits in mstateen?

When I tried to add support for smstateen extension in spike(https://github.com/riscv-software-src/riscv-isa-sim/pull/1035), I find there are two ways to make that bits read-only zero:

not change h/stateen register, just use mstateen as mask  when read/write h/stateen: ignore zero bits when write, and mask zero bits to zero when read
directly clear the same bits of h/stateen register when clear bits of mstateen

These two ways will have different result for the second read of hstateen0 for following sequence of operation (assume origin mstateen0/hstateen0 is 2):

write 0 to mstateen0
read hstateen0 (result -> 0)
restore mstateen0 to 2
read hstateen0 (result? 2 or 0)

This is a broad issue that isn't specific to the use of "read-only zero" in Smstateen, but to all places where it doesn't simply equate to hardwired RAZ and instead can dynamically vary - as a function of a write to another CSR - between "read-only zero" and not.  For this reason this term should be defined in the Priv spec, and in fact it is - but indirectly and hence not in a blatantly obvious way.  This type of case is covered by an even broader arch definition:
2.4 CSR Field Modulation
If a write to one CSR changes the set of legal values allowed for a field of a second CSR, then unless specified otherwise, the second CSR’s field immediately gets an unspecified value from among its new legal values. This is true even if the field’s value before the write remains legal after the write;the value of the field may be changed in consequence of the write to the controlling CSR.
So when a field becomes "read-only zero" and then unbecomes "read-only zero", its value ends up at that final point as unspecified.  Which allows for both implementations that you described, to be architecturally allowable implementations.

OK, Thanks a lot!

There is a case in Smstateen where a VS-mode guest OS can write to sstateen, where some of those bits are "read-only zero" because of the value of hstateen. Upon returning to HS-mode, those bits of sstateen are not read-only zero anymore.
If those bits are now unspecified, doesn't that mean that the hypervisor in HS-mode must rewrite sstateen every time it comes back from VS-mode?

Can you provide a specific example of the scenario you're asking about?  Maybe I have to review the spec more carefully, but I believe bits in a higher-level *stateen CSR do not cause the corresponding bits in lower-level *stateen CSRs to conditionally be read-only zero.
The spec, for example, provides this counter-example (i.e. zero bits in mstateen don't force bits in h/sstateen to be read-only zero):  On reset, all mstateen bits are initialized by the hardware to zeros.  If machine-level software changes these values, it is responsible for initializing the matching hstateen and sstateen CSRs to zeros too.
I'm suspecting you are keying off of the following spec paragraph:
Bits in any stateen CSR that are defined to control state that a hart doesn't implement are read-only zeros for that hart.  Likewise, all reserved bits not yet given a defined meaning are also read-only zeros.  For every bit in an mstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in the matching hstateen and sstateen CSRs.  For every bit in an hstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in sstateen when accessed in VS-mode.

I suspect you are keying off of the following spec paragraph:
Bits in any stateen CSR that are defined to control state that a hart doesn't implement are read-only zeros for that hart. Likewise, all reserved bits not yet given a defined meaning are also read-only zeros. For every bit in an mstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in the matching hstateen and sstateen CSRs. For every bit in an hstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in sstateen when accessed in VS-mode.
Regarding hstateen versus sstateen CSRs, note the following from the spec:
For the sstateen CSRs whose access by a guest OS is permitted by bit 63 of the corresponding hstatus CSRs, a hypervisor must include the sstateen CSRs in the context it swaps for a guest OS.  When it starts a new guest OS, it must ensure those sstateen CSRs are initialized to zeros, and it must emulate accesses to any other sstateen CSRs.
Also note that while operating in HS-mode, the state of sstateen CSR bits is a don't care.
And keep in mind that sstateen also applies when operating in U-mode (versus in VU-mode).  Hence if the hypervisor is managing operation under it in U-mode, it needs to context switch sstateen also when switching between operating in a VM and operating down in U-mode.

OK, good points, I suppose unspecified sstateen bits is acceptable in this case.

Another question: How hstateen0 and stateen0 work, if STATEEN bit in mstateen0 is zero, ? Treating them as zero?

Regarding the last posted question:  I assume you recognize that for each mstateen and hstateen CSR, bit 63 is defined to control access to the matching supervisor-level sstateen CSR.  That is, bit 63 of mstateen0 and hstateen0 controls access to sstateen0; bit 63 of mstateen1 and hstateen1 controls access to sstateen1; etc.  Ditto for mstateen with respect to hstateen.
Then, for every bit in an mstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in the matching hstateen and sstateen CSRs.  For every bit in an hstateen CSR that is zero (whether read-only zero or set to zero), the same bit appears as read-only zero in sstateen when accessed from a virtual machine.

Sorry. I didn't describe my question clearly. I know the same bit in h/sstateen0 is read-only zero when bit in mstateen0 is zero. What I really want to know is that when bit 63 in mstateen0 is zero, which means access to h/sstateen0 is disallowed, how do we treat other bits in h/sstateen0, do we just ignore them or treat them as zero? This may lead to different result. Such as when we access fcsr in HS/VS/VU/U mode, if we ignore h/sstateen0, then we need only consider mstateen0.fcsr and this access may be allowed, however it will trigger illegal/virtual instruction fault if treat them as zero.

In general, whether a stateen bit is controlling access to some other extension-specific lower privilege level state or to lower privilege level stateen CSRs, the behavior is the same (and whether a staten CSR or any other CSR, the access control is at the granularity of the entire register):
The stateen registers at each level control access to state at all lower privilege levels, but not at its own level.  When a stateen CSR prevents access to state by lower privilege levels, an attempt in one of those privilege modes to execute an instruction that would read or write the protected state raises an illegal instruction exception, or, if executing in VS or VU mode and the circumstances for a virtual instruction exception apply, raises a virtual instruction exception instead of an illegal instruction exception.

So Assuming mstateen0.STATEEN is zero, and m/h/sstatenen0.FCSR is 1, when we try to access FCSR:

Another question: whether FCSR related check need to be done when misa.F is zero and Zfinx is not supported.
This is a little different for exception triggered when executing float point instructions in VS/VU mode since FCSR related check may trigger virtual instruction exception. In my opinion, FCSR bit only exists when zfinx is supported as the spec said: "bit 1 - fcsr for Zfinx and related extensions (Zdinx, etc.)". However, in other place of the spec, only misa.F is considered in the spec: "For convenience, when the stateen CSRs are implemented and misa.F = 0, then if bit 1 of a controlling stateen0 CSR is zero, all floating-point instructions cause an illegal instruction trap (or virtual instruction trap, if relevant), as though they all access fcsr, regardless of whether they really do."

In short, the FCSR CSR exists only as part of the F or Zfinx extensions (and the dependent D and Zdinx extensions).  If neither F nor Zfinx is implemented, then FCSR is not implemented either - and hence FCSR accesses result in an illegal/virtual instruction trap.
The two quoted pieces of spec text are consistent with each other in that the first indicates that bit 1 is not read-only zero if and only if Zfinx is implemented, and the second indicates that if F is implemented (and hence Zfinx can't be) then bit 1 must be read-only zero.

Regarding the earlier question in https://github.com/riscv/riscv-state-enable/issues/9#issuecomment-1197753535, I think all the cases are correct.  The most notable one is the VS mode case.  I think, in that case, even though hstateen0.STATEEN=0 disallows direct access to sstateen0 by VS mode, HS-mode could still have written sstatenen0.FCSR=1 before context switching into VS mode.  This would be very unusual, but if that's what the hypervisor did, then I believe sstatenen0.FCSR=1 applies (irrespective of hstateen0.STATEEN=0).
(Note: The preceding unusual behavior would go against the spec's statement:  For the sstateen CSRs whose access by a guest OS is permitted by bit 63 of the corresponding hstatus CSRs, a hypervisor must include the sstateen CSRs in the context it swaps for a guest OS.  When it starts a new guest OS, it must ensure those sstateen CSRs are initialized to zeros, and it must emulate accesses to any other sstateen CSRs.

There may be a little difference for float point instructions in VS/VU mode

If we check FCSR access(when Misa.F is zero) before check for whether Zfinx is supported, then vritual instruction trap may be raised
If we check FCSR access(when Misa.F is zero) after check for whether Zfinx is supported, then illegal trap may be raised

Regarding the earlier question in #9 (comment), I think all the cases are correct. The most notable one is the VS mode case. I think, in that case, even though hstateen0.STATEEN=0 disallows direct access to sstateen0 by VS mode, HS-mode could still have written sstatenen0.FCSR=1 before context switching into VS mode. This would be very unusual, but if that's what the hypervisor did, then I believe sstatenen0.FCSR=1 applies (irrespective of hstateen0.STATEEN=0).

Sorry. I'm a llitle confused about whether it means we "access" Xstateen CSRs when we access fcsr, and do stateen related check currently:

if any access for fcsr will also access Xstateen CSRs, then any access for fcsr under M mode will trigger illegal instruction trap since we cannot access mstateen CSR under M mode
if not, the above access will all be allowed since the FCSR bit in Xstateens are all set to one.

(Note: The preceding unusual behavior would go against the spec's statement: For the sstateen CSRs whose access by a guest OS is permitted by bit 63 of the corresponding hstatus CSRs, a hypervisor must include the sstateen CSRs in the context it swaps for a guest OS. When it starts a new guest OS, it must ensure those sstateen CSRs are initialized to zeros, and it must emulate accesses to any other sstateen CSRs.

Yeah. It's an unusual case. So does it mean this is unspecified?

My one comment mentioning "access" - in saying "hstateen0.STATEEN=0 disallows direct access to sstateen0 by VS mode" - is just stating an arch spec fact and is only talking about access to the sstateen0 CSR (not to any CSR's whose access is controlled by bits in sstateen0).
But the reason I mentioned it is that VS-mode will be unable to access sstateen0 and change sstateen0.FCSR to whatever value it desires.  It is stuck with what the hypervisor has configured for that bit.  Which normally should be FCSR=0 per the arch spec quote in my "Note".  But if the hypervisor set FCSR=1, then the conditions for your VS mode case are satisfied and VS mode would be allowed to access FCSR.
As a side note, nothing in the Smstateen extension can prevent access by M mode to the FCSR CSR if it is implemented.  This extension only controls access by lower privilege modes.  In particular, the bits in mstateen0 control access by all lower privilege modes.
To your last question, I would say that the behavior in your VS mode case is not unspecified.  Software is free to not follow what the arch spec says (as an ISA spec).  But as far as the implementation behavior specified by the arch spec, it simply says that trapping of accesses to FCSR is a function of sstatenen0.FCSR.  It does not specify additional conditions (such as the state of hstateen0.STATEEN).  In general, if the arch spec does not explicitly specify additional functionality, then there is no implied additional functionality.  (This also allows for the simplest possible hardware implementation where the behavior is solely a function of sstatenen0.FCSR - and of course also mstateen0.FCSR.)

Sorry. I made a mistake in above comment. What I really want to express for "under M mode" is less privilege mode. So if we access mstateen0 in less privilege mode, a illegal/virtual trap will be raised.
I agree that we can ignore the stateen0.STATEEN bit when do access control on FCSR csr. so this also means access FCSR doesn't implicitly include access for xstateen(at least not a normal csr access with full access control). Is this right?
For the other question, I think the access control from stateen should be done only when the csr exists.as you said in above comment,  FCSR exists only when F or Zfinx is supported. So I think the stateen related check should be done after check for both misa.F and zfinx.

If neither F nor Zfinx is implemented, then FCSR is not implemented either - and hence FCSR accesses result in an illegal/virtual instruction trap.

I have a little confusion about this. I thnk, if FCSR is not implemented, the exception raised by acesses for it will always be illegal instruction trap.

I agree that we can ignore the stateen0.STATEEN bit when do access control
on FCSR csr. so this also means access FCSR doesn't implicitly include
access for xstateen(at least not a normal csr access with full access
control). Is this right?

Yes (in that any access control in effect on accesses to stateen CSRs has
no effect on an instruction that accesses FCSR).

For the other question, I think the access control from stateen should be
done only when the csr exists.as you said in above comment, FCSR exists
only when F or Zfinx is supported. So I think the stateen related check
should be done after check for both misa.F and zfinx.

Yes (in that the stateen check should be performed ONLY if  misa.F=1 or
zfinx is implemented.

Message ID: @.***>

If neither F nor Zfinx is implemented, then FCSR is not implemented either

and hence FCSR accesses result in an illegal/virtual instruction trap.

I have a little confusion about this. I thnk, if FCSR is not implemented,
the exception raised by acesses for it will always be illegal instruction
trap.

I haven't double-checked, but I believe you are correct.  (Certainly the
trap type will always be the same in this case.)

Message ID: @.***>

OK. Thanks a lot.

Does stateen.FCSR bit apply to FRM and FFLAGS?


New blog post on faf-2.2.0

See commit.
Signed-off-by: Michal Fabik<EMAIL_ADDRESS>

Oh, I probably shouldn't have mentioned the FAF vs. ABRT Analytics thing, considering https://github.com/abrt/abrt.github.io/pull/24.

#deadlock

I will merge this PR if no one has anything against it at 14:00.

What time zone?

I have no complaints otherwise.

Looks good to me as well.

Oops, I missed the deadline.
LGTM
Merging in 3, 2, 1...


Updated sdk constraints and dart frog version

Shoot, I'm sorry I didn't see this sooner. I made these same changes and published a new version today.
Thank you for contributing; or attempting to, any way. I'll try to be more responsive in the future!

No problem 😁


Hi, the shared dataset is empty

Hi, I try to download the processed data. However, the dataset is empty because I can't access it.
Could you open up data download access?
Thanks.

Same problem,  I  have no authority to download liggpt_datasets. Could you please unlock this limitation?

Same problem, can not download the dataset

Same problem

Same problem

Same problem, could you please release a new download link ?


Complete MoJo page for Pathfinder

Wireframe page is in place but needs to be updated:
https://mojo.redhat.com/docs/DOC-1173791
Needs to include internal and external collateral.

Already created but needs to be added:

Customer facing presentation
Internal Proposition deck
Financial Analysis (prob only for EMEA?)
RTI Enablement

Needs creating:

'How to' guide for Architects
Speaker notes for every question
Reporting & Tracking

any others?

Added links for:

Customer facing presentation
Internal Proposition deck
Financial Analysis
Added a bit of FEATURES/BENEFITS content.
Added link to draft vision document.

Shouldn't RTI enablement ultimately be on a separate Mojo page, @kelaird ?  I don't mind adding a link temporarily if you can send me one; all I found was a combined RTI/Navigate briefing deck.
Lastly, could you kindly clarify your intent for the "speaker notes" and the "reporting & tracking" content, please?

Hi James,
Yes happy to link out to RTI - I need to check the right page but if we put a placeholder in just now it's cool.
The idea behind the speaker notes is to guide someone through doing the assessment with a customer, does that make sense?
The reporting and tracking - not sure how but would be good to show charts of how many assessments have been completed and even links to outputs.  I think this will need to be in another sprint though as the PaaS version needs to be in place for this and at the moment this version is running on laptops only.
I've put this card into In Progress too btw.
Kerrie

Thanks, Kerrie.
IIUC, then, we'd likely want to track the speaker notes under issue #41
I'd also suggest we put the reporting and tracking under a new issue (assuming it isn't reflected somewhere already), since that feels like a distinct body of work.
Finally, I think the Architect How-To doc should be tracked under issue #33
If we're in alignment on these points, all we need is the RTI info in order to close this issue out.  Please let me know your thoughts.

@texasbrok @kelaird can this be closed

@noelo yes, I consider it complete

yes
KERRIE LAIRD
Senior Practice Lead - Cloud Native Dev
EMEA Services Solutions
Red Hat
Red Hat UK Ltd, Peninsular House 30-36 Monument Street, 4th floor
London EC3R 8NB United Kingdom
<EMAIL_ADDRESS>  M: +44-7500-225222

On 7 Mar 2019, at 13:10, noelo<EMAIL_ADDRESS>wrote:
@texasbrok @kelaird can this be closed
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Authorization Error: Response for preflight has invalid HTTP status code 401

The GET Method works Fine but I get 401 (Unauthorized) error when using POST Method
import * as WooCommerceAPI from 'woocommerce-api';
woocommerce: any;
constructor()
{
this.woocommerce = new WooCommerceAPI({
      url: 'http://bashfootwear.co.in',
      consumerKey: 'ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
      consumerSecret: 'cs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
      wpAPI: true,
      version: 'wc/v2'
    });

 var data = {
      email<EMAIL_ADDRESS>      first_name: 'John',
      last_name: 'Doe',
      username: 'john.doe',
      billing: {
        first_name: 'John',
        last_name: 'Doe',
        company: '',
        address_1: '969 Market',
        address_2: '',
        city: 'San Francisco',
        state: 'CA',
        postcode: '94103',
        country: 'US',
        email<EMAIL_ADDRESS>        phone: '(555) 555-5555'
      },
      shipping: {
        first_name: 'John',
        last_name: 'Doe',
        company: '',
        address_1: '969 Market',
        address_2: '',
        city: 'San Francisco',
        state: 'CA',
        postcode: '94103',
        country: 'US'
      }
    };

    this.woocommerce.post('customers', data, function(err, data, res) {
      console.log(res);
    });
}

On searching the docs and issues, it seemed to be a problem in the header, but apparently its not.
OPTIONS /wp-json/wc/v2/customers?oauth_consumer_key=ck_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&oauth_nonce=xxxxxxxxxxxxxxxxxxxxxx&oauth_signature_method=HMAC-SHA256&oauth_timestamp=1513919904&oauth_version=1.0&oauth_signature=VcVmGSKeU3MS1PsS750vmAagoCok27SzRmUS%2FuLLiXA%3D HTTP/1.1
Host: bashfootwear.co.in
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
Access-Control-Request-Headers: content-type
Access-Control-Request-Method: POST
DNT: 1
Origin: http://localhost:8100
Referer: http://localhost:8100/?ionicplatform=ios&ionicstatusbarpadding=true&http://localhost:8100/ionic-lab
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36 OPR/49.0.2725.64
X-DevTools-Emulate-Network-Conditions-Client-Id: bf7af60c-62e7-4899-a5f0-65f2ec92e17a

HTTP/1.1 401 Unauthorized
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: Authorization, Content-Type
Access-Control-Allow-Methods: OPTIONS, GET, POST, PUT, PATCH, DELETE
Access-Control-Allow-Origin: http://localhost:8100
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages
Connection: keep-alive
Content-Encoding: gzip
Content-Length: 128
Content-Type: application/json; charset=UTF-8
Date: Fri, 22 Dec 2017 05:18:28 GMT
Link: <http://bashfootwear.co.in/wp-json></http:>; rel="https://api.w.org/"
Server: Apache
Vary: Origin, Accept-Encoding, User-Agent
X-Content-Type-Options: nosniff
X-Powered-By: PHP/7.1.7
X-Robots-Tag: noindex

I have also added Rewrite Rules in the .htacess
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Expected to get a JSON Object with the customer properties.
Whereas getting the following error:

WordPress Environment
`
WordPress Environment
Home URL: http://bashfootwear.co.in
Site URL: http://bashfootwear.co.in
WC Version: 3.2.6
Log Directory Writable: ✔
WP Version: 4.9.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ✔
Language: en_US
Server Environment
Server Info: Apache
PHP Version: 7.1.7
PHP Post Max Size: 8 MB
PHP Time Limit: 30
PHP Max Input Vars: 1000
cURL Version: 7.54.0
OpenSSL/1.0.2k
SUHOSIN Installed: –
MySQL Version: 5.6.36
Max Upload Size: 2 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔
Database
WC Database Version: 3.2.6
WC Database Prefix: wp_
MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from http://dev.maxmind.com/geoip/legacy/geolite/ to the path: . Scroll down to "Downloads" and download the "Binary / gzip" file next to "GeoLite Country". Please remember to uncompress GeoIP.dat.gz and upload the GeoIP.dat file only.
Total Database Size: 1.44MB
Database Data Size: 1.09MB
Database Index Size: 0.35MB
wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB
wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB
wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_order_itemmeta: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB
wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB
wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB
wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB
wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB
wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB
wp_commentmeta: Data: 0.02MB + Index: 0.01MB
wp_comments: Data: 0.00MB + Index: 0.01MB
wp_links: Data: 0.00MB + Index: 0.00MB
wp_nf3_actions: Data: 0.02MB + Index: 0.00MB
wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB
wp_nf3_fields: Data: 0.02MB + Index: 0.00MB
wp_nf3_field_meta: Data: 0.02MB + Index: 0.00MB
wp_nf3_forms: Data: 0.02MB + Index: 0.00MB
wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB
wp_nf3_objects: Data: 0.02MB + Index: 0.00MB
wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB
wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB
wp_options: Data: 0.62MB + Index: 0.04MB
wp_postmeta: Data: 0.09MB + Index: 0.06MB
wp_posts: Data: 0.03MB + Index: 0.02MB
wp_termmeta: Data: 0.00MB + Index: 0.01MB
wp_terms: Data: 0.00MB + Index: 0.01MB
wp_term_relationships: Data: 0.00MB + Index: 0.01MB
wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB
wp_usermeta: Data: 0.01MB + Index: 0.01MB
wp_users: Data: 0.00MB + Index: 0.01MB
Post Type Counts
attachment: 6
custom_css: 1
customize_changeset: 4
page: 10
post: 3
product: 36
product_variation: 11
revision: 14
Security
Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about HTTPS and SSL Certificates.
Hide errors from visitors: ✔
Active Plugins (4)
ManageWP - Worker: by ManageWP – 4.2.27
JWT Authentication for WP-API: by Enrique Chavez – 1.2.4
Title Remover: by WPGurus – 1.1
WooCommerce: by Automattic – 3.2.6
Settings
API Enabled: ✔
Force SSL: –
Currency: INR (₹)
Currency Position: left_space
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)
Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
exclude-from-search (exclude-from-search)
featured (featured)
outofstock (outofstock)
rated-1 (rated-1)
rated-2 (rated-2)
rated-3 (rated-3)
rated-4 (rated-4)
rated-5 (rated-5)
WC Pages
Shop base: ❌ Page visibility should be public
Cart: ❌ Page visibility should be public
Checkout: ❌ Page visibility should be public
My account: ❌ Page visibility should be public
Terms and conditions: ❌ Page not set
Theme
Name: Twenty Seventeen
Version: 1.4
Author URL: https://wordpress.org/
Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme
WooCommerce Support: ✔
Templates
Overrides: –
`

I have the same problem but no solution !

This library is now deprecated, you should try https://github.com/woocommerce/woocommerce-rest-api-js-lib


Disconnect closed pipes

About the PR
This makes a node unreachable, if connections are not enabled. This fixes the manual valve. Previous behavior seems to be always on. This is trading a bigger bug for a smaller bug though. While it now physically works, it visually acts a little odd. I don't know enough to correct it, and it doesn't look like it would be easy.
Fixes #5714
Changelog
:cl:

fix: gas valves can stop gas now

this seems like the incorrect solution but im not sure whats better


clean_ami_name -> clean_resource_name

Hi! I have no idea what I'm doing, but I had issues running this, and this change made my problems go away.

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement
Learn more about why HashiCorp requires a CLA and what the CLA includes
Have you signed the CLA already but the status is still pending? Recheck it.

Closing PR, don't have time to read the CLA. Opened an issue for this instead.

Closing PR, don't have time to read the CLA. Opened an issue for this instead.


Feature/hhd historic data

🚨 WIP: Not ready for merge yet

Closing as the PR seems to have gone stale. Feel free to reopen should this feature need implementation down the line.


euslisp 9.15 (new formula)

How can I avoid this error?
 * Non-libraries were installed to "/usr/local/Cellar/euslisp/9.15/lib"
Installing non-libraries to "lib" is discouraged.
The offending files are:
  /usr/local/Cellar/euslisp/9.15/lib/eus.init.l
  /usr/local/Cellar/euslisp/9.15/lib/eusglrt.l
  /usr/local/Cellar/euslisp/9.15/lib/EUSRC
  /usr/local/Cellar/euslisp/9.15/lib/eusrt.l

Are those manpages? One way would be to man1.install each of them after the make step; but better would be to ask the developer to tweak their Makefile.

They are lisp files, and also there are other directories which contains lisp files. (https://github.com/euslisp/EusLisp/tree/master/lib)
so I think changing it is difficult from historical reason.

Oh, those are ls, not 1s.
I'm not sure what the best approach is here.  Could you ask upstream how difficult it would be to install them elsewhere?

Oh, those are ls, not 1s.

Actually.. :smiley:

Could you ask upstream how difficult it would be to install them elsewhere?

Sure.

I got comment here from one of the maintainers of euslisp.
So now I'm going to change the directory construction to avoid this error.

Thanks! Just the smallest of requests:
== /usr/local/Library/Taps/homebrew/homebrew-x11/euslisp.rb ==
C: 15: 28: Unnecessary spacing detected.

1 file inspected, 1 offense detected

I fixed it.

I updated.

Thank you! Merged in 4143ee1cabdb6f4e818cc024cd3f6fb88b1f75c0.


DU return non-ascii character path to '?'

Hi, du get path display like "C:\Program Files??", which should be "C:\Program Files\测试".
I try to change code page of CMD to GBK936/60051, get same issue.
and du could retrieve from an error encode character "ÔË¿Â¼Èë" (from GBK  to iso-8859-1/CP28591, or to Windows-1252/CP1252) to the correct character "原丝录入" by fluke, .

Hello.
Looks similar to #420.
Please try to patch latest v1.62 x86 binary du.exe.
My test shows its working, Cyrillic and Chinese are displayed correctly (NSimSun font used). Output redirection also works.

Comparing files du.exe and du_setmode_patch.exe
00001350: 55 E9
00001351: 8B 45
00001352: EC F9
00001353: 53 03
00001354: 8B 00
00040C9A: 00 68
00040C9D: 00 04
00040C9F: 00 6A
00040CA0: 00 01
00040CA1: 00 E8
00040CA2: 00 C0
00040CA3: 00 0A
00040CA4: 00 FE
00040CA5: 00 FF
00040CA6: 00 58
00040CA7: 00 58
00040CA8: 00 55
00040CA9: 00 8B
00040CAA: 00 EC
00040CAB: 00 53
00040CAC: 00 8B
00040CAD: 00 5D
00040CAE: 00 0C
00040CAF: 00 E9
00040CB0: 00 A3
00040CB1: 00 06
00040CB2: 00 FC
00040CB3: 00 FF

@NewcomerAl
Hi, may I wonder where to get "du_setmode_patch.exe", or how to generate it?
Seems it not belong to official repository?

@robertlzj
Hello.
You can make it yourself. Just take any hex/binary editor (HxD, Neo, WinHex, ... etc) and change the bytes according my table.
First column is the offset in .exe, second is an original value of the byte at that offset and third is a new (patched) value.

Sysinternals Du tool suffers from the same issue as Handle.exe.
@NewcomerAl, thank you for creating the patch.
You don't need to apply the patch manually. I have created a repository where you can download the already-patched binary: Sysinternals-console-utils-with-Unicode-support


what about h265?

H265 needs an entirely new/different library and as such would be a completely new/different project.


Added the documentation of This pointer

This Pointer
I have added the documentation of This Pointer in C++
Fixes #7111

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[X] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[X] C/CPP

Checklist ✅

[X] I follow Contributing Guidelines & Code of conduct of this project.
[X] I have performed a self-review of my own code or work.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I'm GWOC'21 contributor

@apeksha235 I have done the changes, please review it now.😊

@Aarushijain-06 please add the file in the folder I mentioned, don't make a new folder for it.

Done with all the changes

@apeksha235  ma'am, I have made the change, please review it.


[BCI-1792] Moved over TxAttemptBuilder and Tx interfaces

Context:

To implement chain specific TxAttemptBuilder and TxTypes , this PR moves over the necessary generalised Tx types.

Notes:

Need help to check if the folder import location is okay. ❓

Tickets:

https://smartcontract-it.atlassian.net/browse/BCI-1793
https://smartcontract-it.atlassian.net/browse/BCI-1792

Comments from slack: https://chainlink-core.slack.com/archives/C04Q61M2MFT/p1692585066729749
We should keep the chainlink-relay service interfaces minimal and hide implementation details from core and products.
Previously this wasn't an issue as we used mostly std lib and generics. But now we are pulling in SQL specific libraries that don't belong in the relayer interface.
To start, we can create a chainlink-relay/pkg/common directory matching chainlink/common and move utils there without modification. This minimally disrupts the current structure.
Longer term, we need to abstract the SQL dependencies out of the chainlink-relay package to avoid leaking details. For example, cleaning up the pg.Opts usage in tx store after separating the persistence layer.
For now, it may be best to keep this PR in a branch until we can properly abstract the SQL dependencies. The goal is to keep the relay interface clean and hidden from core and products.


CVSL-245: Content changes for private beta + pdf watermark in dev

Example of the generated PDF with watermark
WATERMARK.pdf

Codecov Report

Merging #122 (c326d2f) into main (84214ea) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #122      +/-   ##
==========================================
- Coverage   68.63%   68.62%   -0.02%
==========================================
  Files         129      129
  Lines        2248     2247       -1
  Branches      347      347
==========================================
- Hits         1543     1542       -1
  Misses        705      705

Impacted Files
Coverage Δ

server/config.ts
83.33% <ø> (ø)

server/config/conditions.ts
100.00% <ø> (ø)

...ionalConditionInputs/electronicMonitoringPeriod.ts
85.71% <100.00%> (-1.79%)
:arrow_down:

...er/routes/viewingLicences/handlers/printLicence.ts
100.00% <100.00%> (ø)


correct badgeView to EnumBadgeView

original here https://github.com/foam-framework/foam2/pull/5040/files

Looks good


docs: Update the user guide regarding the full-text search section

resolves DEV-1837

@gautschr I did what I could but I think you could give me some more hints or examples to add or correct me.


[CodeCompletion] Don’t compute isolated parameter captures during code completion

Computing capture information requires a type checked AST, which we don’t have during code completion. To fix an assertion failure, don’t look for a captured isolated parameter while computing a closure’s actor isolation during code completion.
rdar://126923558

@swift-ci Please smoke test

@swift-ci Please smoke test


Warn when swiping on a section before deleting

I'd no idea swiping would delete a section (e.g., schools) & lost input that way. (I was actually trying to scroll something that was off-screen.)

Maybe, optionally, make the swipe gesture hide instead of delete.


support faker 0.8.0

faker just released 0.8.0 which changes seed behavior.

Hi any updates on this one?
It seems RobotFaker.Seed is not recognised now.
Here's what I see with Faker v2.0.2, Robot v3.1.2, and RobotFaker v4.2.0 respectively
No keyword with name 'FakerLibrary.Seed' found. Did you mean:
    FakerLibrary.Bs
    FakerLibrary.State
    FakerLibrary.Pyset
    FakerLibrary.Parse

The code I try to run is
*** Settings ***
Library  FakerLibrary  locale=de_DE

*** Keywords ***
Test Faker Seed
    ${t} =  Get Time  format=epoch
    FakerLibrary.Seed  ${t}
    ${email} =  FakerLibrary.Email

*** Test Cases ***
    Test Faker Seed

Or am I perhaps doing something wrong?

ah, i have not had time to work on this :( i haven't actually used robot framework in several years so this project has not been a priority for me unfortunately. if someone opens a PR to fix this i will be happy to merge it :)


VR mode record

I was thinking of adding a good vr mode record..
Screen splits in half creating two screens with same frames..
is it possible to cut video frams in half so we can one screen?

Yes, This should be easy with a filter.
Do you mean cardboard mode filter?

I mean i wanna keep only one half of the screen and place it in frame.

screen is like this
https://youtu.be/0ZudnGfMgN0
i wanna keep in record only half the screen. so as to avoid the second screen..
what do you think?

The problem is that you need 360 content to get this effect you can't sobit with a normal camera frame.
The effect is easy the problem is sensor implementation to move camera. (Sensor implementation is really hard to develop)

No pedro i think you misunderstand me... i just want to record the mobile screen.. but when you use real vr screen splits in two screens for 3d purposes. i just wanna record one screen not both.

Record only a selected device screen area?
Yes this is possible. This is interesting i will try develop it.

Do you want to point me on something so i can do it and copy here the code.
it would need to crop the frame right?

You can try modify this method:
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/utils/gl/PreviewSizeCalculator.java#L11
If you change values in GLES20.glViewport line you should get a frame cropped.
If this isnt working, you need play with matrix to change it.
https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/blob/master/encoder/src/main/java/com/pedro/encoder/input/gl/render/ScreenRender.java#L23

Ok, you can do it only if you modify glviewport.
You can extend viewport to crop frame. For example (10x10 screen size)
glviewport(0, 0, 10, 10); //this means record all screen like Im doing now
glviewport(0, 0, 10 * 2, 10 * 2); //this means record fourth part of screen because the other part is off screen so it is discarded.

found an easy way by changing values on classes you point. but will try this too.
Will report very fast

@pedroSG94  tried your way but it gives me bad result.. also i test on landscape.
tried by changing only width but it is streched.
so what i did and worked is:

set glsurface in half size from displaybase.
and in ScreenRender Class i use this PreviewSizeCalculator.calculateViewPort(true, width*2, height, streamWidth, streamHeight);
keep aspect ratio and Previewwidth * 2

and this crops half screen and also set it in the center with correct values but it doesnt fill the screen.. not that this is bad.


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2941

Questions ?
Please refer to the Backport tool documentation


Need a proxy registry for docker registry?

We are running into throttling issues with docker pulls - what do we think about having a proxy registry which pulls images and creates mirrors to pull from.

We discussed: https://filecoinproject.slack.com/archives/C02RLM3JHUY/p1679993774529309
And concluded that the following fixes would solve the issues and be better that running a registry mirror:

#2254
#2255


WIP Inotify-based  ActiveSync

@gpang @madanadit WIP commit, early feedback welcome

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/813/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/885/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/917/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/921/
Test FAILed.

@gpang no longer needed, closing it.


Add admin fee

What
Add 10% fee to calculator so that people aren't surprised at the price.  Refactor some of the CSS so that it is easier to add styles.  Also capitalise "vat".
How to review
Run the application, try adding and removing things from the calculator and check the additional fee is correct.
Who can review
Anyone who isn't me.

There appears to be a fight going on with package-lock.json between different versions of npm... I'm not really sure how to resolve that... nvm doesn't take care of npm version just the node version by the looks of things

Yes, I was putting in just package lock as it is a change that happens between npm versions.  It isn't really changing any of the main dependencies, and isn't intended to really be looked at later on.  I don't know if we should at least pin the npm version in the package.json as currently it just says 5 and above, and I am using a newer version.


Crashes in Reaper

Hi!
I'd like to report that I encounter a lot of crashes in Reaper, just while doing simple things. For example, a crash has just occurred when I tried to set the plugin offline. Others happen when I close the project in which Sfizz is loaded. It happens quite frequently, and it doesn´t have to be a busy project; just one track with Sfizz can trigger the issue.
If you need a specific log or something, you can give me the instructions to get it and I will provide it for sure. The OS is Manjaro.
Greets!

I forgot to mention that the crashes occur mostly with the VST3i version...

Is the editor window open when the crash happens?

Note: the fix #984 is just merged, which can fix a crash when the plugin is toggled active or inactive
That might help.
I know there's also a timer-related issue (#980).

Hi. Is the editor window open when the crash happens?

No, it has happened even with the UI disabled...
Excuse my ignorance, please, but : is it possible to try out the merge, or do I have to wait until a new pre-release it's out?

When the head commit on github is marked with a green check mark, a development build is deployed.
You can get this at the download page (designated as "Current" / yellow)
https://sfz.tools/sfizz/downloads

There are additional timer fixes as part of #986

Well, a couple of hours after your first message I tried out the yellow latest release from the page, but the crash still occurred with VST3. If you need additional data, just tell me...

The obs build was stuck because of a file renamed, sorry, this is fixed.
There is a fresh package stamped 20-Sep-2021 16:35.
https://download.opensuse.org/repositories/home:/sfztools:/sfizz:/develop/Arch/x86_64/

Nice! Thanks so much! It works great now, as it seems. I'll be using it extensively in real life scenarios during these weeks, so I'll report if I see anything strange.


a11y: list items for selecting folders, drives and recents have no automation name.

Hello.
i am using the latest version of files app built from the latest codebase.
list items mentioned in title are not readable by the screenreader.
It would be great if you add corresponding names on them.

@chingucoding Do you want to take a look at this one?

I can take a look at this, not sure when I will get to this though.

@beqabeqa473 This issue should be resolved with #5197.

Hey @beqabeqa473 I'm not sure what you are referring to with this issue, can you please provide a more detailed explanation or maybe show in a screenshot which elements don't have an appropriate UIA name? :)


[React19-blog]: Make use(context) example easier to understand

Current example was defining a local variable with the same name as the prop which was had to understand (also technically it's a runtime error)

How about something simpler that doesn't promote unnecessary mutability?
  const currentTheme = (theme === 'dark') ? DarkThemeContext : LightThemeContext;
  use(currentTheme);

  return (
    <Page theme={currentTheme}>
      {children}
    </Page>
  );

Or even inline it in the returned expression.


Scrolling requires two time swipe

First. Thanks for awesome library that makes life easier.
Describe the bug
If the bottom sheet is at top, user need to scroll twice to start working scrolling of main content.
Expected behavior
Content should scroll with one swipe only.
Video
https://github.com/lucaszischka/BottomSheet/assets/11243717/58b62857-f4b2-4278-9798-db137413cd50

Hi, do you have sample code for this problem ?

@freeworld1995 Sorry,  issue was from our side. Thanks!


Cannot install newer versions from CocoaPods

I cannot install 5.4.1 (I've tried older ones like 5.3.0) on Xcode 7 or 8, Swift or Objective C projects. As you can see I've tested on several different projects just in case. I can install 5.2.0, but that one is not open source and I need the open source version because I'm creating a Framework that uses CardIO. Since I'm using Dynamic linking, the static framework is giving me some headaches.
Below is the error I get. The installation stalls when it reaches CardIO (in some tests I've done it's the only library being installed) and then I get an error after like a minute o two:
[!] Error installing CardIO
[!] /usr/bin/git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160919-34294-1hmsrjl --single-branch --depth 1 --branch 5.4.1

Cloning into '/var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160919-34294-1hmsrjl'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

@squalx Can you clone this repository with git by itself?
FYI, the source which the binaries are based on are at https://github.com/card-io/card.io-iOS-source with the appropriate tags for releases. Be sure to follow the dev setup instructions. You may also want to try just building the project via Carthage as documented in the source repo's README and using the generated framework there depending on your needs.

Good call. No, can't download the zipped code, or clone the code. It stalls at 9% or so.

I have exactly the same problem. I issue the command "pod install" and get the above error after a few minutes. I have tried editing the Podfile.lock with many different versions of CardIO, all with the same results

@webfaqtory Can you clone the repository itself? If there are connection problems, I think the best solution is to contact GitHub Support to see if they can help.

Yes I clone the repository but other developers will not know how to do this, the will be using "pod install". It is not a connection problem. I have tried on 3 machines, many times, all with the same result. If I do "git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/j0/ktzl12bx0vbbt4s441nlr2cw0000gn/T/d20160921-2075-klj4wg --template= --single-branch --depth 1 --branch 5.4.1" it always stops on 47%, every time

Doesn't sound like a connection problem. I'm pretty sure the repo is corrupted.

I cloned the repository using almost the same parameters (except the directory to put it into):
$ git clone https://github.com/card-io/card.io-iOS-SDK.git a --template= --single-branch --depth 1 --branch 5.4.1
Cloning into 'a'...
remote: Counting objects: 59, done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 59 (delta 9), reused 29 (delta 1), pack-reused 0
Unpacking objects: 100% (59/59), done.
Checking connectivity... done.
Note: checking out '12b83d6d6a37250a2fb7b373d7b65a6a5389255d'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

Checking out files: 100% (43/43), done

Using:
git --version
git version 2.9.3

Dunno if a later version of git would help. Can either of you also try a different network if possible to try to clone with? I don't know if the different machines were on a different network.
I went ahead and submitted a question to GitHub support to see if they could help as well.

Just tried again on another machine
Johns-Mac:Apps johnburch$ git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/j0/ktzl12bx0vbbt4s441nlr2cw0000gn/T/d20160921-2075-klj4wg --template= --single-branch --depth 1 --branch 5.4.1
Cloning into '/var/folders/j0/ktzl12bx0vbbt4s441nlr2cw0000gn/T/d20160921-2075-klj4wg'...
remote: Counting objects: 59, done.
remote: Compressing objects: 100% (54/54), done.
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
Johns-Mac:Apps johnburch$ git --version
git version 2.8.4 (Apple Git-73)
It stuck on 49% for about 10 mins.

Just tried 5.2.0 and that worked fine on all 3 machines, took less than a minute. 5.4.1 is stuck again on 49%

My version of Git is 2.8.4 too, so that might be the culprit. When unpacking objects it took forever, but with that latest clone command you sent it worked, @bluk.
I'll update Git and will let you know.
Thanks

Git 2.10 and still the same issue with cocoa pods. But like I mentioned, I was able to download the repo with the clone command sent previously:
[!] Error installing CardIO
[!] /usr/local/bin/git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160922-3443-1s6kuwv --single-branch --depth 1 --branch 5.4.1

Cloning into '/var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160922-3443-1s6kuwv'...
error: RPC failed; curl 56 SSLRead() return error -9806
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

Using an earlier version seems to work
pod 'CardIO', '~> 5.3.2'

I contacted GitHub Support and they weren't able to reproduce the issue either (they git cloned it themselves) and they did a fsck and it seemed ok on their side. Also, I tried VPNing into a few different locations around the world and was able to install using CocoaPods successfully (slower in some locations than others but everything eventually completed without an error).
Googling a few other related errors to curl 56 SSLRead() return error -36 it seems that on some git installations, this will fail when the repository becomes too big. Didn't seem there were any applicable solutions though. Ultimately, the best way forward will probably be having a working CocoaPod Podspec for the source repository. It is on a personal backlog but if someone wants to create a PR, that would be greatly appreciated.

I'm having exactly the same issue. I've have been trying for days to install this version of the pod without success, and I've had this problem with version 5.4.1 in the past. There is definitely something wrong with the repo. This is most unfortunate, because our project is dependent on this library.
-> Installing CardIO (5.4.1)

Git download
Git download
$ /usr/bin/git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/pl/ncn36wvx3t7c3257gwhxpx3r0000gn/T/d20161108-834-1qfsflo --template=
--single-branch --depth 1 --branch 5.4.1
Cloning into '/var/folders/pl/ncn36wvx3t7c3257gwhxpx3r0000gn/T/d20161108-834-1qfsflo'...
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

In case this helps anyone, this is what I tried today to get the latest version and it worked:
pod 'CardIO', :git => "https://github.com/card-io/card.io-iOS-SDK.git", :commit => "12b83d6d6a37250a2fb7b373d7b65a6a5389255d"


Error when writing polygons to GPX format

Version: OpenLayers 3.1.1
When serializing polygons using ol.format.GPX.writeFeatures(), I get the following error :
TypeError: serializersNS[node.namespaceURI][node.localName] is undefined ol.js:83601
Which refers to the code below :
ol.xml.serialize = function(
    serializersNS, nodeFactory, values, objectStack, opt_keys, opt_this) {
  var length = (goog.isDef(opt_keys) ? opt_keys : values).length;
  var value, node;
  for (var i = 0; i < length; ++i) {
    value = values[i];
    if (goog.isDef(value)) {
      node = nodeFactory.call(opt_this, value, objectStack,
          goog.isDef(opt_keys) ? opt_keys[i] : undefined);
      if (goog.isDef(node)) {
        serializersNS[node.namespaceURI][node.localName]
            .call(opt_this, node, value, objectStack);
      }
    }
  }
};

And below the values from the line execution :
serializersNS = Object { "null": Object, "http://www.topografix.com/GPX/1/0": Object, "http://www.topografix.com/GPX/1/1": Object }
node.namespaceURI = "http://www.topografix.com/GPX/1/1"
node.localName = undefined

So the node.localName initialization is missing somewhere... should be easy to fix, no ?

GPX does not support polygons
http://www.globalmapperforum.com/forums/suggestion-box/1761-support-polygon-gpx-export.html

Thanks for your quick reply, I am sorry, I didn't know...
So what do you propose ?

should it stay like this, throwing a meaningless error leaving the newbie thinking its a bug
or maybe we can ignore polygons to avoid errors
or display a more explicit error message (eg: polygons not supported)
or anything else...

Those are good questions. At the very least we should handle this more gracefully I agree.

Maybe the safer option would be to just display a custom error, because ignoring polygons could become a bug if GPX adds polygon support later.

yeah we normally use assertions that will show up in debug mode, would that work for you?

Yes of course, it's better than the current behaviour.

Fixed witth https://github.com/openlayers/ol3/pull/4361.