Failed to decode JSON ... with error: The data is not in the correct format.

I'm hitting the assertion failure below for some of our tests.
I'm afraid I can't you a publicly accessible test case at the moment, but I'll try to isolate it a bit more if I can.
2014-01-28 17:00:28.792 junit[21830:303] *** Assertion failure in +[JUnitReporter readFromInput:andOutputTo:], /tmp/xctool-PCFS/xctool-0.1.14/Common/Reporter.m:90
2014-01-28 17:00:28.792 pretty[21832:303] *** Assertion failure in +[PlainTextReporter readFromInput:andOutputTo:], /tmp/xctool-PCFS/xctool-0.1.14/Common/Reporter.m:90
2014-01-28 17:00:28.793 junit[21830:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to decode JSON 'Binary files /Users/blah/Desktop/UnitTestData/SketchRendering/Render/Strawberry Render.png and /Users/blah/Desktop/UnitTestData/SketchRendering/Reference/Strawberry Render.png differ' with error: The data is not in the correct format.'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff8d03741c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff8a17ee75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff8d0371f8 +[NSException raise:format:arguments:] + 104
3   Foundation                          0x00007fff8ba00c61 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4   junit                               0x000000010e833a7e __38+[Reporter readFromInput:andOutputTo:]_block_invoke + 242
5   junit                               0x000000010e833f66 __ReadFileDescriptorAndOutputLinesToBlock_block_invoke + 62
6   junit                               0x000000010e83388a +[Reporter readFromInput:andOutputTo:] + 538
7   junit                               0x000000010e8341ac main + 89
8   junit                               0x000000010e833664 start + 52
9   ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: 2014-01-28 17:00:28.793 pretty[21832:303] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to decode JSON 'Binary files /Users/blah/Desktop/UnitTestData/SketchRendering/Render/Strawberry Render.png and /Users/blah/Desktop/UnitTestData/SketchRendering/Reference/Strawberry Render.png differ' with error: The data is not in the correct format.'
*** First throw call stack:
(
0   CoreFoundation                      0x00007fff8d03741c __exceptionPreprocess + 172
1   libobjc.A.dylib                     0x00007fff8a17ee75 objc_exception_throw + 43
2   CoreFoundation                      0x00007fff8d0371f8 +[NSException raise:format:arguments:] + 104
3   Foundation                          0x00007fff8ba00c61 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4   pretty                              0x000000010003a19e __38+[Reporter readFromInput:andOutputTo:]_block_invoke + 242
5   pretty                              0x000000010003a686 __ReadFileDescriptorAndOutputLinesToBlock_block_invoke + 62
6   pretty                              0x0000000100039faa +[Reporter readFromInput:andOutputTo:] + 538
7   pretty                              0x000000010003aa07 main + 152
8   pretty                              0x0000000100039d84 start + 52
)
terminating with uncaught exception of type NSException
libc++abi.dylib: terminating with uncaught exception of type NSException
ERROR: Reporter 'junit' exited prematurely with status (6).
ERROR: Reporter 'pretty' exited prematurely with status (6).

Sorry about the extremely late reply, and thanks for the fix!
For the record, I was running diff via NSTask from within test code. Essentially if a text comparison assertion fired, it would launch diff to report on the difference between the actual and expected text.


Auto Submission.

I used the Mathfield as part of a form, I found that it automatically forced the form to submit when I clicked on the Math symbols on the virtual keyboard.
Is there way we can help prevent that or a setting I might be missing?

Indeed the s were missing a type="button" to prevent this behavior.
This is fixed in @1.5.18.
Thanks for your feedback !


Fix cursor timeout bug

🗣 Description
This pull request fixes a bug that was caused HHS Trustworthy Email reports to fail to generate the past couple of weeks.  This pull request resolves issue #39.
💭 Motivation and Context
When the report fails to generate we have to go back and regenerate it manually.  Manual bad, automated good!
🧪 Testing
The pre-commit hooks all pass.  I am currently performing a full test run to verify that this change fixes the problem without unintended side effects.
🚥 Types of Changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (causes existing functionality to change)

✅ Checklist

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Well the error still occurs with the simple change.  I think the inside of that loop right where it fails must be taking more than ten minutes in some cases.  It's certainly possible, since the loop contains a database query and then another loop over the results of that query.
I'll try the no_cursor_timeout method now.

The no_cursor_timeout test was a success.  I ran both the pshtt and trustymail reporting at the same time (as happens when the reporting runs normally) and there were no errors.  In particular, the HHS report generated successfully.  I think these changes are good to go.


Make the last input field in every form handle pressing enter

Description
During the workshop, some attendees attempted to press enter to continue on the last input in each form.  Currently, this does absolutely nothing, but maybe we should consider handling enter as a special case that proceeds to the next screen (similar to pressing the button).
Acceptance criteria

Tasks

[ ]

We should think of using actual forms and handling onSubmit() (or the vue equivalent ;))


Correctly handle interceptors for Push Replications

Fixed issue where interceptors were not set on the Replication object backing the
replication builder, So when build was called HTTP interceptors were not added
to the replicator.
BugzId: 52511

+1

As discussed I'd prefer to see a common build() method for both types, but understand there will be some refactoring in this area soon.

+1


Cannot remove logo with 0.1.8

Hi,
thank you for the great work!
I've got some issues after flashing 0.1.8 fw... rtsp server non starting (resolved modifiyng system.conf like explained in another thread) and I've not found the capability to remove YI logo.

https://github.com/roleoroleo/yi-hack-Allwinner/issues/34


Selection criteria of significant results

Hi,
I appreciate the tool NATMI that you have developed.I have a quesion related to the selection criteria of significant results.
In brief, what is the number of edge expression weight larger than that could be considered significant?For example,I run some data of patients and healthy controls using NATMI,getting many data with high "Delta edge expression weight" value.However,many of them have low value of edge expression weight either in patients and healthy controls.I wonder how you filter meaningless values out in this condition.
In addition,should I discard those pairs with high specificity but low expression level?
My codes for NATMI are as follows:
python ExtractEdges.py --species human --emFile /home/NATMI/NATMI-spH-matrix.csv --annFile /home/NATMI/NATMI-spH-anno.csv --coreNum 4 --out /home/NATMI/outHCdefult
python ExtractEdges.py --species human --emFile /home/NATMI/NATMI-spP-matrix.csv --annFile /home/NATMI/NATMI-spP-anno.csv --coreNum 4 --out /home/NATMI/outpatientdefult
python DiffEdges.py --refFolder /home/NATMI/outHCdefult --targetFolder /home/NATMI/outpatientdefult --out /home/NATMI/outcomparedefult
Thank you very much!

Hi, it depends on the platform used to obtain your data. As long as the expression levels of those genes are higher than the expected expression threshold, you cannot drop them.

Thanks for your reply!


Adding Hover Button

Fixes Issue
Closes #1435

Changes proposed

Screenshots

Demo vedio:
https://github.com/Spyware007/Animating-Buttons/assets/98798977/eb4b03d3-0734-4cbf-85d6-42a729831acf
Checklist

[x] You've linked this PR to the correct issue.
[x] You have checked that the code is working correctly.
[x] You ⭐ the repository!

Note to reviewers

@TANYA-CHAN @PoorviShetty @Spyware007 Please review the code, If everything is fine so merge it


implement Saltcliffe Sailor (SAT)

incomplete English spoiler:
https://images-cdn.fantasyflightgames.com/filer_public/07/b8/07b87d96-2edd-4869-b7f0-c87e0a9c49c0/gt28_a1_cardfan.png
full French spoiler:
https://i.redditmedia.com/bpUBzsCefjoO3T9HwF51UImKcQIJNirxit4hBKF99LU.jpg?w=510&s=5953033e5154de82bc0231662b1af61f

thanks for your feedback @DukeTax , all fixed!
(including using hasToken() in the persistentEffect, which is indeed more elegant)


[Docs] Update extension type examples to not use UUID

Describe the bug, including details regarding any error messages, version, and platform.
In the Format docs and Python docs, there are several examples of user-defined extension types and sample code showing how to implement them (by subclassing). These all use a UUID extension type as the example:

https://arrow.apache.org/docs/python/generated/pyarrow.ExtensionType.html
https://arrow.apache.org/docs/python/extending_types.html#defining-extension-types-user-defined-types
https://arrow.apache.org/docs/python/generated/pyarrow.register_extension_type.html
https://arrow.apache.org/docs/python/generated/pyarrow.unregister_extension_type.html
https://arrow.apache.org/docs/format/Integration.html#json-test-data-format (under "For example, assuming a “uuid” extension type...")

