java.lang.NoClassDefFoundError: org.jsoup.internal.StringUtil$$ExternalSyntheticLambda5

java.lang.NoClassDefFoundError: org.jsoup.internal.StringUtil$$ExternalSyntheticLambda5
This problem occurred with the last three versions of Android Studio. Is there a solution? Thank you.

FATAL EXCEPTION: main
Process: com.example.myapplication, PID: 16501
java.lang.NoClassDefFoundError: org.jsoup.internal.StringUtil$$ExternalSyntheticLambda5
at org.jsoup.internal.StringUtil.(StringUtil.java:341)
at org.jsoup.helper.UrlBuilder.build(UrlBuilder.java:44)
at org.jsoup.helper.HttpConnection$Base.url(HttpConnection.java:437)
at org.jsoup.helper.HttpConnection$Request.url(HttpConnection.java:594)
at org.jsoup.helper.HttpConnection.url(HttpConnection.java:144)
at org.jsoup.helper.HttpConnection.connect(HttpConnection.java:84)
at org.jsoup.Jsoup.connect(Jsoup.java:93)
at com.example.myapplication.MainActivity.getData(MainActivity.kt:18)
at com.example.myapplication.MainActivity.onCreate(MainActivity.kt:14)
at android.app.Activity.performCreate(Activity.java:6877)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1136)

Hi,
Did you follow the note in the README?
Android support
When used in Android projects, core library desugaring with the NIO specification should be enabled to support Java 8+ features.
And/or, what Android API version are you targeting? Per the Java 11 Android compat notes, API level 33 will also include those without explicitly adding the desugaring config.


