chore: update ghpages to reports.risczero.com

@nuke-web3 @pdg744 - I updated the branch with recent changes from main and killed the Benchmarks checks for this PR since they are not needed given the changes. If the rest of the tests pass feel free to land this.


GFF with extra fields not detected

Hi Aaron & Neil -
Often GFF files have extra fields from operations like bedtools intersect -c or bedtools coverage counts.  But when there's an extra field, the file doesn't seem to be detected properly:
$ bedtools --version
bedtools v2.22.1-17-gd6547b3

$ cat a.gff
chr9	.	gene	1	100	.	+	.	ID=gene1
chr1	.	gene	200	500	.	+	.	ID=gene2
chr1	.	gene	1	100	.	+	.	ID=gene3

$ bedtools sort -i a.gff | wc -l
3

$ cat b.gff  # has a 10th field
chr9	.	gene	1	100	.	+	.	ID=gene1	0
chr1	.	gene	200	500	.	+	.	ID=gene2	1
chr1	.	gene	1	100	.	+	.	ID=gene3	0

# no output on the file with 10 fields
$ bedtools sort -i b.gff | wc -l
0

# it's not just sort
$ bedtools intersect -a a.gff -b b.gff
Error: unable to open file or unable to determine types for file b.gff

I'm pretty sure GFF can be uniquely detected among supported formats by the integers in the 4th and 5th fields. I would guess that removing any field count constraints should do the trick. But I can't quite figure out where to fix this -- FileRecordTypeChecker::isGFFformat() doesn't seem to be called, and bedFile.h sees b.gff correctly as a GFF file.
Any ideas?
Thanks.

Hi Ryan,
Inside FileRecordTypeChecker::isGffFormat, the first if clause in the method restricts it to a specific number of fields ( which in retrospect shouldnt have been hardcoded like that, sorry.) If you're sure the number of fields shouldn't matter we can alter that clause or remove it altogether.

Hi Neil -
I had actually tried removing that clause, and was surprised when it didn't make a difference.  It looks like isGffFormat doesn't even get called using either the a.gff or b.gff examples above.
(Specifically, I replaced that clause with cerr << "calling isGffFormat" << endl;and nothing got printed)
Additional troubleshooting: this GFF detection clause in bedFile.h does run, and seems to correctly identify b.gff as GFF.
But in general, using the logic in bedFile.h (>=8 fields; 4th and 5th fields are integers) should work to identify GFF format.

Hey @daler, once Neil is back from vacation we will knock this out.

Hi Ryan,
Sorry about the delay, just got back and didn't have a way to debug this while away. But now that I look at it, I'm unable to get the same result you're seeing. When I run it, It does indeed enter the isGFFformat method and get rejected for the number of fields. My only hunch at this point is that maybe your b.gff file might have some extra whitespace or invisible characters? I realize that's a stretch, but could you e-mail it to me? My address is<EMAIL_ADDRESS>Thanks.

Is this still an issue?

Yep, but it boils down to whether or not you want to support "GFFplus" formats. I'll forward you the email conversation I had with Neil on this.


Revert "Remove PBR"

Reverts keylime/keylime#335

Possible path: https://github.com/keylime/keylime/pull/338


Support grid synchronization in RawKernel and RawModule

Support cooperative_groups in RawKernel.

PTAL.

Thanks
Jenkins, test this please

Jenkins CI test (for commit cf8b710491f1ca0a261b43f2b14a5a83829a4e24, target branch master) succeeded!

Would this be applicable to RawModule as well?

@leofang I have not confirmed yet, but maybe yes.

Supported also in RawModule. PTAL.

LGTM! Thanks for checking, @asi1024!

@leofang
Thank you for the comment!

Thanks.
Jenkins, test this please

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

Please take a look at the error.

@niboshi I confirmed the test failure with large n locally and fixed it. PTAL.

Jenkins, test this please

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

Jenkins, test this please.

Jenkins, test this please.

Jenkins CI test (for commit 53e732f497746b0b85bfc3371829a1cef6fe6f71, target branch master) succeeded!

@niboshi Fixed test failures.

Thanks.
Jenkins, test this please

Jenkins CI test (for commit eb36de84692a24cd198144d74ed6f038224317f8, target branch master) succeeded!

👍


allow to set some hostinfo for the health report via http(s)

The errors in travis look like timing issues, are the tests very timing-sensitive?

yes, those timing issues I need to address and then I have "hash" ordering issue: b6c0b579dc6889b4631fa113f0e1edeccd8e426


Not compatible with ownCloud 10

The maximum OC Version is set to 9, so the app is not working in OC 10
Which line do I have to change to make it work?

Hi, I bumped the max Version for ownCloud to 11 and tested it in ownCloud 10.0.2 and I can confirm the app is working as expected. Thank you very much!


CLI example incorrect

Type of issue
Typo
Feedback
The example in this document is incorrect.
az aks create -g MyResourceGroup -n MyMC --kubernetes-version 1.20.9 --node-vm-size VMSize --assign-identity "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myID" --enable-managed-identity --crg-id "subscriptions/SubID/resourceGroups/RGName/providers/Microsoft.ContainerService/CapacityReservationGroups/MyCRGID"
Page URL
https://learn.microsoft.com/en-us/cli/azure/aks?view=azure-cli-latest
Content source URL
https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/aks.yml
Author
@dbradish-microsoft
Document Id
75b0c352-762e-16ae-5cc6-d807ffc1dc3f

@linkhuo-fha, Thank you for bringing this to our attention. I'm moving your feedback to Azure/azure-cli where the engineering team can respond and make the needed update. (This code block example comes from source code.)  Please see new GitHub issue 29842 and make additional comments there.


feat(linter) eslint-plugin-import: no-amd

Hi, this PR implements https://github.com/import-js/eslint-plugin-import/blob/main/src/rules/no-amd.js, And this is my first time of contribute to OXC repo. PLZ comment anything that I am doing not correct. THX.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Users can list multiple spaces.

As a User
So I can advertise more than one space
I want to be able to list multiple spaces

User is able to list multiple spaces.


Multi Validator Monitor (AKA Mother)

Turn a node into a mother and have all your other validator nodes (kids) connect to it, to allow you to monitor them in one location. This is beneficial for people who have multiple validators and want to have a quick connect option to view their status.

Mother V1  has been added. You can now setup a remote node to act as a mother (the host) and have all your kids (Your val clients) send her messages to give them status updates. https://github.com/ReserveBlockIO/ReserveBlock-Core/commit/dd56361f1a6abc0f4d63bcc231c4a0b1bffd13ba


fzf plugin not aware of debian package

I run Debian testing/sid on my machine and every new shell spits out:
[oh-my-zsh] fzf plugin: Cannot find fzf installation directory.
 Please add `export FZF_BASE=/path/to/fzf/install/dir` to your .zshrc

Whilst I have fzf package installed:
dpkg -l | grep fzf

ii  fzf                               0.18.0-2                     amd64        general-purpose command-line fuzzy finder

Upon further investigation its pretty obvious that debain package installs fzf in a weird way that results in project files being all over the place:
Files for package
dpkg-query -L fzf

/usr
/usr/bin
/usr/bin/fzf
/usr/bin/fzf-tmux
/usr/share
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/fzf
/usr/share/doc
/usr/share/doc/fzf
/usr/share/doc/fzf/README.Debian
/usr/share/doc/fzf/changelog.Debian.gz
/usr/share/doc/fzf/changelog.gz
/usr/share/doc/fzf/copyright
/usr/share/doc/fzf/examples
/usr/share/doc/fzf/examples/fish_user_key_bindings.fish
/usr/share/doc/fzf/examples/fzf.vim
/usr/share/doc/fzf/examples/key-bindings.bash
/usr/share/doc/fzf/examples/key-bindings.fish
/usr/share/doc/fzf/examples/key-bindings.zsh
/usr/share/doc/fzf/examples/plugin
/usr/share/fish
/usr/share/fish/vendor_functions.d
/usr/share/fish/vendor_functions.d/fzf_key_bindings.fish
/usr/share/gocode
/usr/share/gocode/src
/usr/share/gocode/src/github.com
/usr/share/gocode/src/github.com/junegunn
/usr/share/gocode/src/github.com/junegunn/fzf
/usr/share/gocode/src/github.com/junegunn/fzf/go.mod
/usr/share/gocode/src/github.com/junegunn/fzf/go.sum
/usr/share/gocode/src/github.com/junegunn/fzf/main.go
/usr/share/gocode/src/github.com/junegunn/fzf/src
/usr/share/gocode/src/github.com/junegunn/fzf/src/algo
/usr/share/gocode/src/github.com/junegunn/fzf/src/algo/algo.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/algo/algo_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/algo/normalize.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/ansi.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/ansi_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/cache.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/cache_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/chunklist.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/chunklist_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/constants.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/core.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/history.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/history_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/item.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/item_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/matcher.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/merger.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/merger_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/options.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/options_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/pattern.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/pattern_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/reader.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/reader_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/result.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/result_others.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/result_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/result_x86.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/terminal.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/terminal_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/terminal_unix.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/terminal_windows.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tokenizer.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tokenizer_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/dummy.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/light.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/tcell.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/ttyname_unix.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/ttyname_windows.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/tui.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/tui/tui_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/atomicbool.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/atomicbool_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/chars.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/chars_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/eventbox.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/eventbox_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/slab.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/util.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/util_test.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/util_unix.go
/usr/share/gocode/src/github.com/junegunn/fzf/src/util/util_windows.go
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/fzf-tmux.1.gz
/usr/share/man/man1/fzf.1.gz
/usr/share/zsh
/usr/share/zsh/vendor-completions
/usr/share/zsh/vendor-completions/_fzf
/usr/share/doc/fzf/examples/plugin/fzf.vim