Now that UUID is a canonical extension type (#41299) and will have native support in C++ and Python (#37298), we should replace these with examples based on some other user-defined extension type—ideally one that is not likely to become a canonical extension type anytime soon. Maybe an XML or YAML extension type (with UTF8 storage type)?
Component(s)
Documentation

I'm a long time fan of the arrow project and I was hoping to get a bit more involved in the project. I figured this might be a good first issue. Please let me know if it is not or the following is a bad idea.
Instead of something like a YAML or XML type, would a "rational" type make sense? Something like:
import pyarrow as pa
import pyarrow.types as pt

class RationalType(pa.ExtensionType):
    """
    A rational number represented as a struct of an integer `numer` (the numerator)
    and an integer `denom` (the denominator)
    """

    def __init__(self, data_type: pa.DataType):
        if not pt.is_integer(data_type):
            raise TypeError(f"data_type must be an integer type not {data_type}")

        super().__init__(
            pa.struct(
                [
                    ("numer", data_type),
                    ("denom", data_type),
                ],
            ),

            # N.B. This name does _not_ reference `data_type` so deserialization
            # will work for _any_ integer `data_type` after registration
            "my_package.rational",
        )

    def __arrow_ext_serialize__(self) -> bytes:
        # No serialized metadata necessary
        return b""

    @classmethod
    def __arrow_ext_deserialize__(self, storage_type, serialized):
        # return an instance of this subclass given the serialized
        # metadata
        return RationalType(storage_type[0].type)

This shows off a few more of the parameters that are passed around than the current UUID example.

Thanks @khwilson! Sounds good to me.
@rok do you have any comments?

Rational seems like a good example! Complex was discussed in the past too, but it would probably proposed as a canonical type candidate (@sjperkins?). So if we're sure rational won't be a canonical type I think rational is a good candidate. It also feels like an easier type to give pedagogical examples on then YAML/XML. On the other hand some one could nicely show how string kernels work on string storage. We don't really need to pick one - we can mix it up.

Rational seems like a good example! https://github.com/apache/arrow/pull/10452 was discussed in the past too, but it will probably be proposed as a canonical type candidate (@sjperkins?). So if we're sure rational won't be a canonical type I think rational is a good candidate.

Thanks for the ping @rok -- I really should re-propose a Complex number. I'm now thinking along the lines of ComplexFloat = FixedSizeBinary(64) and ComplexDouble = FixedSizeBinary(128), rather than the original FixedSizeListArray(float32(), 2) and FixedSizeListArray(float64(), 2) approach. I think the former will work better with FixedShapeTensor and VariableShapeTensor.
I'm currently focused in other areas at the moment, but would like to revisit Complex numbers at some point.

Thanks for the ping @rok -- I really should re-propose a Complex number. I'm now thinking along the lines of ComplexFloat = FixedSizeBinary(64) and ComplexDouble = FixedSizeBinary(128), rather than the original FixedSizeListArray(float32(), 2) and FixedSizeListArray(float64(), 2) approach. I think the former will work better with FixedShapeTensor and VariableShapeTensor.

Oh interesting approach. Is there other systems that do this? Would this approach be better fitted for vectorization?
I suppose it would be more efficient for Parquet.

I'm currently focused in other areas at the moment, but would like to revisit Complex numbers at some point.

Feel free to ping me when you do!

@khwilson please tag me and @rok to review when you have PR open. Thanks!

Will do!
On Mon, Aug 26, 2024 at 9:23 AM Ian Cook @.***> wrote:

@khwilson https://github.com/khwilson please tag me and @rok
https://github.com/rok to review when you have PR open. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/issues/43809#issuecomment-2310592440,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALU5ETHGLVPIQA2CF33WTLZTNJBDAVCNFSM6AAAAABNA6GESCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQGU4TENBUGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Resolved by #44120


[BUG] macOS: asciimatics python module not being installed

Describe the bug
When I installed asciiville in macOS using the installer script, I noticed that some of the animations were not playing. When asciiville runs a program that fails, it immediately clears the screen before you can see the error message, but I was able to pause it with ctrl-S and see that the asciimatics module is missing:
I also confirmed that these programs (like asciijulia and plasma) were able to run outside of asciiville after I ran "pip install asciimatics." They still do not run with whatever Python version/virtualenv asciiville is using, though.
To Reproduce
[Steps to reproduce the behavior:]
1: Download asciiville on macOS
2: Run Install script
3: Run asciiville
4: Try to play an animatiomn
Expected behavior
The animation shoudl play.
Screenshots

Info (please complete the following information):
~ % asciiville -v
/Users/samfoster/.config/asciiville/config: line 22: NO: command not found
Asciiville version 3.0.2 release 2
~ % uname -m
arm64

Thanks for the bug report, I will try to reproduce this on my Mac.
Did you run ascinit to initialize Asciiville? That is where asciimatics gets installed.  I will track this down and get a fix asap.

I am able to reproduce the issue (good news). The asciimatics Python module is not getting installed on macOS. Thank you for bringing this to my attention. I will get a fix out, hopefully later today.
Another problem in your description above is the output from asciiville -v:
/Users/samfoster/.config/asciiville/config: line 22: NO: command not found

I do not see this on any of my systems. Could you provide your ~/.config/asciiville/config here so I can examine it? Perhaps it is related to the Python module install problem or it could be a separate issue.

This is the line 22 in question:
use_lol= NO
I did not manually touch the configuration. I believe it was manually generated by ascinit.
Here is the config file. I renamed it to asciiville-config.txt to make it Github attachment friendly.
Thank you, @doctorfree !
asciiville-config.txt

Thank you for assisting me. I have fixed both issues - the Python module installation and the syntax error in the config file.
I need to run through some tests and I will create a new release when those complete.

Did you run ascinit to initialize Asciiville?

And yes, I did. I forgot to mention that in my report. Sorry about that! :)

@cmang a new release, Asciiville Version 3.0.2 Release 3, is now available. See the Asciiville releases at https://github.com/doctorfree/Asciiville/releases
This release primarily addresses the installation of Python modules in a virtual environment on macOS but also includes other fixes and a few enhancements. For example, the Durdraw examples can now be launched from the Asciiville applications menu.
I'm sure there's more work to be done but this should at least get you going. Let me know what you find, problems you encounter, suggestions for improvements, or any ideas you have for integration with Durdraw.


Cant create theme without sudo