Dockerize the Automata Project (resolves #285)

This PR introduces a Dockerfile that allows the Automata project to be built and run as a Docker container. This change is proposed to address issue #285.
Changes introduced:

Addition of Dockerfile with instructions to set up and run the project
Renaming of the old Dockerfile to Dockerfile.old

The new Dockerfile ensures that all necessary dependencies are installed and the application is correctly run within the Docker environment. This enhances the development process and ensures that the application works consistently across different environments.
Please review the changes and let me know if anything needs to be modified. Thank you.

I think the Codacy stuff can be ignored—pretty much all nits. But @Exarchias should probably lint the project to keep the code base clean. You can do that by running poetry run black . or, if you prefer, poetry run black <path/to/file>. I almost exclusively use the first one, since there are a lot of times when little changes would otherwise make the check fail.

Hi @NolanTrem,
Thank you for your feedback, and I appreciate your insights.
Just to clarify one point, Docker is designed to be OS-agnostic when it comes to the contents of the containers, which includes the image I'm using. Therefore, I believe we should be safe in terms of OS compatibility.
I would also like to mention that my approach for this Dockerfile was intentionally minimalistic. It was meant as a starting point, and while it could be improved in many ways, it's also been tested and works for the intended purpose. We're making progress with small, incremental steps, which I believe is a positive way forward.
I completely agree with your suggestion about linting. It's a great practice to adopt, especially for something like a Dockerfile, which manages a multitude of operations.
As for the installation method for poetry, I see your point about using the curl command as recommended in the official documentation. I'd be more than happy to make this change in a new PR. However, I thought it might be a good opportunity for a collaborative PR. It might look good for the project, and it's also a great practice in general.
Again, I'm grateful for your help and constructive feedback. Your insights are always valuable for the improvement of our project.
Best regards,
Robert


Add ability to change colors of editor tabs

It would be great to be able to change colors of editor tabs.
This is very useful to quickly switch and find the right place in the code when working with a large number of tabs.
There is only one extension that allows to do so. "Tabs color" https://github.com/mondersky/tabscolor-vscode The idea of the extension is great. But it has many limitations. This extension patches Vs Code and warning "Your Code installation is corrupt..." appears after that. This extension does not work on mac os and some linux systems. The extension does not work with SSH Remote. The extension just sometimes does not work for no apparent reason. etc.

Demo from "Tabs color" extension repository.
At least VS Code lacks the API for dynamically changing the tab style so that developers don't have to patch Vs Code.
But in my opinion, we need not only the API.
I believe that the ability to change the colors of the editor tabs should be in Vs Code right out of the box, and not from any extension.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

We've got this feature request open which could be similar https://github.com/microsoft/vscode/issues/31308


pubish original tree core data

Please consider making the 'Original tree cores' data available in a publicly accessible repository, or explain to the editor why the data can only be made available from the authors on request.

I emailed the team. Justin and Grant are both out until 5/24. Neil is also traveling.

@camerondow35 , I have the original files but am realizing that the tree cores section of the repo is a bit of a mess. I'm trying to clean it up, but some of this will require your help. Here's a running list of tasks:

[ ] I moved the folders for each site into a "chronologies" folder (and created a separate folder for "raw data"). You'll need to modify the path in your code.

I just pushed the .rwl files from Justin (most). We need Harvard FRAM from Grant, and we need to move SCBI files to the raw folder.

All the data are now public, but some organizational work remains (#152 ).


Use autoencoder for inputs for hierarchical xc

Ref #5

@sipian status?

Flake failing.

This has to be squashed and merged :wink:


Recovery code remove spaces

#435 Recovery codes strip characters that don't match the "A-Za-z0-9" characters and replace with empty string.

Backported to 4.6 in https://github.com/silverstripe/silverstripe-mfa/pull/465
Released as 4.6.2


GH-14976: [Python] Avoid dependency on exec plan in Table.sort_by to fix minimal tests

Closes: #14976

@github-actions crossbow submit example-python-minimal-build-fedora-conda example-python-minimal-build-ubuntu-venv

The alternative is to simply mark those tests with @pytest.mark.dataset as a proxy to indicate that exec plan is not available.
But since this method worked previously with a minimal python install, we can easily keep it working.


How can we support plugins/jobs to "turn off" during od reading

Adding a pre-reading callback to ODReader to send a message to pause / turn off the plugin's action.

slow (has to go from worker -> leader -> worker)
will fail if wifi network is slow or offline for a moment

Timing a periodic pause/off to avoid od_reading, ala bubbler.py.

fragile
requires a lot of additional code and consideration when writing the code

Is there another option?

Implemented 1 in BackgroundJobWithDodging


Fix GDEFORM collection creation while first build workfile

Changelog Description
Fix an issue for gdeform collection which were created when we first build a workfile even if there are no characters with gdeformer modifiers in it. Fixed by adding a condition for the creation of the gdeform collection.
Additional info
n/a
Testing notes:

Open a ww's scene with OpenPype launcher in blender
In the OpenPype menu, do a first build workfile
Check in the blender outliner

If the scene do not have a character, it should not have any GDEFORM collection
If the scene do have a character with GDEFORM, the GDEFORM collection should be created and every GDEFORM should be linked to it

Sorry my Pr wasn't on the right repo :/


Adding run forever

Still testing this let me know if you see anything outrageous about this solution

I agree with https://github.com/slazarov/python-bittrex-websocket-aio/pull/5/commits/56187ee734ad7b2b3fbc11e8e3c39e5ee8fa1cee
Explain the run_forever parameter. I assume that when run_forever = True you want the client to exit if the connection is disconnected and vice versa. If that is true, then you haven't implemented it correctly because e.code == 1000 is raised upon successful socket close, i.e it was triggered by the user through the method def disconnect(self), hence no need for run_forever in the case of e.code == 1000

@slazarov Ah I see, well as it is now the error code 1000 seems to be popping up randomly with no ws.disconnect() used. I thought this may have been coming from the bittrex websocket itself closing the connection after inactivity?

Bittrex shutdown their endpoints yesterday temporary so this might have caused it. How often does it disconnect?
If you are developing actively I suggest joining the bittrex api-developers channel.

I've been running it a couple days now, and it will disconnect at least once in every 8 hours or sooner. Yes I develop full-time I will have to find that bittrex api developer channel.


documentHighlight chooses wrong symbol

Consider this simple piece of code:
struct S { int m; };
int main()
{
    S s;
    s.m = 42;
}

Now requesting textDocument/documentHighlight with the position being on the last line of code between 's' and '.' will highlight m instead of s. This is quite unexpected, considering that the cursor clearly "touches" s, but not m.
Output of clangd --version:
clangd version 14.0.0 (https://github.com/llvm/llvm-project.git a82942dd07ea652081f8f293b73801323a4dbbe9)
Features: linux
Platform: x86_64-unknown-linux-gnu
Editor/LSP plugin: Qt Creator

Yes, this is bad, at least for editors with a beam cursor :-(
This is a general issue with our selection algorithm:

Many operation including this one only send a position rather than a range to the language server.
We don't know whether character:N in the editor is targeting character N (block cursor) or a point between characters N-1 and N (beam cursor).
And if it's a beam cursor, we don't know in general whether the user is interested in character N-1 or N.
For most operations, we try character N first, and then fall back to N-1 if the operation yields no result
However we do often yield results on punctuation

In this case s.m is a MemberExpr, containing a DeclRefExpr spanning s.
This means .m is associated with the MemberExpr and resolves to the member.
If we know the cursor is a beam, we'd want to bias toward identifiers rather than bias right.
However we don't want to this if the cursor is a block, as it leads to results that are wrong. (e.g. setElements(^{a, b}): by targeting the { with a block cursor you should go-to-definition on the vector constructor).
Originally LSP was silent on how to interpret positions. https://github.com/microsoft/language-server-protocol/issues/1029 was a request for a capability so we can tell whether to use this behavior. Unfortunately the issue got derailed, and all that happened was a change to LSP effectively saying "cursors are beams" which is just at odds with reality.
Maybe we should define this capability as an extension...

Another relevant example:
func(arg1, arg2/*cursor is here*/, arg3);
Here, clangd interprets the cursor as pointing to func, rather than arg2. This is even more surprising from the user's point of view, due to the (lack of) proximity.


CSV download improvements

closes #1616
addresses some of #1199
This tackles a few things:

Authorized users get user-level data when they download question data for posts
Creates a WhitelistUser model to record extra post or project or general data-access authorizations for non-staff
Switches CSV download on question detail pages to Zip file download reusing admin panel zip file generation
Adds support for extra url parameters for the api download-csv (renamed download-data) endpoint
Adds download-data endpoint to projects (/api/project/<id>/download-data/) which functions the same way

Todo:

[x] add optional user score data
[x] add download project data endponit
[ ] add download data button to projects (maybe a separate PR)

@hlibowski Ready for your next review pass


Windows 10/64bit Crashes my PC

8.7.8 randomly reboots(crashes) my main PC. Can't sync. My laptop is able to sync with both 8.7.8 and 8.7.7. My main PC could never fully sync. After updating to 8.7.8, my PC now just reboots randomly after opening the wallet. The only thing that might be unique is my PC is always running mining software and keeping my GPU's at 100%. Other then that, i have no problems with any other software on my PC. Haven't looked closely at log files. Any recommendations?

Make a test without the mining software, the wallet uses a lot of CPU to do initial sync, your motherboard could overheat doing both things and reboot. Look at debug.log too, it can show you what problem is happening

Thanks. You were right, must have been overloading something on my motherboard. Strange. The wallet still had trouble but I deleted all my zcoin files and started without my wallet.dat file. Once it was updated, I replaced the wallet.dat with mine and all went well.


Proposal: Graphical page realizes "Parametric Build"

Due to some technical limits, the parameters we entered when creating the "Parametric Build" pipeline can only take effect in config.xml, and the Jenkinsfile generated when the pipeline is drawn cannot get the parameters configured when it is created, so it's difficult to use the graphical page Elegantly create "Parametric Build" pipelines.
I think it is possible to directly provide the "Parametric Build" entry when drawing the pipeline, and remove the "Parametric Build" entry at creating the pipeline, then "Parametric Build" can be perfectly realized and never confuse users anymore.

/kind proposal
/area devops
/area console

About the Pipeline parametric setting via UI conflicts with Jenkinsfile. So, I think we should fix it as soon as possible. But we might have a limited capacity to do that.

Is there a better solution now?

Is there a better solution now?

I am afraid that we need contributors to help with this.


One blink of text cursor costs 2 frames on the GPU thread

/cc @cbracken

The issue is the opacity animation on the cursor. When making it act like an Android device, by forcing cursorOpacityAnimates to be false on the EditableText widget, the blinking cursor takes up barely any time to render.

Hi @yjbanov is this issue still meant to be open?

No. EditableText has been rewritten so many times since I filed this one, it's no longer relevant. Closing.


Issue formatting a LTO6 tape with an IBM ultrium drive

Hey-- tried to format as per the following...
root@cobweb:~# time mkltfs --device=/dev/nst0 --tape-serial=800346 --volume-name="JDCLTS"
and got this log. any thoughts? thank you!
LTFS15000I Starting mkltfs, LTFS version <IP_ADDRESS> (10502), log level 2.
LTFS15041I Launched by "mkltfs --device=/dev/nst0 --tape-serial=800346 --volume-name=JDCLTS".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 11.2.0.
LTFS17087I Kernel version: Linux version 5.15.0-47-generic (buildd@lcy02-amd64-060) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 i386.
LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.1 LTS".
LTFS15003I Formatting device '/dev/nst0'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.

LTFS11337I Update index-dirty flag (1) - 800346 (0x0x55a8add08a20).
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver (/dev/nst0).
LTFS30250I Opened the SCSI tape device 0.0.0.-1 (/dev/nst0).
LTFS30207I Vendor ID is IBM     .
LTFS30208I Product ID is ULTRIUM-HH6     .
LTFS30214I Firmware revision is G351.
LTFS30215I Drive serial is<PHONE_NUMBER>.
LTFS30285I The reserved buffer size of /dev/nst0 is 1048576.
LTFS30294I Setting up timeout values from RSOC.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS30252I Logical block protection is disabled.
LTFS11332I Load successful.
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15049I Checking the medium (mount).
LTFS30252I Logical block protection is disabled.
LTFS15010I Creating data partition b on SCSI partition 1.
LTFS15011I Creating index partition a on SCSI partition 0.
LTFS17165I Resetting the medium's capacity proportion.
LTFS30205I SETCAP (0x0b) returns -20400.
LTFS30263I SETCAP returns Open Writer Failure (-20400) /dev/nst0.
LTFS30261I Taking drive dump in buffer.
LTFS30253I Saving drive dump to /tmp/ltfs_1068001283_2022_0919_201833.dmp.
LTFS30200I Failed to execute SG_IO ioctl, opcode = 3c (22).
LTFS30263I READ_BUFFER returns ioctl error (-21700) /dev/nst0.
LTFS30258W Cannot retrieve drive dump: failed to read buffer (-21700).
LTFS30262I Forcing drive dump.
LTFS30253I Saving drive dump to /tmp/ltfs_1068001283_2022_0919_201833_f.dmp.
LTFS30200I Failed to execute SG_IO ioctl, opcode = 3c (22).
LTFS30263I READ_BUFFER returns ioctl error (-21700) /dev/nst0.
LTFS30258W Cannot retrieve drive dump: failed to read buffer (-21700).

LTFS11311E Cannot format: failed to reset capacity proportion (-20400).
LTFS15012E Failed to format the medium.
LTFS30252I Logical block protection is disabled.
LTFS15023I Formatting failed.

Do not use nst device, but use sg device.
Please take a look the section https://github.com/LinearTapeFileSystem/ltfs#how-to-use-the-ltfs-quick-start .

thanks for the pointer @piste-jp-ibm!
unfortunately fixing it up to behave the way your quickstart suggests still threw errors. I have a sense of what it means (likely  bad news for me), however I'd appreciate if you could take a look, as the drive doesn't log anything in the library.
LTFS15000I Starting mkltfs, LTFS version <IP_ADDRESS> (10502), log level 3.
LTFS15041I Launched by "mkltfs --device=1068001283 --tape-serial=800346 --volume-name=JDCLTS --syslogtrace -t".
LTFS15042I This binary is built for Linux (x86_64).
LTFS15043I GCC version is 11.2.0.
LTFS17087I Kernel version: Linux version 5.15.0-47-generic (buildd@lcy02-amd64-060) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #51-Ubuntu SMP Thu Aug 11 07:51:15 UTC 2022 i386.
LTFS17089I Distribution: DISTRIB_ID=Ubuntu.
LTFS17089I Distribution: PRETTY_NAME="Ubuntu 22.04.1 LTS".
LTFS15025D Validating command line options.
LTFS15037D Command line options are valid.
LTFS15003I Formatting device '1068001283'.
LTFS15004I LTFS volume blocksize: 524288.
LTFS15005I Index partition placement policy: None.

LTFS11337I Update index-dirty flag (1) - 800346 (0x0x565213fb3a80).
LTFS15006D Opening the device.
LTFS17085I Plugin: Loading "sg" tape backend.
LTFS30209I Opening a device through sg-ibmtape driver<PHONE_NUMBER>).
LTFS30288I Opening a tape device for drive serial<PHONE_NUMBER>.
LTFS30250I Opened the SCSI tape device <IP_ADDRESS> (/dev/sg8).
LTFS30207I Vendor ID is IBM     .
LTFS30208I Product ID is ULTRIUM-HH6     .
LTFS30214I Firmware revision is G351.
LTFS30215I Drive serial is<PHONE_NUMBER>.
LTFS30290I Changer /dev/sg8 isn't reserved from any nodes.
LTFS30285I The reserved buffer size of<PHONE_NUMBER> is 1048576.
LTFS30294I Setting up timeout values from RSOC.
LTFS12023D Reserving device.
LTFS30392D Backend reserve (PRO)<PHONE_NUMBER>.
LTFS12028D Unlocking medium.
LTFS30392D Backend allow medium removal<PHONE_NUMBER>.
LTFS30392D Backend read block limits<PHONE_NUMBER>.
LTFS17160I Maximum device block size is 1048576.
LTFS11330I Loading cartridge.
LTFS30392D Backend load<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS12026D Locking medium in the drive.
LTFS30392D Backend prevent medium removal<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS30392D Backend sg_set_default Resetting LBP.
LTFS30393D Backend LBP Enable: 0 .
LTFS30393D Backend LBP Method: 1 .
LTFS30252I Logical block protection is disabled.
LTFS30392D Backend read block limits<PHONE_NUMBER>.
LTFS11332I Load successful.
LTFS17157I Changing the drive setting to write-anywhere mode.
LTFS15007D Device opened.
LTFS15049I Checking the medium (mount).
LTFS11012D Loading the tape.
LTFS30392D Backend load<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS30392D Backend sg_set_default Resetting LBP.
LTFS30393D Backend LBP Enable: 0 .
LTFS30393D Backend LBP Method: 1 .
LTFS30252I Logical block protection is disabled.
LTFS30392D Backend read block limits<PHONE_NUMBER>.
LTFS30397D Backend locate: (0, 0)<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS11007D Tape is loaded.
LTFS15010I Creating data partition b on SCSI partition 1.
LTFS15011I Creating index partition a on SCSI partition 0.
LTFS30392D Backend read block limits<PHONE_NUMBER>.
LTFS17165I Resetting the medium's capacity proportion.
LTFS30392D Backend load<PHONE_NUMBER>.
LTFS30398D Backend readpos: (0, 0) FM = 0<PHONE_NUMBER>.
LTFS30393D Backend setcap: 65535<PHONE_NUMBER>.
LTFS30201D CDB check condition: sense = 040302, Open Writer Failure.
LTFS30205I SETCAP (0x0b) returns -20400.
LTFS30263I SETCAP returns Open Writer Failure (-20400) /dev/sg8.
LTFS30261I Taking drive dump in buffer.
LTFS30253I Saving drive dump to /tmp/ltfs_1068001283_2022_0920_091331.dmp.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30255D Total dump data length is 5132872.
LTFS30256D Total number of transfers is 10.
LTFS30257D Transferring dump data.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30262I Forcing drive dump.
LTFS30393D Backend force dump: 0<PHONE_NUMBER>.
LTFS30253I Saving drive dump to /tmp/ltfs_1068001283_2022_0920_091331_f.dmp.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30255D Total dump data length is 5151292.
LTFS30256D Total number of transfers is 10.
LTFS30257D Transferring dump data.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.
LTFS30393D Backend read buffer: 1<PHONE_NUMBER>.

LTFS11311E Cannot format: failed to reset capacity proportion (-20400).
LTFS15012E Failed to format the medium.
LTFS12028D Unlocking medium.
LTFS30392D Backend allow medium removal<PHONE_NUMBER>.
LTFS12025D Releasing device.
LTFS30392D Backend release (PRO)<PHONE_NUMBER>.
LTFS30393D Backend LBP Enable: 0 .
LTFS30393D Backend LBP Method: 1 .
LTFS30252I Logical block protection is disabled.
LTFS15023I Formatting failed.```

unfortunately fixing it up to behave the way your quickstart suggests still threw errors. I have a sense of what it means (likely bad news for me), however I'd appreciate if you could take a look, as the drive doesn't log anything in the library.

I'm sorry. It looks the drive returns a H/W error. Error code 20400 is the code for SK=4 (H/W error) like below.
https://github.com/LinearTapeFileSystem/ltfs/blob/8a0f1169ec7713c2b498c978e621c9c379c6508a/src/libltfs/ltfs_error.h#L391
From the log, we can see the drive returns Open Writer Failure, SK=4, ASC/ASCQ=03/02. I think the drive detects a problem on a writer head.
LTFS30201D CDB check condition: sense = 040302, Open Writer Failure.
LTFS30205I SETCAP (0x0b) returns -20400.
LTFS30263I SETCAP returns Open Writer Failure (-20400) /dev/sg8.

Please contact to your library vendor with drive dump /tmp/ltfs_1068001283_2022_0920_091331.dmp and /tmp/ltfs_1068001283_2022_0920_091331_f.dmp.

That’s what I thought. It’s an IBM - I’m sure it’s past warranty, but one hopes they can fix it… thank you again for your thoughtful response, Abe-San.

I have the same issue with the same drive. Could you resolve this issue @imajes ?
... LTFS17165I Resetting the medium's capacity proportion. LTFS30392D Backend load 10WT109571. LTFS30398D Backend readpos: (0, 0) FM = 0 10WT109571. LTFS30393D Backend setcap: 65535 10WT109571. LTFS30201D CDB check condition: sense = 040302, Open Writer Failure. LTFS30205I SETCAP (0x0b) returns -20400. LTFS30263I SETCAP returns Open Writer Failure (-20400) /dev/sg1. ...


Update pwgen.py

Fixed White Spaces and made esc() instead of blank print()

I see no improvement. All this does is replace a simple print call with a function wrapping it? Why?


[New protocol] Add WMI support

Add WMI protocol support
Reason why:
In some situations, the firewall may disable port 445 traffic and only allow port 135 traffic incoming
With SMB enumeration

Without SMB enumeration

Features
query function(from smb.py)

execute function(get command result from the registry, don't need SMB #59)

Resources
Orange-Cyberdefense's cme-wmi
Impacket's wmiexec.py
Impacket's wmiquery.py
wmiexec-RegOut

@mpgn All things have been done now, I hope you can test it 😋

Yeah I was waiting for you to tell me :)

Yeah I was waiting for you to tell me :)

Cool, I think I need to open a PR again because now it looks very messy.

When I try with -x or -q option, cme never finish can you look at it ?

A stacktrace:

When I try with -x or -q option, cme never finish can you look at it ?

Have no idea why it will stuck there, probably something wrong in "remove temporary registry key"

@mpgn I will try to fix the bugs next week 👀

@mpgn everything looks good now, I hope you can test it again :)

Can you make the PR on https://github.com/mpgn/CrackMapExec ? This repo is not supported anymore

Can you make the PR on https://github.com/mpgn/CrackMapExec ? This repo is not supported anymore

Sure


fix(WebView): event types

This PR adds additional fields to event types in the WebView component and does this by inheriting fields from a base object type webViewBaseEvent as is the case in the Typescript bindings.
Once we upgrade to bucklescript 6 and the reason parser has been upgraded we will be able to express this far more succinctly through Inherited fields in object type (available since 4.06):
type webViewNavigation = {. "navigationType": string, ...webViewBaseEvent};

This PR also fixes an incorrect typing of the onNavigationStateChange props callback param, which should not be wrapped in Event.syntheticEvent.

@cem2ran Thanks for the PR! Hadn't heard of the inherited fields in object type, that's interesting!
I have mixed feelings about using class types though - we have not used them anywhere else in our react-native bindings yet.
Also, I think we should remove WebView from the core bindings and put the WebView bindings into the separate repo https://github.com/reason-react-native/webview.

Hmm, of course my last remark regarding removing WebView from core would apply to #607, too...
what do you think @MoOx?

@cknitt I was also slightly hesitant about using class types even though to my understanding we use them implicitly through JS object syntax, which desugars to the class types wrapped in Js.t?
The alternative is to duplicate the inherited fields in every "sub-class".
I'm happy to do either or third option if you know of any.
Hypothetically, had we had the newer object type spread syntax would you have accepted it? 😜

We have the same issue with syntheticEvent and responderSyntheticEvent in Event.re and I've been holding off for inherited fields as JS output with class types would have added overhead, particularly imports.
However, I wasn't aware of the virtual keyword which prevents all that (JS output is indeed unchanged and not merely omitted from this PR). @cem2ran This is greatly appreciated, I hadn't looked into OO with OCaml.
Perhaps one strike against adopting class types might be the lack of documentation. I still can't find anything further on private in Reason or BuckleScript documentation - despite knowing now to look for it. One has to refer to OCaml documentation and use the parser to figure out Reason syntax.
On the other hand, perhaps inheriting fields is simply sugar for class types? In that case, we could use it directly.
I've been working on the spin-off WebView bindings (PR is almost ready) and was looking at the TS bindings as you have (documentation is sometimes incorrect), but I decided to simply duplicate fields for now. I will mirror our decision in the main repo.

@sgny it's completely possible that I'm wrong about the desugaring. Haven't looked into it in detail.
@cknitt I'm happy to close this PR or change this PR in favor of a smaller one that only fixes onNavigationStateChange. The larger changes can go into webview repo?
Just trying to get rid of all my patch-package patches and contribute my changes upstream :)

@cem2ran I played a bit with the class types, and this looks good to me, as it remains zero cost, and from the user's perspective, usage remains the same as if defining "standard" Js.t types with duplicate fields.
Still, we would need to document that in WebView.md somehow. Most people won't be familiar with class types and https://bucklescript.github.io/docs/en/class#bind-to-js-classes.

I also intend to integrate these into the bindings for the standalone WebView. As I mentioned, they are almost complete, but even the TypeScript spec is not perfectly accurate. I have tested on iOS and identified a few discrepancies, but I will prepare at least one PR before I go through with Android testing.

Alright, I committed bindings for the standalone WebView component. I incorporated @cem2ran's contribution, but I also added a way to specify a callback function for an untagged union type.
I'm not sure that the bindings are indeed correct in all details (e.g. I simply included all HTTP methods, but most likely only some are supported), but I tested as much as I could. I noticed that quite a few details differ from the API documentation, as well as the TypeScript specification.

So how we should proceed with this PR?
I am ok to merge a fix & release is under 0.60 patches, until we remove them in 0.61 in favor of new dedicated package/bindings

@MoOx Fine with me. Docs update is still missing though.


adds whitespace when printing webpage in IE

I had to add the following css to hide the div added by stickyfill, which caused whitespace to appear at the top of the page. Just thought I'd share in case it helps someone else with the same issue.
// fixes IE whitespace at top of first page print bug caused by stickyfill polyfill.
@media print and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .sticky + div[style] {
    display: none;
  }
}

Sorry for the late reply, I didn’t have much time to work on my personal projects lately.
IE printing seems to be very inconsistent. I’ve tested this and I’m actually getting better (but far from ideal) results with visible “whitespace” blocks, but I’m sure it depends a lot on the particular case.
I'll leave it be and leave the decision regarding printing to the developers. Thanks for your input.


Not Working

Fatal error: Uncaught Error: Call to undefined function set_magic_quotes_runtime() in C:\xampp\htdocs\sms-website\assets\52aab490\extplorer\libraries\standalone.php:26 Stack trace: #0 C:\xampp\htdocs\sms-website\assets\52aab490\extplorer\index.php(44): require_once() #1 {main} thrown in C:\xampp\htdocs\sms-website\assets\52aab490\extplorer\libraries\standalone.php on line 26

Hello, this repository isn't under development anymore, so I can't help you. Sorry.

Hello, this repository isn't under development anymore, so I can't help you. Sorry.


Inconsistent indices behaviour in Neo4jGraph

Copy pasted from @simlun's issue on neo4j community repo:
I noticed a strange behavior when dealing with creating indices and listing them in the Gremlin console.
When using the Gremlin console, the g instance stores the indices in a Map (src).
This is a problem when I'm firstly listing the indices:
gremlin> g.indices
==> MANUAL[foo:Vertex]

Then secondly adding another index bar with the Index Manager (or from my app over REST), and thirdly listing the indices again:
gremlin> g.indices
==> MANUAL[foo:Vertex]

Notice that that method only lists the previously cashed indices... The only way I can reset it is to $ ./bin/neo4j restart which feels a bit overkill, doesn't it?
Thoughts on this, anyone?
My environment: neo4j-community-1.6.M02

Note that this is a problem when using the Neo4j Web console in "Gremlin mode". For normal Neo4jGraph usage with only one instance of it is okay.
Depending on how you look at it the cause of the problem could be two things:

It is either the Neo4j web console which is hanging on to the Neo4jGraph instance and does not give the user a choice to create a new instance easily.
Or it's the way the Blueprints Neo4jGraph is caching the indices, only updating the indices Map when updating the indices using that exact same Neo4jGraph instance.

@simlun ah, didn't think of that. Still feels like a Neo4jGraph issue to me, since this would apply as well if someone from the outside has created an index after Neo4jGraph was instantiated, if I understand correctly?

@jakewins yeah, you are right, It does apply when only using Neo4jGraph.
What are the possible solutions?

Make Neo4jGraph to always keep in sync with the real indices?
Make it possible to manually update the indices Map in Neo4jGraph?

Yes. This is a problem. I'm assuming that access is only via Neo4jGraph. I will work on making sure that indices are ALWAYS retrieved via Neo4j methods and not via Blueprints local Map Cache.

Excellent! :)

Fixed. No longer does there exist an index caching layer in Blueprints Neo4jGraph. All index calls directly access neo4j.index(). Test cases pass.


JSON Generated by Routine doesn't match JSON Generated by alexa_media_player for announcements

As asked to do so here: https://community.home-assistant.io/t/echo-devices-alexa-as-media-player-testers-needed/58639/2662?u=brettyj here are the differences - as my announce/push to mobile/tts/play media functionality doesn't seem to work.
Alexa app routines:
"sequence":{
   "@type":"com.amazon.alexa.behaviors.model.Sequence",
   "sequenceId":"amzn1.alexa.sequence.c8abf752-d43a-4b50-841d-77b7c34c0dd0",
   "startNode":{
      "@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
      "type":"AlexaAnnouncement",
      "skillId":"amzn1.ask.1p.messaging",
      "operationPayload":{
         "expireAfter":"PT5S",
         "content":[
            {
               "locale":"en-GB",
               "display":{
                  "title":"Alexa Routines",
                  "body":"Test"
               },
               "speak":{
                  "type":"text",
                  "value":"Test"
               }
            }
         ],
         "customerId":"CUSTOMERID",
         "target":{
            "customerId":"CUSTOMERID"
         }
      },
      "name":null
   }
},

alexa_media_player:
{
   “behaviorId”:“PREVIEW”,
   “sequenceJson”:“   {
      ”@type":“com.amazon.alexa.behaviors.model.Sequence”,
      “startNode”:{
         "@type":“com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode”,
         “type”:“AlexaAnnouncement”,
         “operationPayload”:{
            “deviceType”:“DEVICETYPEID”,
            “deviceSerialNumber”:“SERIALNUMBER”,
            “locale”:“en-gb”,
            “customerId”:“CUSTOMERID”,
            “expireAfter”:“PT5S”,
            “content”:[
               {
                  “locale”:“en-gb”,
                  “display”:{
                     “title”:“Home Assistant”,
                     “body”:“test”
                  },
                  “speak”:{
                     “type”:“text”,
                     “value”:“test”
                  }
               }
            ],
            “target”:{
               “customerId”:“CUSTOMERID”,
               “devices”:[
                  {
                     “deviceSerialNumber”:“SERIALNUMBER”,
                     “deviceTypeId”:“DEVICETYPEID”
                  }
               ]
            }
         }
      }
   }   ",
   “status”:“ENABLED”
}

There are a few differences, the ones that stand out to me are
"skillId":"amzn1.ask.1p.messaging" and that the routine JSON doesn't care about target devices (I selected announce to all) I suspect it's the skillid that's causing the issue though, although I haven't done any alexa dev so could be wrong.
Thanks

Thanks. Can you also do a test for the same target just so we're comparing the same things?

"sequence":{
   "@type":"com.amazon.alexa.behaviors.model.Sequence",
   "sequenceId":"amzn1.alexa.sequence.52dd65b8-3830-4635-903b-9b91f25f9f46",
   "startNode":{
      "@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
      "type":"AlexaAnnouncement",
      "skillId":"amzn1.ask.1p.messaging",
      "operationPayload":{
         "expireAfter":"PT5S",
         "content":[
            {
               "locale":"en-GB",
               "display":{
                  "title":"Alexa Routines",
                  "body":"Test"
               },
               "speak":{
                  "type":"text",
                  "value":"Test"
               }
            }
         ],
         "customerId":"CUSTOMERID",
         "target":{
            "customerId":"CUSTOMERID",
            "devices":[
               {
                  "deviceSerialNumber":"DEVICESERIAL",
                  "deviceTypeId":"DEVICETYPE"
               }
            ]
         }
      },
      "name":null
   }
},

Again the main difference seems to be the "skillId":"amzn1.ask.1p.messaging"

Just to verify, you've only ever used 1.2.5 right? You didn't upgrade from 1.2.4?  We also made a change related to locale in 1.2.5 and I want to make sure that wasn't the cause.

Can you try the 1.2.4 release? I want to make sure it's the skillId and not related to the locale changes we made.

Hey,
I tried the 1.2.4 release and it still didn't work - so I don't think it's the locale changes

Thanks. Can you use the Alexa app to also test Alexa says and Messaging - Notifications to see if it also has "skillId":"amzn1.ask.1p.messaging" or some other value? Might as well try to get them all consistent.
Also want to check some basic things too:

What is the url set to for configuration.yaml? I'd think it has to be a uk domain given the en-gb locale reporting.
Are your devices only on a single email account or shared? If shared, what happens if you use the other account? If you check the devices page (fix url domain as appropriate), you can see that they have a deviceOwnerCustomerId which may be different from the logged in user. I know you're redacting the customerId above, but please see if it matches the deviceOwnerCustomerId.

Hey,
Looks like the skills are:
"skillId": "amzn1.ask.1p.messaging"
"skillId": "amzn1.ask.1p.saysomething"
"skillId": "amzn1.ask.1p.alexanotifications"
{
"@type": "com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
"type": "AlexaAnnouncement",
"skillId": "amzn1.ask.1p.messaging",
"operationPayload": {
"expireAfter": "PT5S",
"content": [
{
"locale": "en-GB",
"display": {
"title": "Alexa Routines",
"body": "Test"
},
"speak": {
"type": "text",
"value": "Test"
}
}
],
"customerId": "CUSTOMERID",
"target": {
"customerId": "CUSTOMERID",
"devices": [
{
"deviceSerialNumber": "DEVICESERIAL",
"deviceTypeId": "DEVICETYPE"
}
]
}
},
"name": null
},
{
"@type": "com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
"type": "Alexa.Speak",
"skillId": "amzn1.ask.1p.saysomething",
"operationPayload": {
"customerId": "CUSTOMERID",
"deviceType": "ALEXA_CURRENT_DEVICE_TYPE",
"deviceSerialNumber": "ALEXA_CURRENT_DSN",
"textToSpeak": "Test",
"locale": "en-GB"
},
"name": null
},
{
"@type": "com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode",
"type": "Alexa.Notifications.SendMobilePush",
"skillId": "amzn1.ask.1p.alexanotifications",
"operationPayload": {
"customerId": "CUSTOMERID",
"notificationMessage": "Test",
"alexaUrl": "#v2/behaviors",
"title": "Amazon Alexa"
},
"name": null
}
]

My configuration url is amazon.co.uk
The device deviceOwnerCustomerId generated by alexa-media-player matches that of the devices page.
My devices are shared with my partner, used her details and it works weirdly even though the devices are registered to me. Here's the winning call:
{"behaviorId": "PREVIEW", "sequenceJson": "{\"@type\": \"com.amazon.alexa.behaviors.model.Sequence\", \"startNode\": {\"@type\": \"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode\", \"type\": \"AlexaAnnouncement\", \"operationPayload\": {\"deviceType\": \"DEVICETYPE\", \"deviceSerialNumber\": \"DEVICESERIALNUMBER\", \"locale\": \"en-US\", \"customerId\": \"PARTNERSCUSTOMERID\", \"expireAfter\": \"PT5S\", \"content\": [{\"locale\": \"en-US\", \"display\": {\"title\": \"Home Assistant\", \"body\": \"test\"}, \"speak\": {\"type\": \"text\", \"value\": \"test\"}}], \"target\": {\"customerId\": \"PARTNERSCUSTOMERID\", \"devices\": [{\"deviceSerialNumber\": \"G090LF1072070GWJ\", \"deviceTypeId\": \"DEVICETYPE\"}]}}}}", "status": "ENABLED"}

Very odd as the deviceOwnerCustomerId on devices is definitely mine not hers. shrugs
`

Glad to see it worked with the account swap.  One last question, when you were making the working call using the app, did it have your customerId or your partner's customerId?
Thanks again for helping with all the detail. I'll see about adding the skillId but I think the issue is probably the customerId.  I will test whether adding the skillId does any damage and will close this out after I've done that.  It'd help if you edited your first post to add a note the fix was to switch to another shared account and if you could also edit the FAQ so we catch this use case.

Ok, I took a look at this and adding the skillId would be a significant change since it's based on a run_sequence function that is shared by every sequence skill. This would mean potentially adding the skillId for every Amazon sequence. I'll defer this for now since I don't think it's needed.


added Crisis Management Plan

took Google doc (https://docs.google.com/document/d/1TBpC4ZwVn87cHE29b_YnzqyzEliREyb6966kA339cpE/edit?usp=sharing) and converted it over to .md

This is my commit message
Signed-off-by: Darrell O'Donnell<EMAIL_ADDRESS>

I believe I've done the -s signing now.

attempting again with DCO


Check the obj type before calling the in operation

Type check fix
The object can be of type byte instead of PDFStream.
Without this type check, a python TypeError can be raised.
In the case that raised the error, the obj turns out to be of class bytes.
Fixes #441

How Has This Been Tested?
Test passing locally using this branch.
Checklist

[x] I have added tests that prove my fix is effective or that my feature
works
[x] I have added docstrings to newly created methods and classes
[x] I have optimized the code at least one time after creating the initial
version
[x] I have updated the README.md or I am verified that this
is not necessary
[x] I have updated the readthedocs documentation or I
verified that this is not necessary
[x] I have added a consice human-readable description of the change to
CHANGELOG.md

I don't like that we scatter all these isinstance(obj, PDFStream) checks over the code base. But up until now that seems to be the fix for these kind of issues, so for now its ok.
Thanks for figuring this out.


added in type check for chunk_size

This should raise a type error if a non-integer chunk_size is passed. I'm assuming we're not concerned about a chunk_size of type long, but that may be wrong.

Very nice @nateprewitt! Thanks! :sparkles: :cake: :sparkles:


chore: ignore mpl 2.0 security vulnerability

Description
Snyk is flagging up https://spdx.org/licenses/MPL-2.0.html in the go.mod file of this repo. As the other ignores in the .snyk file say, this can be ignored.

Codecov Report

Merging #1587 (5af805c) into main (527e2ab) will decrease coverage by 2.69%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #1587      +/-   ##
==========================================
- Coverage   81.32%   78.63%   -2.70%
==========================================
  Files         226      219       -7
  Lines        7113     6952     -161
==========================================
- Hits         5785     5467     -318
- Misses       1135     1288     +153
- Partials      193      197       +4

Impacted Files
Coverage Δ

pkg/resource/azurerm/azurerm_container_registry.go
12.50% <0.00%> (-87.50%)
:arrow_down:

pkg/resource/google/google_compute_address.go
14.28% <0.00%> (-85.72%)
:arrow_down:

...g/resource/google/google_compute_global_address.go
14.28% <0.00%> (-85.72%)
:arrow_down:

...ce/google/google_compute_instance_group_manager.go
14.28% <0.00%> (-85.72%)
:arrow_down:

pkg/resource/google/google_compute_disk.go
16.66% <0.00%> (-83.34%)
:arrow_down:

pkg/resource/google/google_compute_image.go
16.66% <0.00%> (-83.34%)
:arrow_down:

pkg/resource/google/google_bigquery_table.go
16.66% <0.00%> (-83.34%)
:arrow_down:

pkg/resource/google/google_bigquery_dataset.go
16.66% <0.00%> (-83.34%)
:arrow_down:

pkg/resource/google/google_compute_health_check.go
16.66% <0.00%> (-83.34%)
:arrow_down:

pkg/iac/terraform/state/enumerator/azurerm.go
0.00% <0.00%> (-67.19%)
:arrow_down:

... and 29 more

Thanks!


Disconnect in a many-to-many relationship removes unrelated relations

Suppose my data model is such:
type User {
    id: ID! @unique
    email: String! @unique

    # a list of people the user follows
    follows: [User!]! @relation(name: "Follows")
    # a list of people following this user
    followers: [User!]! @relation(name: "Following")
}

So a user can follow other users and can have users follow them. Pretty simple. Our starting state for 3 users is:

Now, suppose my user (top one) follows the other two using the following code:
    async userFollow(loggedInUserId: string, userToFollowId: ID_Input, info?: GraphQLResolveInfo | string): Promise<User> {
        await this.db.mutation.updateUser({
            where: {id: loggedInUserId}, data: {
                follows: {
                    connect: [{id : userToFollowId}]
                }
            }
        }, "{ id }");

        return this.db.mutation.updateUser({
            where: {id: userToFollowId}, data: {
                followers: {
                    connect: [{id: loggedInUserId}]
                }
            }
        }, info);
    }

The result would be as you'd expect:

Now, here is where it goes wrong. I unfollow user Jane using the following code:
    async userUnfollow(loggedInUserId: string, userToUnfollowId: ID_Input, info?: GraphQLResolveInfo | string): Promise<User> {
        await this.db.mutation.updateUser({
            where: {id: loggedInUserId}, data: {
                follows: {
                    disconnect: [{id : userToUnfollowId}]
                }
            }
        }, "{ id }");

        return this.db.mutation.updateUser({
            where: {id: userToUnfollowId}, data: {
                followers: {
                    disconnect: [{id: loggedInUserId}]
                }
            }
        }, info);
    }

And the output is:

As you can see, unfollowing one user has resulted in the other user's followers connection to also be removed, while the follows connection of the user who initiated the action remains correct resulting in an invalid state.
Expected behavior
I'd expect the followers connection of the unrelated user in this transaction (John) to be unchanged.
Versions (please complete the following information):
Prisma version: 1.14.1
Prisma-binding version: 2.1.4
GraphQL version: 0.13.2
GraphQL Yoga version: 1.15.1
Additional information
This bug looks like https://github.com/prisma/prisma/issues/2810 but I should be on a version of Prisma that's already fixed it.

Closing as I discovered it was due to not updating the local docker image to the bug fix version of #2810


The web-site have odd and poor css making it look horrible

Describe the bug
The website looks uneven with poor CSS and color scheme.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
It should have eye appealing CSS to enhance User Experience.
Screenshots

Hi https://github.comgauravsingh1281,
I’d like to take up this task: The web-site have odd and poor css making it look horrible #144
I’m confident I can complete it and contribute to the project.
Could you please assign it to me? I’ll make sure to deliver by the deadline and follow the project’s guidelines closely. If there are any specific requirements or preferences, feel free to let me know.
Looking forward to your approval!
Thanks,
@naitikhoriya1


iOS Example does not work on iOS 13

The main view (AccountsViewController) is always blank run running on iOS 13. Adding new items seems to work and there are no errors, but the main view controller is always blank.

when you restart the app, stored items will be displayed

@ehmjaysee Thank you for reporting. In iOS 13, it changes a modal view's behavior (Sheet style transition). If the input view is presented modally with the sheet style transition, viewWillAppear: isn't called when it dismissed. That's why the main view doesn't reload.
Fixed by 5e16d0e5b26fb3c75d4a23ba943b562d4919d50a


Update README.md

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru
Description of changes:

["WARN Variable specified_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable specified_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md","WARN Variable label not found in /en/monitoring/concepts/querying.md","WARN Variable host not found in /en/monitoring/concepts/visualization/dashboard.md","WARN Variable myparm not found in /en/monitoring/concepts/visualization/dashboard.md","WARN Variable label not found in /en/monitoring/concepts/querying.md","WARN Variable isotime | clean_resource_name not found in /en/solutions/infrastructure-management/packer-quickstart.md","WARN Variable isotime | clean_resource_name not found in /en/solutions/infrastructure-management/packer-quickstart.md","WARN Variable .TablePathPrefix not found in /en/ydb/sdk/index.md","WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md","WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md","WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md","WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md","WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md","WARN Variable .TablePathPrefix not found in /en/ydb/sdk/index.md","WARN Variable ydb-cli not found in /en/ydb/maintenance/backup_and_recovery.md","WARN Variable label not found in /ru/monitoring/concepts/querying.md","WARN Variable host not found in /ru/monitoring/concepts/visualization/dashboard.md","WARN Variable myparm not found in /ru/monitoring/concepts/visualization/dashboard.md","WARN Variable label not found in /ru/monitoring/concepts/querying.md","WARN Variable isotime | clean_resource_name not found in /ru/solutions/infrastructure-management/packer-quickstart.md","WARN Variable isotime | clean_resource_name not found in /ru/solutions/infrastructure-management/packer-quickstart.md","WARN Variable .TablePathPrefix not found in /ru/ydb/sdk/index.md","WARN Variable .TablePathPrefix not found in /ru/ydb/sdk/index.md",""]

WARN Variable specified_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable specified_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable unknown_key not found in /en/compute/concepts/instance-groups/variables-in-the-template.md
WARN Variable label not found in /en/monitoring/concepts/querying.md
WARN Variable host not found in /en/monitoring/concepts/visualization/dashboard.md
WARN Variable myparm not found in /en/monitoring/concepts/visualization/dashboard.md
WARN Variable label not found in /en/monitoring/concepts/querying.md
WARN Variable isotime | clean_resource_name not found in /en/solutions/infrastructure-management/packer-quickstart.md
WARN Variable isotime | clean_resource_name not found in /en/solutions/infrastructure-management/packer-quickstart.md
WARN Variable .TablePathPrefix not found in /en/ydb/sdk/index.md
WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md
WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md
WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md
WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md
WARN Variable ydb-cli not found in /en/ydb/quickstart/examples-ydb-cli.md
WARN Variable .TablePathPrefix not found in /en/ydb/sdk/index.md
WARN Variable ydb-cli not found in /en/ydb/maintenance/backup_and_recovery.md
WARN Variable label not found in /ru/monitoring/concepts/querying.md
WARN Variable host not found in /ru/monitoring/concepts/visualization/dashboard.md
WARN Variable myparm not found in /ru/monitoring/concepts/visualization/dashboard.md
WARN Variable label not found in /ru/monitoring/concepts/querying.md
WARN Variable isotime | clean_resource_name not found in /ru/solutions/infrastructure-management/packer-quickstart.md
WARN Variable isotime | clean_resource_name not found in /ru/solutions/infrastructure-management/packer-quickstart.md
WARN Variable .TablePathPrefix not found in /ru/ydb/sdk/index.md
WARN Variable .TablePathPrefix not found in /ru/ydb/sdk/index.md
Build time: 26.894s


"az webapp up" fails consistently with "Zip deployment failed."

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
az webapp up throws an error when deploying a static HTML app.
To Reproduce
az webapp up --location westus --name listingsapp --html --resource-group classifieds

Webapp 'listingsapp' already exists. The command will deploy contents to the existing app.
Creating zip with contents of dir /Users/richard/Downloads/listings-site ...
Getting scm site credentials for zip deployment
Starting zip deployment. This operation can take a while to complete ...
Deployment endpoint responded with status code 202
Configuring default logging for the app, if not already enabled
Zip deployment failed. {'id': '3785c2ee2fd246d9baa198c32fb79b4f', 'status': 3, 'status_text': '', 'author_email': 'N/A', 'author': 'N/A', 'deployer': 'ZipDeploy', 'message': 'Created via a push deployment', 'progress': '', 'received_time': '2020-10-18T01:15:40.8030782Z', 'start_time': '2020-10-18T01:15:41.1679418Z', 'end_time': '2020-10-18T01:16:52.1226913Z', 'last_success_end_time': None, 'complete': True, 'active': False, 'is_temp': False, 'is_readonly': True, 'url': 'https://listingsapp.scm.azurewebsites.net/api/deployments/latest', 'log_url': 'https://listingsapp.scm.azurewebsites.net/api/deployments/latest/log', 'site_name': 'listingsapp', 'provisioningState': None}. Please run the command az webapp log deployment -n listingsapp -g classifieds

❯ az webapp log deployment show -n listingsapp -g classifieds
Command group 'webapp log deployment' is in preview. It may be changed/removed in a future release.
[
  {
    "details_url": null,
    "id": "fe07db70-a95c-4d1b-b721-4689c994e14c",
    "log_time": "2020-10-18T01:15:41.0429375Z",
    "message": "Updating submodules.",
    "type": 0
  },
  {
    "details_url": null,
    "id": "1274c7b7-1a88-4e4c-b7b9-94400a62ac55",
    "log_time": "2020-10-18T01:15:41.1523327Z",
    "message": "Preparing deployment for commit id '3785c2ee2f'.",
    "type": 0
  },
  {
    "details_url": "https://listingsapp.scm.azurewebsites.net/api/deployments/3785c2ee2fd246d9baa198c32fb79b4f/log/075ec865-e842-4c0b-b3b9-1d859c2b9b14",
    "id": "075ec865-e842-4c0b-b3b9-1d859c2b9b14",
    "log_time": "2020-10-18T01:15:43.4179661Z",
    "message": "Generating deployment script.",
    "type": 0
  },
  {
    "details_url": "https://listingsapp.scm.azurewebsites.net/api/deployments/3785c2ee2fd246d9baa198c32fb79b4f/log/7c4814d1-7088-42d0-9c0a-ca365dec13c8",
    "id": "7c4814d1-7088-42d0-9c0a-ca365dec13c8",
    "log_time": "2020-10-18T01:15:43.5898676Z",
    "message": "Running deployment command...",
    "type": 2
  }
]

Expected behavior
The website is updated.
Environment summary
macOS-10.15.7-x86_64-i386-64bit
Python 3.8.6
Installer: HOMEBREW
Powershell Core 7.0.3
azure-cli                         2.13.0
core                              2.13.0
telemetry                          1.0.6
Additional context

webapp

Hi @requilium, do you mind checking the details url of the latest log, ex https://listingsapp.scm.azurewebsites.net/api/deployments/3785c2ee2fd246d9baa198c32fb79b4f/log/7c4814d1-7088-42d0-9c0a-ca365dec13c8

I am having the same problem on Windows 10.


Add arrow to vectors in napari vector layer

🚀 Feature
Add the feature that all vectors in a vector layer have arrows such that the direction they are pointing towards is clear.
Motivation
It is very frustrating for me to debug my optical flow and related algorithms when I can not exactly see where the flow is pointing towards. You can see this in the image below.

Simple arrows would fix this and make my life a lot easier.
Pitch
I want to have the option that every vector has an arrow at the tip such that the direction a vector is point to is clear.

thanks for feature request! @brisvag curious what you think of this/ how you think it might be implemented

Sorry about the inconvenience @biberger — indeed this has been on our mind since before Vectors was implemented — I still remember the meeting (2019!) where we said, let's just get it in and add arrowheads "soon". :joy:
@sofroniewn iirc you implemented arrowheads for the axes (?), could that code be reused here?

Actually, I just realized that the windbarb visual in vispy is already implementing a lot of this. I don't know if it works on in 3D and has everythong our vectors need...

I could make an arrowhead out of a mesh - but our approach to vectors will change in #4005 - so best to let @brisvag take lead here and go with his recommendations

FWIW - I'd quite like to see this feature too!

I'd love to work on it, but I have a lot on the plate already; I'd be happy to help out anyone who wants to tackle it, though.

if the new layer is planned to release in a somewhat long time @brisvag ?

That update is unfortunately on hold until someone more experienced than me can figure out how to ensure geometry shaders in opengl work seamlessly on all platforms. The code itself is pretty much ready actually, it's just a thing about environments and especially Apple being in their own world :(

This change is actually pretty nice, very low impact! We could still expose it as two modes with a switch, something like line vs arrow. This could then be replaced by the geometry shader version which could be expanded to have actual arrowheads.
If you have time to open a PR with just those changes, we can discuss there and actually look at the diff.
On the other hand, if you can and want to do this in a plugin, it's definitely a good way to get things working, keeping in mind that you're relying on private implementation details that might change in the future.

I'm totally on board with this, thank you @jules-vanaret for playing with it! I love it! I'd even support a PR hardcoding the change from the lines, which I think are close to useless, without additional context. Directionless vectors, feels like a whole new field of mathematics needs to be invented to make sense of them... 😂
But, a mode switch ComboBox would be great and there's lots of examples in the code. I would actually do a ComboBox rather than a checkbox in anticipation of having different depictions (lines, triangles, lines with arrowheads, ...)
Let me double @brisvag's offer for help — I have actually been dying for this issue to be resolved but the triangle solution didn't occur to me 😅, it's so simple... And pretty!

But, a mode switch ComboBox would be great and there's lots of examples in the code. I would actually do a ComboBox rather than a checkbox in anticipation of having different depictions (lines, triangles, lines with arrowheads, ...)

Agreed! I do like the simple line for some use cases where they are really small and direction os obvious (I use it do display basis vectors of particles in space).

btw I'd love if you gave 3D the same treatment! sweat_smile I think/hope it's similarly easy to adapt the existing code...

This shouldn't be too hard; 3D creates quads as well, it's just that it makes 2 of them rotated by 90 degrees from one another, so the same logic should apply there, just "doubled up".

Thank you both for your enthusiasm ! :)
After reading my initial message, I realize that I was not precise enough in saying that this hack natively works in 3D. Indeed, as @brisvag stated, vectors are currently plotted in 3D by copying their 2D version (obtained with the function generate_vector_meshes_2D, and rotating the copy by 90 degrees around the vector axis. Because my version only changes stuff inside generate_vector_meshes_2D, the mechanism naturally extends to 3D.
I'll submit a version with the combo box as soon as possible. Depending on how straightforward this would be, it would seem natural for me to immediately include a second combo box used to choose on which "end" the vectors are centered (e.g centered on their starting point or on their ending points, or even on the middle).


Feature Request: RelatedSearch and SpellingSuggestion

Is there any method to perform SpellingSuggestion or  RelatedSearch using this library? if not do you have any plan to implement it?

I have just added the feature. Star the repo if you feel satisfied. Stars make developers happy :smile:
Also let me know if there is any problem.
Cheers!

You rock man :+1: Thanks a lot for implementing this.


Hi c and bulk methyl

Combined hi-c and bulk-methyl into one branch

@elv-sb I think I was able to resolve the conflicts here.
I think the main issue was that one of the lines had got split in two somewhere along the way...  as well as a conflict as there were multiple additions in the last line of the model.

There is still something very odd going on in the JSON-LD here though with a number of attributes that are not changed in the csv being dropped.

@elv-sb I think I have fixed the issues we noted, but the json-ld conversion is currently failing on schematic install so we are blocked until #148 is closed

JSON LD conversion successfull! I think we can merge


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #35.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #35

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


Cannot read property 'click' of undefined

hello
when trying to run :
docker run --rm -ti -v /`pwd`:/src buildkite/puppeteer node //src/examples/eggbot.js https://hubs.mozilla.com/6UV6dpG/cautious-slight-gathering
or
node examples/eggbot.js https://hubs.mozilla.com/6UV6dpG/cautious-slight-gathering
i have the error :
>>  A-Frame Version: https://github.com/MozillaReality/aframe
>>  three Version: https://github.com/MozillaReality/three.js
>>  WebVR Polyfill Version: ^0.10.10
>>  %ccore:schema:warn %cDefault value `null` does not match type `string` in component `media-loader`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `null` does not match type `string` in component `media-loader`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `null` does not match type `string` in component `media-loader`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `undefined` does not match type `string` in component `media-image`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `null` does not match type `string` in component `camera-focus-button`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `null` does not match type `string` in component `emit-scene-event-on-remove`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `media-frame`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `media-frame`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `pen`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `pen-laser`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `pen-laser`%c  color: orange color: inherit color: orange
>>  %ccore:schema:warn %cDefault value `[object Object]` does not match type `string` in component `pen-laser`%c  color: orange color: inherit color: orange
>>  App version: <IP_ADDRESS>10210231433
>>  Tracking: Sentry DSN<EMAIL_ADDRESS>>>  Tracking: Google Analytics ID: UA-77033033-12
>>  Using WebGL 2.0 context.
>>  %ccore:schema:warn %cUnknown property `multiview` for component/system `undefined`.%c  color: orange color: inherit color: orange
>>  Using Non-VR bindings.
>>  The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
>>  Insufficient MAX_UNIFORM_BLOCK_SIZE, Disabling batching.
>>  Hub ID: 6UV6dpG
>>  Reticulum @ boring-elf.reticulum.io: v1.0.20210115213815 on earth
>>  Phoenix Socket URL: wss://boring-elf.reticulum.io:443
>>  THREE.GLTFLoader: Duplicating UVs to support aoMap.
>>  Janus host: agitated-elf.reticulum.io:443
>>  Scene URL: https://uploads-prod.reticulum.io/files/002172c6-41f9-4c3e-adc5-f4dd3141b527.bin
>>  THREE.GLTFLoader: Duplicating UVs to support aoMap.
>>  [three-pathfinding]: Use THREE.BufferGeometry, not THREE.Geometry, to create zone.
>>  traverseMeshesAndAddShapes
>>  heightfield or trimesh found on scene
>>  console.groupEnd
Clicking for a button matching /entry__action/
Failed to run. Check botError.png if it exists. Error: Error: Evaluation failed: TypeError: Cannot read property 'click' of undefined
    at __puppeteer_evaluation_script__:5:19
    at ExecutionContext._evaluateInternal (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/ExecutionContext.js:93:19)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async ExecutionContext.evaluate (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/ExecutionContext.js:32:16)
    at async PageUtils.clickSelectorClassRegex (/home/ssm2017/hublot-hubs/hubs-client-bot/src/hubs-bot.js:14:5)
    at async HubsBot.enterRoom (/home/ssm2017/hublot-hubs/hubs-client-bot/src/hubs-bot.js:145:5)
    at async run (/home/ssm2017/hublot-hubs/hubs-client-bot/examples/eggbot.js:5:3)
  -- ASYNC --
    at ExecutionContext.<anonymous> (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/helper.js:82:19)
    at DOMWorld.evaluate (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/DOMWorld.js:88:24)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
  -- ASYNC --
    at Frame.<anonymous> (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/helper.js:82:19)
    at Page.evaluate (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/Page.js:548:47)
    at Page.<anonymous> (/home/ssm2017/hublot-hubs/hubs-client-bot/node_modules/puppeteer/lib/helper.js:83:27)
    at PageUtils.clickSelectorClassRegex (/home/ssm2017/hublot-hubs/hubs-client-bot/src/hubs-bot.js:14:21)
    at HubsBot.enterRoom (/home/ssm2017/hublot-hubs/hubs-client-bot/src/hubs-bot.js:145:14)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async run (/home/ssm2017/hublot-hubs/hubs-client-bot/examples/eggbot.js:5:3)

Hmm... Yeah, this whole library has likely been broken by the recent Hubs UI changes and will likely need to be largely re-written. I'm not sure if / when this work would be done.

i have just tested using the old UI (default hubs cloud) to confirm and there are no errors

I believe this issue should be resolved now with the latest version of the package, which has been updated to account for the new hubs interface.


Polyfill skipped because browser supports Scroll Timeline - Safari

Safari Version 18.0 (206<IP_ADDRESS>.3)
I have a simple CSS animation placed as inline CSS
[data-section-id="66d153c7fa59f85ae17bdd36"] video {
    position : absolute;
    top : 0;
    height: 66vh!important;
    translate: 0 0vh;
    animation: parallax 1s linear both;
    animation-timeline: scroll(root);
    animation-range: cover 30% cover 66%;
}

@keyframes parallax {
    from {
        translate : 0 0vh;
    }
    to {
        translate: 0 -33vh;
    }
}

I inject
I get this console message from the polyfill "Polyfill skipped because browser supports Scroll Timeline - Safari"
I tried to modify the source code where the support is checked to allow the code execution but the CSS parallax animation that I created does not work in Safari.
The site https://flackr.github.io/scroll-timeline/demo/parallax/ works in Safari but is written with JavaScript

Do you happen to have any feature flags enabled? There is one for Scroll-Driven Animations in Safari Technology Preview but AFAIK it doesn’t actually do anything other than claiming “yes, we do support these CSS properties and what not”
(I don’t have access to Safari 18 yet, as it’s a pre-release)

Thank you for your quick response.
I downloaded Firefox for Mac and I get this error:
Uncaught TypeError: Invalid time range or unsupported time range format.

I am working on this page https://lipkind.squarespace.com/new-landing-page and the CSS for the animation is inline

Now it works in firefox.
The error was from my configuration for the animation.
I came to this stage
     var videoElement = document.querySelector('[data-section-id="66d339fcaa91932c1202ad7e"] video');

      var scrollTimeline2 = new ScrollTimeline({
  			source: document.documentElement,
         	axis: "block",
        	orientation: 'block'
	});

    videoElement.animate(
        { transform: ["translateY(0)", "translateY(-33vh)"]},
        {
            duration: 1000,
            fill: 'both',
            timeline: scrollTimeline2

        }
    );

But I try to use rangeStart and rangeEnd on the .animate but I get an error
    rangeStart: "cover 30%",
    rangeEnd: "cover 66%",

Uncaught DOMException: An invalid or illegal string was specified
Se numeric-values.js:827
parse proxy-cssom.js:53
yt proxy-animation.js:1075
bt proxy-animation.js:1943
 debugger eval code:9
numeric-values.js:827:26

This works in Chrome but not on Firefox when the polyfill is used
var videoElement = document.querySelector('[data-section-id="66d339fcaa91932c1202ad7e"] video');
    var scrollTimeline2 = new ScrollTimeline({
  			source: document.documentElement,
         	axis: "block",
        	orientation: 'block'
	});

    videoElement.animate(
        { transform: ["translateY(0)", "translateY(-33vh)"]},
        {
            duration: 1000,
            fill: 'both',
            timeline: scrollTimeline2,
            rangeStart: {
              rangeName: 'cover',
              offset: CSS.percent('70')
            },
		    rangeEnd: {
              rangeName: 'cover',
              offset: CSS.percent('100')
            }
        }
    );

This one did the job
    var videoElement = document.querySelector('[data-section-id="66d339fcaa91932c1202ad7e"] video');

var scrollTimeline2 = new ScrollTimeline({
          source: document.documentElement,
         axis: "block",
        orientation: 'block'
});

videoElement.animate(
    { transform: ["translateY(0)", "translateY(-33vh)"]},
    {
        duration: 1000,
        fill: 'both',
        timeline: scrollTimeline2,
        rangeStart: new CSSUnitValue(70, 'percent'),
        rangeEnd: new CSSUnitValue(100, 'percent')
    }
);

Glad you got your Firefox problem (which could have used its own issue in this repo) sorted. The culprit is that you were using the wrong offsets: the cover, contain, entry, exit, etc. ranges can only be used with ViewTimeline, not ScrollTimeline.
There is an argument to be made that the polyfill should mimic the native API here so that it ignores the incorrect offsets instead of throwing an Error (@flackr WDYT?)

Closing this one as the original problem is solved.


Added Tensorflow 1.0 compatability

Tensorflow v1.0 included a lot of changes to keeping up to date is important. A lot of things were fixable with the tensorflow upgrade script but changes to tf.split() caused errors.
Traceback (most recent call last):
  File "encoder.py", line 209, in <module>
    mdl = Model()
  File "encoder.py", line 143, in __init__
    cells, states, logits = model(X, S, M, reuse=False)
  File "encoder.py", line 93, in model
    inputs = [tf.squeeze(v, [1]) for v in tf.split(axis=1, num_or_size_splits=nsteps, value=words)]
  File "/Users/rupertdeese/.pyenv/versions/3.5.0/lib/python3.5/site-packages/tensorflow/python/ops/array_ops.py", line 1203, in split
    num = size_splits_shape.dims[0]
IndexError: list index out of range

This error was because nsteps is passed into tf.split as the num_os_size_splits argument but nsteps is a "Dimension" this was fine when tf.split() looked like this
def split(split_dim, num_split, value, name="split"):
    return gen_array_ops._split(split_dim=split_dim,
                          num_split=num_split,
                          value=value,
                          name=name)

in v1.0 tf.split() changed not only the order of arguments but the function is now
def split(value, num_or_size_splits, axis=0, num=None, name="split"):
    if isinstance(num_or_size_splits, six.integer_types):
        return gen_array_ops._split(
            split_dim=axis, num_split=num_or_size_splits, value=value, name=name)
    else:
        size_splits = ops.convert_to_tensor(num_or_size_splits)
        if num is None:
            size_splits_shape = size_splits.get_shape()
            num = size_splits_shape.dims[0]
        if num._value is None:
            raise ValueError("Cannot infer num from shape %s" % num_or_size_splits)
        return gen_array_ops._split_v(
            value=value,
            size_splits=size_splits,
            split_dim=axis,
            num_split=num,
            name=name)

Now when tf.split() is called, if isinstance(num_or_size_splits, six.integer_types): returns false and the code tries to get the Dimension's shape but it is an empty list so .dims[0] fails.
This pull request fixes the simple argument switching, function renaming incompatibilities in encoder.py and also fixes the above bug concerning tf.split()

Hello,
Thanks for the update. However, since the new version running on tf > 1.0 seems to have trouble loading the model, could you provide the exact version on which the model was first train ?
Thanks


Enhance Flow with an API driven design

Is your request related to a problem? Please describe.
Boomerang Flow does not have any APIs for external consumption other than triggers. We should extend Flow to support APIs to helm manage Teams / Users / Workflows / Tasks Activity
Describe the solution you'd like
Externally accessible APIs with documentation and security tokens that allow the management of the APIs. The APIs could include; team creation, workflow creation, import / export, manual execution, configuration of a workflow, etc
Describe the benefits or justification for this request
This would allow extensibility with other products and also enable developer adoption through source code management for tasks and workflows.

APIs
The following API table is a summary based on discussion with @morarucostel and @amhudson

Prefix all of the endpoints with /apis/v1
Do we want the UI to call the same API endpoints as everyone?

How do we handle security? user vs API token?
Do we have two different ingresses with different context paths that handle Auth Proxy vs X-Access-Token authentication.

@morarucostel to investigate whats possible

Allows you to generate a client
Some endpoints would be Global scoped token only.

Category
Purpose
Method
Endpoint
Token Scope
Notes

Teams
Get Teams
GET
/teams
Global
Returns a list of teams you have access to

Teams
Create Team
POST
/teams
Global
-

Teams
Get Team
GET
/teams/{teamId}
Global
Include the workflows / settings / users that are part of the team.

Teams
Update Team
PUT
/teams/{teamId}
Global

Teams
Update Team Members
PATCH
/teams/{teamId}/members
Global

Teams
Delete Team
DELETE
/teams/{teamId}

Teams
Create Team Task Template
POST
/teams/{teamId}/task-templates
Global or Team

Teams
Get Team Task Template
GET
/teams/{teamId}/task-templates/{templateId}
Global or Team

Teams
Update Team Task Template
PUT
/teams/{teamId}/task-templates/{templateId}
Global or Team

Teams
Archive Team Task Template
DELETE ???
/teams/{teamId}/task-templates/{templateId}
Global or Team

Users
Get Users
GET
/users
Global

Users
Create Users
POST
/users
Global

Users.
Get User
GET
/users/{userId}
Global

Users
Update User
PATCH
/users/{userId}
Global

Users
Delete User
DELETE
/users/{userId}
Global

Workflows
Create workflow
POST
/workflow
Global or Team

Workflows
Update workflow
PATCH
/workflow
Global or Team

Workflows
Update workflow properties
PATCH
/workflow/{workFlowId}/properties
Global or Team

Workflows
Get workflow changelog
GET
/workflow/{workFlowId}/changelog
Global or Team

Workflows
Import workflow
POST
/workflow/import
Global or Team

Workflows
Get latest workflow
GET
/workflow/{workflowId}/revision
Global or Team

Workflows
Get a workflow revision
GET
/workflow/{workflowId}/revision/{version}
Global or Team

Workflows
Get workflow summary
GET
/workflow{workflowId}/summary
Global or Team

Workflows
Delete a workflow
DELETE
/workflow/{workflowId}
Global or Team

Activity
Get team activity summary
GET
/activity/summary?teamId=
Global or Team

Tasks
Create Task Template
POST
/task-templates
Global

Tasks
Get Task Template
GET
/task-templates/{templateId}
Global

Tasks
Update Task Template
PUT
/task-templates/{templateId}
Global

Tasks
Archive Task Template
DELETE ???
/task-templates/{templateId}
Global

Questions

@amhudson would we have to have different endpoints for Update Team Members i.e. add vs remove?
For users and teams should a team API have the ability to get a subset? i.e. call Get Team
Should /workflow be /workflows to match the rest of the system?
Whats the difference between PATCH /workflow and POST /workflow/import?
What is workflow summary GET /workflow/{workflowId}/summary?
Do we put the activity summary under /teams/{teamId}/activity or something like that?
I removed GET /workflow/export from this list, it mentioned Get JSON workflow definition which we don't use anymore do we?
Do we need the parameter endpoints public? what are they used for?
Do we combine Team Tasks and Tasks and just use an attribute or the API key to denote what can happen?
What to do with parameters? Scope: Global / Team / etc


Include additional fields in user-export

This should put the user export on par with what should be sent to Omeda now: https://github.com/parameter1/base-cms/pull/859

 Please add street address to IdentityX export


Project License is not accurate

The project license should be the first entry from the project license

The concluded license should come the FOSSOlogy SPDX file


How can i config?

This thing is still work in progress

This thing is still work in progress

i got it i configed


LHN - Chat with invalid number is not showing red dot in LHN when go online

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.28
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/
Tap fab--- Start chat
Turn off mobile data
Search a voip number (+18183305299) & select it
Send some messages
Turn on mobile data
Wait till red error messages appear under the messages sent
Navigate back to LHN

Expected Result:
For starting chat with invalid number in offline, sending messages and turn online, must show red dot in LHN
Actual Result:
For starting chat with invalid number in offline, sending messages and turn online, not showing red dot in LHN
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/c650951f-8a7b-4392-a998-42f7f8eaf337
https://github.com/Expensify/App/assets/78819774/88de6c19-b849-40d2-b6ed-6ea8493210d1
View all open jobs on GitHub

I think this is a dupe of https://github.com/Expensify/App/issues/34827


Choose an appropriate license for python

Discuss whether we should use a different license (in this issue).

Similar issue discussed in R: https://github.com/UBC-MDS/nameformeR/issues/32


App reload logs the user out from all servers

My Setup

Operating System: Windows 10
App Version: 3.0.6
Installation type: exe

[x] I have tested with the latest version
[x] I can simulate the issue easily

Description
If the user makes a reload using Ctrl+Shift+R or presses Reload under the "View" dropdown, he is logged out from all servers he was previously logged in to.
Current Behavior
Reloading logs the user out from all servers
Expected Behavior
Reloading shouldn't log the user out from all servers

The same behavior.

@tassoevan Confirm that issue!
CTRL+SHIFT+R - logs off user from all configured in desktop client servers
CTRL+R - looks good


New rule: detect spot colour

Check

images
stroke operators
fill operators
colorspaces from the page resources

This looks good.


Use affirmative name for Booleans

Let try to use affirmative names for variables and functions names. Here are some examples of why it is a better idea.

variable
Any good?
Reason

isDisabled
🧐
Negative

isNotActive
🤯
Just imagine !isNotActive

hasNoBillingAddress
😞
No need for "no"

isEnabled / isActive / hasBillingAddress
😁
And use it like this !isActive to get the negative

If you have any suggestions just let me know.

Hi! @DannyFeliz
We actually like your affirmative name for booleans approach, thus we'll merge this PR.
Thank you for your contribution! 👍


New entity types for implementing self-service integration.

Can one of the admins verify this patch?


Fix si7021 temperature/humidity sensor reading

Raw reading modified according to the Silicon Labs sample code for the Si7021 sensor.
I've had issues trying to use the Si7021 sensor with Sonoff TH10 and TH16 devices, so looked into why it was always returning TEMP = 0, HUM = 2. The raw vales were not being interpreted as per the data sheet and Linux sample code that Silabs provide.

Apologies. Hold off reviewing this pull request until I update it.
I realise I haven't catered for negative temperatures (its cold in the UK today) :-)
I'll update my commit later today.

Updates committed and and tested on Sonoff TH16 with DHT22, Si7021 & AM2301 sensors.

@WizBangCrash Did you test it with DHT11 too?

I don't have a DHT11 sensor unfortunately, so I couldn't test that option.

@RavenSystem One other thing I have noticed during testing is that the new Sonoff branded AM2301 sensors behave like the Si7021, but the older ASAIR branded AM2301 sensors behave like the DHT22. Both sensors are in identical plastics accept for the information printed on the rear.
This can get quite confusing, especially as the software uses the sensor name as the option. It might be wise to refactor this at some point in the future and have generic 'types' e.g. SENSOR_TYPE_A, SENSOR_TYPE_B and then list the sensors that can be used with each 'type'. Rather than DHT_TYPE_DHT22, DHT_TYPE_SI7021

Change sensor definitions is not a good idea because a lot of people uses this SDK, and everybody that uses DHT driver will must change code.
I think I have a DHT11. I will test it asap.

Change sensor definitions is not a good idea because a lot of people uses this SDK, and everybody that uses DHT driver will must change code.

I'm sure I could make it backwards compatible. I'm just forward thinking as more sensors come to the market.  I also looked at automatically switching between modes as I had in initial fix that tried the AM2301 using the old way and when it failed Phase B it would retry Phase A with a longer period. This worked, but I wasn't sure whether to submit it as a fix or not.


<EMAIL_ADDRESS>license & homepage changed

Siyuan-Note opened its source code with AGPL since v2.0.14.
https://github.com/siyuan-note/siyuan/blob/master/LICENSE

[x] I have read the Contributing Guide.

/verify

The homepage is still valid. Don't change it.

You can directly specify "license": "AGPL-3.0-only",, URL is not mandatory since it's a common standard license


Aren't sensors extremely inefficient?

So I was having a chat with some guys on discord who implemented their own GOAP system within their game and we got on the topic of sensors. They believed that sensors were inefficient because they are constantly running and doing whatever logic they need to all the time. If I have multiple sensors on one GO, each used for a specific action that don't seem to turn off when they shouldn't be in use, isn't that a huge performance hit?
This is a question and should be labeled as such, but I don't know how to do that 😄

This should answer :
http://answers.unity3d.com/questions/1155302/ai-and-enemy-detection.html
There are some tips to avoid performance hits in theses articles too :
https://enzisoft.wordpress.com/2016/03/15/factorio-in-unityc-1-7-million-items-in-60fps/


An unexpected error occured, maybe a bug.

An unexpected error occured, maybe a bug.

Please report this if you think this is a bug. Include a brief description on how the error occured, and if you can; how to replicate it

window::onerror()
Filename:
Line: 0:0
Message: Script error.

Thanks for reporting!
It seems that this is a problem for some users and I have yet to find out why. It still works after you close the error, right ?
Duplicate of: #185

Yes it does work after I closed the error window.
On Wed, Dec 30, 2015 at 1:03 PM, Anders Evenrud<EMAIL_ADDRESS>wrote:

Closed #197 https://github.com/andersevenrud/OS.js-v2/issues/197.
—
Reply to this email directly or view it on GitHub
https://github.com/andersevenrud/OS.js-v2/issues/197#event-502954456.

Good. Then at least nothing breaks. What browser and OS do you use ? And do you have any plugins/extensions running ?
Trying to gather some information on this to help be debug

Win7 OS, Chrome Version 47.0.2526.106 m
On Wed, Dec 30, 2015 at 1:14 PM, Anders Evenrud<EMAIL_ADDRESS>wrote:

Good. Then at least nothing breaks. What browser and OS do you use ? And
do you have any plugins/extensions running ?
Trying to gather some information on this to help be debug
—
Reply to this email directly or view it on GitHub
https://github.com/andersevenrud/OS.js-v2/issues/197#issuecomment-168047896
.


Fix typos “a”→“an”

See rust-lang/rust#88230

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Eh2406 (or someone else) soon.
Please see the contribution instructions for more information.

I don’t understand this test failure.

Looks good.
@bors r+

:pushpin: Commit 5c9d614fcedd337cfb7032d457167db1a685fc9a has been approved by Eh2406

:hourglass: Testing commit 5c9d614fcedd337cfb7032d457167db1a685fc9a with merge a42d00c17c2c5b0487453e16b2f0ef75addc51bf...

:broken_heart: Test failed - checks-actions

I'm investigating the test error.  There is some strange issue with serde deserialization, and I'm not sure what changed.

@bors: retry

Am I simply misinterpreting the bors queue or is this PR indeed for some reason not on there?

@bors r+

:pushpin: Commit ff881ee262ecab801d43ce9950591fa4218bedee has been approved by Eh2406

I mean it is on there, but not as "approved"

Haha, of course it wasn’t since I’ve added more commits since the last r+.

:hourglass: Testing commit ff881ee262ecab801d43ce9950591fa4218bedee with merge f066c50d653a70fb2b7613f2f7ad603f04331fb7...

:sunny: Test successful - checks-actions
Approved by: Eh2406
Pushing f066c50d653a70fb2b7613f2f7ad603f04331fb7 to master...


https://github.com/psalm/psalm-plugin-symfony/issues/313

After lots of investigation, I found out that tests works as long as symfony/forms are <6.3. Version 6.3.0 and above are triggering the fails, I am trying to find what could be the cause.


chore(manifest): fixes typo in pyproject.toml description.

Why
Super minor typo fix. Feel free to ignore completely or fix yourselves as part of another release. Didn't seem worthy of GH issue...
How
Describe how you've approached the problem
Checklist

[x] Commit messages are formatted as per the convention, and breaking changes are marked

Perfect, thanks @kamidzi!


isNullAddress bug (v1)

I'm not sure if you're still maintaining v1, but if so you might want to fix this bug.
Expected Behavior
isNullAddress should return true when given 0x0000000000000000000000000000000000000000 as a parameter
Current Behavior
It always returns false, because it trims the leading 0x and then compares the address to a constant with 0x as a prefix.
Actually, it would return true if it was called with 0x0x0000000000000000000000000000000000000000, but that doesn't seem intended.

I think this might still be in issue in v2 too


Short back button presses can no longer be used.

I can no longer add functionality for short back button presses.
With 3.0.1 I was using the following code:
@Override
public boolean onKeyUp(int aKeyCode, KeyEvent anEvent) {
  Log.d(TAG, "onKeyUp: " + aKeyCode);
  if (((anEvent.getFlags() & KeyEvent.FLAG_CANCELED_LONG_PRESS) == 0) && !this.m_paused) {
    if (aKeyCode == KeyEvent.KEYCODE_BACK) {
      // handle short back press
      return true;
    }
  }
  return super.onKeyUp(aKeyCode, anEvent);
}

@Override
protected void onPause() {
  this.m_paused = true;
  super.onPause();
}

@Override
protected void onResume() {
  this.m_paused = false;
  super.onResume();
}

This no longer works with 3.1.1 (I did not test the 3.1.0). The onKeyUp code is never called. Pressing the back button will always show the Oculus UI (independent how long it is pressed).

Hi. We added a method for back key handling. Please see GVRMain.onBackPress. It lets you either handle the back key in your app or delegate it to us which means we will bring up the Oculus UI. Does this work for you?

I did not check GVRMain :) But I found the method and it is working.
For others reading this topic: this method is available in 3.2 (I got error in Android Studio when using v3.1.1 of the SDK).


Feature: Theming Switch and Checkbox component

So all the components that I'm using are being color themed automatically, except for Switch and Checkbox.. At least Checkbox I can manually give it the check_color and fill_color to the color theme, however it doesn't look like Switch has any color setting options exposed.  I expected it to have active_color, active_track_color, inactive_thumb_color, and inactive_track_color, but it doesn't look like that's been implemented yet.  Ideally they would default to the accent color of the theme like all the other components, but if not I'd like to manually set it.  Thanks...

Another thing I've noticed using the Switch & Checkbox is that the tooltip text parameter doesn't work on the Switch but it does on Checkbox.  However the tooltip on the Checkbox pops up in the center, offset from the checkbox that's aligned on the left, so it looks strange detached in the middle.  Tried to hack it to align right, like it does correctly on the button tooltips, but couldn't find a workaround without getting into the Flet code.

It will be great to have a Tooltip class.
https://github.com/flet-dev/flet/issues/367

Working on #367!

@Skquark Regarding tooltip location: it's shown in the middle because checkbox with a label consists of Checkbox widget and Text put in a Row widget together and the resulting group has a tooltip over it. If you need to show tooltip when hovering Checkbox then do not use built-in "label".

Looking forward to seeing the change merged, I tried installing the git controls-s3 branch in my project but it didn't install right for some reason.  Would also love to see the Tooltip class, almost all of my Switches with labels could also use a tooltip to provide more information about what the switch does that I can't fit in the label.
Thanks a bunch, been having a lot of fun coding with this framework...

It's been released.


Context canceled while downloading image from docker

Expected behavior
Docker image download properly
Actual behavior
After searching for image and selecting to download, it is displaying message  "context canceled"
Information about the Issue
Docker version: 18.09.2
Windows 10
Steps to reproduce the behavior

... Search for Jenkins
... Click on create button

Its happening for all the images, i testing docker command line to pull image and it worked. Looks like is in kitematic

Uninstall Docker and install it from here https://docs.docker.com/install/ instead. This worked for me.

Were you facing issue in kitematic only or docker too? For me docker is working correctly, problem persist only in kitematic


feat: add Makefile command for updating auto-generated docs

Fix #1879
Changes made:

Modified the Makefile to include a new target named resources.

Hey @YashPimple are you working on this still?

Hey @YashPimple are you working on this still?

Hello @RealAnna I apologize for the oversight, I forgot about it. I'll promptly make a PR soon. Thank You for your patience and support!

any updates on this @YashPimple ? :)

Again asking for updates... @YashPimple

Again asking for updates... @YashPimple

Hello @mowies sorry for the late update. I would like to provide an update regarding the above issue i am unable to resolve it and I tried navigating through this issue but am not able to resolve it. I would like to get your help for this issue.

Hi @YashPimple can you please share more details about the issue you are having with this one?

Hi @YashPimple any updates on this PR?

Closing this PR due to inactivity as the issue is already assigned to another contributor. Please feel free to look and take other tickets if you are interested!


there are too many code in /example are using: from asyncio import *

does this adapt to pep8?
I was told not to write code in this way. this will add more work to the people who want to use your work, we are not writing perl.

You're right, the examples should be changed to just import what they need.
Do you want to help by submitting a PR?

I'm willing to work on this one if nobody else is doing it yet.


[vcpkg-update] Add dynamic build support for cross-compiling on linux

Describe the pull request

What does your PR fix?
Add dynamic build support for cross-compiling on linux, by copying dependencies of host tools into corresponding directory.

Which triplets are supported/not supported?

I am still working on this PR

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

This is not going to work without manually patching each library. Please try more generic solution first: https://github.com/microsoft/vcpkg/pull/23035

This is not going to work without manually patching each library. Please try more generic solution first: #23035

Yep, thx for suggestion. I does won't work if the original $ORIGIN of rpath  property has been removed or taken place. I will try to figure it out with another generic way.

LD_LIBRARY_PATH is not very reliable:

Users (including vcpkg itself) would have to write wrappers like in this PR for their own projects.
If user code starts new process (i.e. system("gedit")), it might pick up libs from vcpkg. This can introduce silent ABI breaks.

The problem you are trying to solve is already solved in https://github.com/microsoft/vcpkg/pull/23035 which hopefully will be merged soon.