According to these 2 pages the very same package is available for ubuntu:
https://packages.debian.org/sid/utils/fzf
https://qa.debian.org/developer.php?login=cdluminate%40gmail.com
I do not have means to confirm this theory, nevertheless there is very little chance that ubuntu and debian packages differ in any way.
ATM plugin works fine if fzf installed through pacman (archlinux only pretty much), brew or manual installation via git (https://github.com/junegunn/fzf#using-git)
It's pretty reasonable to expect plugin picking up system package if it's available.
@maxbrunet FYI
I've already started working on fixing it, will submit PR soon

Hi @gorsil, thank you for the ping. I can reproduce with:
IMAGE='debian:buster-slim'
docker run --rm -i "${IMAGE}" <<EOF
set -e
apt-get update
apt-get install --yes --no-install-recommends ca-certificates git zsh fzf
git clone https://github.com/robbyrussell/oh-my-zsh.git "\${HOME}/.oh-my-zsh"
sed 's/^plugins=.*$/plugins=(fzf)/' "\${HOME}/.oh-my-zsh/templates/zshrc.zsh-template" > "\${HOME}/.zshrc"
zsh -i -c exit
EOF

<omitted output>

Cloning into '/root/.oh-my-zsh'...
[oh-my-zsh] fzf plugin: Cannot find fzf installation directory.
 Please add `export FZF_BASE=/path/to/fzf/install/dir` to your .zshrc

Same for Ubuntu with IMAGE='ubuntu:disco'.
Please let me know when your PR is ready too, I'll give it a review!

Hey @maxbrunet, everything is ready, check it out:
https://github.com/robbyrussell/oh-my-zsh/pull/8001

Fixed in #8001.


PNG issues for Online Image Converter

PNG issues for Online Image Converter.
Hi, I use the Online Image Converter to convert a PNG image with alpha channel, the transparent part of the image is not transparent after conversion, but black.
The color format I chose is True color with alpha, and output format I chose is C array.
I don't know if there is a problem with this PNG file format or with the Online Image Converter.
This is the PNG image: https://drive.google.com/file/d/14G0EYui4DUurA0jlo1o05xR1zc86BOxg/view?usp=sharing
This is the C array:
https://drive.google.com/file/d/1DEHbeNHWeu-oLflvxPtgMyTZrt_YYPmh/view?usp=sharing
Thanks,
imosts
We use GitHub issues for development related discussions.
Please use the forum to ask questions.

Hi,
The image had indexed mode. I've opened it with GIMP and in Image/Mode I've changed it RGB. Now it works for me.
Here is the corrected image:

Hi,
The image had indexed mode. I've opened it with GIMP and in Image/Mode I've changed it RGB. Now it works for me.
Here is the corrected image:
page_indicator.png.zip

That great! Thank you very much!


please describe when I should use thundernetes and when agones

i these both are very close to each other, what is the difference? when I should consider using one or the other? will this project support windows in 2022? agones is google official project, is thundernetes officially supported and financed by Microsoft?

hey @dzmitry-lahoda, apologies for the late response, there is a similiar question here: https://github.com/PlayFab/thundernetes/discussions/193 feel free to follow up there. Thundernetes is developed and maintained by people in the XBOX/Azure groups at Microsoft, correct. As mentioned in the main README, it's beta software, we welcome feedback and we'd love external contributions!
Regarding Windows support, I'll follow up on the thread you already responded: https://github.com/PlayFab/thundernetes/issues/8
Closing, feel free to re-open or create a new issue if necessary. Thanks!


Make Compose-Switch version dynamic

Fixes https://github.com/docker/docker.github.io/issues/13914

Proposed changes

Unreleased project version (optional)

Related issues (optional)

Related: https://github.com/docker/docker.github.io/pull/13921


RenderingMode property on Android

The problem that arises when streaming playback. If have a stream dimension more large of device display, the content of stream isn't scale for fit the dimension of the view.
Context
When I Stream the screen capture of computer, on Android Player the stream is trimmed and the content is not scale to fit the view dimension.
I found on documentation the "RenderingMode" property, but it is available only on iOS.
The current issue is for implement the RenderingMode property also on Android.
Process
Stream Screen resolution: 1920x1080
Android Device: Samsung S20 Ultra 5G
NuGet "DT.Xamarin.AntMedia.WebRTC.Forms" version: 1.2.2 (latest on NuGet.org)
Step to reproduce issue:

Clone Xamarin.AntMedia.Samples repository
Replace constant to your server address in DT.Configuration/InitialData.cs
Run DT.WebRTC.Forms.Android project
Click the button "Switch to Play" in MainPage
Click "Start Playing" button

Expected result
RenderingMode property work properly on Android, and scale the stream to fit the dimension of view
Current result
The input stream is trimmed on AntWebRTCView.
RenderingMode property on Android  screenshot
AntMedia publish page:

Android device:

Any update?


feat: add "then" actions

Adds support for a set of actions to be run if and only if, all the "execute" actions return successfully.
These actions are submitted when building rules:
RuleBuilder::new("(AutoLabel) Pull request complexity")
    .when(PullRequest::more_complex_than(PullRequestComplexity::High))
    .execute(Actions::github().add_label("CR-one_job").build())
    .then(Actions::email().sender())
    .submit(),

Ignoring TODO error in deepsource -- this is slated for next PR


Being build with VS 2017 RC, it does not work in VS 2015

How do you get it to work with VS 2017?

@Qudware grab it here https://github.com/fsprojects/VisualFSharpPowerTools/releases/tag/2.6.0

We are not gonna support VS 2017.


test(vue): ensure eslint is OK in the generated vue project

Proposed changes
Based on #198.
Simply ensure that npm start in the Vue Project does not write a matcher specific to ESLint issues (from what I experienced).
It required some refactoring to 'split' the specs into two parts: one with a server started (and once to not waste too much time), another with no server running to be able to run it and check what's what.
Testing
Checked in two parts:

By adding bogus code into a Vue file and ensuring there was an error and the test tripped.
By removing the aforementioned bogus code and ensuring the test passed.

This was done on my machine, I expect #2 to pass also on the CI, obviously.

CDX-237

Third wagon of the PR train 🚂, needs #198 first.


xaxis hideOverlappingLabels has no effect

Codepen
https://codepen.io/punkt2/pen/bZzqmb
Explanation
xaxis hideOverlappingLabels option has no effect. The labels still overlap.

I need to mention in docs that it works only for datetime series currently, as there is a higher chance of overlap in timescale.

hi @punkt2  did u achive it in any way. Other than datetime  option.


Add ability to store XMPP logs in files

This adds a new Smack debug logger that can be used to store XMPP traffic in distinct files per test.
To configure the logger, use these system properties when invoking the tests:
-Dsinttest.debugger="org.igniterealtime.smack.inttest.util.FileLoggerFactory"
-DlogDir=target/logs

The logDir property value is used to identify the directory in which the logs will be stored. The directory will be created if it doesn't already exist.

Using the new debug logger, the GitHub workflow that runs all checks in this repository will now expose the XMPP debug logs as an artifact of the GitHub Action.


Package is not working it is only buffering

not working

It's working now, Check

close the issue


Poor Scrolling Performance on CSS Demo/Documentation Page in Chrome/Safari

Expected Behavior
Scrolling through demos/documentation should be buttery smooth.
Actual Behavior
Scrolling is very jerky, making for a poor experience.
Reproduce Scenario (including but not limited to)
Visit the documentation and scroll in certain browsers.
Steps to Reproduce

Open the documentation using Chrome or Safari.
Navigate to the demo/documentation page.
Scroll the page at high speed.

* Firefox 63 does not exhibit this issue, though its Performance developer tools may provide further insights when investigating.
Browser name/version/os

Chrome Version 70.0.3538.77 (Official Build) (64-bit)
Safari Version 12.0.1 (146<IP_ADDRESS>.1)

Both tested on macOS 10.14.1.
Spectrum-CSS version
2.5.1
Sample Code that illustrates the problem
N/A
Screenshots (if applicable)
N/A

Indeed, can confirm this is an issue.
I did a quick-n-dirty Chrome devtools performance recording while scrolling. Here's a screencap:

It seems like the docs.js set-hash-from-scroll scroll event handler is causing the slowdown. I'll take a look at possibly optimizing this.

I don't believe that you've quite narrowed down the issue correctly. The performance issue on my machine is NOT a CPU issue. It's a Rendering issue. Take a look at this screenshot:

I'm on a 2018 15" MBP laptop. My CPU speed is not an issue.
The issue may be related to updating the URL hash. If that were the case then I would expect it to be browser-dependent: Chrome, for instance, may trigger a repaint when the hash is changed. If that turns out to be the case then a valid approach to fixing this may be to only update the hash when scrolling ends.
I would highly recommend digging into what could cause Rendering issues here. This may be a good starting point.
That said, why aren't you guys using the Intersection Observer API [polyfill] for this?
Also, as a bit of extra feedback, updating the history as you do is a usability issue in-and-of itself. You break the browser's back button in this manner. Not only does hitting the back button NOT jump you back to the section in question, but you have to actually hit the back button a whole lot to get back to the page that linked you to the documentation if you did any serious scrolling. This is why most pages don't update the hash automatically but provide links that allow you to copy that specific location in case you need to send someone there from an external location. The ExpressJS API page is a shining example of just such a setup.

As a side note, I've noticed that scrolling in Chrome is super speedy when the page is first rendered. It only slows down dramatically once the Markup is loaded.
Wouldn't you know it? The Markup appears at the same instant that the URL hash updating turns on. Hopefully this is helpful in tracking down the source of the issue.

There are a couple of issues at play here. @filmaj has done some work to reduce the use of the scroll hash updating until after 100ms after scrolling is complete which definitely helps a little as the update was causing a relayout through use of offsetTop. This is a good step, but I do agree with you @ericdrobinson that the hash should not update during scrolling as it pollutes the browser history.
I did some other preliminary analysis of rendering performance and it appears that most time is spent in Update Layer Tree during scroll. This step in the rendering pipeline appears to be taking a long time because the layer tree is very large with so many DOM nodes on the page. This is actually made worse once the markup loads since it involves a lot more DOM to render the styled markup.
Ultimately the docs site will probably need to be split up into sections to help alleviate this, or some kind of virtual scrolling needs to be implemented so everything can remain on the  single page, but the number of DOM nodes is reduced.

Thanks @ericdrobinson ! I am just getting my feet wet with the devtools performance stuff. I appreciate all the links and tips you gave, I will do some more exploring, and with @benjamind's experience and help here, I think we can get to a solution.

@benjamind I disagree. I think the fix is extremely simple:
Remove the setURLParams function.
I just did this in the console while on the site:
setURLParams = function () {};

Then I went back and began scrolling in Chrome. The performance issues completely disappeared. Not only that, but the back button was usable. I can still get the links to the specific sections by clicking on their headers (or right-clicking and selecting the "Copy Link Address" option).
I would highly recommend removing the auto-hash update "feature" and replace it with a link icon  that users can use to grab a link to the header of their interest. This fixes two issues at once: usability and scrollability.

I just tested that change in Safari 12.0.1 and it doesn't seem to really improve things there. I suspect that something else on the page is causing the slowdown for that browser (whatever the cause, it may affect iOS browsers in a similar fashion...).

Regardless of the impact on performance for setting the hash, I still like the suggestion of replacing auto-updating hash w/ anchor links - if only to stop messing with history. I will spin that out into its own issue.


[IOS] Swiping between tabs is not working on RTL devices

In RTL devices, switching between tabs is only available on tab tap.
Swiping between tabs is not working and the current tab stays active.
RN- 0.40.0
RNSTV- 0.6.0

https://github.com/skv-headless/react-native-scrollable-tab-view/pull/559 is it working for you?

I will solve this issue soon

Actually I solved this issue but I did it by mistake on v0.6.0, where it works well.
On v0.7.0+ it's not working.
If it worth something I can PR it.

yes please PR ;)