I tried to create new theme
$ rails g camaleon_cms:theme nwtheme
Running via Spring preloader in process 14726
/usr/lib/ruby/2.3.0/fileutils.rb:1366:in `mkdir': Permission denied @ dir_s_mkdir - /var/lib/gems/2.3.0/gems/camaleon_cms-<IP_ADDRESS>/lib/generators/camaleon_cms/theme_template/app_nwtheme (Errno::EACCES)

Should I have sudo permissions for this?

You need permission to write in your current project because this command will create another folder + theme files

I have same issue,
i gave chmod hmod -R g+rwx Project
permission denied @ dir_s_mkdir - /home/radoslaw/.rvm/gems/ruby-2.5.0/gems/camaleon_cms-<IP_ADDRESS>/lib/generators/camaleon_cms/theme_template/app_my_theme (Errno::EACCES)

Hallo!
Added the fix, please try using github version until delivery the new version.
Cheers!


Package and place on leppot server

Now that we've got everything, let's enable manager-level staff opportunity to test before 7/14 meeting

Pull request created.

Branches merged.


fix(pkg): modified package.json to include zip files in the release

:tada: This PR is included in version 1.1.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[mp3lame] Fix MinGW-w64 compatibility

Fixes https://sourceforge.net/p/lame/bugs/487/, allowing mp3lame to be built using the MinGW community triplets.
Patch copied from Robert Hegemann's upstream patches:
https://sourceforge.net/p/lame/svn/6410/
https://sourceforge.net/p/lame/svn/6416/

[x] Changes comply with the maintainer guide.
[ ] SHA512s are updated for each updated download.
[ ] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

When running
./vcpkg install mp3lame:x64-mingw-dynamic

I receive this following post-build check problem:

-- Performing post-build validation
warning: Detected outdated dynamic CRT in the following files:
/home/dalton/Documents/mp3lame_vcpkg_patch/vcpkg_messmerd/packages/mp3lame_x64-mingw-dynamic/debug/bin/libmp3lame-0.dll:msvcrt.dll
/home/dalton/Documents/mp3lame_vcpkg_patch/vcpkg_messmerd/packages/mp3lame_x64-mingw-dynamic/bin/libmp3lame-0.dll:msvcrt.dll
To inspect the dll files, use:
dumpbin.exe /dependents mylibfile.dll
error: Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: /home/dalton/Documents/mp3lame_vcpkg_patch/vcpkg_messmerd/ports/mp3lame/portfile.cmake
Stored binaries in 1 destinations in 238 ms.
Elapsed time to handle mp3lame:x64-mingw-dynamic: 42 s
mp3lame:x64-mingw-dynamic package ABI: 94bae512f3919c6ea6ba0cea16009eccd7c05b1eb519f0a9d71fcfb89ee95e05

Not sure if this is an issue or not, but just thought I'd mention it.
The problem does not occur for the x64-mingw-static triplet.

Not sure if this is an issue or not, but just thought I'd mention it.

Not an issue with mingw. FTR there msys2 toolchains which use ucrt.

The problem does not occur for the x64-mingw-static triplet.

This is normal. No DLLs to be checked.

This also fixed the android builds.


config: add keys in package.json

Description
Add below keys in package.json and package/package.json

[x] author
[x] homepage
[x] license

Closing as done


1.37 Specification Changes + OSL code gen

Signature changes for v1.37 (include removal of backdrop as a node).
Refactor to allow generation of reference OSL shader code.
Fixes for
-- unit system when multiple types of same unit used
-- incorrect xml syntax

This looks good to me, and I'm merging this work into the 1.37 branch.  Thanks!


Resurrect line spaces in dtemplate.d

382 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

Hmmm....

And it's not even April yet.
https://patch-diff.githubusercontent.com/raw/D-Programming-Language/dmd/pull/5594.diff

Auto-merge toggled on

What is githubusercontent.com? Going directly to that doesn't work.


Fix xp-rankup bug

Fixes xp-rankup saying they don't have enough xp to rankup when they actually do.

Thanks, although this is actually not a bug. The system works so any rank above the XP you mark down matches the xpNeeded requirement. I can see how this can be confusing though, so this might be a good change to make.
Thank you for your pull request!


 On all implementations it's either a nop or just delegates to the same interface method on a wrapped object. The one exception to that is SemanticFunction, which stores the argument into a field that then is never used.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[x] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

FYI: need re-approval after merge conflict resolution in this commit: https://github.com/microsoft/semantic-kernel/pull/3183/commits/39dbd018041593b5cbbe0ddb6cc7e163d9a1c77c


[BEAM-117] Evaluate display data from InProcessPipelineRunner

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[x] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[x] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Display data can be added to any PTransform to be used
for display from any runner. Runners are not required to
consume display data, and currently many don't.
This changes InProcessRunner to consumer display data (and then
discard it) in order to validate that display data is properly
implemented on transforms within a pipeline. Exceptions thrown
within HasDisplayData implementations will cause Pipeline.run()
to fail.

R: @bjchambers @tgroh

I've addressed all feedback so far. Please take another look. @bjchambers

LGTM pending green build and any comments from @tgroh

LGTM excepting naming

LGTM. Can you squash before I merge?

Done. @bjchambers


"podman build": If you put tag option after context, no REPO or TAG is assigned

Yes, I realize my fingers got ahead of me when I used this Dockerfile:
FROM fedora:28
RUN dnf -y install cowsay

and built an image using "podman build" but accidentally put the "--tag" option after the context:
$ podman build . --tag rdayp
it showed up under "podman images" with no repo or tag values (top line):
REPOSITORY                      TAG      IMAGE ID       CREATED          SIZE
<none>                          <none>   51925a656680   18 seconds ago   529 MB
docker.io/library/fedora        28       4c5b21baa7a0   2 months ago     270 MB
docker.io/library/hello-world   latest   fce289e99eb9   2 months ago     6.14 kB

There was no diagnostic printed, it just did the build, claimed success and gave me "none" in both the REPOSITORY and TAG fields. Does this merit at least a warning? It took me a few seconds to realize how I had messed up.

Is this 1.1.2? I believe we've fixed this on master

Definitely should be giving you a syntax error, like @mheon noted, thought this was fixed already.

Crap, sorry, yes, it's 1.1.2. Will close if it's been fixed. Will also make more of an effort to check the master branch for stuff like this.


Remove extra closing brace on the first combat weapon row

Changes / Comments
Runequest_6.html
Bugfix
Removed extra closing brace on the first button to roll weapon damage, adding an "}" character on the Effects cell when the input is empty.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

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

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Add a mutex in cuda_solvers GetrfImpl.

This should solve issue #13558. Because NVIDIA does not publish the code, it is not possible to prove
the bug is in the cuSolver function. However, I have removed / commented code from
matrix_inverse_op.cpp until essentially only the call to solver->Getrf remained, and from @yaroslavvb'
project mostly everything except the regularized_inverse calls, and the segmentation fault still
occurred. It did not appear when there was a single thread calling regularized_inverse. The segmentation fault always occurs without my change, and never after introducing the
lock (although that in itself does not mean the bug is solved).
Note that GetrsImpl is already protected with a lock, so apparently this issue was known.
Finally, @yaroslavvb has a second stacktrace which does not involve the Getrf function.
I could not reproduce this error, but it may be a different bug.

Can one of the admins verify this patch?

Impressive investigation!

Hi @rmlarsen,
Please, would you have some time to look at this PR?

Only one test fails: //tensorflow/core:util_saved_tensor_slice_util_test. It does not seem related to my change (it doesn't even use CUDA). Also, I can't reproduce this error on my computer.

@codrut3 I have sadly had to add similar mutexes due to races in cusolver. NVIDIA is aware of the problem and I believe the situation should be improved in Cuda9.
@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

OK, we are moving to cuda9. could you update and test with the new version?

Hi @drpngx ,
Someone else added in the meantime the mutex, so the change is no longer needed. However, my PR also fixes a typo, at least this could merged. Because it's just a comment change, I don't think it requires testing.

We have to test everything. You never know when something is going to break.
Jenkins, test this please.

/CC @gunan Ran out of disk space on the Jenkins build here too.
devmapper: Thin Pool has 968455 free data blocks which is less than minimum required 983040 free data blocks. Create more free space in thin pool or use dm.min_free_space option to change behavior

Jenkins, test this please.


Provide auth example with app users + row level security

This blog post presents a great approach for auth:
https://blog.2ndquadrant.com/application-users-vs-row-level-security/
Postgrest does not allow arbitrary user queries, so the article's approach becomes really simple. Our docs need a clear example of how to do auth.

This may be a little tangential... I banged my head against RLS and ended up enforcing it in the API views like so: WHERE admin.table_settings.user = current_user;  Is this a valid alternative or is there a vulnerability?
I'll work through 2ndQuadrant's blog post this weekend to contrast

Note to self, also include example of read-only or invisible fields based on user permissions as @sqwishy requested in the chat.

Also @daurnimator poses another scenario we might want to model:

you can see all friends details; some friends of friends details; and anyone else visibility is determined by privacy settings

Planning to make this tutorial 2 (we've got 0 and 1 already written)

Hi, I'm trying to tackle authentication and I followed the example on the docs and it seems I have generated the mentioned functions and tables but:

I can't reach the login function on /rpc/login
The user registration part is not the clearest to me - I think it's accomplished by insertion to the user table, but the auth schema is not published so I'm not sure what is the best way to solve this.

If I could get some pointers on how to continue, I'd also be very happy to contribute to the docs.
Thanks :)

Sorry for the silence. Did you manage to make the login function work?

I too am struggling with this example. First I was getting
ERROR:  type "basic_auth.jwt_token" does not exist

when trying to create the login function. Then when I changed that to public.jwt_token I can't seem to execute the login function with /rpc/login as @lidorcg described.
It feels like I'm close but I'm pretty inexperienced with functions/stored procedures in Postgres. 😕

Sorry for not replying as well, I haven't been able to solve the problem myself (probably for lack of trying).
However, I have found the subzero project which has users and authentication procedures built-in.

I could be wrong, but it seems that row-level security policies are not enforced when a table is being accessed through a view. Instead, the table is accessed using the privilege of the view's owner, instead of the current role?
This is based on a small amount of experimentation and my poor reading of
https://www.postgresql.org/docs/10/static/sql-createpolicy.html
If this is the case, I suppose the thing to do is duplicate the security policy into the view's where clause (and maybe use with (security_barrier) for good measure?). Can anyone confirm if my understanding is correct and if there isn't a better solution?
See also:
https://www.postgresql.org/docs/10/static/rules-privileges.html
Work:
aleatory=# \d+ api.player
                             View "api.player"
   Column   |           Type           | Modifiers | Storage  | Description
------------+--------------------------+-----------+----------+-------------
 id         | uuid                     |           | plain    |
 email      | text                     |           | extended |
 password   | text                     |           | extended |
 last_login | timestamp with time zone |           | plain    |
View definition:
 SELECT player.id,
    player.email,
    player.password,
    player.last_login
   FROM impl.player;
Options: security_barrier=true

aleatory=# \d impl.player
                             Table "impl.player"
   Column   |           Type           |              Modifiers
------------+--------------------------+-------------------------------------
 id         | uuid                     | not null default uuid_generate_v4()
 email      | text                     | not null
 password   | text                     | not null
 last_login | timestamp with time zone |
...
Policies:
    POLICY "player_policy" FOR ALL
      USING ((("current_user"())::text = (id)::text))
      WITH CHECK ((("current_user"())::text = (id)::text))
...
aleatory=# set role anonymous;
SET
aleatory=> select id from impl.player;
 id
----
(0 rows)

aleatory=> select id from api.player;
                  id
--------------------------------------
 cc2f1706-0df7-436d-a46e-4ada21c526ae
 2fa79e43-cfc2-4452-9735-9e4495565837
(2 rows)

@sqwishy Yes, RLS rules are applied to the view owner and it's likely that you have a SUPERUSER(or a role with BYPASSRLS) as the owner and that will bypass RLS.
What you can do is to alter view api.player owner to <non-superuser> and then create policy for that role(or leave it at the default PUBLIC so it applies to all roles), then your RLS rules will work normally for that view.
There's an example in postgrest-starter-kit where a dedicated "api" role is created for this,
which has rls policies applied and then the views are owned by this role.

FYI, there's an RLS bug on VIEWs that @daurnimator reported in psql-bugs.
Basically, subqueries in the RLS policy are not checked against the privileges of the view owner but of the view caller.
I also bumped in to this bug when working on a example for the rls tutorial.

The bug was fixed https://www.postgresql.org/message-id/CAEZATCV_yDYoptaxtjiVB4yLwxQ%3DN7OWu8Ls98rA5MvBL%2BjKiQ%40mail.gmail.com.
Haven't tried and see if it's available on pg recent releases though.


Tests fail on ppc64el

The tty-steal test on ppc64el fails with the following logs:
Unable to find `prctl.set_ptracer`, skipping `PR_SET_PTRACER`.
spawned children: me=14648 victim=14649 reptyr=14650
world
[+] Making sure we have permission to attach...
[+] session leader of pid 14649 = 14649
[+] found terminal emulator process: 14648
[+] Listening on socket: /tmp/reptyr.VhiRVA/reptyr.sock
[+] Attaching terminal emulator pid=14648
[+] Allocated scratch page: 7fffacce0000
[+] Attached to terminal emulator (pid 14648)
[+] Checking fd: 0: st_dev=8800
[+] Checking fd: 1: st_dev=8800
[+] Checking fd: 2: st_dev=8800
[+] Checking fd: 5: st_dev=502
[+] found a ptmx fd: 5
[+] found a master fd: 5
[+] Checking fd: 6: st_dev=502
[+] found a ptmx fd: 6
[+] Opened fd 94 in the child.
[+] Connected to the shared socket.
[+] Sent the pty fd, going to receive it.
[-] Error receiving message.
Unable to attach to pid 14649: Resource temporarily unavailable
world
[...]

I've discussed this with @nelhage in person but since I have access to a ppc64el machine now, opening a ticket to track the debugging work. I'm currently trying to understand why the powerpc implementation of arch_set_syscall is using PTRACE_POKEUSER, since AIUI the syscall number goes in a register, not a memory address.

OK that was a red herring - ptrace has interfaces through PEEKUSER and POKEUSER for interacting with registers (in addition to GETREGSET and SETREGSET.
I'm currently suspicious that the return value from a syscall ends up in the result field of struct pt_regs, not in gpr[3]. But if I make that change, I get a new, earlier error:
[+] Checking fd: 6: st_dev=502
[+] found a ptmx fd: 6
Unable to attach to pid 1954: Socket type not supported

which implies that socket(AF_UNIX, SOCK_DGRAM, 0) is failing with ESOCKTNOSUPPORT which makes no sense.

I find straceing the reptyr process pretty helpful for debugging weird issues, since so much of what it does is ~directly at the syscall layer.
You can  probably modify https://github.com/nelhage/reptyr/blob/e78f1f41603f159c42e52d483a3941d7e64f9f52/test/tty-steal.py#L33 to add strace -o reptyr.strace or something and then pore over that.

Yeah I did try something similar earlier, but it doesn't let me see the registers that are being poked into place:
ptrace(PTRACE_GETREGSET, 20911, NT_PRSTATUS, [{iov_base=0x7fffe1e014d8, iov_len=352}]) = 0
ptrace(PTRACE_SETREGSET, 20911, NT_PRSTATUS, [{iov_base=0x7fffe1e014d8, iov_len=352}]) = 0
ptrace(PTRACE_SETREGSET, 20911, NT_PRSTATUS, [{iov_base=0x7fffe1e02848, iov_len=352}]) = 0
ptrace(PTRACE_POKEUSER, 20911, r0, 0x118) = 0
ptrace(PTRACE_DETACH, 20911, NULL, 0)   = 0
close(3)                                = 0
unlink("/tmp/reptyr.ugBArk/reptyr.sock") = 0
rmdir("/tmp/reptyr.ugBArk")             = 0
write(2, "Unable to attach to pid 20924: S"..., 57Unable to attach to pid 20924: Socket type not supported

Having thought about it more, though, I do think that the socket call is actually returning with ESOCKTNOSUPPORT. The victim process only has ~6 fds open, so this line from the original output stream does actually make no sense:
[+] Opened fd 94 in the child.

Still not sure why, though, or what arguments are actually getting fed into the syscall.

Aha:
(gdb) p arch_syscall_numbers[0].nr_socket
$5 = 0

powerpc seems to have both a socketcall syscall and the direct socket calls, but because socketcall exists, it was going through this logic: https://github.com/nelhage/reptyr/blob/e78f1f41603f159c42e52d483a3941d7e64f9f52/platform/linux/linux.c#L415-L418
which, as promised, does not seem to work on 64-bit architectures. Swapping the precedents in default-syscalls.h (to prefer socket over socketcall unless __NR_socket is undefined) seems to work. I'll send a patch in a sec.


CUDA out of memory

"Is it the case that the code specifies using GPU number 0, and if I want to use GPU number 1, does the command 'CUDA_VISIBLE_DEVICES=1 python -m apps.infer -cfg ./configs/sifu.yaml -gpu 0 -in_dir ./examples -out_dir ./results -loop_smpl 100 -loop_cloth 200 -hps_type pixie' have no effect, and manual modification of the code is required?"

y can directly change the gpu number in codes, try it

I think this command works. I tried on my device with this command 'CUDA_VISIBLE_DEVICES=1 python -m apps.infer -cfg ./configs/sifu.yaml -gpu 0 -in_dir ./examples -out_dir ./results -loop_smpl 100 -loop_cloth 200 -hps_type pixie', and it runs on GPU 1:


NaN (float) should output null {}

Right now, serializing a LabVIEW NaN outputs NaN (no quotes) -- it should probably output a null object {}.
Current behavior:

Need to also consider what happens with +Inf and -Inf

Never mind. I see that this is a feature of the "Numeric Extensions" input.


Change Python icon to have the official colors

At the moment, all the icon is blue. It would be nice to incorporate the yellow as the official version.

@robertohuertasm Do I get to get a priority list? 😛

@JimiC, excuse my English... 😅 what do you mean?

He wants a list what he needs to do first(the most important). Then a step down to the 2nd-importest. Did you understand me?

@robertohuertasm It means that if you have a priority list for the icon conversion process, let me know.
Currently, my priority is to first support requested icons, then convert the folder icons, then the rest of the icons.

Ok! Thanks for the explanation! 😁 I currently don't have such a priority list but yours fits perfectly with the approach we've been keeping so far so I don't see a reason to change it.
That being said, would it be a problem for you (@JimiC) if someone did some icon modifications right now? I mean, I was thinking of doing this when I had a free moment but I'm starting to think that maybe it's a problem for you because you maybe loose tracking of the state of the icons.
Please, let me know if this is an issue for you because then we we'll stop all the icon modifications until svg conversion is totally completed.

@robertohuertasm Help is much appreciated, but the pitfall here is that we don't have "yet" a common art guideline, so that the converted icons are inline with that.
It would be a shame if we end up spending more time on agreeing than converting.
So my priority list has in #2 the #489 issue, which I intent to work on in parallel.

To add to the above, we could create a separate branch on this repo to keep the converted icons (as I do on my fork). It will be must easier to keep track on them than having them on my fork.


Function controllers call onChange on click

Lovely library you have going here!
Thought it'd be nice to have some sort of callback when a function button is clicked, similar to the onChange with other controllers.

Thanks!
So I agree, that would be convenient. At one point I thought about making it so that onChange and onFinishChange would be fired on click (given they don't do anything now). It felt a little wrong though: clicking a button isn't really a "change" and it would also trigger the parent GUI's onChange events, etc.
If the library does provide this, I think it would have to be a new method specific to FunctionController. Essentially shorthand for this:
controller.$button.addEventListener( 'click', myFunc );

Wondering aloud what that might be called...

Hey just an update that this is in 0.18 — see discussion here: https://github.com/georgealways/lil-gui/issues/64#issuecomment-1426786805


chore: making the connection to audio device optional

When the destination of the AudioContext has already been connected to the audio context, we must offer an option to the user so that he can avoid a new useless connection that might result in a micro-cut of the sound.
Note: The default behaviour remains the same, this PR just adds an optional parameter to handle this particular case when audio context destination is already connected from somewhere else.

Hi @foobar404, any plan to review this PR or you might expect some changes?


Implemented chatBox to directly reply.

Features covered in this PR (#8)-

[x] Send message without dialog box
[x] Tap on the chat message textView to select the subject or person in the chatBox and send message
[x] Tap on the header tile to narrow and select the subject or person in the chatBox
[x] Switch views for the Stream and Private.

Automated message from Dropbox CLA bot
@kunall17, it looks like you've already signed the Dropbox CLA. Thanks!

@kunall17 this looks really cool.  if you can get it rebased to master, I'll give it a look. 👍

@niftynei sorry for the late rebase, did it now..:)

Did the edits..:)

I finally got around to running it.  It took some getting used to, but I'm pretty into this.  Here's a few things I noticed:

the reply box is showing right when I log in.  Can it be hidden until the stream finishes loading?
Clicking on a message to reply fills in the boxes nicely and moves my cursor but doesn't bring up the keyboard to start typing.
When pushing the up navigation arrow, the reply box stays shown with the last stream's topic and info. Can we clear out the stream,topic and message if a user presses up or back, especially if the message reply box is empty?  If there's text, we might show a confirm dialog (and let them know that going back will delete their unsent message)
The Person/Topic message toggle on the reply box is nice, but is incorrectly showing the Topic icon when it first opens; toggling it a few times seems to unstick it.
Toggling between a person and a topic erases the stream, but not the topic. (see below)
There's no immediate feedback that a message has been posted. I can't tell whether my message got sent or not; I ended up posting a message twice on accident because of this.  The current message dialog boxes grey out the text and show a progress spinner -- this should do something similar.
The action bar still has the private message/stream message buttons in it. This is kind of confusing. Is there a reason you didn't get rid of them?
This is a nitpick, but can we make the Person edittext fill the space (see below)?

@niftynei updated this branch!
Now it does

[x] Brings up the keyboard on tapping message
[x]  Fixed switching icon Bug.
[x]  Now stores the previous stream name while switching.
[x]  Shown Loading screen as the compose dialog box.
[x]  Person EditText space is now filled.
[ ] When Navigation Up arrow is pressed it clears only if the message is Empty
I had to discuss on this, Should we display a confirm dialog if message box is not empty?
This can be annoying sometimes to the user!

For the Compose dialog icons in the action Bar I thought let it be there, if someone prefers that way they can go for it. But basically both are same.
Should I remove them?

yeah, let's remove the compose dialog icons. 👍

@kunall17 this looks great.  I am +1 on leaving out the clear dialog on back press.  There's a few more things that we might be able to do to make it a bit more user friendly, but nothing that's blocking.  They're also the sort of thing that we can fix/modify later.
I just noticed that there's an extra amount of padding around the message list. can you get rid of this?

This crash occurred while starting the app (clicking icon from launcher)
06-01 10:56:46.231 E/AndroidRuntime( 7435): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.zulip.android.dev/com.zulip.android.activities.ZulipActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread.-wrap11(ActivityThread.java)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.os.Handler.dispatchMessage(Handler.java:102)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.os.Looper.loop(Looper.java:148)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread.main(ActivityThread.java:5422)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at java.lang.reflect.Method.invoke(Native Method)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
06-01 10:56:46.231 E/AndroidRuntime( 7435): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.text.Editable android.widget.EditText.getText()' on a null object reference
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.zulip.android.activities.ZulipActivity.clearChatBox(ZulipActivity.java:723)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.zulip.android.activities.MessageListFragment.onDetach(MessageListFragment.java:264)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1202)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.support.v4.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1349)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:699)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.zulip.android.activities.ZulipActivity.pushListFragment(ZulipActivity.java:747)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at com.zulip.android.activities.ZulipActivity.onCreate(ZulipActivity.java:418)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.Activity.performCreate(Activity.java:6251)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
06-01 10:56:46.231 E/AndroidRuntime( 7435): 	... 9 more

@niftynei Done ..:)
For this bug, I guess it's narrowing and using the method clearChatBox() when the editText isn't initialized so I have moved the initialization of the Views, hopefully this will solve the problem, It would be great if you try to reproduce the error!

The crash occurs if the app has been opened or backgrounded for a long time (so not a fresh start) and you click on the app icon from the launcher.

@kunall17 this looks great, but I'm having trouble sending messages with it.  The "Send" button seems disabled.  If you can get this fixed up, we'll get this merged in.

@niftynei Updated with the Tests..:)

@niftynei Fixed the bug and tested upon this one now it doesn't blocks!

Tests are flakey, but implementation looks good to me. 👍


Consider to make editor override service the editor resolver / registration service?

The more the editor override service grows the more I think it should not have any "override" in its name, because it will eventually be used for all editors (ideally) and then it is not about overrides anymore, but rather resolving an untyped editor to an editor input based on rules.
Another related thing is: today we require you to register an editor for an editor input, e.g.:
https://github.com/microsoft/vscode/blob/eebf8e876ab99688b167b98874ca2b3c17822e4f/src/vs/workbench/contrib/files/electron-sandbox/files.contribution.ts#L14-L24
I wonder how this correlates with the editor resolver service and whether this should also move somehow into the service. Because logically it doesn't make so much sense to me that I need to register an editor resolver in one way and my editor in a completlely different way.

Maybe a nice balance to not overfill the editor resolver service is we have everyone register with the resolver service and internally it pipes through and registers the necessary info with the EditorInputResolverService or whatever we would call it.

I pushed some renames so that the registration code now is:
Registry.as<IEditorPaneRegistry>(EditorExtensions.Editors).registerEditorPane

Does it make sense to merge the registration now? Because one is for panes and one is for editorInputs

Yeah can we maybe open a new issue for that to discuss, or leave this one open specifically for this? I am not entirely sure if we can do this already now before all editors have adopted untyped inputs...


Remove code duplication of derivate implementations

This makes the base code a bit more complex when following one "mode", but it keeps the package size down.

Codecov Report

Merging #2 (868fe62) into main (46c9567) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           10         5    -5
  Lines          210       126   -84
  Branches        66        46   -20
=========================================
- Hits           210       126   -84

Impacted Files
Coverage Δ

src/diffObject/diff.ts
100.00% <100.00%> (ø)

src/diffPath/diff.ts
100.00% <100.00%> (ø)

src/utils/diffMode.ts
100.00% <100.00%> (ø)

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 46c9567...868fe62. Read the comment docs.


Output at higher resolution

Hi, I have several high resolution footages (4240x2382) that would like to be tested on this algorithm.
What are the options to get the same resolution as output?

Hi, I assume your question is about the automatic resizing of our algorithm? We currently only support 8x resolution (2382 / 8 = 297.75, thus it's not fully supported). An alternative is to use zero padding to make your input 4240 x 2384, run our algorithm, and then cut the padded part from the output.
Hope this helps!

https://github.com/anchen1011/toflow/issues/5
This could solve your issue.


UI is not rendering properly when clicked on push notifications in iOS

Description
I had integrated push notification in my react native application. when I click on the push notification (removed app instance) my application opens and it navigates to the Home screen but UI does not render properly (styles are not applied to UI). it happens only in iOS. Android works fine
Version
0.61.5
Output of npx react-native info
System:
OS: macOS 13.0.1
CPU: (8) arm64 Apple M1
Memory: 65.70 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 19.1.0 - /opt/homebrew/bin/node
Yarn: 1.22.19 - /opt/homebrew/bin/yarn
npm: 8.19.3 - /opt/homebrew/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK:
API Levels: 22, 23, 25, 27, 28, 29, 30, 31, 32, 33
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-29 | Google Play ARM 64 v8a, android-30 | AOSP ATD ARM 64 v8a, android-30 | Google APIs ARM 64 v8a, android-30 | Google APIs Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play ARM 64 v8a, android-30 | Google APIs ATD ARM 64 v8a, android-32 | Google Play ARM 64 v8a
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.5 => 0.61.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-create-library: 3.1.2
react-native-video-player: 0.12.0
tp-react-native-bluetooth-printer: 1.0.1
Steps to reproduce
I'm trying to send a push notification from the backend when the app is in close/kill state. Then clicked on the notification, it navigated to the home page but the UI didn't render properly.
"@react-native-firebase/app": "^13.1.0",
"@react-native-firebase/messaging": "^14.0.0",

The following method is working well to get notification
firebase.messaging().getInitialNotification().then(notificationOpen => {
console.warn('getInitialNotification: ', notificationOpen)
});
Snack, code example, screenshot, or link to a repository

The issue has been resolved. Please check below link for ref
https://firebase.google.com/docs/cloud-messaging/http-server-ref
Set content_available to false in iOS FCM configuration


Use AnyIO

This PR has breaking changes, and should probably be released as v1.0.
In particular, WebsocketProvider, WebsocketServer, YRoom and YStore must either be used with an async context manager (this is the preferred way), or using lower-level start() and stop() methods.
Before this PR, some tasks were created implicitly on instanciation. The new approach is more explicit regarding the async nature of these objects, and ensures no task is left running on tear-down. Under the hood, AnyIO's task groups are used, but ypy-websocket can be used in a "pure asyncio" environment, no need to adopt AnyIO outside of this library.
Here is an example with an async context manager:
async def main():
    async with WebsocketServer():
        ...

Which is equivalent to the following, when using the lower-level API (with start()/stop()):
async def main():
    server = WebsocketServer()
    task = asyncio.create_task(server.start())
    await server.started.wait()
    ...
    server.stop()

I have questions trying to understand all changes. It would also be great to add more documentation to the code especially as it is meant to be extended by other libraries.

Thanks for the review @fcollonval,  I updated the PR description. Where do you think I should add comments in the code in particular?

The documentation is accessible at https://davidbrochart.github.io/ypy-websocket.

best would be to use mermaidJS so the graph are nicely display directly in GitHub.


possible to provide example by converting redis server for evio to use gnet?

since gnet is derived from evio, possible to convert this for testing performance?
https://github.com/tidwall/evio/blob/master/examples/redis-server/main.go
thx in advance

Kind of busy these days，I'll look into it when I got some time.

Try this one: https://github.com/IceFireDB/redhub


The 'record_mp3_plus' channel sent a message from native to Flutter on a non-platform thread.

Error when starting recording on IOS device
[ERROR:flutter/shell/common/shell.cc(1065)] The 'record_mp3_plus' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
flutter: error: RecordErrorType.IO_EXCEPTION

I made this library fork from record_mp3 to fix the build only, but this error needs a lot of work to fix it


Move search box to lower left

https://github.com/cardstack/boxel/assets/353/fdf3ddaa-8c47-4a80-a393-e2b24e6521ac

Percy shows this, backgrounds missing:

Preview deployment seems broken but running locally it does lack the split backgrounds:

Will look at the changes now to see if anything sticks out, or could it be unrelated to this PR somehow, a merge problem?

I don’t know if this is solvable in a general way but the alignment of these when in split view seems off to me:

So the background thing is a way that templates work. When an attribute (in this case “style”) is set in thr template, if its value is undefined then glimmer will omit the attribute. I believe that is why we are returning an empty string instead of undefined.

I suspect there won’t be a need for validation in that field so I’m leaving that for now.
This is something that predates the appearance change here but since this adds the ability to close the search with ⎋ I also think it should be possible to close it without that, maybe just by clicking outside the container? But this can be addressed separately.

This is something that predates the appearance change here but since this adds the ability to close the search with ⎋ I also think it should be possible to close it without that, maybe just by clicking outside the container?

I like this idea as a a future improvement


[Other]: Do you have an SDK version that supports server version 3.6?

I noticed that the minimum version of this SDK is 3.8, while our server version is lower at 3.6. The Flutter SDK on our side is 3.5.1. Is there a WASM SDK similar to version 3.5.1? When integrating, I found that some interfaces are working while others are throwing errors. Overall, it seems that the 3.8.2 SDK doesn't work well with the 3.6 server. Besides upgrading the server, are there any other solutions?

The suggestion is to uniformly upgrade to the latest version (3.8.2). If you really need to use an old version, you can try installing (npm i open-im-sdk-wasm@3.5.3-alpha.7).

You can directly view the API list and parameters in the Type script type file description of the corresponding version.

OK，its work for me。thanks

This issue has been resolved。


rye test: Don't enable capture=no in quiet mode

rye test -q behaves like pytest -q -s, but the extra -s (no capture == show all standard output) is surprising.
This seems out of place but I don't know if it was deliberate - I suggest this change.

I think this makes sense. Could you also add a changelog entry?

sure, done


Cant seem to read the disk name using OPEN/WRITE/READ/CLOSE

I'm not sure why this is crashing and not working. I can do this same logic in the normal BASIC. Is there a problem passing string data to these kernal routines perhaps? I'm really not sure why its not working.

SUB PrintDiskName(device AS BYTE) STATIC SHARED
    rem page 108 of "the anatomy of the 1541"
    OPEN 15, device, 15
    OPEN 2, device, 2, "#"

    WRITE #15, "b-r 2 0 18 0"
    WRITE #15, "b-p 2 144"

    DIM index AS BYTE : index = 0
    DIM value AS BYTE : value = 0
    DIM name AS STRING * 17

    DO

        REM is there a new version of "INC index"? could use ASM to do it, does the compiler detect this v = v + 1 and use asm inc?
        index = index + 1

        READ #2, value
        PRINT value
        rem POKE @name + index, value

    LOOP UNTIL value = 160 OR index = 16

    CLOSE 2
    CLOSE 15

    rem POKE @name, index + 1

END SUB

CALL PrintDiskName(8)

I'm not sure but shouldn't you use INPUT# instead of READ#? What do you use in CBM BASIC?

... Also, PRINT# instead of WRITE#

@Thraka Take a look at your own git repro. https://github.com/Thraka/xcb-ext/tree/master/v3/xbc-mod-disk
There is some working disk code there to talk to the drives. Ha! That's what you get for including your dad as a collaborator!

@neilsf Ahhh. I didn't notice the GET# after spotting INPUT# and READ#, so I thought GET# was renamed.

@Thraka can you share the code that crashes? Thanks

@neilsf the code in the first post will cause the crash

Here is the correct code to read disk name:
SUB PrintDiskName(device AS BYTE) STATIC SHARED
    rem page 108 of "the anatomy of the 1541"
    OPEN 15, device, 15
    OPEN 2, device, 2, "#"

    PRINT #15, "b-r 2 0 18 0"
    PRINT #15, "b-p 2 144"

    DIM index AS BYTE : index = 0
    DIM value$ AS STRING * 1 : value$ = ""

    DO
        index = index + 1
        GET #2, value$
        PRINT value$;
    LOOP UNTIL value$ = CHR$(160) OR index = 16

    CLOSE 2
    CLOSE 15

    PRINT ""

END SUB

CALL PrintDiskName(8)


bam file won't display

Hi there,
Trying to track down why my bam wont display, and I don't get any errors from IGV.

Nothing returns. any help would be much appreciated.

Hi,
I'm having the same problem. Everything is installed and enabled, and I got a confirmation when I launched jupyter lab igv enabled!. But nothing happened when I run code similar to above, and there's no error message either. Do you have any idea what might cause this?
Thanks!

Hi, first igv-jupyter does not support jupyter lab, did you mean jupyter notebook?

My issue was dumb I needed to use the full like so:
bam_path = "http://sci-pvm-nicholas:10000/tree/projects/genomics/ukbb/ch/data/siddhartha_2017_subset_crams/5989838_23163_0_0.subset.sorted.bam"

@njbernstein Ah ok, thanks for letting me know.  There is a way to use relative paths for files  using "file magics".   I do python so seldom the details escape me, but I did get it to work once.

working not after switching from lab to notebook. Thanks!


Screen becomes darker after a crash

Crash 1:

Crash 2:

Minecraft: 1.12.2
Forge: 2705
Mods: list-alphabetical.txt

I'm not sure if this is an issue caused by VanillaFix. We don't touch the main GUI or anything that would cause that. If you can reproduce this with just VanillaFix, then we might be able to fix it, but as of now, I'm not sure this is caused by us.

@ZombieHDGaming This is very likely caused by VanillaFix. Either the crash happened during some rendering code, or another mod is affecting the screen darkness and is using a static field which does not reset after post-init objects are cleared.

@Xiaminou Does it happen for all crashes? Try pressing F3 + C, does that make the screen darker too? If not, could you upload a crash report of the crash that caused the screen to get darker? If yes, do you know of any mods that may have a feature that makes the screen temporarily (VF could be making the temporary effect permanent)?


Asura is saying that there are no chapters found

Source information
Asura Scans 1.4.36
Source language
English
Steps to reproduce
I tried to update the manhwa, but it says there are no chapters found, which doesn't make sense since on Asura, there are clearly chapters there. Additionally, the manhwa is not updating the new chapters either. You can still read whatever chapters were there originally.
Expected behavior
Should show new chapters
Actual behavior
Says no chapters found
Mihon/Tachiyomi version
TachiSY Preview r561
Android version
Android 14
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Here's an example

Vs on Asura


How to replace css modules classes in js files without a templator

Hello,
Could you someone please provide an example how to insert generated modules into js files?
Using docs I built css modules and I saw examples for html and templators but want to keep my js files clean of special template syntax. In my case I'm building React app and when I converted css into modules I updated import in components to import styles from "./MyComponent.module.css"; and class assignment statements <div className={styles.myClass}>. After transpiling it was turned into { className: MyComponent_module_css_1.default.myClass }. What would be the best approach to replace such generated styles or it's done somehow differently?

Post title is wrong. He is asking how to use cssmodules in js files wthout templator.
Replacing classes in JS is another task in which i am still very interested.
How to change css-classes in js files ?


[Version] Release new version rc5

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage     92.65%   92.65%
  Complexity        8        8
=========================================
  Files             2        2
  Lines           313      313
  Branches         34       34
=========================================
  Hits            290      290
  Misses            5        5
  Partials         18       18

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 8e17c1e...48327c6. Read the comment docs.


Support transaction filtering

Describe the feature
What:
Add cli flag to reth that allows for filtering transactions that are included in a block. For my usecase it would already be sufficient if there is a flag to provide a list of prohibited source and destination addresses.
Why:
no 🥪
How:
(not familiar with reth) Either filter when building the block or don't even store transactions that match the provided list.
I would be willing to implement this.

closing this because this is not a feature we want natively supported as setting, but can easily be done with a few modest modifications using an extension


Preserve state of Positions grid

Story
As a Console user
I want the positions form to be in the same state I left it in if I leave/close/refresh the page and return.
So that I can avoid having to change the grid to my preffered layout every visit.
Acceptance Criteria

[ ] The sort of each column is retained when leaving and returning.
[ ] The ordering each column is retained when leaving and returning.

Tasks

[ ] Team and stakeholder review
[ ] Specs reviewed and created or adjusted
[ ] Implementation
[ ] Testing (unit and/or e2e)
[ ] Code review
[ ] QA review

Additional details / background info
small thread about here: https://vegaprotocol.slack.com/archives/C037STCKMGC/p1685966926049119

closing as will be covered by https://github.com/vegaprotocol/frontend-monorepo/issues/4063


add textarea field to voter reg custom setting

What's this PR do?
Added a textarea form field to the voter reg custom setting. The text gets passed along to the template and included above the voter reg form with the custom social share link.
How should this be reviewed?
To test, fill out the field (using html!!) and make sure it shows up above the form as expected. Clear it and make sure nothing crashes when there's nothing in there.
Any background context you want to provide?
This feature was wanted so that admins can include notes about registration deadlines and keep altering the text based on which ones have passed/are coming up/etc.
Relevant tickets
Fixes #6903
Checklist

[ ] Tested on staging.
[ ] Pinged a PM if this is a larger PR that would benefit from some additional testing love. @ngjo 👋

@katiecrane should there be default text if the field isn't set?

@angaither great idea! Should probably be "Register with the form below. When you’re done -- use this custom share link to get your friends and family to register!" aka the text that's not about deadlines

@katiecrane errr, but maybe more generic so it's not so vote-register-y?

@angaither it's a field within the voter reg custom settings though?

UGH I'M SORRY. 🔍

👓  😎


[network] Add Rate Limiting

Background
Previous rate limiting in Diem
Originally, Diem did have a rate limiting system to rate limit by number of messages.  This would lock around a semaphore counting the number of requests that had come through the system, in a confusing way that caused a memory leak.  This was removed, because it caused a memory leak, and it only gave the ability to rate limit by total number of messages (after they had been read), and not based on their content.
Problem
We want the ability to protect nodes in Diem, both validators and full nodes, from being overloaded by bursts of expected or unexpected traffic.
Goals

Rate limit bandwidth inbound and outbound to a node
Configurable - ability change limits (minimally on startup of a node)
Keep a low overhead - allow for garbage collection to prevent secondary attacks

Approach
tl;dr
I realized, this document became very long below here.  So, here's the summary:

We'll use Governor for our rate limiting
We'll rate limit by IP on bytes transferred for a throughput rate limiting
We'll rate limit at the transport level reading in max 1 extra message, and buffering it
It'll be implemented as first, a dropping message solution, followed by a backpressure solution

Rate limiting library
After taking a look at many rate limiting libraries, and looking at building my own, it looks like Governor is the preferred option.
Where do we rate limit?
There are pros and cons to where we rate limit messages.  I ideally want to keep the framework flexible enough we could have multiple layers for different purposes.  I'll go over below the options below with pros and cons, but I want to start the MVP with a Transport Layer (per message) approach.
Transport Layer (Per byte)
As bytes are read off the socket, we can keep track of how many bytes come through for all connections on an IP or peer.  The bytes read would have to be buffered at a frame level until the rate limiter allows it through later.
Pros:

Can provide backpressure - stop reading from socket = backpressure
Can rate limit on a per byte level
Cheap - Won't read a single byte more than it has to

Cons:

Low level - can only use IP information, can't take advantage of trusted peers / protocol or message information
Partial frame reads between throttles, can be buffered between frames

Transport Layer (Per message) [Preferred MVP]
As message frames are read off the socket, we can keep track of how many bytes come through for all connections on an IP or peer.  This however means we may read at most one message per connection extra (if there is a thread per connection).  This message would then need to be either dropped or buffered for once it can.
Pros:

Can provide backpressure - stop reading from socket after a message
Can rate limit on a per byte per message level
Simple, and will always read full frames off the socket

Cons:

Backpressure is after reading a message too far
Buffering a single message just to adhere to rate limit or otherwise, allow message through and go one message over
Low level - can only use IP information, can't take advantage of trusted peers / protocol or message information

Application layer (Per message)
After messages are processed by the transport layer, examine message to determine if it should be rate limited.  This will allow to bring in other application level pieces like content of messages.
Pros:

Can use protocol or message information in rate limiting decisions
Simple, and will always read full frames off the socket

Cons:

Can't provide backpressure, would have to drop message and let application level handle retries (DirectSend doesn't)
High level - already incurred the cost of reading / processing message at transport layer

What are we rate limiting on?
We'll rate limit on the IP over the PeerId, which would prevent an application or attacker from just providing a bunch of connections with different PeerIds.  This could slow multiple users with different PeerIds behind the same IP, but that's a less likely scenario.
We'll also rate limit on the number of bytes total per message, at a per second rate.  This will allow us to have a throughput rate per IP.  I've decided not to do anything dynamic about changing throttle sizes based on number of connections for simplicity.
How will this be worked on?
This is all about building MVPs, so the first iteration will be to drop messages as they go over the limit to load shed.  This is problems with some of the ways our protocols are implemented (DirectSend), so we'll need to after that come back and make a backpressure solution.  However, doing the drop message system first will allow us to move faster with some side effects on pieces that use DirectSend.

This is done :D


erratic behavior after calling get_analyzer

Disclaimer: I just started using this module, so I may not be using it correctly.
I am using the saleae module in my application to capture serial communication to and from a device.  Before calling capture_start(), I use the get_analyzers() and get_active_channels() calls to verify that the saleae is setup correctly.  The first capture works fine, but subsequent captures raise an exception when calling get_analzyers().  A little debugging showed that the _recv() routine was returning 'TRUE' in response to the 'GET_ANALYZERS' command.  It appears there is some sort or synchronization problem and the get_analzyers() is getting the response to a previous is_processing_complete().
My workaround was to use a try block around the get_analyzers() call and loop until successful.  The first call raises an exception (except for first time) that I ignore and the second call is successful.  This resyncs the socket communication and no further problems (so far).

Hmm, I haven't seen anything like that happen before. It certainly doesn't sound like anything that is supposed to happen.
Are you only calling capture_start or are you doing something to check when the capture is complete? Could you reduce to some minimum working example that exhibits the bug?

Here's a test program and output that I wrote which demonstrates what I'm seeing.
`from saleae import Saleae       # version 0.9.0
from time import sleep
Saleae setup is:
- Logic version 1.2.29
- 2 Digital channels only: rx & tx of serial device
- Asynch Serial analyzer on each channel: 0 = rx, 1 = tx
- Trigger on rising edge of digital channel 0
- Capture duration = 1 second
socket = Saleae()
call is_processing complete() every 100ms until consecutively true for 'min_times'
Print T or F after each call to is_processing_complete
def wait(min_times):
i = 0
while i < min_times:
if not socket.is_processing_complete():
print('F', end='')
i = 0
else:
print('T', end='')
i += 1
sleep(0.1)
Capture and export results 3 times.
for i in range(3):
print('\nCapture #' + str(i+1))
while 1:
try:
print('Analyzers: ' + str(socket.get_analyzers()))
break
except Exception as e:
print(e)
print('Channels: ' + str(socket.get_active_channels()))
print('Capture: ', end='')
socket.capture_start()
wait(8)
print()