I created a PR, then it got conflicted with the last version so I closed it.
You can use my forked branch for v.0.6.0- https://github.com/efratyo/react-native-scrollable-tab-view.git.

can u tell me what u changed ?

Of course, take a look on this PR to see the changes- https://github.com/skv-headless/react-native-scrollable-tab-view/pull/560


updated extramural reporting readme

Hi @SvenAelterman,
Just a quick update related to https://github.com/microsoft/STRIDES/issues/5 clarifying that NIH approval is no longer required.
Kindly let me know if any changes.
Thanks for all the help,
Alex

Hi @SvenAelterman,
Minor edits related to:

proofreading
modifying examples to adhere to lowercase alphanumeric requirements

@microsoft-github-policy-service agree company="Weill Cornell Medicine"

Thank you, @alexsigaras!


option crashing browser when 2 on screen using redux

I have a reusable component that is looping options for a select input.  when I have 2 of them on the same screen that fetch data using redux, it crashes chrome.  I switch them to reactstrap inputs and they work fine.
on a different project i have 2 on the same screen but i have the options hardcoded, works fine.
it seems to choke when a 2nd "dynamic" one is added.
if 1 is reacstrap input, 1 avinput ... works fine
i have no output, just a browser freezing/crashing ... sorry ...
edit: this is also happening now with 1 checkbox and 1 select.

Can you try with the latest v2 release (using npm i availity-reactstrap-validation@next)

If you are still having issues feel free to create a codesandbox to replicate it. Most likely a later version of availity-reactstrap-validation works for your use case.


Can not compile

I am trying to build the git version and I got an error on the process.
Note:
I have installed a new version MacOS then I am doing it from scratch again.
Describe the bug

To Reproduce
Steps to reproduce the behavior:
Inside repository I call:
npm install
Any tip?
version node ( brew install node ) is 12.3.0
Thanks

I have installed an another version NODE and it works now.
Thanks.


TypeScript compile fails with Typescript 3.1

Bug repro on playground: N/A
Expected result: Typescript project using BabylonJS compiles with TS 3.1
Current result: Typescript project using BabylonJS does NOT compile with TS 3.1

TypeScript 3.1 released recently and, during some changes to a project of mine, I updated my dep from 3.0.1 to 3.1.1. Almost immediately, however, builds began to fail.
This message keeps getting written to console:
Using tsc v3.1.1
node_modules/babylonjs/babylon.d.ts(250,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers.
node_modules/babylonjs/babylon.d.ts(293,5): error TS2687: All declarations of 'orientation' must have identical modifiers.
node_modules/babylonjs/babylon.d.ts(293,5): error TS2717: Subsequent property declarations must have the same type.  Property 'orientation' must be of type 'ScreenOrienta
tion', but here has type 'string'.
node_modules/typescript/lib/lib.dom.d.ts(4030,14): error TS2687: All declarations of 'fullscreen' must have identical modifiers.
node_modules/typescript/lib/lib.dom.d.ts(13881,14): error TS2687: All declarations of 'orientation' must have identical modifiers.

I've tried this with both 3.3.0-beta.2 and 3.3.0-rc.4 of BabylonJS. This issue does not happen when I roll back to TSC v3.0.
I suspect it has something to do with these breaking changes, just judging by the output, but I don't know for certain.

I did the change but unfortunately typedoc does not yet support it.
So we have to wait for them first
Could you try to fix the discrepancies perhaps? (That could be as simple as fixing orientation and fullscreen declarations in the mixin file)

Actually, scratch that:
Not only does Babylon have that lib, but something I touched in my local copy caused that symbol to no longer be available either.
I have the other errors fixed, but that third error remains.

Well yeah that's a mess. You may need to stay with TS 3.0.1 for a bit of time

Should be good now
Please let me know if you can test it

I tried to test it. master fails with npm/yarn, so I tried to copy the files from master into my working directory, but it does not remove the error. It appears dist/preview release/babylon.d.ts is completely unchanged from my local copy.
I tried to build from TS source myself, but gulp is failing because apparently gulpInst.start is undefined. .-.

can you try from dist/preview release?

I cloned a fresh copy down from the current master, and updated my local copy with that.
The error does appear to be resolved with TypeScript v3.1.1 and 090a72b.
(My project actually builds now, yay! Some other lib needed 3.1.1 to function)

I'm currently using Typescript 3.1.3 and I've got the following errors:
node_modules/babylonjs/babylon.d.ts(252,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers.
node_modules/babylonjs/babylon.d.ts(303,14): error TS2717: Subsequent property declarations must have the same type.  Property 'orientation' must be of type 'ScreenOrientation', but here has type 'string'.

Error: node_modules/babylonjs/babylon.d.ts(252,5): error TS2687: All declarations of 'fullscreen' must have identical modifiers.
node_modules/babylonjs/babylon.d.ts(303,14): error TS2717: Subsequent property declarations must have the same type.  Property 'orientation' must be of type 'ScreenOrientation', but here has type 'string'.

Any solution?

Are you using bjs 4.0? This should fix the problem

You have to specifically ask for the working version from NPM, most likely. At current, if you just grab "latest", you get 3.3.0, which does not work with TS 3.1
Try npm i -S<EMAIL_ADDRESS>(or yarn add babylonjs@4.4.0-alpha.4), as this is the latest on NPM at this time.

@CynicalBusiness :   npm i -S<EMAIL_ADDRESS>je pense ?

Hi,
I'm currently using Typescript 3.3.4 and BabylonJS 3.3 and I'm having the same issue.
It seems it's been a while for now, has there been a solution yet?

@istudiodigital
Bump your BabylonJS version up to babylonjs@preview (or<EMAIL_ADDRESS>which is the current preview) and it should work with TS 3.3.
Be careful though, TS 3.4 is rolling another large batch of breaking changes, so we'll see how that turns out. Probably hold back on that if you can.

@CynicalBusiness
Thanks for the hint, I've tried it and now I get this:
Assets/Babylon/Library/babylon.d.ts(4439,18): error TS2567: Enum declarations can only merge with namespace or other enum declarations. Assets/Babylon/Library/babylon.manager.d.ts(970,10): error TS2567: Enum declarations can only merge with namespace or other enum declarations.

That looks like BabylonJS and Scene Manager not working together. My guess is you'll need to bump Scene Manager (Now called Unity Exporter?) as well.

Yes, that worked!
Thanks again!

@istudiodigital
Hello, excuse me. I am a newbie to babylonjs.
I tried
npm i -g babylonjs@preview
npm i -g<EMAIL_ADDRESS>but still unity console shows "error TS2567: Enum declarations can only...."
I don't know how to apply your way.
Can you help me?

Pinging @MackeyK24

I found issue... Let me rebuild with latest typescript and babylon 4.0.0 rc

@MackeyK24
Oh thank you,
I am waiting for its renewal version of
https://github.com/BabylonJS/UnityExporter/blob/master/Archive/Babylon Editor Toolkit 2019-04.unitypackage

FYI... the archive folder is for OLDER versions. The date in the filename is the date i moved it to archive folder... That version is NOT the official 2019 build of toolkit.
The 2019 version compatible builds are at: https://github.com/BabylonJS/UnityExporter/tree/master/Redist
I will update that build as soon i get the FIX from @bghgary  about the Bone Matrix for skeletons, plus a couple other mesh fixes like: Tangents and Vertex Colors for the meshes and a MUCH better ALPHA/TRANSPARENCY Export (Not as good as the new upcoming version... but a stop gap until i get the new version ready)


fix: rename config option name to id

Summary
Fixes #10013
I have renamed name to id in all the relevant files including tests.
Need help on one test case that is failing in jest/e2e/native-esm/tests/native-esm.test.js
 15:1  error node:dnsimport should occur before import ofpath  import/order
Test plan

@jeysal  i am getting import/order error when running yarn test. But It is already in correct order and after saving that file it moves to it's correct position but still showing error in terminal when i used yarn test

@jeysal  just couple of test are failing. can you help?

Hi - I think that was just a matter of a name in a JS test (which is not type checked) being left over.
PR looks good to me! Of course we will only be able to land this for the next major since it's breaking, so it may need to lay around for a while

Ok

@Udit-takkar  could you please make it a draft as it is a breaking change, this would make the PR page a little bit easy to move around

@Biki-das anything else?

Nope😃, thanks!

@SimenB Just to draw your attention, it seems like this PR is ready to land. Marked as a draft, but looking at the conversation becomes clear that the job was finished and it can be merged. If CI is still passing, of course.
Here are few duplicates to be closed after merging: #10051, #10592, #11089, #12235

Thanks @mrazauskas! I'll update it


distribution url leads to file not found exception

when running gradlew.bat from the samples/modularity folder, I get:
gradlew.bat
Downloading https://services.gradle.org/distributions-snapshots/gradle-script-kotlin-3.0.0-20160719234019+0000-bin.zip
Exception in thread "main" java.io.FileNotFoundException: https://downloads.gradle.org/distributions-snapshots/gradle-script-kotlin-3.0.0-20160719234019+0000-bin.zip (...)

This might have to do with me trying to auto-import the module into intellij 2016.2, which apparently modified the distribution url?

gradlew.bat wrapper --gradle-distribution-url https://repo.gradle.org/gradle/dist-snapshots/gradle-script-kotlin-3.0.0-20160719234019+0000-bin.zip
Downloading https://services.gradle.org/distributions-snapshots/gradle-3.0.0-20160719234019+0000-bin.zip
Exception in thread "main" java.io.FileNotFoundException: https://downloads.gradle.org/distributions-snapshots/gradle-3.0.0-20160719234019+0000-bin.zip

not sure what, but something is changing my gradle-wrapper.properties

Ok I give up, no idea how to get this to work in the IDE. Buildings works fine though, but that I can do with groovy as well... it was the IDE support that got me excited.

Please try again against the latest version.


Fish depends on ncurses

This is not an issue (yet) but a question. When I installed fish I needed to run sudo yum install -y ncurses-devel or the build would fail. I remember having to do this for another package (can't remember the exact one) as well. Is this by design or should the formula include these in their dependencies?

We try to rely on host system dependencies as little as possible. I can confirm that the dependency is missing; thanks for reporting!
If you'd like, you can submit a pull request that adds the following:
depends_on "homebrew/dupes/ncurses" unless OS.mac?

If not, I'll get around to submitting it myself soon.

The #Contributing message mentioned that if I was in doubt, to add PRs to Linuxbrew. Should I move this to Homebrew?

The ncurses dependency isn't necessary on OS X (ncurses is provided by default there), so please send the PR here rather than to Homebrew.
In general, if you're adding something with unless OS.mac? or if OS.linux? it probably should come here rather than to Homebrew.

Great. I have made the PR.

This issue was moved to Linuxbrew/homebrew-core#263


fix chat UI bugs

right now there's no auto-scroll, and once switching to the Chat route, it doesn't "load the last message"
we also decided to not implement graph in this issue, so delete this

done in #64


(udf) create native function return error

Proposed changes
Issue Number: close #xxx
Problem summary
after 1.2.0, doris does not support native udf, return error when create native function
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

./run buildall

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.11 seconds
stream load tsv:          474 seconds loaded<PHONE_NUMBER>9 Bytes, about 150 MB/s
stream load json:         41 seconds loaded<PHONE_NUMBER> Bytes, about 54 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          28 seconds loaded 861443392 Bytes, about 29 MB/s
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230223044120_clickbench_pr_102250.html

run feut

run fe

run buildall

run buildall

run buildall

run p0


Add support for Rust 2024 edition

As far as I can tell this fixes #170 :)

This seems like a good starting point.
But I don't want to bump semver for all crates every time we need to upgrade cargo_metadata, so I'll either split the generation into its own crate or move it into cargo-auditable directly.

Thanks! I'm not sure if it's too late to get this into the upcoming Alpine 3.21, but if you release a new version of cargo-auditable I'd try. :)

I'll try to get a release out later today.

I've published v0.6.5 with the fix.
It required changes to two underlying crates as well. If that's difficult to get packaged at this stage, you can simply apply the patch in this PR (changing 0.15 to 0.18) on the distro level.

Thank you :black_heart:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/75004


Repo sync for protected CLA branch

The pull request is created from main637929326624262502 to main to fix git push error for protected CLA branch

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

Docs Build status updates of commit 7c0ed57:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch main637929326624262502 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 7c0ed57:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch main637929326624262502 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


vscode can not update ,help

VSCode Version:1.50.1
OS Version:win7

Steps to Reproduce:
1.when i click the button 'Help->Check for Updates' ,always show error:
net::ERR_CERT_AUTHORITY_INVALID
source:Update Service
2.in fact，this occurs since 1.49.1 . so i download the new vscodeUserSetup.exe to reinstall vscode.

Does this issue occur when all extensions are disabled?: Yes

ERR_CERT_AUTHORITY_INVALID

Are you in an enterprise network?

ERR_CERT_AUTHORITY_INVALID

Are you in an enterprise network?

no , home network .anything else is normal, also the Extensions search / install.

@deepak1556 Some help

Oops missed this, Can you attach the log following these steps

launch vscode with code.cmd --log-net-log=<some-absolute-path>/netlog.json
check for updates under the gear icon
Quit the application

Attach the generated netlog.json, thanks!

Oops missed this, Can you attach the log following these steps
* launch vscode with `code.cmd --log-net-log=<some-absolute-path>/netlog.json`

* check for updates under the gear icon

* Quit the application

Attach the generated netlog.json, thanks!

[ ]

[ ]

[](url)

Oops missed this, Can you attach the log following these steps
* launch vscode with `code.cmd --log-net-log=<some-absolute-path>/netlog.json`

* check for updates under the gear icon

* Quit the application

Attach the generated netlog.json, thanks!

Uploading netlog.json…

Oops missed this, Can you attach the log following these steps
* launch vscode with `code.cmd --log-net-log=<some-absolute-path>/netlog.json`

* check for updates under the gear icon

* Quit the application

Attach the generated netlog.json, thanks!

netlog.zip


Update stats explorer stats

@Jibz1 went through all the tips in info hovers. May i request that for all tooltips that start with the word "The..." could we please remove it? It seems redundant. It will have the added benefit of some of the sentences not wrapping awkwardly to the next line with a lot of space left to the right.


fix: moved to blackflux

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix TS 2.4 PromiseLike Errors With Async in VSCode Codebase

Building VSCode with TS 2.4, we're seeing about 10 errors in async functions around TPromise:
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/services/textmodelResolver/test/textModelResolverService.test.ts(136,47): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/services/textmodelResolver/test/textModelResolverService.test.ts(136,47): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
  Type 'TPromise<T | PromiseLike<T>>' is not assignable to type 'PromiseLike<T>'.
    Types of property 'then' are incompatible.
      Type '{ <U>(success?: (value: T | PromiseLike<T>) => TPromise<U>, error?: (err: any) => TPromise<U>, pr...' is not assignable to type '<TResult1 = T, TResult2 = never>(onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>, on...'.
        Types of parameters 'success' and 'onfulfilled' are incompatible.
          Types of parameters 'value' and 'value' are incompatible.
            Type 'T | PromiseLike<T>' is not assignable to type 'T'.
              Type 'PromiseLike<T>' is not assignable to type 'T'.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/parts/extensions/electron-browser/extensionsViews.ts(119,29): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/parts/extensions/electron-browser/extensionsViews.ts(153,38): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/parts/extensions/electron-browser/extensionsViews.ts(429,29): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/parts/extensions/electron-browser/extensionsViews.ts(447,29): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/parts/extensions/electron-browser/extensionsViewlet.ts(303,28): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/platform/extensionManagement/node/extensionGalleryService.ts(358,44): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.
[16:17:43] Error: /Users/matb/projects/vscode/src/vs/workbench/electron-browser/extensionHost.ts(355,118): Type 'typeof TPromise' is not a valid async function return type in ES5/ES3 because it does not refer to a Promise-compatible constructor value.

Steps to reproduce

Using VScode insiders.
Clone vscode code base
Run ./scripts/npm install
Open vscode codebase in vscode
Open effected file
Ensure that TS 2.4.1 is active in your workspace by looking in the lower right status bar for the TS version number

@rbuckton or @andy-ms Can someone on the TS team please take a quick look at these errors? I've investigated but the error don't make much sense to me. I don't know where TS is getting the type T | PromiseLike<T> from in textModelResolverService.test.ts  for example
This only started showing up in TS 2.4. My current thought is that we need to stop using async for TPromise methods

Hi, it looks like you can get rid of the error by changing TPromise's constructor definition to be compatible with Promise's, as in:
constructor(init: (complete: (value: V | PromiseLike<V>) => void, error: (err: any) => void, progress: ProgressCallback) => void, oncancel?: any);
That said, the error was complaining about then and not constructor, so it took me a while to figure this out! I'll report a bug on TypeScript.

In 2.4.1 we are stricter about the types for callbacks. It looks like the issue is the definition of TValueCallback<T> in winjs.base.d.ts. Changing the following definition seems to address the error:
export interface TValueCallback<T> {
  (value: T | Thenable<T>): void;
}

In general, we've made a number of improvements in the overall type definitions for the ES6 Promise type that have apparently not made their way into the winjs declarations. While not necessary to fix the above error, in the future I would recommend the following changes:

Replace Thenable<T> (in vscode.d.ts) with a type alias to PromiseLike<T> (for backwards compatibility)
Replace all references to Thenable<T> to PromiseLike<T> in the vscode code base (the compiler has optimizations in async function code paths for type references to the built in PromiseLike<T> type).
Replace Promise, TPromise, and PPromise in winjs.base.d.ts with the following declaration that leverages type parameter defaults:

export declare class Promise<T = any, TProgress = any> {
  constructor(
    executor: (
      resolve: (value: T | PromiseLike<T>) => void,
      reject: (reason: any) => void,
      progress: (progress: TProgress) => void) => void,
    oncancel?: () => void);

  public then<TResult1 = T, TResult2 = never>(
    onfulfilled?: (value: T) => TResult1 | PromiseLike<TResult1>,
    onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>,
    onprogress?: (progress: TProgress) => void): Promise<TResult1 | TResult2, TProgress>;

  public done(
    onfulfilled?: (value: T) => void,
    onrejected?: (reason: any) => void,
    onprogress?: (progress: TProgress) => void): void;

  public cancel(): void;

  public static as<T, TPromise extends PromiseLike<T>>(value: TPromise): TPromise;
  public static as<T>(value: T): Promise<T>;

  public static is(value: any): value is PromiseLike<any>;

  public static timeout(delay: number): Promise<void>;

  public static join<T>(promises: (T | PromiseLike<T>)[]): Promise<T[], { Key: string, Done: true }>;
  public static join<T>(promises: { [n: string]: T | PromiseLike<T> }): Promise<{ [n: string]: T }, { Key: string, Done: true }>;

  public static any<T>(promises: (T | PromiseLike<T>)[]): Promise<{ key: string; value: Promise<T>; }>;

  public static wrap<T>(value: T | PromiseLike<T>): Promise<T>;

  public static wrapError(error: Error): Promise<never>;

  /**
   * @internal
   */
  public static addEventListener(event: 'error', promiseErrorHandler: (e: IPromiseError) => void);
}

export {
  Promise as TPromise,
  Promise as PPromise
};

I can submit a PR against VSCode for this if you would like.

Thanks. The suggested TValueCallback change does seem to fix things. I'll take it into vscode.
@alexandrudima @jrieken @bpasero (Not sure of correct owners here. Please add anyone else that may have input) Can you please take a look at a Ron's other suggested changes to see if these are something we want to investigate

This sounds good to me, but I'm sure @jrieken would like to give his $0.02 about that in the API.


player.play() not working

The player is not playing at all, however the file is downloaded completely.

Hi! Sorry for a late response. I haven't been able to reproduce what you described, but my guess is that you don't keep a strong reference to the AVPlayer. If it doesn't help, please feel free to provide your code. We'll figure that out.

Hi!

Hi! nope, I keep a strong reference to the AVPlayer. Here is my code: class MusicPlayer: CachingPlayerItemDelegate {
static let sharedInstance = MusicPlayer()

public var showing : Bool = false
public var playing : Bool = false
public var playList = songsGetAPI()
public var index : Int = 0
var player : AVPlayer!
public var remainingTime = "00:00"
public var tabBar: MusicPlayerBar?

private init() {
    print("Music player initialized.")
}

func play(_playlist: songsGetAPI, _index : Int ) {
    self.playList = _playlist
    self.index = _index
    self.showing = true

    tabBar?.showPlayer(songName: (playList.results[index]?.name)!)
    self.remainingTime = "00:00"
    self.tabBar?.updateLabel(remaining: "00:00", didReachEnd: false)

    guard let url = URL(string :(playList.results[index]?.file_url)!) else {
        print("url creating failed : " + (playList.results[index]?.file_url)!)
        return
    }

    do {
        try AVAudioSession.sharedInstance().setCategory(AVAudioSessionCategoryPlayback)
        try AVAudioSession.sharedInstance().setActive(true)

//            let playerItem = AVPlayerItem(url: url)
let playerItem = CachingPlayerItem(url: url)
playerItem.delegate = self
//            NotificationCenter.default.addObserver(self, selector: #selector(playerItemDidPlayToEndTime), name: NSNotification.Name.AVPlayerItemDidPlayToEndTime, object: playerItem)
        player = AVPlayer(playerItem:playerItem)
        player.automaticallyWaitsToMinimizeStalling = false
        player.play()
        self.playing = true

        let interval = CMTime(seconds: 0.5, preferredTimescale: CMTimeScale(NSEC_PER_SEC))
        self.player.addPeriodicTimeObserver(forInterval: interval, queue: DispatchQueue.main , using: {
        elapsedTime in
            if self.playing{
                self.remainingTime = elapsedTime.durationText
                self.tabBar?.updateLabel(remaining: self.remainingTime, didReachEnd: false)
            }else{self.tabBar?.updateLabel(remaining: "00:00", didReachEnd: true)}
        })
    }catch{
        self.playing = false
        print(error)
        print("music player failed")
    }
}

I've just run your code and for me everything seems fine. Make sure that a url that you're trying to play ends with a file extension, e.g. ".mp3". Also make sure that the file located by the url is valid and can be played at all. Hope it helps.

Thanks for your response, unfortunately the url does not end with extention, what should I do about it?

Appending file extension to each resource on the backend will work. If you don't have access to the server or use 3rd party APIs, you can use the same technique as i did -- construct a fake url to feed to AVPlayer and then when it asks you to load the resource, intercept the url and reconstruct the real one, then download using URLSession. You can achieve it with a little bit of customization of CachingPlayerItem.

I tried to add an extension where the scheme changes and generates a fake url, but still not working. I changed the extension to this: fileprivate extension URL {
func withScheme(_ scheme: String) -> URL? {
    var components = URLComponents(url: self, resolvingAgainstBaseURL: false)
    components?.scheme = scheme
    let newURL = URL(string: (components?.url?.absoluteString)! + ".mp3")
    return newURL!
}

}

Works fine, thank you so much

You're welcome!

Sorry for comment in this closed-issue,I've encountered the same problem and I can't understand this answer you provided, could you explain more detail? or maybe some code will be great :D .

Whotan had an issue with urls that don't end with file extension not being played. The reason for this is  that AVPlayerItem determines the type of the file to play from the file's url extension. That said, no url extension -- no playback. But there's a workaround -- we can provide a fake url to AVPlayerItem with a proper extension (like mp3 for an audio file) but then substitute the data requested in AVAssetResourceLoaderDelegate with the data loaded from the actual url (the one without extension). I don't have the code, but Whotan may.


Custom server routes can't found static files

I've followed the custom-express-example to set custom server routes. Next/Link is working properly in client-side, but when the page is refreshed, the error message with 'not found' appears in console, regarding the files (css/images) from '/static' folder.

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior
The files in static folder should be found when matches the custom routes on server.
Current Behavior
client:
 <Link as={`/lead/${id}`} href={`/lead?id=${id}`}>

server:
server.get('/lead/:id', async (req, res) => {
  return app.render(req, res, '/lead', { id: req.params.id });
});

error when page is refreshed:

Steps to Reproduce (for bugs)

Define a custom route with express

Context
I'm trying to set routes on an Express server and pass parameters by URL. Style and image files in the static folder are not found when accessed directly by the URL or refreshing the page.
Your Environment

Tech
Version

next
5.0.1-canary.15

node
v9.5.0

OS
elementary OS 0.4.1 Loki

inferno
^4.0.8

inferno-compat
^4.0.8

inferno-server
^4.0.8

react
^16.2.0

react-dom
^16.2.0

You probably forgot to prepend a / when adding the assets 🤔

Probably...hehe. Sorry for the useless question. Thank you.

🙏


no_folder_selected crashes macOS in the background sometimes

no_folder_selected(wsHandle) is the crashing statement in the draw function of macMTK

possibly a dupe of https://github.com/lockbook/lockbook/issues/2580

Likely fixed by https://github.com/lockbook/lockbook/pull/2678. Has not been reproduced since then.


Enhancement: variable that contains list of regex's for hidden files (directories)

I have one more enhancement to propose.
In rc.conf there is hidden_filter variable, can you add plugin variable to append it list to this hidden_filter for ranger instance that opens with rnvimr? So some directories and files like node_modules etc could be hidden by default. I don't want some directories to be hidden in my shell ranger by default, but i don't want to see them when i working on my projects.
For example let g:rnvimr_some_variable = ['^node_modules$', '\.ext$', '^some_other_dir$']
Or maybe better approach would be to respect global and local .gitignore files? But the problem is that it uses different syntax than hidden_filter regex.

I think it's a good idea for using gitignore rather than adding an extra global variable in vimscript to hide matched files.
I found that I can use git check-ignore to check a directory or a file is in the ignored list in git. But I'm not sure that it works in flat under Ranger, I will try it out.
At the end, I think this is a good feature for Ranger, If I have done, I will pr to Ranger master.

Not sure if i have understood you right, but maybe the thing you want to implement can be a performance problem, isn't it easier to find local .gitignore + global .gitignore combined, parse them and change each line of it (one ignore item per line as gitignore documentation specify it) to be acceptable for hidden_filter ranger variable?

Not sure if i have understood you right, but maybe the thing you want to implement can be a performance problem
Use git check-ignore check a single file will cause a performance issue, but not a directory.
I have tested under chromium repo, it's a huge repo.
isn't it easier to find local .gitignore + global .gitignore combined, parse them and change each line of it

No, they use different rules and it's hard to be translated to each other.
git check-ignore is the best solution I think.

flat could work, but it causes a bad performance using git check-ignore in a hung repo. Maybe I should disable this feature when users use flat.
Btw, there are some bugs when enable both vcs and flat in Ranger.

As i said previously. Its easy to strip away unneeded characters from each line in .gitignore file, so it hidden_filter would accept it. Do you need some help?

You can get list of ignored files for the project with git status --ignored. So you don't even need to process .gitignore files.

As i said previously. Its easy to strip away unneeded characters from each line in .gitignore file, so hidden_filter would accept it. Do you need some help?
Was lazy to create issue but hacks/calibrate_ueberzug() translate image outside of terminal window for me so i disabled this lines for now.
            start_x += win_info['col']
            start_y += win_info['row']

So at least i can fully see images.

Please open another issue.

You can get list of ignored dirs and files for the project with git status --ignored. So you don't even need to process .gitignore files.

No, .gitgnore is not only in the git root.  Users can use ignore file by excludesfile.
Btw, git status --ignored is slower than git check-ignore.
rule of gitignore and regex is different.

No, they use different rules and it's hard to be translated to each other.

I guess this cause by your version of ueberzug, maybe checkhealth could complain something.
If not, please open another issue.

Yes this solves it.

Btw, git status --ignored is slower than git check-ignore.

Are you sure about this? Because it doesn't need to traverse directory tree, and just prints out ignored dirs and files (that only outside of ignored dirs).

Btw, git status --ignored is slower than git check-ignore.

Are you sure about this? Because it doesn't need to traverse directory tree, and just prints out ignored dirs and files (that only outside of ignored dirs).

Yes, git check-ignore is faster than git status --ignored inside a single directory. But I have tested git check-ignore just now, it made me mad by the terrible performance, because changing directory will trigger git check-ignore. I will use git status --ignored to test tomorrow.

You can try hide-git-file branch and test. If no issue I will merge this feature into master.
example config:
Plug 'kevinhwang91/rnvimr', {'branch': 'hide-git-file', 'do': 'make sync'}
let g:rnvimr_hide_git = 1

Please give me some feedback to accelerate merger progress.

I will give my feedback tomorrow.

For now i don't see any problems, but i didn't test it in some very big repo (and i'm not sure if i want to download and test this). If you tested it and there is no impact on performace in a big repo, i think it can be merged.
Maybe some big functions can be refactored like load_bit_by_bit because it is really hard to understand what is going on, but it is only if you have time to spend on this for sure.
Thank you very much, it is good feature to have in a file manager.

I had fixed a bug about attaching the hidden file, please update the hide-git-file branch.
Performance bottleneck depends on git status. I will improve the documentation to let users know about that.
Although I can implement this feature through preprocessing and postprocessing tech to enhance load_bit_by_bit which is very bloated and slow.
So I copied this function from ranger directly into the rnvimr library so that I can easily improve the performance of this part in the future.

Updated. All good.

hide-git-file have merged into master branch. The option g:rnvimr_hide_git change to g:rnvimr_hide_gitignore.
Using asynchronous callback function and cache ignored data to solve the performance issue. I think it's time to close this issue.


Polling time not adjusting

Hello - I see my polling is pinging the API's every 10 seconds.  I've set it to 120 seconds, reloaded the module and restarted HA and it's still polling at 10 seconds.

Hi @ichrispod  - I can replicate the problem. As a workaround in the mean time you can remove the configuration and re-add it with the timings you prefer.

Where in the code do I override?
    self._pollingRate = int(pollingRate) ?

What I'm referring to is... If you remove the tryfi integration and re-add it, during the initial setup you can set the interval period you would like.


Fix: log ingestion error to stdout

Log ingestion error to app log. Today we already show it in UI with truncated text but we should show the full error in acorn.log.

https://github.com/gptscript-ai/desktop/issues/457


ENS domain doesn't exist

The ens domain  'ens/safe.wrapper.eth' doesn't exist and errors out. What domain should I be using to make this work?

That URI is likely an alias that is/was set to redirect to the ipfs hash where the wrapper is actually deployed

We will publish the ipfs hash to an ENS URI for you and respond with the URI soon

After looking at this more, I realize there are four wrappers and three are using redirects from alias URIs.
You can see an example of how import redirects are used to build the wrapper here. These redirect from ENS URIs to filesystem URIs. https://github.com/5afe/safe-contracts-wrapper/blob/main/packages/safe-wrapper/polywrap.yaml#L8
You have a multiple options.
The first option is to deploy the wrappers to IPFS and then to configure your PolywrapClient with redirects from the ENS URIs used to the IPFS URIs where the wrappers are actually deployed. It looks like the repos are configured with polywrap.deploy.yaml deploy manifest files, so you can easily deploy a built wrapper to ipfs using npx polywrap deploy.
This is the option that I would recommend because it's the simplest way to get you started. I, or someone else from Polywrap, could happily help you configure the Polywrap Client.
See line 100 here for an example of configuring a redirect in the Polywrap Client: https://github.com/5afe/safe-contracts-wrapper/blob/main/packages/safe-wrapper/src/tests/utils.ts#L100
A second option is to rebuild the projects using aliases for ENS domains you actually own. You can then deploy the built wrappers to IPFS and then publish the IPFS CIDs to the content hash fields of your ENS domains.
It's necessary to rebuild the projects because wrappers are imported using the URIS. You can see an example at the top of the schema here: https://github.com/5afe/safe-contracts-wrapper/blob/main/packages/safe-wrapper/src/schema.graphql
A third option is to build each wrapper using IPFS URIs directly, forgoing ENS URIs altogether.


adding specs for Audit API

Description
Specs for Audit API
Issues Resolved
[#106]
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

LGTM! Please resolve the conflicts.

Thank you for reviews! I resolved it


Incorrect patching of PlayFab max player count for dedicated servers

Hello! One of the people who worked on the crossplay implementation in Valheim here! 👋
About this line:
(sbyte)instruction.operand == 11) // 10 is the default player limit when looking at the IL code, but for some reason my debug log above prints 11 for where the 10 should be. Changing this to 11 fixes the issue.
https://github.com/AzumattDev/MaxPlayerCount/blob/a833bff0989a3cdcf2ccadb8da43e72a4b582408/Plugin.cs#L176C8-L176C8
The reason this value is 11 is that, the way the PlayFab implementation works, the dedicated server counts as a player in the PlayFab lobby. Therefore we need to have 11 player slots in the PlayFab lobby to account for 10 clients and 1 dedicated server being connected. When you patch this value, you should set it to the max player count + 1 to get the correct behavior. Otherwise the player limit will be 1 less than specified for dedicated servers using crossplay.

I see, so when changing the value, just make it be one greater than normal? Seems simple enough.

Fixed in https://github.com/AzumattDev/MaxPlayerCount/commit/8e663e0f5c9d235ea756af6331ad5e46a9dc64b5


Exception Livewire Calendar not correctly configured. Check initial inputs.

Hello.
I'm ussing your calendar component and when show the october's calendar, show the exception "Livewire Calendar not correctly configured. Check initial inputs". I'd checked the code and when you calculate days in vendor/asantibanez/livewire-calendar/src/LivewireCalendar.php:179, the result is 36 because at end of october is the daylight saving time change and gridStartsAt is  2021-09-27 00:00:00.0 +02:00 and gridEndsAt is 2021-10-31 23:59:59.0 +01:00
Please, can you check this?

Same problem here

Forcing the timezone to the correct one solves the problem

You also need to change lines :152 and :144 or when you go back or go next month it will not render the last day of the month neither the start of week

Pedro, thanks for the info.
I'd modified in my component that extend LivewireCalendar and I didn't touched the original component.
Only add this in the events method:
public function events() : Collection
{
$this->gridStartsAt->shiftTimezone(config('app.timezone'));
$this->gridEndsAt->shiftTimezone(config('app.timezone'));
....
}

Pedro, thanks for the info.
I'd modified in my component that extend LivewireCalendar and I didn't touched the original component. Only add this in the events method:
public function events() : Collection { $this->gridStartsAt->shiftTimezone(config('app.timezone')); $this->gridEndsAt->shiftTimezone(config('app.timezone'));
.... }

That solves the first problem didn't even remembered that was a shared var 😆
However the end of grid keeps cutting last week when going back or forward
On Mount Work Fine

After going back and foward or vice versa

Setting $this->endsAt = $this->startsAt->clone()->endOfMonth()->startOfDay(); on 'goToPreviousMonth', 'goToNextMonth' and 'goToCurrentMonth' solves the problem, so i think the problem lies on the way carbon is subbing and adding on the last day of month

You are right. The component miscalculates the end of the month.

Same issue. For some reason, the diffInWeeks and diffInDays initially yields the correct results on mount (6 and 42 respectively), but after any livewire action is triggered, the result is now 7 and 43, which will throw the exception.

I made this change in monthGrid which fixed things.
$numbersOfWeeks = (int) $firstDayOfGrid->diffInWeeks($lastDayOfGrid) + 1;
$days = (int) $firstDayOfGrid->diffInDays($lastDayOfGrid) + 1;

I swapped around first and last diff so the results were positive. Then saw it was returning a fraction. Casting  to(int) made everything work.


Add tooltip to Line Diagram connections

Summary of changes
Asana Ticket: Line Diagram | Connection Tooltips

Uses Bootstrap tooltip on connection link elements
Adds method to output descriptive connection names
Adds small spacing change to connection links to improve focus outline appearance

Looking good so far! A couple things:

(paraphrasing IRL discussion) Commuter Rail icon should just say 'Commuter Rail'.
I think the facilities icons like parking and accessibility still need a tooltip. "Parking", and "Accessible" is what we use elsewhere.

I really like your touch here of making the tooltip pop downward so it doesn't cover the stop name, super thoughtful.

@ingridpierre - added the new tooltips and adjusted the commuter rail tooltips!
@digitalcora - added those additional tests and comments!

Lovely, lgtm! 👍


It seems Jupinx  has problem with some math blocks

It seems it has problem with {bmatrix}

thanks @fkazemian bmatrix is working in some cases and not in others.
Can you please update these with references to which lecture the screenshots came from? Thanks.

mathjax itself supports bmatrix so I suspect some of this is incorrect source in the RST

(arellano)- The code is
.. math::

    v_d(y) = u(h(y))
        + \beta \int \left\{
                \theta v(0, y') + (1 - \theta) v_d(y')
                \right\}
                p(y, y') dy'

The value of paying is

.. math::

    v_c(B, y) = \max_{B' \geq -Z}
           \left\{
                u(y - q(B', y) B' + B)
                + \beta \int v(B', y') p(y, y') dy'
          \right\}

(calvo)

code
.. math::
    :label: eq_old9

    \theta_0 & = \theta_0^* \\
    \mu_t &  = b_0 + b_1 \theta_t \\
    \theta_{t+1} & = d_0 + d_1 \theta_t

code
.. math::  - \frac{\alpha}{1+\alpha} a_1 - a_2(-\frac{\alpha^2}{1+\alpha} \bar \mu - \frac{\alpha}{1+\alpha} \mu_t)(- \frac{\alpha}{1+\alpha}) - c \mu_t = 0

code
.. math::
    :label: eq_old10

    v_j^A & = s(\theta^A_j, \mu^A_j) + \beta v_{j+1}^A \\
    & \geq s(\theta^A_j, 0 ) + \beta v_0^A \equiv v_j^{A,D}, \quad j \geq 0

code
.. math::

    \tilde v_j & = s(\tilde \theta_j, \mu_j) + \beta \tilde v_{j+1} \\
    & \geq s(\tilde \theta_j, 0) + \beta v_0^A \quad \forall j \geq 0

(chang_credible)

The government faces a sequence of budget constraints with time
:math:`t` component

.. math:: - x_t = q_t (M_t - M_{t-1})

.. math::

   \mathcal{L} & = \max_{\vec c, \vec M}
   \min_{\vec \lambda, \vec \mu} \sum_{t=0}^\infty \beta^t
   \bigl\{ u(c_t) + v(M_t q_t)
   + \lambda_t [ y_t - c_t - x_t + q_t M_{t-1} - q_t M_t ]  \\
   & \quad \quad \quad  + \mu_t [\bar m - q_t  M_t] \bigr\}

First-order conditions with respect to :math:`c_t` and :math:`M_t`, respectively, are

.. math::

   u'(c_t) & = \lambda_t \\
   q_t [ u'(c_t) - v'(M_t q_t) ] & \leq \beta u'(c_{t+1})
   q_{t+1} , \quad = \ {\rm if} \ M_t q_t < \bar m

* A recursive representation of a credible government policy is a pair of
  initial conditions :math:`(w_0, \theta_0)` and a five-tuple of functions

 .. math::
    h(w_t, \theta_t), m(h_t, w_t, \theta_t), x(h_t, w_t, \theta_t), \chi(h_t, w_t, \theta_t),\Psi(h_t, w_t, \theta_t)

 mapping :math:`w_t,\theta_t` and in some cases :math:`h_t` into
 :math:`\hat h_t, m_t, x_t, w_{t+1}`, and :math:`\theta_{t+1}`, respectively

(chang_ramsey)

.. math::

   \mathcal{L} & = \max_{\vec c, \vec M}
   \min_{\vec \lambda, \vec \mu} \sum_{t=0}^\infty \beta^t
   \bigl\{ u(c_t) + v(M_t q_t)
   + \lambda_t [ y_t - c_t - x_t + q_t M_{t-1} - q_t M_t ]  \\
   & \quad \quad \quad  + \mu_t [\bar m - q_t  M_t] \bigr\}

.. math::

   u'(c_t) & = \lambda_t \\
   q_t [ u'(c_t) - v'(M_t q_t) ] & \leq \beta u'(c_{t+1})
   q_{t+1} , \quad = \ {\rm if} \ M_t q_t < \bar m

The government faces a sequence of budget constraints with time
:math:`t` component

.. math:: - x_t = q_t (M_t - M_{t-1})

(classical_filtering)

.. math::

    (1-\lambda_1 L) \ldots (1-\lambda_m L) y_t
    =
    \sum^m_{j=1} A_j
     \left[
         \frac{1-\beta \lambda_j \, c (\beta \lambda_j) L^{-1} c(L)^{-1} }
         { 1-\beta \lambda_j L^{-1} }
     \right] a_t

(discrete_dp)

    .. math::

            \mathit{SA} := \{(s, a) \mid s \in S, \; a \in A(s)\}

  .. math::

       v(s) = \max_{a \in A(s)}
        \left\{
            r(s, a) + \beta \sum_{s' \in S} v(s') Q(s, a, s')
        \right\}
       \qquad (s \in S),

(dyn_stack)

.. math::

    \mu_t
    =
    \left[\begin{array}{c}
    \mu_{zt} \\
    \mu_{xt}
    \end{array}
    \right]

.. math::

    P
    =
    \left[
    \begin{array}{cc}
        P_{11} & P_{12} \\
        P_{21} & P_{22}
    \end{array}
    \right]

.. math::

    - y' P y = {\rm max}_{  u, y^*} \left\{ -  y' R y -   u'Q     u - \beta y^{* \prime} P y^* \right\}

(estspec)

.. math::

    n I(\omega_j)
    =  \sum_{t=0}^{n-1} (X_t - \bar X)^2
    + 2 \sum_{k=1}^{n-1} \sum_{t=k}^{n-1} (X_t - \bar X)(X_{t-k} - \bar X)
    \cos(\omega_j k)

.. math::

    I(\omega_j)
    =  \hat \gamma(0)
    + 2 \sum_{k=1}^{n-1} \hat \gamma(k) \cos(\omega_j k)

(hist_dep_policies)

.. math::

    v(Q_t,\tau_t,u_t)
    =
    \max_{\tau_{t+1}}
        \left\{
            A_0 Q_t-\frac {A_1}2 Q_t^2-\frac d2 u_t^2+\mu\tau_tQ_t
                + \beta v(Q_{t+1},\tau_{t+1},u_{t+1})
        \right\}

.. math::

    u_{t+1}
    =
    -\frac{A_0}d+\frac{A_1}d Q_t
        +  \frac{A_1}d+\frac1\beta u_t+\frac1d \tau_{t+1}

.. math::

    y_t =
        \begin{bmatrix}
            1
            \\
            Q_t
            \\
            \tau_t
            \\
            u_t
        \end{bmatrix}
        =
        \begin{bmatrix}
            z_t
            \\
            u_t
        \end{bmatrix},

.. math::

    P
    =
    \begin{bmatrix}
        P_{11}&P_{12}
        \\
        P_{21}&P_{22}
    \end{bmatrix}

.. math::

    0
    =
    \frac{\partial}{\partial u_0}
        \left(
            z_0'P_{11}z_0+z_0'P_{12}u_0+u_0'P_{21}z_0 +u_0' P_{22} u_0
        \right)
    =
    P_{12}'z_0+P_{21}z_0+2P_{22}u_0

.. math::
    :label: ES_u0

    u_0 = -P_{22}^{-1}P_{21}z_0

.. math::

    \tau_{t+1}
    =
    -F
    \begin{bmatrix}
        z_t
        \\
        u_t
    \end{bmatrix}
    \quad \text{and} \quad
    \begin{bmatrix}
        z_{t+1}
        \\
        u_{t+1}
    \end{bmatrix}
    =
    (A-BF)
    \begin{bmatrix}
        z_t
        \\
        u_t
    \end{bmatrix}

lake_model

code:
.. math::

    E_{t+1} = (1-d)(1-\alpha)E_t + (1-d)\lambda U_t

.. math::

    U_{t+1} = (1-d)\alpha E_t + (1-d)(1-\lambda)U_t + b (E_t+U_t)

.. math::

    N_{t+1} = (1+b-d)N_t = (1+g)N_t

(linear_models)

.. math::

    x_{t+j} = A^j x_t + A^{j-1} C w_{t+1} + A^{j-2} C w_{t+2}
    + \cdots + A^0 C w_{t+j}

(lln_clt)

.. math::

    \mathbb E [\mathbf X]
    :=
    \left(
    \begin{array}{c}
        \mathbb E [X_1] \\
        \mathbb E [X_2] \\
        \vdots \\
        \mathbb E [X_k]
    \end{array}
    \right)
    =
    \left(
    \begin{array}{c}
        \mu_1 \\
        \mu_2\\
        \vdots \\
        \mu_k
    \end{array}
    \right)
    =: \boldsymbol \mu

.. math::

    \Var[\mathbf X]
    =
    \left(
    \begin{array}{ccc}
        \mathbb E [(X_1 - \mu_1)(X_1 - \mu_1)]
            & \cdots & \mathbb E [(X_1 - \mu_1)(X_k - \mu_k)] \\
        \mathbb E [(X_2 - \mu_2)(X_1 - \mu_1)]
            & \cdots & \mathbb E [(X_2 - \mu_2)(X_k - \mu_k)] \\
        \vdots & \vdots & \vdots \\
        \mathbb E [(X_k - \mu_k)(X_1 - \mu_1)]
            & \cdots & \mathbb E [(X_k - \mu_k)(X_k - \mu_k)] \\
    \end{array}
    \right)

(sorry, instead of comment I pressed close and comment)

lqcontrol

The following figure was computed using :math:`r = 0.05, \beta = 1 / (1
+ r), \bar c = 2,  \mu = 1, \sigma = 0.25, T = 45` and :math:`q = 10^6`

(lqramsey)

.. math::

    - (c_t - b_t ) + \lambda [- \ell_t + (g_t + s_t )] = \mu_t

lucas_model

.. math::

    \begin{aligned}
        |Tf(y) - Tg(y)|
        & = \left| \beta \int f[G(y, z)] \phi(dz)
            -  \beta \int g[G(y, z)] \phi(dz) \right|
        \\
        & \leq \beta \int \left| f[G(y, z)] -  g[G(y, z)] \right| \phi(dz)
        \\
        & \leq \beta \int \| f -  g \| \phi(dz)
        \\
        & = \beta  \| f -  g \|
    \end{aligned}

(mle)

.. math::

   \frac {\partial^2 \log \mathcal{L}} {\partial \boldsymbol{\beta} \partial \boldsymbol{\beta}'} =
   - \sum_{i=1}^n \phi (\mathbf{x}_i' \boldsymbol{\beta})
   \Big[
   y_i \frac{ \phi (\mathbf{x}_i' \boldsymbol{\beta}) + \mathbf{x}_i' \boldsymbol{\beta} \Phi (\mathbf{x}_i' \boldsymbol{\beta}) } { [\Phi (\mathbf{x}_i' \boldsymbol{\beta})]^2 }
   +
   (1 - y_i) \frac{ \phi_i (\mathbf{x}_i' \boldsymbol{\beta}) - \mathbf{x}_i' \boldsymbol{\beta} (1 - \Phi (\mathbf{x}_i' \boldsymbol{\beta})) } { [1 - \Phi (\mathbf{x}_i' \boldsymbol{\beta})]^2 }
   \Big]
   \mathbf{x}_i \mathbf{x}_i'

multiplicative_functionals

.. math::

    x_{t+1} = \left(A - B F^{-1}D \right)x_t
        + B F^{-1} \left(y_{t+1} - y_t \right),

perm_income:

.. math::

     \max_{b_1}
     \left\{
         u \left(\frac{b_1}{R} - b_0 + y_0 \right)
         + \beta \, \mathbb{E}_0 [ u (y_1 - b_1) ]
    \right\}

.. math::

    \begin{bmatrix}
      z_{1 t+1} \\
      z_{2t+1}
    \end{bmatrix}
    =
    \begin{bmatrix}
      1 & 0 \\
      0 & 0
    \end{bmatrix}
    \begin{bmatrix}
      z_{1t} \\
      z_{2t}
    \end{bmatrix}
    + \begin{bmatrix}
          \sigma_1 & 0 \\
          0 & \sigma_2
      \end{bmatrix}
      \begin{bmatrix}
          w_{1t+1} \\
          w_{2t+1}
      \end{bmatrix}

perm_income_cons

.. math::

    x_t :=
        \begin{bmatrix}
            z_t \\
            b_t
        \end{bmatrix}
        =
        \begin{bmatrix}
            1 \\
            y_t \\
            y_{t-1} \\
            b_t
        \end{bmatrix}

rob_markov_perf

.. math::

   \sum_{t=t_0}^{t_1 - 1}
   \beta^{t - t_0}
   \left\{
       x_t' R_i x_t
       + u_{it}' Q_i u_{it}
       + u_{-it}' S_i u_{-it}
       + 2 x_t' W_i u_{it}
       + 2 u_{-it}' M_i u_{it}
   \right\}

robustness:

.. math::

    \hat  P
     =
     R + \hat F' Q \hat F
     + \beta (A - B \hat F)' \hat P C
       (\theta I - C' \hat P C)^{-1} C' \hat P (A - B \hat F)
       + \beta (A - B \hat F)' \hat P (A - B \hat F)

.. math::

    R + \hat F' Q \hat F
    + \beta (A - B \hat F)' \mathcal D(\hat P) (A - B \hat F)

.. math::

    J_F(x)
    =
    \max_{\psi \in \mathcal P}
    \left\{
        x' (R + F'QF) x + \beta \,
        \left[
        \int J_F ( (A - BF)x + C w) \, \psi(dw) - \theta D_{KL}(\psi, \phi)
        \right]
    \right\}

.. math::

    x' P_F x + d_F
    =
    x' (R + F'QF) x + \beta \,
    \left[
     x' (A - BF)' \mathcal D(P_F) (A - BF) x + d_F + \kappa(\theta, P_F)
    \right]

smoothing

.. math::

    - \sum_{t=0}^\infty \beta^t ( c_t - \gamma)^2, \quad 0 < \beta < 1

.. math::

    \begin{bmatrix}
       b(\bar s_1) \cr b(\bar s_2)
    \end{bmatrix} +
    \begin{bmatrix}
    \bar c \cr \bar c
    \end{bmatrix}
    =
    \begin{bmatrix}
        y(\bar s_1) \cr y(\bar s_2)
    \end{bmatrix}
    + \beta
    \begin{bmatrix}
        P_{11} & P_{12} \cr P_{21} & P_{22}
    \end{bmatrix}
    \begin{bmatrix}
        b(\bar s_1) \cr b(\bar s_2)
    \end{bmatrix}

stationary_densities

.. only:: html

    In fact much stronger convergence results are true (see, for example, :download:`this paper </_static/pdfs/ECTA6180.pdf>`)

.. only:: latex

    In fact much stronger convergence results are true (see, for example, `this paper <https://lectures.quantecon.org/_downloads/ECTA6180.pdf>`__)

wald_friedman

    .. math::

        \frac{ f_1(z_1) \cdots f_1(z_n)}{f_0(z_1) \cdots f_1(z_n)} \geq k

Thanks for all the testing here @fkazemian.
Appears there are a few different issues identified, some repeated. eg. Matrix don't seem to render at all?
There is also an issue with only html and only latex being ignored.
@fkazemian Could you give a very brief summary of your findings from above?

@fkazemian regarding arellano it appears that the generated notebook is OK but the nbconvert step to html is causing the malformed equation. @DrDrij would you mind looking into this? I will slack the current arellano.ipynb file that is generated from the latest jupinx extension.

[ ] @DrDrij to investigate why this notebook is not converting properly via nbconvert

This is what is happening specifically for that equation in the html output

Expressed recursively, the value of defaulting is

$$
v_d(y) = u(h(y))

+ \beta \int \left\{
        \theta v(0, y') + (1 - \theta) v_d(y')
        \right\}
        p(y, y') dy'

$$

This is the markdown generated by jupinx
Expressed recursively, the value of defaulting is

$$
v_d(y) = u(h(y))
    + \beta \int \left\{
            \theta v(0, y') + (1 - \theta) v_d(y')
            \right\}
            p(y, y') dy'
$$

The value of paying is

$$
v_c(B, y) = \max_{B' \geq -Z}
       \left\{
            u(y - q(B', y) B' + B)
            + \beta \int v(B', y') p(y, y') dy'
      \right\}
$$

I wonder if nbconvert has an issue with the spacing on the second line and ignores the $$ as a verbatim environment

https://github.com/jupyter/nbconvert/issues/404

Good news! -- it looks like this equation issue for arellano is fixed using nbconvert>=5.4.0. @fkazemian I will rebuilt the lectures now.

calvo is a bigger issue. It looks like mathjax doesn't like to parse inside of an html table?
The equation not rendering properly is outputted as html. If my diagnosis is correct - @DrDrij is there a way to get mathjax to parse inside of tables.

$$
\theta_0 & = \theta_0^* \\
\mu_t &  = b_0 + b_1 \theta_t \\
\theta_{t+1} & = d_0 + d_1 \theta_t
$$

(9)

@DrDrij the latest adjustments seem to have worked well for equations. Thanks! I will close this and if I spot any regressions or edge cases I will open a separate issue.

thanks @DrDrij I will leave this one with you to investigate this week.

Troubleshooting...
So taking that MathJax code and placing it outside of a table makes no difference. The equation does not load.
$$ \theta_0 & = \theta_0^* \\ \mu_t &  = b_0 + b_1 \theta_t \\ \theta_{t+1} & = d_0 + d_1 \theta_t $$
Pasting the below code from the live lectures into that table cell works fine and renders the equation.
\[\begin{split}\theta_0 & = \theta_0^* \\ \mu_t &  = b_0 + b_1 \theta_t \\ \theta_{t+1} & = d_0 + d_1 \theta_t\end{split}\]
The RST source is:
.. math::
    :label: eq_old9

    \theta_0 & = \theta_0^* \\
    \mu_t &  = b_0 + b_1 \theta_t \\
    \theta_{t+1} & = d_0 + d_1 \theta_t

@DrDrij this doesn't seem to be a problem on the current live site so the equation LaTeX should be fine. Would you mind comparing with the current live site to see what's different at the html level.

@natashawatkins can you look through this equation and see if you can spot an issue with the latex specification. It appears to not be recognised by mathjax and the html sphinx writer is modifying it so that it renders on our current html site.
$$
\theta_0 & = \theta_0^* \\
\mu_t &  = b_0 + b_1 \theta_t \\
\theta_{t+1} & = d_0 + d_1 \theta_t
$$

@DrDrij do you know an easy way to check mathjax by entering in an equation? Is there a chrome extension -- can't seem to find one.

Ah Got it -- I think this needs to be wrapped in an aligned for mathjax raw to work.
$$
\begin{aligned}
\theta_{0} &= \theta_{0}^* \
\mu_t &= b_0 + b_1 \theta_t \
\theta_{t+1} &= d_0 + d_1 \theta_t
\end{aligned}
$$

here is a good demo site: https://codepen.io/jrcharney/pen/YNYqNV

@fkazemian I have now recompiled the site to include fixes for this issue.

Thanks @mmcky  it is fixed
perm_income_cons

linear_algebra

and so on.


Laravel 10.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:

Checkout the l10-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:warning: The latest version of Laravel has a dependency for phpunit/phpunit of ^9.5.10. If you would like to also upgrade your tests, you may run the PHPUnit 9 Shift for free.

:warning: Shift detected a dependency for the laravel/framework. Unless you have a special requirement for depending on the entire Laravel framework, it's recommended to add dependencies for the specific illuminate packages instead.

:warning: Shift updated your build matrix for Laravel 10. However, since you are supporting older versions of Laravel, you need to add the following exclusions:
exclude:
  - laravel: 10.*
    php: 8.0

:warning: Shift detected GitHub Actions which run jobs using a version matrix. Shift attempted to update your configuration for Laravel 10. However, you should review these changes to ensure the desired combination of versions are built for your package.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/laravel-json-api.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "cloudcreativity/laravel-json-api": "dev-l10-compatibility",
    }
}

Finally, run: composer update


GEODE-3051: Removing obsolete SSL handling in AcceptorImpl.accept c…

…atch block
Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[x] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[x] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[x] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

This work is being handled as part of a larger refactor effort.


Is there a way to align a single '.grid-block' on the horizontal axis indepently from its siblings ?

I know in the framework there are several alignment classes that go on the parent that affect the alignment of the children, but is there something i am missing for if you want to align a single element indepently from what the parent is setting it children to. I was expecting to find some kind of class setup that utilised the 'align-self' property of flex.

I think I know what you're describing, but there's another use case you might be talking about as well.
align-items and align-self align elements on the cross-axis of the flex container. So if you have a horizontal grid, your cross-axis goes up and down, and so the align- properties shift elements up and down. If you had four elements on your horizontal grid, there's no way to make two stick to the left and two stick to the right. The justify-content property controls that behavior, and it can't be set on individual flex children.
I think that's the behavior you're describing. But you're right that we don't currently have an abstraction for the align-items and align-self properties in the grid.


Android: Notification drawer does not close on Android 11

Hi, team. Thanks for your great works!
I have a question. Let me know this is bug or specification?
Problem

Notification drawer does not close after tapping action on notification on Android 11

Precondition

Application is builded with targetSdk:31
Application is killed before tapping action(not reproduce by tapping body)

Reproduction steps

Receive any push notification with action
Kill the application
Tap the action on push notification
-> Application will launch under notification drawer

Cause
https://github.com/invertase/notifee/blob/32bce631a953eecd4211d0824ebf0940ba2e2b83/android/src/main/java/app/notifee/core/ReceiverService.java#L211-L221
I think
int targetSdkVersion =
          ContextHolder.getApplicationContext().getApplicationInfo().targetSdkVersion;

should be
int sdkVersion = android.os.Build.VERSION.SDK_INT;

Is this correct?

Hi there, thanks for the detailed description. Sorry, you're facing this issue in your app.
Based on the link referenced in the code snippet, I'm not sure as it says if your app targets 11 or lower.
We can take a closer look but in the meantime, you can regenerate the android library and overwrite the one in your node modules if you wanted to try it out straight away.
Do you have information on the device model e.t.c?

@helenaford
I'm sorry for my poor explanation.

I'm not sure as it says if your app targets 11 or lower.

Application is built with targetSdk:31
Application is run on android11(sdk version:30)

I would like to execute
sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));

because notification drawer is not closed  by system on android11. But unfortunately not execute, because application has been built with targetSdk:31. Therefore I think the branch condition should be not target sdk version but system sdk version.

you can regenerate the android library and overwrite the one in your node modules if you wanted to try it out straight away.

Yes, I tried it, and it works as I want.

Do you have information on the device model e.t.c?

I confirmed that on Pixel3a. However, i don't think it matters.

I was able to confirm that the notification drawer does stay open. I've changed it now to be the application sdk like you suggested 🙏  if you see anything again, please don't hesitate to open another issue or even open a p/r 😎


No syncRecognize response using Java speech client library

As Requested in https://groups.google.com/forum/#!msg/cloud-speech-discuss/ I'm opening a ticket on here.
Using both the sample and a bare Java 8/Spring/Tomcat 8 stack with Java speech client versions 0.8.0 / 0.9.4-alpha / 0.10.0-alpha I get no response when I make a syncRecognise request. The request future doesn't resolve until I eventually get a com.google.api.gax.grpc.ApiException: io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED error.
I am authorising via service account and have tried using both the application default json creds and via the command line tools. Happy to fill in more details about my setup if needed.

This is likely to be the same general class of root cause as https://github.com/GoogleCloudPlatform/google-cloud-java/issues/1430 , which is that there is likely to be a problem loading netty-tcnative.
To be sure, you need to set your logging level to FINE to see if you see logs that say Unable to load the library: netty-tcnative-linux-x86_64.

This is correct, moronic tcnative config error on my part. Thanks for your time and I'll report back to the groups convo.

Happening to me as well with google-cloud-speech v0.8.1-alpha and v0.8.0 on tomcat v8.5.8 on Ubuntu 16.04 64bit.
Any idea how to fix it?

@kilaka Could you change your logging level to FINE as instructed above, and come back with what you see?

I'm going to close out this issue because there has been no response. Feel free to reopen if there are more issues.


update: ImageMagick install setting

Description

Motivation and Context

Types of Changes

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

Definition of Done Checklist:

[] I've read the Contribution Guide.
[] I've updated the documentation. (refer to this for how to do so).
[] I enjoyed my time contributing and making developer's life easier :)

@hwtdnet GitHub Actions can't build the image after these settings, please test it more thoroughly on your local env first


OCPBUGS-8295: Define local env to suppress LOCALE warning

/jira refresh

/assign @coreydaley @jkhelil
for lgtm

@divyansh42 Are there any other Dockerfiles in the repo that need this defined?

/refresh

/lgtm


I'm confused how backrub_seqtol.py and seqtol_resfile.py fit together

I have completely overhauled the protocols/backrub_seqtol/README.rst file after our discussion so hopefully this is clearer now.


Fixed typo for default service name in Jaeger Exporter

Changed the variable semconv.ServiceVersionKey to the correct service name of semconv.ServiceNameKey.  Should resolve Issue #1783

Codecov Report

Merging #77 (50c94b4) into main (7d8e6bd) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #77      +/-   ##
==========================================
+ Coverage   40.91%   40.92%   +0.01%
==========================================
  Files         181      181
  Lines       14160    14160
==========================================
+ Hits         5793     5795       +2
+ Misses       8012     8011       -1
+ Partials      355      354       -1

Impacted Files
Coverage Δ

exporters/trace/jaeger/jaeger.go
93.51% <100.00%> (ø)

sdk/trace/batch_span_processor.go
83.96% <0.00%> (+1.52%)
:arrow_up:

Continue to review full report at Codecov.

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


运行

ARC Semantic Issue (Xcode): No visible @interface for 'BDAlphaPlayerMetalView' declares the selector 'stop'
/Users/connive/.pub-cache/hosted/pub.flutter-io.cn/alpha_player_plugin-0.0.1/ios/Classes/BDAlphaPlayer/BDAlphaPlayerMetalView.m:160:10
Uncategorized (Xcode): Command SwiftEmitModule failed with a nonzero exit code
Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.

ios运行报错，BDAlphaPlayerMetalView.m被注释掉了，麻烦大佬修复一下 @pengboboer

最新版已解决


Dereverberation not work

I run
!python enhancement.py   --test_dir "/content/test" --enhanced_dir "/content/na"   --ckpt "/content/drive/MyDrive/SGMSE+ Dereverberation Checkpoints/epoch=326-step=408750.ckpt"
but the results are not the same as in the demo page ,the sound comes out saturated

Hi, sorry about this. We had accidentally removed some options for the network that we thought were unused. It should be fixed on the most recent commit, https://github.com/sp-uhh/sgmse/commit/c2641a9a0b88341563fa95983e60fe0cf377d795 . I checked both SE and Dereverberation again.
Note that changing the sampler settings slightly seems to work better for dereverberation, using --N 50 --snr 0.33 (I'll also add this info to the README).

Closing this now due to inactivity. Feel free to open another issue if something is still broken for you.