print('Export 1: ', end='')
socket.export_analyzer(1, 'capture/rx.csv')
wait(8)
print()

print('Export 2: ', end='')
socket.export_analyzer(2, 'capture/tx.csv')
wait(8)
print()

`
output.txt

Here's a test program and output that illustrate what I'm seeing.
SaleaeTest .py.txt
output.txt

Interesting.. it's quite surprising to see any F in the Export list. I believe that wait should be using is_analyzer_complete. Though that still does not explain how things get out of sync. Perhaps the issue stems from not waiting for the first export analyzer to finish before triggering the next?

I tried setting a breakpoint in _recv (line 242 of saleae.py) so that I could step slowly and allow plenty of time between commands.  It also allows me to see the _rxbuf contents after each command.  But even stepping through the commands slowly, it's behaving oddly.   For example, the calls to is_processing_complete() following start_capture() return 'NAK' the first time, 'ACK' the second time, and 'TRUE/nACK' after that.  The reply on the second call looks incorrect to me.

Hmm.., from that description it sounds like it may be an upstream issue?
Those inconsistent replies from the Logic software would certainly confuse
processing on this end..
On Tue, Feb 25, 2020 at 1:21 PM flagline<EMAIL_ADDRESS>wrote:

I tried setting a breakpoint in _recv (line 242 of saleae.py) so that I
could step slowly and allow plenty of time between commands. It also allows
me to see the _rxbuf contents after each command. But even stepping through
the commands slowly, it's behaving oddly. For example, the calls to
is_processing_complete() following start_capture() return 'NAK' the first
time, 'ACK' the second time, and 'TRUE/nACK' after that. The reply on the
second call looks incorrect to me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ppannuto/python-saleae/issues/54?email_source=notifications&email_token=AACS3XQXZO4PYQLKENWDNVDREWDTXA5CNFSM4KX3PXTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM5ROHI#issuecomment-591075101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACS3XQTKDHAKQ7YWCAPL2LREWDTXANCNFSM4KX3PXTA
.

It could be.  I appreciate your input, but I've put in as much time as I can afford looking into this. Despite the glitches, this module has been super helpful.

I understand! Thanks for all your debug effort.
If you find the loop method to be robust enough as a workaround and think it's worth integrating generally in the library, I'm happy to take a PR.
In the meantime, I think I'm going to close this issue out as an upstream bug (attn @Marcus10110). Feel free to re-open (you or others) if new information merits.

No problem.  For what I'm doing, it seems to be working, but I'm only using
a small subset of the commands.   I think for a real solution, you'd need
to identify where the problem is coming from.  I'm still a bit mystified as
to exactly what is going on.
On Wed, Feb 26, 2020 at 8:12 AM Pat Pannuto<EMAIL_ADDRESS>wrote:

Closed #54 https://github.com/ppannuto/python-saleae/issues/54.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ppannuto/python-saleae/issues/54?email_source=notifications&email_token=AOTHQVKJGQFRI4VS26KI7Q3RE2IFBA5CNFSM4KX3PXTKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOW473XGY#event-3074407323,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOTHQVOBNUWDTMSO5CXHGCTRE2IFBANCNFSM4KX3PXTA
.

--
Tom Herron
Flagline Consulting, LLC
541-224-6953


chore: remove usage of deprecated fields coder_workspace.owner_*

Updates the following modules to no longer reference fields matching coder_workspace.owner_*:

coder-login
git-config
github-upload-public-key
jfrog-oauth
vscode-desktop

Also updates dependency of coder/coder to 0.23.0 for the above.
For context, see https://github.com/coder/terraform-provider-coder/releases/tag/v0.23.0
Also closes #255

Closes #255

Thank you @johnstcn we can do https://github.com/coder/coder/issues/13382 next


Botanicula

Project link: https://amanita-design.net/games/botanicula.html
Project license: Unknown
Does it work on 64-bit only Linux: YES
Is source code available?: NO
Is source code stored in Git?: NO
List of Steam AppIds of supported games:

https://steamdb.info/app/207690/

Additional information
Linux builds are still available on Humble Store, GOG and itch.io. Users can be asked to provide HB's tar.gz, GOG's .sh or itch.io's .zip release.
https://www.humblebundle.com/store/botanicula-collectors-edition
https://www.gog.com/game/botanicula
https://amanitadesign.itch.io/botanicula

If you could create one ticket for these missing steam binaries type games, that would help. One for each game would get unsustainable.


REGIS dataset has changed

Suddenly, hydraulica conductivities of -9999 are popping up in the REGIS retreived data. The nlmod tests are failing and so do all models using REGIS.

You are right... There seems to be a new update of REGIS:
https://www.dinoloket.nl/nieuws/regis-ii-kleine-release-omgeving-leersum-amerongen-en-omgeving-cuijk
The new dataset contains -9999 instead of NaN-values. I think we should make a new update this week. I will see if I can quickly fix it.

I have just updated the main branch and released version 0.8.1, where this issue should be fixed.

That was quick Ruben! Thank you so much

Fixed by 9bcbc73156b5b8b759b0a4ea3b355dcca0b8c0d6


wlr/taskbar: hide taskbar when no open windows

here is my bar with open windows:

here is my bar with no open windows:

it would be nice to remove the black line in the second image when no windows are open.

I'll try to fix that

Now you can use "empty" class for taskbar in order to set background: transparent

Hi. Seem like "empty" class does not work


How to delay a single animation among all parameters passed to Scene.play

All parameters passed to Scene.play is played simultaneously. And separate calls to Scene.play makes the second animation happen after the first one finishes. If I want 2 animations A and B, with B played some time (say t) after A starts but still before A finishes, how can I achieve that?
By searching the repository, I found some code in old_projects used a class called DelayByOrder, but no code seems to provide that. I guess it is already removed. So how can I delay an animation, so that it is played after other animations passed to Scene.play?

All of a sudden I found the AnimationGroup class. I guess this would be the correct method. I will close this issue, sorry for disturbing.

Thank you for the info!
For anyone wondering how to use this, you can replace
self.play(*animations), which runs all at once with self.play(AnimationGroup(*animations, lag_ratio=0.04)), which runs with lag ratio of 0.04.


Switch to Bootstrap Icons.

Please review this first BEFORE MERGING.

Check it out, we just removed 8835 lines.

Please review this first BEFORE MERGING.

im testing it rn

it works, is it in the repository itself so its included in builds

also if its linked in the HTML it will also work fine

It is in the repository itself, yes.

they are good, they take less space. Good for when we have to cut the action bar size in half to add bookmarks.

We can even set width and height on the img tag :smile:


Does stansummary still exist?

The Julia function stan_summary tries to call an executable $(CmdStanDir)/bin/stansummary but that executable was not built in my copy of cmdstan-2.6.0.  Am I missing something?

Hi Doug, not sure what it was called previously (stanreader?), but since stan-2.8 it is now called stansummary. I think the old binary was dropped in stan-2.9.0. How hard is it for you to upgrade to 2.9.0?

Thanks Rob.  I'll go ahead and upgrade.  I managed to confuse myself in that I installed cmdstan-2.9.0 on my laptop a few days ago and when I saw that I had cmdstan-2.6.0 on my desktop my faulty memory convinced me that it was the latest version.


[TEST] Test CSI chart bump to v0.1.21 in Rancher 2.8 branch

What's the test to develop? Please describe
This would be a manual effort to test the CSI chart latest version v0.1.21 on Rancher. The validation should be done with RKE1 cluster only

[x] Deploy CSI latest version and verify the functionality of CSI chart.
- [ ] Deploy a pvc with Harvester storage class
- [ ] Attach to a workload, verify the volume attached in Longhorn.
- [ ] Scale down to 0, verify the volume detached in Longhorn.
[x] Uninstall the chart
[x] Upgrade scenario
- [ ] Deploy v0.1.18 CSI version
- [ ] Deploy a pvc with Harvester storage class
- [ ] Attach to a workload, verify the volume attached in Longhorn.
- [ ] Scale down to 0, volume will fail to reattach
- [ ] Upgrade CSI version to v0.1.21, attachment should work

Validated with Harvester v1.4.0 and Rancher v2.8.10. Tested with CSI driver v0.1.21 and upgrade from v0.1.18 -> v0.1.21.


 If I specify only using two specific plugins when I run, retext-repeated-words still pops up and gives errors—but I don't want it to. I've set it to run with:
node_modules/.bin/spellchecker --files '20*/*/*.md' -l 'en-GB' --plugins spell syntax-urls  --no-suggestions -d dictionary.txt -q
Also tried putting the config into a spellcheckerrc.json/.spellcheckerrc.yml but get the same results. I saw that all plugins on by default was introduced by #6, but haven't seen anyone else have this issue.

Thanks for filing this issue! I'm able to reproduce this bug in a test. I'll put up a fix shortly.

Fixed in 4.8.1!


Async Local Storage for global Settings

https://nodejs.org/docs/latest/api/async_context.html#class-asynclocalstorage
P.S. Even though this is node.js API, but deno, bun, and vercel edge runtime all support this
Originally posted by @himself65 in https://github.com/run-llama/LlamaIndexTS/pull/668#discussion_r1542166013

My expected API would be like
import { Settings } from 'llamaindex'

Settings.runWithLLM(async () => {
  // will use this llm instance
}, llm)

Some upstream issue: https://github.com/denoland/deno/pull/23175


Compiled with problems: node_modules_lodash_debounce_index_js

Describe the Bug
Hi,
Faced problem with e2e test 02-editing_properties and was able to replicate manually:
(replicated with fixtures ChuckNorris.yaml and TimerKafka.yaml)
Steps to Reproduce the Bug or Issue

Update some step configuration
Try to update the configuration of some other step
See the error

or use e2e test 02-editing_properties/editing.cy.js
Screenshots or Videos
Error:

Record:
record.webm
Stacktrace:
Compiled with problems:
×
ERROR
Cannot set properties of undefined (setting 'value')
TypeError: Cannot set properties of undefined (setting 'value')
    at http://localhost:1337/src_bootstrap_tsx.js:26717:53
    at Array.forEach (<anonymous>)
    at StepsService.updateStepParameters (http://localhost:1337/src_bootstrap_tsx.js:26715:39)
    at Object.<anonymous> (http://localhost:1337/src_bootstrap_tsx.js:25210:22)
    at invokeFunc (http://localhost:1337/node_modules_lodash_debounce_index_js.js:168:19)
    at trailingEdge (http://localhost:1337/node_modules_lodash_debounce_index_js.js:215:14)
    at timerExpired (http://localhost:1337/node_modules_lodash_debounce_index_js.js:203:14)
ERROR
Cannot set properties of undefined (setting 'value')
TypeError: Cannot set properties of undefined (setting 'value')
    at http://localhost:1337/src_bootstrap_tsx.js:26717:53
    at Array.forEach (<anonymous>)
    at StepsService.updateStepParameters (http://localhost:1337/src_bootstrap_tsx.js:26715:39)
    at Object.<anonymous> (http://localhost:1337/src_bootstrap_tsx.js:25210:22)
    at invokeFunc (http://localhost:1337/node_modules_lodash_debounce_index_js.js:168:19)
    at trailingEdge (http://localhost:1337/node_modules_lodash_debounce_index_js.js:215:14)
    at timerExpired (http://localhost:1337/node_modules_lodash_debounce_index_js.js:203:14)

Platform

OS: [RHEL-8.6]
Browser: [Chrome]
Version: [110]

@unsortedhashsets Can you provide the stacktrace as text too please? It allows the error stacktrace to be searchable

similar stack than https://github.com/KaotoIO/kaoto-ui/issues/1561

similar stack than #1561

Yes

@unsortedhashsets Can you provide the stacktrace as text too please? It allows the error stacktrace to be searchable

Here is double catch:
Compiled with problems:
×
ERROR
Cannot set properties of undefined (setting 'value')
TypeError: Cannot set properties of undefined (setting 'value')
    at http://localhost:1337/src_bootstrap_tsx.js:26717:53
    at Array.forEach (<anonymous>)
    at StepsService.updateStepParameters (http://localhost:1337/src_bootstrap_tsx.js:26715:39)
    at Object.<anonymous> (http://localhost:1337/src_bootstrap_tsx.js:25210:22)
    at invokeFunc (http://localhost:1337/node_modules_lodash_debounce_index_js.js:168:19)
    at trailingEdge (http://localhost:1337/node_modules_lodash_debounce_index_js.js:215:14)
    at timerExpired (http://localhost:1337/node_modules_lodash_debounce_index_js.js:203:14)
ERROR
Cannot set properties of undefined (setting 'value')
TypeError: Cannot set properties of undefined (setting 'value')
    at http://localhost:1337/src_bootstrap_tsx.js:26717:53
    at Array.forEach (<anonymous>)
    at StepsService.updateStepParameters (http://localhost:1337/src_bootstrap_tsx.js:26715:39)
    at Object.<anonymous> (http://localhost:1337/src_bootstrap_tsx.js:25210:22)
    at invokeFunc (http://localhost:1337/node_modules_lodash_debounce_index_js.js:168:19)
    at trailingEdge (http://localhost:1337/node_modules_lodash_debounce_index_js.js:215:14)
    at timerExpired (http://localhost:1337/node_modules_lodash_debounce_index_js.js:203:14)
    ```

Closed as duplicated of #1561