Mouse clicks do not work

I am using Xiaomi max 2 on macOS High Sierra 10.13.3
scrcpy v1.0

dependencies:
 - SDL 2.0.8
 - libavcodec 57.107.100
 - libavformat 57.83.100
 - libavutil 55.78.100

Xiaomi Mi 6 has the same issue

@Pong420 Maybe this issue can fix. But I have not test it.

@izayl seems not work for me

Duplicate of https://github.com/Genymobile/scrcpy/issues/18.
Already fix on v1.1.

@rom1v I have pull the newest code of master. But the problem still exist.

scrcpy -v

?

Did you compile using prebuilt server v1.1?

sorry, how to check prebuilt server version?
v1.1 still not work
scrcpy v1.1

dependencies:
 - SDL 2.0.8
 - libavcodec 57.107.100
 - libavformat 57.83.100
 - libavutil 55.78.100

I find the reason of the issue，switch below option for obtain the permission of simulating Input

Did you compile everything, or downloaded the prebuilt server (the Android part)?
If you don't know, please give the result of:
mesonconf x

(from the scrcpy root directory)

Solved by enable the permission of simulating Input
Thanks all

@izayl Thank you very much! I added a question in the FAQ.

Nokia 8 does not have that option in developer settings. My problem turned out be a slightly weird one. If I move scrcpy window from the screen it started on to a different monitor, mouse inputs become unreponsive.

@halilozercan https://github.com/Genymobile/scrcpy/issues/15

the

I find the reason of the issue，switch below option for obtain the permission of simulating Input

the screen off mirroring function does not work with either Ctrl+
o or terminal command …it says “unrecognised option”
help please.. my phone is poco F1

the screen off mirroring function does not work with either Ctrl+o or terminal command …it says “unrecognised option”

(please do not post on an unrelated issue)
You need scrcpy v1.9.
scrcpy --version

Xiaomi Mi 6 has the same issue

My Xiaomi Mi 6 no problem in windows.

I want to know recording MP4's format.

why  my android  OPPO R15 no USB debugging(Security settings) option? so  I  cannot  click my simulating screen .

thank you enabling USB debugging (security settings) worked on my phone mi 4

On a Redmi 6A I get the popup "Sign in with you Mi Account"  :-(

I find the reason of the issue，switch below option for obtain the permission of simulating Input

No such setting exists for me on Android 8.1. Device is a Motorola Moto G5 Plus.

In MIUI you are locked behind Mi Account link in order to enable ADBinput for keyboard and mouse. To bypass that (with root):

Enable USB debugging
Run any terminal as root
setprop persist.security.adbinput 1
That's all, nothing else is required

I dont believe root-less solution is possible because MIUI permission service will block any user-app trying to do the same.

In MIUI you are locked behind Mi Account link in order to enable ADBinput for keyboard and mouse. To bypass that (with root):
1. Enable USB debugging

2. Run any terminal as root

3. `setprop persist.security.adbinput 1`

4. That's all, nothing else is required

I dont believe root-less solution is possible because MIUI permission service will block any user-app trying to do the same.

I'm assuming the permission service can't be safely disabled with adb, right?

No, the security core cannot be uninstalled or disabled, it is rooted deep.

how to enable this setting on Xiaomi Note 7 ?
this screen does not appear

Bro I have not above usb debugging security setting in Relame U1
I want to control through keybord and mouse help???

Read the thread

Man I have a Redmi 8 MIUI11 with Android 10
Click/Mouse doesn't work, I have enabled the developer options (the security options too) but the simulated entry doesn't appear.
If I Root my phone, can I access that option?
Thank you very much also in advance, you have done a great job with scrcpy, making life easier for hundreds (if not thousands) of people, I love you.
I really want to make PC control work  😢

the security options too

Then it should work. What's the output in the console?

Then it should work. What's the output in the console?

Hi man,  yesterday at the time of my comment the console did not show anything different, scrcpy showed the image and even some keyboard shortcuts (alt +) in my windows worked well.
So today I tried to restart both my PC and my SmartPhone, and then I got the   "adb push" returned with value 1    Error.
I tried to fix it (by closing scrcpy and restart my xiaomi a couple times)  and then Control (click) works well 😄 !
So forgive me for my earlier comment, I am happy that it finally works well, thank you very much!

I find the reason of the issue，switch below option for obtain the permission of simulating Input

thanks this works for me!

I find the reason of the issue，switch below option for obtain the permission of simulating Input

It does not work on Xiaomi Redmi Note 9S Android 10, when I try to activate the option, it is never activated, and I cannot use Scrycpy

I find the reason of the issue，switch below option for obtain the permission of simulating Input

It does not work on Xiaomi Redmi Note 9S Android 10, when I try to activate the option, it is never activated, and I cannot use Scrycpy

On Oppo，turn on "Disable permission monitoring" in "Developer options"/"APPS" section.

On Oppo，turn on "Disable permission monitoring" in "Developer options"/"APPS" section.

Everyone using a Xiaomi device -
@Mixterix-AL @ahmedsallam544
Others have discussed rooting your device, which, in my opinion, unless you really want root for other reasons, is a a bit overkill.
The simple solution is to do what your manufacturer is telling you - "Sign in with your Mi account".
Personally, I find the constraint odd - If I'm activating devtools & running adb, chances are I have a good idea of whatever it is I want to do, and I've already dismissed one or two warning dialogues already- but, personally, I take it on good faith that the manufacturer is trying to protect me from myself.
I'm unsure of exactly why people are so reluctant to follow the "easy" fix, and make an account- they support SSO via Google + Facebook.
Is it privacy concerns? Their privacy policy is a little disconcerting.

Personally, I signed into a Mi account, activated the setting, and signed out of the account again & everything seems to be working just fine.

Personally, I signed into a Mi account, activated the setting, and signed out of the account again & everything seems to be working just fine.

Cant un-upload all the personal data they already fetched from your phone on the sign-up process.

Personally, I signed into a Mi account, activated the setting, and signed out of the account again & everything seems to be working just fine.

Cant un-upload all the personal data they already fetched from your phone on the sign-up process.

Great point @Kein .
For me personally, given the SSO process didn't seem to activate an OAuth consent screen, it looked like maybe I'd already made this arguable mistake at some point in the span of my Pocofone ownership

@Kein , I updated my comment with a more in-depth discussion of the tradeoffs.

On Oppo，turn on "Disable permission monitoring" in "Developer options"/"APPS" section.

it still isn't working on oppo

it still isn't working on oppo

#2031

I find the reason of the issue，switch below option for obtain the permission of simulating Input

When I try to enable this, I get the message that I shall connect to the network and try again later. Why that? Is there any workaround for this? Do I also have to register and sign in to my Mi account? As the phone is brand new, I haven't done this yet. Thanks for your help, guys!

Mouse click do not work

How to use m31 samsung

I find the reason of the issue，switch below option for obtain the permission of simulating Input

This works for me Thanks...

Xiaomi Redmi 10s WASD(keyboard) for motion analog game not working

If the game does not implement WASD, that's expected :/

I really Love it Sir,
btw I am wondering. how about add sound ? So i can hear from my Laptop.
thx in advance

i have Xiaomi Redmi note 10 pro ( android 12 ) and having this error please need some help
ERROR: Encoding error: java.lang.IllegalStateException: null

Please do not post on a randum unrelated thread.
See #3051

I have the doubt of how I can connect a joystick to play sky chidren of the light will there be a solution for that

How can I play the video on the Android TV remotely using Windows. And play the video on the same TV and not on the computer

I find the reason of the issue，switch below option for obtain the permission of simulating Input

on XiaoMI Phone ，also need to reboot

i have Xiaomi Redmi note 10 pro ( android 12 ) and having this error please need some help ERROR: Encoding error: java.lang.IllegalStateException: null

Estou com o mesmo problema, poderia me ajudar, caso tenha resolvido ?

Thanks you @imkkdev I am using Xiaomi Mi11t Lite MIUI13/ Android 12 Phone, I can confirm it works after set the USB debug security settings and reboot, reboot is must!

Bro did it work on 8.1.0 android

I find the reason of the issue，switch below option for obtain the permission of simulating Input

thank you

Thanks for the tip, I'll just add when I tried to turn it on, they asked me to log into my mi community account.
After that everything worked.

Yea restarting after enabling the security settings is a MUST as @neonleo said. Thank you it works perfectly now. I spent so much time trying to figure it out without having it restarted.

My Device: Xiaomi M2101K6G (Android 12)
It does not work as it requires a connection or account to Xiaomi but since I don't want an account, it will never work, unless someone finds the app that we can remove to bypass this.

My Device: Xiaomi M2101K6G (Android 12)
It does not work as it requires a connection or account to Xiaomi but since I don't want an account, it will never work, unless someone finds the app that we can remove to bypass this.

You could try shifting from miui to something else.

Thanks you @imkkdev I am using Xiaomi Mi11t Lite MIUI13/ Android 12 Phone, I can confirm it works after set the USB debug security settings and reboot, reboot is must!

omg so much time lost because I didn't reboot, thank you!

@vajra108 Thank you, I just mentioned it in the doc: 21df2c240e544b1c1eba7775e1474c1c772be04b

My Device: Xiaomi M2101K6G (Android 12)
It does not work as it requires a connection or account to Xiaomi but since I don't want an account, it will never work, unless someone finds the app that we can remove to bypass this.

You can just make a throwaway Mi account in browser with disposable (or throwaway or temporary) email services, and fill fake info if they ask for while making Mi account. Create account, sign in, turn on, then sign out. Rebooting your device also recommended afterwards. Just hope they won't ask your phone number.

Just disable the MIUI optimization

Thanks you @imkkdev I am using Xiaomi Mi11t Lite MIUI13/ Android 12 Phone, I can confirm it works after set the USB debug security settings and reboot, reboot is must!

reboot save my day!

Running Android 14 on the Pixel 7 Pro.  No "USB debugging (Security Settings)" option under Develop

On Android 14, use the latest version (v2.1.1 currently)

That did it, thanks!

On Android 14, use the latest version (v2.1.1 currently)

thx @rom1v

to anyone who could find this helpful, the version I had via apt isn't equal or greater than v2.1.1 ...
$ apt show scrcpy 2>/dev/null | grep -i version
Version: 1.17-1

... neither the version from snap
$ snap info scrcpy | grep -A 4 channels
channels:
  latest/stable:    v1.25             2022-12-28 (399)  87MB -
  latest/candidate: ^
  latest/beta:      v1.25-1-g4c43784f 2022-12-28 (401)  87MB -
  latest/edge:      v1.21-2-g5704ec6  2021-12-07 (358) 101MB -

because I was having this error

 error stack trace
[server] ERROR: Exception on thread Thread[Thread-2,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
	at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:75)
	at com.genymobile.scrcpy.Device.injectEvent(Device.java:192)
	at com.genymobile.scrcpy.Device.injectEvent(Device.java:196)
	at com.genymobile.scrcpy.Controller.injectTouch(Controller.java:231)
	at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:102)
	at com.genymobile.scrcpy.Controller.control(Controller.java:79)
	at com.genymobile.scrcpy.Server$3.run(Server.java:132)
	at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Method.invoke(Native Method)
	at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:72)
	... 7 more
Caused by: java.lang.NullPointerException
	at java.util.Objects.requireNonNull(Objects.java:207)
	at android.hardware.input.InputManager.getInstance(InputManager.java:274)
	... 9 more

so the only way I had was building by myself, thx for the guide and the prebuilt server, with that everything was really easy
$ meson setup x --buildtype=release --strip -Db_lto=true -Dprebuilt_server=/path/to/scrcpy-server

 output
The Meson build system
Version: 0.56.2
Source dir: "${HOME}"/tmp/scrcpy
Build dir: "${HOME}"/tmp/scrcpy/x
Build type: native build
Project name: scrcpy
Project version: 2.4
C compiler for the host machine: cc (gcc 11.2.0 "cc (Ubuntu 11.2.0-7ubuntu2) 11.2.0")
C linker for the host machine: cc ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency libavformat found: YES 58.76.100
Run-time dependency libavcodec found: YES 58.134.100
Run-time dependency libavutil found: YES 56.70.100
Run-time dependency libswresample found: YES 3.9.100
Run-time dependency sdl2 found: YES 2.0.14
Run-time dependency libavdevice found: YES 58.13.100
Run-time dependency libusb-1.0 found: YES 1.0.24
Checking for function "strdup" : YES
Checking for function "asprintf" : YES
Checking for function "vasprintf" : YES
Checking for function "nrand48" : YES
Checking for function "jrand48" : YES
Checking for function "reallocarray" : YES
Header <sys/socket.h> has symbol "SOCK_CLOEXEC" : YES
Configuring config.h using configuration
Build targets in project: 2

Found ninja-1.10.1 at /usr/bin/ninja

$ ninja -Cx

 output
ninja: Entering directory `x'
[69/69] Linking target app/scrcpy

I use scrcpy on mac os 14.4.1 and redmi note 12 with android 14 but impossible to make the mouse click work!

@Step72 https://github.com/Genymobile/scrcpy#prerequisites

@rom1v I can't validate my phone! Every time I have an error

scrcpy --otg -s 6da1ded7

if I put scrcpy --otg -s 6da1ded7 I can no longer use my mouse for my computer! This completely dooms my mouse to my phone. Why when I click on, for example, an application on my phone does it not open for me?

It's OTG mode. If you don't want OTG mode, then don't pass --otg. What do you want to do?

I don't understand, I can't connect anymore

Watch this video
Why does it not open when I click on the Facebook app? On the other hand, if we look to the left at the terminal, we can clearly see that something is working!
If I run scrcpy --otg -s 6da1ded7 The mouse in my computer no longer works with my computer, computer! It is dedicated only to my phone. How can I simply press a key on the phone screen from the computer, for example Teamvier ?

It's okay, it works perfectly.
permettre d'accorder des autorisations et de simuler une entrée via USB Was not activated

Hi I might be missing something obvious here but I can't find the option for "USB debugging (Security Settings)" I am on the latest version and have enabled just "USB Debugging" and cannot get mouse or keyboard to work. (Using Samsung Z Fold 3)

... I can't find the option for "USB debugging (Security Settings)" I am on the latest version and have enabled just "USB Debugging" and cannot get mouse or keyboard to work. (Using Samsung Z Fold 3)

Likewise, I cannot get mouse nor keyboard to work on a Samsung Tab S9 (Android 14). I can only see what's on the tablet's screen. I think this can be something new after upgrading this tablet to Android 14.

Here is what I directly see when running `scrcpy` in Windows command-line (after having connected to the Samsung tablet through adb) on this tablet.
c:\programdata\chocolatey\lib\scrcpy\tools\scrcpy-server: 1 file pushed, 0 skipped. 74.7 MB/s (41159 bytes in 0.001s)
[server] INFO: Device: samsung SM-X710 (Android 14)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int]
        at java.lang.Class.getMethod(Class.java:2937)
        at java.lang.Class.getMethod(Class.java:2449)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:103)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:111)
        at com.genymobile.scrcpy.Device.<init>(Device.java:103)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:65)
        at com.genymobile.scrcpy.Server.main(Server.java:335)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:385)
INFO: Renderer: direct3d
INFO: Initial texture: 1600x2560
[server] ERROR: Exception on thread Thread[Thread-2,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
        at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:65)
        at com.genymobile.scrcpy.Device.injectEvent(Device.java:195)
        at com.genymobile.scrcpy.Device.injectKeyEvent(Device.java:206)
        at com.genymobile.scrcpy.Device.injectKeyEvent(Device.java:210)
        at com.genymobile.scrcpy.Controller.injectKeycode(Controller.java:148)
        at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:88)
        at com.genymobile.scrcpy.Controller.control(Controller.java:75)
        at com.genymobile.scrcpy.Server$3.run(Server.java:133)
        at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Method.invoke(Native Method)
        at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:62)
        ... 8 more
Caused by: java.lang.NullPointerException
        at java.util.Objects.requireNonNull(Objects.java:207)
        at android.hardware.input.InputManager.getInstance(InputManager.java:401)
        ... 10 more

And, similarly, with a Samsung S22 Ultra.
Here, I noticed that the first [server] ERROR is logged immediately upon connection. The second [server] ERROR is logged when I tried to send a right-mouse-click.
c:\programdata\chocolatey\lib\scrcpy\tools\scrcpy-server: 1 file pushed, 0 skipped. 53.2 MB/s (41159 bytes in 0.001s)
[server] INFO: Device: samsung SM-S908U1 (Android 14)
[server] ERROR: Could not invoke method
java.lang.NoSuchMethodException: android.content.IClipboard$Stub$Proxy.addPrimaryClipChangedListener [interface android.content.IOnPrimaryClipChangedListener, class java.lang.String, int]
        at java.lang.Class.getMethod(Class.java:2937)
        at java.lang.Class.getMethod(Class.java:2449)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.getAddPrimaryClipChangedListener(ClipboardManager.java:103)
        at com.genymobile.scrcpy.wrappers.ClipboardManager.addPrimaryClipChangedListener(ClipboardManager.java:111)
        at com.genymobile.scrcpy.Device.<init>(Device.java:103)
        at com.genymobile.scrcpy.Server.scrcpy(Server.java:65)
        at com.genymobile.scrcpy.Server.main(Server.java:335)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:385)
INFO: Renderer: direct3d
INFO: Initial texture: 720x1544
[server] ERROR: Exception on thread Thread[Thread-2,5,main]
java.lang.AssertionError: java.lang.reflect.InvocationTargetException
        at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:65)
        at com.genymobile.scrcpy.Device.injectEvent(Device.java:195)
        at com.genymobile.scrcpy.Device.injectKeyEvent(Device.java:206)
        at com.genymobile.scrcpy.Device.injectKeyEvent(Device.java:210)
        at com.genymobile.scrcpy.Controller.pressBackOrTurnScreenOn(Controller.java:264)
        at com.genymobile.scrcpy.Controller.handleEvent(Controller.java:108)
        at com.genymobile.scrcpy.Controller.control(Controller.java:75)
        at com.genymobile.scrcpy.Server$3.run(Server.java:133)
        at java.lang.Thread.run(Thread.java:1012)
Caused by: java.lang.reflect.InvocationTargetException
        at java.lang.reflect.Method.invoke(Native Method)
        at com.genymobile.scrcpy.wrappers.ServiceManager.getInputManager(ServiceManager.java:62)
        ... 8 more
Caused by: java.lang.NullPointerException
        at java.util.Objects.requireNonNull(Objects.java:207)
        at android.hardware.input.InputManager.getInstance(InputManager.java:401)
        ... 10 more

@rom1v Please advise if there is a scrcpy flag for more verbose logs if the logs above are too preliminary.

What is your scrcpy version? I guess you don't use the latest version (currently 2.5).

Indeed, I was using old scrcpy previously (v1.24). Upgrading to v2.4.0 solved the issue already. (I ran choco upgrade scrcpy to upgrade.)

I can't use my mouse or keyboard. Has anyone found a solution?

solved. you must enable "usb debugging security settings" on your cell phone and then when connecting the cell phone to the PC, you must select "file transfer". this is how it worked for me.


Fails to add custom python packages under Linux

I'm experiencing an issue when trying to install and use Python packages (Debian 11, Debian 12, Arch) (specifically numpy) in a Godot 4.3 project. I followed the steps from the "Installing packages for python" documentation, but I encountered the following error when attempting to use numpy:
ImportError: Error importing numpy: you should not try to import numpy from
    its source directory; please exit the numpy source tree, and relaunch
    your python interpreter from there.

Error Traceback:
File "/mnt/storage/projects/test/new-game-project/addons/py4godot/cpython-3.12.4-linux64/python/lib/python3.12/site-packages/numpy/_core/__init__.py", line 23, in <module>
  from . import multiarray
File "/mnt/storage/projects/test/new-game-project/addons/py4godot/cpython-3.12.4-linux64/python/lib/python3.12/site-packages/numpy/_core/multiarray.py", line 10, in <module>
  from . import overrides
File "/mnt/storage/projects/test/new-game-project/addons/py4godot/cpython-3.12.4-linux64/python/lib/python3.12/site-packages/numpy/_core/overrides.py", line 8, in <module>
  from numpy._core._multiarray_umath import (
ImportError: /mnt/storage/projects/test/new-game-project/addons/py4godot/cpython-3.12.4-linux64/python/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyObject_SelfIter

Other packages seem to work. But numpy is one of the most essential (OpenCV, Pandas, SciPy, scikit-learn).
Also I've tried all the possible releases. Building from source also fails on my machines.

Works with the numpy fix. Thanks.

Hey,
thank you for checking the release. Sorry for not being as active latetly


Fix JUnit vintage tests and add vintage engine

:pushpin: References

Related pull-requests: #52 #54

:tophat: What is the goal?

Run JUnit 5 and JUnit Vintage (JUnit4) tests
Fix JUnit4 test didn't update in #54

:memo: How is it being implemented?

Upgrade gradlew version
Replaced compile to implementation method
Add JUnit Vintage engine which is responsible to run find and run JUnit 4 tests, this error was introduced in the last commit of the PR #52

:boom: How can it be tested?

Now in Travis runs all JUnit tests

I'd like to improve the Travis output because I can't see the test output easily

I'm going to merge this PR because the author of the PR is one of our core committers, @Serchinastico is out for holidays and @flipper83 he's busy with other tasks.

Thanks!! 👍


Editing / Resaving  Survey info- Can or should you be able to do it?

Admin: Surveys: Home
bostonhpa.org/admin/survey/visit/6

duplicate of 4071


[dependencies]: infospect and share_plus versions conflict

Describe the bug
I need to update share_plus package in my project from 7.2.1 version to 10.0.1, but following problem occurs:
flutter pub get --no-example
Resolving dependencies...
Because infospect 0.1.3 depends on share_plus ^7.2.1 and no versions of infospect match >0.1.3 <0.2.0, infospect ^0.1.3 requires share_plus ^7.2.1.
So, because depends on both share_plus ^10.0.1 and infospect ^0.1.3, version solving failed.
To Reproduce
Steps to reproduce the behavior:

Go to pubspec.yaml
Set share_plus version to 10.0.1
Set infospect version to 0.1.3
Run pub get

Expected behavior
Project compiles.
Please update share_plus version.

Hi @DaniilPavlov,
Thanks for creating the issue.
I have updated the share_plus version to 10.0.1, and it's available in the latest version of Infospect - 0.1.4.
Please have a look and let me know if that solves your problem.

@kushalmahapatro all good, thank you!


Bug in Waypoint: Escaping Literal Quotes in Strings.

Link: http://www.freecodecamp.com/challenges/waypoint-escaping-literal-quotes-in-strings
While asking for the user to assign the example string to the variable, this waypoint took the following code as a valid answer.
var myStr; "I am a \"double quoted\" string inside \"double quotes\"" //change this line

You have missed one full stop at the end of sentence apply it and you will pass test cases.
myStr="I am a "double quoted" string inside "double quotes".";

var myStr = "I am a "double quoted" string inside "double quotes"."; // Change this line
you should be careful the spacing between strings.
and var myStr =
not var myStr ;


Create uzbekistan.py

Public holidays/weekends of Uzbekistan

Please approve

Pls refer to https://github.com/dr-prodigy/python-holidays#contributions on how to contribute.

Hi @slako
this seems to be superseded by #596, so I'm closing it.
Thank you, cheers!
dr-p


Possible to reach broken sign in page whilst signed in

The below screenshot was caused by going to api/proxy/afront just after signing in.

We know the problem. You have to use "api/proxy/afront/" (whit ending "/")
The problem comes from proxy module in A2. We have to look for other modules but for now is not a priority.

Fixed here https://github.com/e-ucm/rage-analytics-frontend/pull/83


sub domain setup

Hi,
i was exploring  your multisite set-up with vps with not any cpanel etc
i created /etc/hosts
<IP_ADDRESS> weber.dev
<IP_ADDRESS> weberone.dev
<IP_ADDRESS> site1weber.dev
<IP_ADDRESS> site2.weber.dev
created folder and file as you mention in doc.
when i go to site all domain display home page, of main site install
before setting multisite.
So please tell me what flow should be created, as you did in your live site
created sub domain ..
Regards

in order to make subdomains you must make a folder for each domain in the config directory with a file named microweber.php in it
for example for weber.dev you must make empty file at config/weber.dev/microweber.php
for site1weber.dev you must make empty file at config/site1weber.dev/microweber.php
after that when you visit weber.dev you should see the install screen and the installation will be made for this domain only

Hi Peter,
thx. i followed the same way but then also not display install for new one ,
and how to sub domain : site2.weber.dev -> config/site2.weber.dev/microweber.php
how you managed in your live site, as create site with subdomain,
how can i create same flow ? what flow you followed in your site
after understand more , i also would like to contribute few modules .
Please help me in initial stage to create sub domain flow
Regards,

on our website we use combination of whmcs and cpanel to create virtual servers for each user

Close?


Update dependencies

Updating dependencies.  I didn't encounter any problems with poetry lock this time. When doing pytest tests/, there were no braket errors as well. Big thanks to @alecandido's advice to go with amazon-braket-sdk = "^1.88.3^.
However there were failures with qiskit because of the lack of token on my local computer, and I remember correctly, it's ok because the token is stored here.
E       RuntimeError: No token provided. Please explicitely pass the token token='your_token' or set the environment variable ``IBMQ_TOKEN='your_token'``.

I'll update this with the last qibo-client modifications asap.


looks like this is need for CI on linux

Coverage increased (+34.2%) to 100.0% when pulling 6c38897cd3e08b51ea3b12824a5d2d3c43ae2e23 on fix-unit-test-with-tmp-folder-on-linux into bc1f016e1e052ee672d33e08ba03d92b79b049c6 on v3-feature-branch.


GT-SALT/Multi-View-Seq2Seq, Please help with data format.

Hi,
Thank you for great work.
When I run "train_multi_view.sh", I encountered this error,
epoch 001 | valid on 'valid' subset | loss 5.318 | nll_loss 3.057 | ppl 8.324 | wps 3513.7 | wpb 524.6 | bsz 20 | num_updates 24
here bpe NONE
here!
Test on val set:
Test on val set:
Traceback (most recent call last):
File "train.py", line 11, in
cli_main()
File "/export/liujunpeng/code/Multi-View-Seq2Seq/fairseq_multi_view/fairseq_cli/train.py", line 435, in cli_main
nprocs=args.distributed_world_size,
File "/export/liujunpeng/anaconda3/envs/multivie/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 200, in spawn
return start_processes(fn, args, nprocs, join, daemon, start_method='spawn')
File "/export/liujunpeng/anaconda3/envs/multivie/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 158, in start_processes
while not context.join():
File "/export/liujunpeng/anaconda3/envs/multivie/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 119, in join
raise Exception(msg)
Exception:
-- Process 2 terminated with the following error:
Traceback (most recent call last):
File "/export/liujunpeng/anaconda3/envs/multivie/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 20, in _wrap
fn(i, *args)
File "/export/liujunpeng/code/Multi-View-Seq2Seq/fairseq_multi_view/fairseq_cli/train.py", line 401, in distributed_main
main(args, init_distributed=True)
File "/export/liujunpeng/code/Multi-View-Seq2Seq/fairseq_multi_view/fairseq_cli/train.py", line 135, in main
s1 = source.readlines()
File "/export/liujunpeng/anaconda3/envs/multivie/lib/python3.6/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 35: ordinal not in range(128)
I checked the eval-set file "../data/val_sent_trans_cons_label.source", which looks like as below:

that is "[34m~ " at the position 35, could help me with this? Thanks!

That's probably due to the encoding issues. The safest choice is to encode the text with utf-8.

That's probably due to the encoding issues. The safest choice is to encode the text with utf-8.


ZEPPELIN-487 Change supporting multiple statements to multiple connections

Changed multiple statements to multiple connection. Some JDBC don't support parallel executions with one connection.

I tested the pull request and it allowed Vertica queries to execute in parallel with one modification. Thanks!
I had to comment:
//    if (statement.isClosed()) {
//      connection = getConnection(propertyKey);
//      statement = connection.createStatement();
//    }
since I ran into:
java.lang.AbstractMethodError: com.vertica.jdbc.VerticaStatementImpl.isClosed()Z
at org.apache.zeppelin.hive.HiveInterpreter.getStatement(HiveInterpreter.java:208)
Can you help me understand the need for the statement.isClosed() check in line 208 since the statement is created in line 207?

It's soft of defensive code for avoiding error. Do you think it's redundant? I'll fix this code more general :-). Thanks for the review quickly.

@praagarw Could you please review this PR again?

Hi Jongyoul, since createStatement is implemented in the JDBC drivers, I think it is unlikely it will return a closed statement. However, I am all for defensive coding and your fix in ZEPPELIN-487 looks good to me.

@praagarw Sure, but I couldn't guarantee all of jdbc connections create statement when it's alive. Thus double check might be helpful in that case. And thanks for kind review. I'm merging in three day.

Merging without additional discussion


STeLLAR Update

This PR encompasses all development changes made from August.
Summary (2023-12-04)

Codebase refactoring
Serverless.com deployments
New providers: Azure, GCR, Cloudflare
New experiments (also scheduled on continuous-benchmarking): Image size, Runtime
New features: builder module for code compilation (Go, Java)
Various bugfixes

Closing this PR as changes are now on the main branch, with the legacy version of STeLLAR preserved on main-legacy


After New Updates From Telegram Forwarding Not Working

Update telethon to the latest version.

I confirm the error, I have tried to update the libraries but something must escape me...

still not working..only working with the old telegram..

still not working

..

still not working  ..

Done, just update your puthon and telethon for this issue..
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade telethon
or
python -m pip install --upgrade pip
python -m pip install --upgrade telethon

What about the new update that came yesterday for Telegram where creators of the channel have an option for restricting forwarding? Can anybody test if it works, please? Thanks

What about the new update that came yesterday for Telegram where creators of the channel have an option for restricting forwarding? Can anybody test if it works, please? Thanks Telegram Update Information: Protected Content in Groups and Channels • Content creators can restrict the ability to forward messages from their groups and channels. • When forwarding is restricted, users will also be unable to directly save media from the chat or take screenshots. • Toggle this option on or off via Chat Info > Group / Channel Type.

after the telegram have update the Protected Content
tgcf can't forward message the group/channel are set to protected.

is the case even "show_forwarded_from: false" ?

Hello, let's look for ways to solve this problem together, texts are still being shared but images are not, the cache should be saved somewhere on the computer with encryption that I still can't imagine, I'm looking in Russian forums to see if I can find something, I use this tool in my work, to channel information but some private channels have restricted the content.
Let's look for a solution to this big problem together.
https://t.me/wandrius

yes not working after the update and the new version of telethon but there is a bot that can do that the bot is named junction her is the website junction.space

yes not working after the update and the new version of telethon but there is a bot that can do that the bot is named junction her is the website junction.space

it's not free absolutely!

euh yes and the other problem is that is detected in some channel and could be banned and you could lost your money


50MBIT FW Failed on Update

Hello,
I have unzipped the 50MBIT firmware file and copied the .bin file to the main folder of the SD card, added a .jpg logo according to the README plus the log and setup scripts. When I reboot, it goes into firmware update mode and eventually it says "Updated failed. Rebooting..." and nothing changed. I have double checked the .bin file is properly unzipped and byte-wise copied over the SD card. The scripts and the logo never came into play. I assume your new FW makes use of them but since it never installed it never came to execute them.
I have already have the latest 1.0.19ww OTA firmware installed on the device from the official app. Perhaps this is why it doe not want to install a new one?
Any feedback is much appreciated

You need to flash older firmware first to update to .19 version again. You cant update 19 to 19 unfortunately.


Feedback for: engine/tutorials/dockerizing.md

URL: https://docs.docker.com/engine/tutorials/dockerizing.md
The name "insane_babbage" was never assigned to the container, was it?...

If you run docker run without specifying the --name flag, a random name is assigned to the container, to make it easier to refer to id, instead of it's hash. The example in the docs has that name, but since this is random, your container will be assigned a different name.
Closing this issue, since there's nothing to improve.


JSCPD linter not using configuration

Describe the bug
Contrary to documentation the invocation of the JSCPD linter does not seem to utilize .jscpd.json, with or without use of JSCPD_CONFIG_FILE.
Expected behavior
Linter runs read .jscpd.json and utilize its configuration.
Steps to Reproduce

Define a JSCPD configuration at .jscpd.json in the root of a repository e.g.:

{
    "ignore": [
        "**/path_i_want_ignored/**"
    ]
}

Run the linter when a file in the above ignored path is modified.
Note JSCPD results (if present) causing a run failure despite that the configuration should be obeyed and the path ignored.

Logs
Implied with reproduction steps. JSCPD lint results are provided even though present configuration, implied or otherwise, should tell JSCPD to not have any results, on an ignored path in this scenario.
Additional context
Using the linter locally:
npm install -g jscpd
and:
npx jscpd .
or with explicit paths is shown to obey configuration.

issued resolved, .json was in .gitignore file


Kick users from alliance

Hello, Jan!
In the method adminMembersKick() (in the ShowAlliancePage class), there is no verification of the user alliance. Anyone who has the kick-rights can use url with the user ID from another alliance and kick him out. Has recently several Russian projects were subjected to mass kick from alliances.
On the old version 2moons I have fix:
...
$verUserAlly = $GLOBALS['DATABASE']->uniquequery("SELECT `ally_id` FROM ".USERS." WHERE `id` = ".$id.";");
if($verUserAlly['ally_id'] != $USER['ally_id'])
	$this->redirectToHome();
...

Best regards, Yuri.
P.S.: Sorry for my bad English. I do not speak English. I use a translator and edit the translation. :(

I added a check, hopefully it will be works as expected.


mdp-placeholder does not except interpolated values

I am generating forms dynamically, and I am trying pass in an expression into the mdp-placeholder attribute:
<mdp-time-picker mdp-placeholder="{{input.label}}" ng-model="input.value"></mdp-time-picker>
This is not getting picked up and results in an empty placeholder.

I created a PR #172 to allow interpolated values.

Running into this issue right now.  Please approve this PR!

PR #177 addresses this issue. Please approve, seems like a couple folks are having problems with this issue.


Build number reference for "Office 2021 or later on Windows (one-time purchase)"

Hi there,
Would you please provide link about  "Office 2021 or later on Windows(one-time purchase)" build numbers ?
In this document, I can find link for  MS365 app build numbers but I could not find for Office 2021 one-time purchase's one.
When I walk around documents, I found Update history for Office LTSC 2021 and Office 2021. It looks Office 2021 one-time purchase build number history, but there is no Build 16.0.14326.20454 described in this document. All build number is smaller than 16.x. Developers, including me, can understand release date of target build if you provide the link.
FYI: I utilize release date to decide whether we start to develop with newer APIs. If target build is released one years ago, I think it is mature and good timing to start development.

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

ID: 33229c8f-7e6c-a8fe-f6c1-0f452f8758c0
Version Independent ID: 596c9d93-6990-e7d2-03fa-1f3781a23c81
Content: Identity API requirement sets - Office Add-ins
Content Source: docs/reference/requirement-sets/identity-api-requirement-sets.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @vault79,
Thank you for the feedback.
We provide build numbers instead of release dates because different channels of Office release updates at different times. If you're on Insiders, Monthly, Semi-Annual, or a one-time release (such as 2021), you'll receive a requirement set on a different date. This also holds true for different platforms: a requirement set may become available on Windows, Mac, and Online on different dates.
As for your FYI, all our APIs are in a preview state while we stabilize them and gather customer feedback. They only get promoted to a release state when we're confident in them. Once an API is released, we provide continued support for that API (barring some exceptional circumstance), as to not break your add-in.
In practice, we find that larger enterprise customers use the semi-annual channel. If your add-in targets the APIs available there, you should have the most confidence in the product and that your add-in will have the best reach.
I'm going to close this issue, since there's nothing actionable to be done. If you disagree or have further questions, please reach back out and I'll reopen the issue. Thank you.


AzureOpenAI misc fixes

Hello! This PR is by no means production ready, I mainly wanted to alert you to a couple issues I had with Azure and my (super quick) fixes.
Changes made:

The upload.py file was always creating a PGVector store with OpenAIEmbeddings(). In my use case, I am only using Azure. So without an openai key set, the app would not start up. I created a simple function that sees if there is an openai key env variable set and returns a PGVector store with OpenAIEmbeddings. If that was not found, it tries the same with Azure. If that was not found, it raises an exception.
In llms.py the AzureChatOpenAI was created with the openai_api_base variable set. As of openai>=1.0.0 this has been changed to azure_endpoint.
Also in llms.py during the startup of the app, it would crash due to me not having an OpenAI api key set. I created a simple try / catch block to try and fall back to Azure in that instance.

These changes work for me but as I do not have an openai api key I can not test for conflicts caused by these changes.

@chip-davis thanks for the contribution! Azure is an important thing to make work.

@chip-davis thanks for the contribution! Azure is an important thing to make work.

Sure thing! Thanks for merging :)


Timeouts

Per https://github.com/RsaCtfTool/RsaCtfTool/issues/339, this adds timeouts to attacks in the abstract base class, which cleans up code for many attacks and also prevents hanging if machines don't have the resources necessary to run attacks in a reasonable time

@daedalus this one is the timeout one, with code cleanup on all the now-unnecessary timeout code in attacks

Oh shoot, my bad. I thought I had those separate. Lemme see if I can fix that

Please address first the things I pointed out in the later PR so we can move forward. I think this code will be mergeable but we need to look to it after solving the later PR.

Undid the changes here. I think when I started the timeouts branch on my machine I didn't do it from master (whoops). This might end up having a merge conflict with the other branch, but if it does, it'll be a simple fix on imports that I'll take care of

Yup it has conflicts, please lift the conflicts and we can proceed to test and merge.

 Jesus, I'm so sorry this has been a pain for you

Hi, no problem, the thing that works for me is to create a new branch for every new PR. Maybe you need to do that and reply your work on top of that.
Send a new PR if everthing checks it will be merged.


Remove "Windows PowerShell ISE" event log messages from PowerShell.Core.Instrumentation.man

@daxian-dbw
File https://github.com/PowerShell/PowerShell/blob/master/src/PowerShell.Core.Instrumentation/PowerShell.Core.Instrumentation.man contains a number of occurrences of event log messages related to "Windows PowerShell ISE" and "PowerShell ISE".
Also, "Windows PowerShell" string should be replaced with "PowerShell" in some messages.

/cc @daxian-dbw Please look the issue.


Scheduling downloads

Hi, I noticed that webui-aria2 doesn't provide any way of scheduling downloads. This is a feature that might interest many users, since I assume users of Aria2 are users that have limited internet connectivity, and for such users the ability of scheduling downloads, for example during the night, can be crucial (I, for one, tested webui-aria2 only because I thought it would have such feature).

I have 2 python scripts that I use to pause / resume all my downloads. I've used my normal task manager to schedule these scripts.
pause_aria2.py:
import pyaria2
server = pyaria2.PyAria2()
server.pauseAll()

resume_aria2.py:
import pyaria2
server = pyaria2.PyAria2()
server.unpauseAll()

You need to save https://raw.githubusercontent.com/zhenlohuang/pyaria2/master/pyaria2.py in the same directory as the files above. And you need to configure your host in pyaria2.py.

Notice that there are no API about scheduling Referencing to aria2c manual on aria2.github.io
@igitur gave a good solution for that. However, there is no solution on Windows without python environment. I recommend using PoweShell to write something, or just go download an embeddable zip, it is even smaller than this project (webui-aria2)
And more explanations:

pyaria2 is written in python 3 and you will need py3to2 to try to convert that module to python 2 (not tested about if it works well)
For automating the process, I think the most light-weighted solution on windows is Task Scheduler, while on Unix-like is cron

aria2 has that API through RPC:
https://github.com/ziahamza/webui-aria2/issues/126
It makes sense that schedules downloading per task.

@geekblue-org That API is not scheduling but pausing and resuming. Which I've stated that you can cron a script for that.


BrokerService http available

support http-way when use BrokerService receive&&broadcast messages

Can you please elaborate on why you need this functionality? Which problem does it solve for you?


[Request for External] table 11000003 "Detail Line" - IsDifferentSign

Hello,
In GitHub request  #16981, it was requested for procedure IsDifferentSignto be marked as global, instead of local.
Checking in BC 20.1.39959.0, the procedure is still local.
Can you please have a look?
Thank you,

Already done


vote: tag v1.2.0-rc.2

Release
This would mean tagging 2cd55de6f450ef11e555e409a3bdec5b07d71365 as v1.2.0-rc.2 to release.
Vote
We need at least 4 approvals from 6 maintainers to release v1.2.0-rc.2.

[ ] Pritesh Bandi (@priteshbandi)
[x] Junjie Gao (@JeyJeyGao)
[ ] Milind Gokarn (@gokarnm)
[x] Vani Rao (@vaninrao10)
[x] Shiwei Zhang (@shizhMSFT)
[x] Patrick Zheng (@Two-Hearts)

Changes

fix: ocsp revocation check with context by @Two-Hearts in https://github.com/notaryproject/notation-core-go/pull/235
fix(test): test cases with example.com URL by @JeyJeyGao in https://github.com/notaryproject/notation-core-go/pull/238
build(deps): bump github.com/veraison/go-cose from 1.1.0 to 1.3.0 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/232
fix: self-signed leaf certificate is not self-issued by @JeyJeyGao in https://github.com/notaryproject/notation-core-go/pull/236
build(deps): bump golang.org/x/crypto from 0.27.0 to 0.28.0 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/233
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/241
fix: revocation response status code should be 200 by @JeyJeyGao in https://github.com/notaryproject/notation-core-go/pull/239
fix: timestamping by @Two-Hearts in https://github.com/notaryproject/notation-core-go/pull/243
build(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/244
build(deps): bump codecov/codecov-action from 4 to 5 by @dependabot in https://github.com/notaryproject/notation-core-go/pull/245
fix: add tsa cert chain revocation check after timestamping by @Two-Hearts in https://github.com/notaryproject/notation-core-go/pull/246
bump: bump up dependencies by @Two-Hearts in https://github.com/notaryproject/notation-core-go/pull/249

Full Changelog:
https://github.com/notaryproject/notation-core-go/compare/v1.2.0-rc.1...2cd55de6f450ef11e555e409a3bdec5b07d71365
Action Requested
Please respond LGTM or REJECT (with reasoning).

LGTM

We need a re-vote as tspclient-go dependency needs to be updated.

We need a re-vote as tspclient-go dependency needs to be updated.

Agreed as we need #249

#249 has been merged. Now we are ready for the re-vote.

LGTM

LGTM

LGTM

LGTM

Closing as release completed.


I propose to add this code of finding sub sequences of a string.

Description of Change

Checklist

[ ] Added description of change
[ ] Added file name matches File name guidelines
[ ] Added tests and example, test must pass
[ ] Relevant documentation/comments is changed or added
[ ] PR title follows semantic commit guidelines
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[ ] Sort by alphabetical order
[ ] I acknowledge that all my contributions will be made under the project's license.

Notes:  I request to add the code for finding sub sequences of a string through recursive manner.

Actually when I cpplint the code without the '.h' extension with iostream it gives me an error saying : "3 - Streams are highly discouraged. [readability/streams] [3]"

Actually when I cpplint the code without the '.h' extension with iostream it gives me an error saying : "3 - Streams are highly discouraged. [readability/streams] [3]"

The cpplint errors as reported, are regarding whitespaces only. Could you refer to the commit that the cpplint error you mentioned?

Actually when I cpplint the code without the '.h' extension with iostream it gives me an error saying : "3 - Streams are highly discouraged. [readability/streams] [3]"

The cpplint errors as reported, are regarding whitespaces only. Could you refer to the commit that the cpplint error you mentioned?

https://github.com/rashisr19/C-Plus-Plus/commit/82e1ea82850d8b54fbf999b6ab53ca46df107f65
Link to the mentioned commit.


min.js to copy/paste for browser code?

I'm trying to use this package for a Chrome extension. However, they don't allow the use of "require" statements.
I'm trying to add it as a simple JS file but keep getting the error "require is not defined." I even tried creating a build with Webpack but that got the same error (target = web)
Curious if anyone has any suggestions?

So part of it was that I was excluding node_modules from the build, but I'm still not sure how to use it. Now that the bundle is with my JS, I can't access window.eccrypto like I thought I would. Would love any suggestions.

welp, this did it, at the end of index.js (which I replaced with browser.js)
window.eccrypto = exports;


Module compiled with Swift 4.0 cannot be imported in Swift 4.0.2:

I am getting this error :
Module compiled with Swift 4.0 cannot be imported in Swift 4.0.2:
How can I resolve this error.?

1

same issue I m facing

We have updated our SDK. Please update the pod and try again (make sure you run pod repo update first). If you still face the problem please get back to us. Also please refer the latest sample code base for the usage of accept-sdk-ios


Change build directory to dist and cleanup NPM scripts

Fixes #1498.

Changes the build directory to dist and do not duplicate files.
Cleanups NPM scripts(bold are changed behaviors):

build makes the dist subdirectory via copying and webpack
dist runs test, build, and dist:zip
dist:zip makes a tar and a zip for the GitHub release at the root

I think having built files at buildmay make more sense, but it would introduce breaking changes to codes directly using ./node_modules/katex/dist/katex.js or CDN urls<EMAIL_ADDRESS>This would change archives(katex.zip and katex.tar.gz) directory structure, but I'm not sure there is anyone relying on this.

@edemaine Thank you for the review!

Thanks for simplifying our npm scripts.


can not open random.lib while running install_lightspeed

Hi,
I am trying to run install_lightspeed, afer I have downloaded lightspeed files and added its path to my matlab directory. The matlab version that I have is (R2018b), but I am getting an error regarding random.lib, which is confusing, what do you advice me to do?
These are the steps I did while trying to solve for it:
First I ran to this error:
Error using mex
LINK:fatalerrorLNK1181:cannotopeninputfile'C:\ProgramFiles\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwblas.lib'
As a solution I renamed  mingw64 to MSVC150 in C:\Program Files\MATLAB\R2018b\extern\lib\win64
Then I tried running again install_lightspeed, and I got the following:

install_lightspeed
Compiling lightspeed 2.7 mex files...
Using the lapack library at C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwlapack.lib" "C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" x86
"Could not find either of these files:"
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"\VC\vcvarsall.bat
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"\Common7\Tools\vsvars32.bat
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"\VC98\bin\vcvars32.bat
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'

After that, I copied vsvarshall into the path C:\Program Files (x86)\Microsoft Visual Studio\2017\Community"\VC\ and when I rand again install_lightspeed, the error was changed into:

install_lightspeed
Compiling lightspeed 2.7  mex files...
Using the lapack library at C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwlapack.lib" "C:\Program Files\MATLAB\R2018b\extern\lib\win64\MSVC150\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" x86
**The specified configuration type is missing.  The tools for the
configuration might not be installed.
'cl' is not recognized as an internal or external command,
operable program or batch file.
'link' is not recognized as an internal or external command,
operable program or batch file.
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'

Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])**

Please undo everything you've just changed in your computer, and get the latest version of lightspeed.  it should be fixed there.

Hi,
Thank you for getting back to me. I did what you said, it somehow conintued the installation but I got stuck here:

install_lightspeed
Compiling lightspeed 2.7 mex files...
Using the lapack library at C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib" "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" x86

** Visual Studio 2017 Developer Command Prompt v15.8.4
** Copyright (c) 2017 Microsoft Corporation

[vcvarsall.bat] Environment initialized for: 'x86'
Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26729 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.
random.c
Microsoft (R) Incremental Linker Version 14.15.26729.0
Copyright (C) Microsoft Corporation.  All rights reserved.
Creating library random.lib and object random.exp
Error using mex
Creating library randomseed.lib and object randomseed.exp
randomseed.obj : error LNK2019: unresolved external symbol ResetSeed referenced in function mexFunction
randomseed.obj : error LNK2019: unresolved external symbol SetSeed referenced in function mexFunction
randomseed.obj : error LNK2019: unresolved external symbol GetSeed referenced in function mexFunction
random.lib : warning LNK4272: library machine type 'x86' conflicts with target machine type 'x64'
randomseed.mexw64 : fatal error LNK1120: 3 unresolved externals
Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])
Appreciate your help!

I've made another change that should fix this problem.

Thank you for getting back to me again, the latter one fixed the problem!
Thanks!

I have used CSS trick to put all the plots in a panel, I used a seperate html file and included its path to R.
After testing it on https://hmsimmunodept.shinyapps.io/DNARchitect_qa/ please provide me you toughts.
I have included the plots here and the download buttons in html documentation, but when I tested downloading the plots on Chrome, it was fine. In IE and Edge it was downloaded but the page went gray. Probably, the html documentation of the shiny download button that I used might not be supported in IE and Edge, so I will change it back to shiny button. You can test the link for now.

Hi, I've downloaded the last version, but I'm still having this problem (on matlab 2018b & Microsoft Visual Studio 14.0):
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'
on:
Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])

Can you post the full output of install_lightspeed?

install_lightspeed
Compiling lightspeed 2.7 mex files...
Using the lapack library at C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib" "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.." x86_amd64
"Could not find either of these files:"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC\Auxiliary\Build\vcvarsall.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC\vcvarsall.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\Common7\Tools\vsvars32.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC98\bin\vcvars32.bat
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'

Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])

install_lightspeed
Compiling lightspeed 2.7 mex files...
Using the lapack library at C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwlapack.lib" "C:\Program Files\MATLAB\R2018b\extern\lib\win64\Microsoft\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.." x86_amd64
"Could not find either of these files:"
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC\Auxiliary\Build\vcvarsall.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC\vcvarsall.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\Common7\Tools\vsvars32.bat
"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC.."\VC98\bin\vcvars32.bat
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'

Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])

Something's gone wrong with the compiler path.  Can you post the output of this command?
mex.getCompilerConfigurations('c','selected')

mex.getCompilerConfigurations('c','selected')
ans =
CompilerConfiguration with properties:
         Name: 'Microsoft Visual C++ 2015 (C)'
 Manufacturer: 'Microsoft'
     Language: 'C'
      Version: '14.0'
     Location: 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\..\'
    ShortName: 'MSVC140'
     Priority: 'B5'
      Details: [1×1 mex.CompilerConfigurationDetails]
   LinkerName: 'link'
LinkerVersion: ''
       MexOpt: 'C:\Users\Pastorpflores\AppData\Roaming\MathWorks\MATLAB\R2018b\mex_C_win64.xml'

It looks like vcvarsall.bat is missing.  See this thread.

It looks like vcvarsall.bat is missing. See this thread.

thanks, It solved my problem.
Thank you!

Hi tminka,
I have the same problem. I have installed Visual C++ 2017 and checked the previous posts but those did not solve the problem here.
CompilerConfiguration with properties:
         Name: 'Microsoft Visual C++ 2017 (C)'
 Manufacturer: 'Microsoft'
     Language: 'C'
      Version: '15.0'
     Location: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\'
    ShortName: 'MSVC150'
     Priority: 'B7'
      Details: [1×1 mex.CompilerConfigurationDetails]
   LinkerName: 'link'
LinkerVersion: ''
       MexOpt: 'C:\Users\zy8981.GOL3600-02\AppData\Roaming\MathWorks\MATLAB\R2017b\mex_C_win64.xml'`

Original error message:
`
Compiling lightspeed 2.7 mex files...
Using the lapack library at C:\Program Files\MATLAB\R2017b\extern\lib\win64\Microsoft\libmwlapack.lib
mex -largeArrayDims  -silent  -DBLAS64 solve_triu.c "C:\Program Files\MATLAB\R2017b\extern\lib\win64\Microsoft\libmwlapack.lib" "C:\Program Files\MATLAB\R2017b\extern\lib\win64\Microsoft\libmwblas.lib"
install_random.bat "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional" x86_amd64

** Visual Studio 2017 Developer Command Prompt v15.5.5
** Copyright (c) 2017 Microsoft Corporation

[vcvarsall.bat] Environment initialized for: 'x86_x64'
Microsoft (R) C/C++ Optimizing Compiler Version 19.12.25835 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.
random.c
c1: fatal error C1083: Cannot open source file: 'random.c': No such file or directory
Microsoft (R) Incremental Linker Version 14.12.25835.0
Copyright (C) Microsoft Corporation.  All rights reserved.
LINK : fatal error LNK1181: cannot open input file 'random.obj'
Error using mex
LINK : fatal error LNK1181: cannot open input file 'random.lib'
Error in install_lightspeed (line 139)
eval(['mex' flags 'randomseed.c util.obj random.lib'])
`
I have the vcvarsall.bat file in the "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC" folder.
Thanks!

It's not really the same problem.  In your case, the key line is:
c1: fatal error C1083: Cannot open source file: 'random.c': No such file or directory

Lightspeed can't compile a file that it can't open.


I don't understand the most recent change

..seems like this gem was blown up (commit message "boom")? Where's the matcher for UUIDs? Also the description makes no sense with the gem name.

omg epic fail on my part  🤦🏻 (copy/pasta while bootstrapping a new repo)   git history restored, thanks for catching this @dkassen !
if you don't mind me asking - how did you catch this so quick?!  are you using the gem and if so how is it serving you?


question: Is there a way to quickly disable csv.vim in an open file?

csv.vim activates based on file type and can be disabled by setting the vim filetype to nothing:
set filetype= or set ft=

yes, that is the correct way.


Help with Serial Reads from touch controller.

Hi Adward, we are struggling to get usable serial information from the touch controller. it is always the same stream no matter if we attemp to trigger any form of touch event:
AA 55 1 7 0 62 3B 46 57 53 57 45 53 2D 54 35 54 4F 55 43 48 2D 54 35 2D 43
any help or guidance would be much appreciated, have a great day man!
Kind regards,
Josh

Hey @Shach01, did you got what you were looking for?

Hey Edward!
We did cone right! After reviewing the drivers for tasmota and esp easy we realized (not documented) that they are pulling GPIO5 HIGH to activate the touch driver, weird as the touch driver still spams a default serial stream and once you pull this pin high the driver behaves and starts to send correct touch serial data.
Thank you so much for your assistance. I hope that helps.
Kind regards,
Josh
Sent from my Galaxy
-------- Original message --------
From: Edward Firmo @.>
Date: 2024/07/12 11:31 (GMT+02:00)
To: edwardtfn/TX-Ultimate-Easy @.>
Cc: Shach01 @.>, Mention @.>
Subject: Re: [edwardtfn/TX-Ultimate-Easy] Help with Serial Reads from touch controller. (Issue #24)
Hey @Shach01https://github.com/Shach01, did you got what you were looking for?
—
Reply to this email directly, view it on GitHubhttps://github.com/edwardtfn/TX-Ultimate-Easy/issues/24#issuecomment-2225190495, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMPAUWZWWZWWHMGFCX4SC3TZL6O53AVCNFSM6AAAAABJP2WYESVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRVGE4TANBZGU.
You are receiving this because you were mentioned.Message ID: @.***>


Activity feed notifications in the new Teams client fail for apps in the company portal

We are using the Graph API to send Teams activity feeds to a user. We use the Teams deep link feature to redirect users to our application. All Teams versions (Browser, Client, Mobile) work without issues except the “New Teams client.”
The new client starts a redirect but fails with the error message that the app does not exist.

After conducting additional troubleshooting, I can confirm that we've identified a bug, and I believe I've pinpointed its root cause.

App in the Microsoft Store: Everything is functioning as expected. You can continue to utilize deep links to the app as we've been doing. In the payload, simply include the webUrl that was previously used. For example, if the app ID configured in the Teams App Manifest is "55f70393-3d6b-447b-94cf-2cc74b7f360f," the webUrl should be:
"webUrl": "https://teams.microsoft.com/l/entity/55f70393-3d6b-447b-94cf-2cc74b7f360f/yourtarget"
App in the Company Store: Unfortunately, this is currently not functioning properly. If you have an app with the app manifest ID "55f70393-3d6b-447b-94cf-2cc74b7f360f," using the URL:
"webUrl": "https://teams.microsoft.com/l/entity/55f70393-3d6b-447b-94cf-2cc74b7f360f/yourtarget"
will result in an exception. It appears that the new client no longer considers the externalId property, as the old client did. To make it work, you'll need to use the teamsApp/id property in your deep link URL instead, like this:
"webUrl": "https://teams.microsoft.com/l/entity/b969ff5a-2171-41ea-9364-0ba1920e3264/yourtarget"

You can see the payload for an app installed on a user from the company store

This behavior presents a challenge since it necessitates obtaining additional Graph permissions dynamically. As a Teams Developer, your usual knowledge is limited to the app ID provided in the manifest. Since the behavior is only happening in the new teams client, I believe this is an application bug.
Thank you for your feedback,
Patrick

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

ID: aef120b3-03b9-cca1-9479-05720e6fd9ef
Version Independent ID: 0cf32a73-043a-6b34-f71c-a8d3bd410bf7
Content: Send activity feed notifications to users in Microsoft Teams - Microsoft Graph
Content Source: concepts/teams-send-activityfeednotifications.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @RamjotSingh
Microsoft Alias: MSGraphDocsVteam

@plamber - Thanks for reporting your issue. We will check this and update you soon.

We are closing this issue for now, please feel free to reopen it, if required.

Hello @ChetanSharma-msft,
I missed your notification. I just wanted to inform you that the product group team fixed this issue in the latest client release. Now, everything works as expected.
Thank you,
Patrick


Issue

Hi bro I have an issue with online Admission System,do you please help me to get out of this..

What's your problem? Can you please paste the error you're encountering?


Emit warning if simulations are run with too few splits

Is your feature request related to a problem? Please describe.
Simulation confidence intervals are computed through bootstrapping. If too few bootstrap splits are used then the confidence intervals are not reliable.
Describe the solution you'd like
In the UnivatiateSimulator classes, emit a warning if the number of bootstrap splits falling above or below the confidence interval is less than 25.
For example, given 1000 bootstrap splits and a confidence interval of (2.5%,97.5%) we will have 25 splits below the 2.5% threshold and 25 splits above the 97.5% threshold so no warning will be emitted.
Using fewer splits will generate a warning, recommending to tighten the confidence interval or to increase the number of splits.

Addressed by #125


V1.1.21/22: can't close queue menu after clearing the queue

This is not a easy to reproduce issue, first time encountered in v1.1.21, but also seen in the latest v1.1.22.
What happened a few times is that I clear all queued items. After that I can't close the queue menu. Restarting the iOS companion app solves it.

I can't reproduce this one on the desktop browser so this might actually be a browser specific issue (iOS Safari embedded by the companion app)

I also don't know (yet) how to reproduce. Most of my testing is using the companion app

should be fixed in beta 6


Smarter Inner Object Whitespace Selection

Is your feature request related to a problem? Please describe.
With include_surrounding_whitespace enabled, inner textobjects currently include whitespace in an inconvenient way. In languages such as python, this includes all the whitespace up to and including the newline for the following function, so dif, cif, etc will drag the proceeding function to the cursor.
Describe the solution you'd like
Inner objects should include whitespace (when the setting is enabled), but only where that also lies within the outer object selected without whitespace, if possible. The outer object includes the end marker (end for lua, } for C), but not the start of the next function in python. If something bad happens (are there cases with no outer? could outer not contain inner?) then fall back to including no whitespace.
This would make inner selections more expensive (two objects needed) and less robust (breaks if either of inner/outer does something weird), but hopefully will get the correct match.
Since the inner object is likely wrapped by its outer parts, this should probably be used for both preceding and proceeding whitespace (unlike the current behaviour), but some care might be needed for newlines and indent.
Maybe, as a first try, exclude one newline followed by an indent (non-newline space, possibly empty) in the whitespace that lies between the inner and outer matches at each end (first match at the start, last match at the end, if they exist)? Not sure whether that will work. The idea is to leave the cursor on the correct line, with the correct indent, after e.g. a python def, and to leave the end and } parts of a lua or C function on their own line after that, again with their current indent. Require that the indent is followed by non-blank for the end case, to make sure its the one we want.
For languages such as lua and C, it might be good to include all whitespace according to the rule. Maps dif, cif would place the start and end bit on the same line, with the cursor between. But this should be optional per filetype, so maybe this should be left for later.
Describe alternatives you've considered
Not including surrounding whitespace ruins the well designed behaviour for outer objects.
Allowing the user to disable this for inner objects only should be a job for #156, and this could be done by default.
Unfortunately, the opposite behaviour is best for languages such as lua and C, where the next non-blank after the inner object is part of the function (end or }), so just disabling the behaviour for inner objects will hurt those cases.
Additional context

Example of current behaviour
Try inner function (vif, dif, cif) on the second line of the following two files with include_surrounding_whitespace true/false.
Lua:
function()
  print("hello world")

end

Python:
def a():
    pass

def b():
    pass

A related observation for Makefiles (:TSInstall make) with following treesitter query in ~/.config/nvim/queries/make/textobjcets.scm:
(rule
  ((recipe) @class.inner)?) @class.outer

Consider following rules in a Makefile:
# Rules
.PHONY: all clean cleanall

all: $(docs)

$(OUTPUT_DIR)%.$(FORMAT): %.graphml $(TEXFILE)
	@echo "Pattern rule"
	$(TEX) $(all_texflags) $<

clean:
	-$(RM) $(foreach ext, $(CLEAN_EXTS), $(docs:%.$(FORMAT)=%.$(ext)))

Screenshot of a vic selection:

Interestingly, playground selects differently:

Using the neovim directive offset! does not help.
https://neovim.io/doc/user/treesitter.html#ts-directive-offset!

I had two open PRs for smarting selecting objects at https://github.com/nvim-treesitter/nvim-treesitter-textobjects/pull/150.

I don't think inner objects should include whitespace at all. Only outer objects should include surrounding whitespace.


Updating Airbus A350-1000 Sunrise

Seats ajusted to 238 as cited on https://www.qantas.com/au/en/about-us/our-company/fleet/new-fleet/project-sunrise.html#:~:text=Settle into our spacious%2C ergonomically,service%2C only 238 in total.
Fuel consumption changed to represent 75 % of Airbus A350-1000 according to https://safariindia.com/aviation-industry/qantas-new-a350-1000s-for-project-sunrise-will-have-40-percent-premium-seats-6595688
Discussions happened on Discord channel mfc-the-game, i've pointed out that It's still a pretty frange aircraft that cost 86 %(calculated with 238 pax) more than the regular version per pax. 25 % fuel economy (real) doesn't seems unbalanced.

Updated to New version.

Will do a holistic plane model review shortly. Feel free to open a general feedback thread. Probably biggest priority is to make the SSTs slightly less profitable but open to other tweaks too.


CTC loss is only valid when input_length >= output_length + num_of_consecutive duplications in label sequence

For invalid sequence, optax.ctc_loss will return -log(eps), default -1e5 as the loss. Currently we only drop sequence is the input_length is shorter than output_length, but there are edge cases, this could  result in invalid sequence used in the loss calculation, and a loss value  spike. In the backward pass, the offending sequence get 0 gradient, but the other sequence in the same batch get a very high gradient.
For example, if the input sequence has 3 frames, and the label sequence is [a, a, b], CTC cannot align the label sequence with the input sequence, because it is require from a to a, it must travel a blank symbol.

Thanks! Left some initial comments -- could we also add/update a test s.t. it would fail without this change?

Without this change, it won't fail, but it will silently fail with a wrong loss value. I have updated the test cases to reflect the value before and after applying this is_valid_ctc_seq check.

Thanks! Left some initial comments -- could we also add/update a test s.t. it would fail without this change?

Without this change, the forward pass will not fail, but it will give an incorrect loss value.  I have also updated the unitest cases, showing the effect of this change (w/o it gives a loss value of 1e5, with this change, the 1e5 loss value will be masked out).

Mostly lgtm, although it seems like the latest updates have not been pushed?

Thanks for catching. Still get myself familiar with the reviewing workflow. Add another commit to fix some leftover issues.


community[patch]: support all opensearch term level query type in filter #4121

support all opensearch term level query type in filter

Fixes #4121

Looks solid, thank yoU!

Am getting some CI failures:
Error: @langchain/community:build: src/vectorstores/opensearch.ts(314,22): error TS7006: Parameter 'filter' implicitly has an 'any' type.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(321,25): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(327,31): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(329,29): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(331,32): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(334,20): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(335,19): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(336,20): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(337,19): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(340,32): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(342,35): error TS18047: 'value' is possibly 'null'.
Error: @langchain/community:build: src/vectorstores/opensearch.ts(344,34): error TS18047: 'value' is possibly 'null'.

Do you think you could have a look?

Do you think you could have a look?

Resolved 👍

It's not happy - can you run yarn lint?

It's not happy - can you run yarn lint?

same as my other PR, local lint and format check all passed...

Error: @langchain/community:build: src/vectorstores/tests/opensearch.int.test.ts(40,5): error TS2322: Type 'number' is not assignable to type 'string | string[] | FilterTypeValue | null'.

On yarn test

Thank you!


gfxrecon-replay assertion failure with vulkaninfo trace

We've observed a failure using an older (November 2020) vulkaninfo trace using current dev branch gfxrecon-replay.  The vulkaninfo trace had been disabled for a while because it was manifesting errors like:
    [gfxrecon] WARNING - The replay device differs from the original capture device; replay may fail due t
o device incompatibilities:
    gfxrecon] WARNING -   Capture device info: [vendorID = 0xfa0, deviceId = 0x3b000000, deviceName = †F9 Ã) îÊ‹Aõ¸§ºå%§*…D(X(‡¸©ü]
    [gfxrecon] WARNING -   Replay device info:  [vendorID = 0x10de, deviceId = 0x1f07, deviceName = GeForce RTX 2070]

which were believed to be due to a capture incompatibility with the provisional ray tracing extension.
We (much) later determined that there was a real issue in gfxreconstruct and that the trace was fine.  But when we tried to re-enable the trace, we started seeing asserts on Debug builds:
    Assertion failed: (GetAttributeMask() & format::PointerAttributes::kIsStruct) != format::PointerAttributes::kIsStruct, file D:\j\workspace\manual-gfxreconstruct\gfxreconstruct\framework\decode/pointer_decoder.h, line 150

This issue is being created to track the investigation into the latter asserts.  (The trace has been disabled again until the issue is understood and fixed.)

Bisecting discovered the first commit where the assertion failure appears when replaying this trace:
fdb4c23a828b49ce3884d8674962b557a27f2607 is the first bad commit
commit fdb4c23a828b49ce3884d8674962b557a27f2607
Author: Mike Schuchardt<EMAIL_ADDRESS>Date:   Thu Dec 3 14:39:50 2020 -0800

    Update header to 1.2.162

    - Update external/Vulkan-Headers submodule to v1.2.162
    - Add new API call IDs (rename existing ones that only added an 's')
    - Add array length ID for vkGetPhysicalDeviceFragmentShadingRatesKHR
    - Blacklist and stub out vkCmdBuildAccelerationStructuresIndirectKHR
    - Add default return value for VkDeviceSize type
    - Regenerate source files
    - Add /bigobj compile flag to generated_decode_pnext_struct.cpp on MSVC

While we may not be able to solve this issue, GFXR team agrees we should think about a solution for this issue for subsequent unexpected structure size changes for enumerants that are aliased to the same integer value.

Of course we can solve this issue - it's software, we can do anything! :-)  But I agree that there are likely other tasks that are more urgent and have a higher ROI.
But IMHO:

if it happened to us, it'll eventually happen to "real" users
"real" users don't enjoy the benefit of having experts available for immediate diagnosis; it will be harder for them to diagnose and recover from the problem
if the base issue is not addressed, it will recur repeatedly over time at a fairly constant rate, each time consuming resources to identify what happened and to recover
eventually the total effort spent in diagnosing and recovering from the issue will exceed whatever effort was required to fix it (unless the tool itself falls out of use before that can happen)
even the cost of implementing thorough checking (e.g. option C2) will eventually be dwarfed by the total cost of diagnosing and addressing the issue as time approaches infinity

I much prefer "fixing it right once" over "stumbling through it over and over again".


Bug (Windows): Tauri App's Close Functionality Fails After Minimize/Maximize Actions

Minimal Reproduction Example
GitHub Repository
Description of the Issue
Encountered an issue where minimizing and then attempting to close a Tauri application. Results in the close handler losing its scope. This prevents the close handler from functioning as expected.
Behavior Observed
The application is set up to intercept the WINDOW_CLOSE_REQUESTED event and prevent the default behavior, which typically closes the application. Instead, it invokes a Tauri command to hide the window. The application features a system tray implementation which allows it to remain open in the background and can be reopened with a click event on the system tray icon.
Steps to Reproduce

Run the application using npm run tauri dev.
Right-click the application icon in the taskbar and choose "Pin to taskbar".
Optionally, click "Close" on the application window to observe it hiding instead of closing.
Click the Tauri icon in the system tray to display the window again. (Note: Clicking the icon pinned to the taskbar won't show the window in dev mode.)
Simultaneously press Win + Up Arrow and Win + Down Arrow to alternate window size. During this, right-click the pinned taskbar icon and choose "Close", while continuing to alternate window size with the arrows.
Attempt to close the application by clicking the 'X' button; observe that the application does not hide as expected, indicating a malfunction.

Additional Notes
This issue seems to be triggered by specific interactions with window size adjustments and the taskbar functionalities when the application is in a minimized state.
https://github.com/tauri-apps/plugins-workspace/assets/3421501/a4b62556-8f94-4550-9f8d-29f81fe009cf

This is actually a tauri issue moving it to main repo


Make use of new IO-safety API for raw fd handling

See https://github.com/rust-lang/rfcs/blob/master/text/3128-io-safety.md

https://doc.rust-lang.org/stable/std/os/unix/io/struct.BorrowedFd.html and https://doc.rust-lang.org/stable/std/os/unix/io/struct.OwnedFd.html are stable now.

What are the most relevant apis to port?

Everything that currently uses the old fd traits/types. It's not a lot.

I am looking at UnixOutputStream and I think the C api is fundamentally unsafe and one cannot provide the Fd safely


feat: add stacks queries

This PR migrates all the Stacks queries from the extension. I have a WIP branch in the extension that has removed/installed all of them back into that code ...so I know all these are working. I will put that up too for review.

Summary by CodeRabbit

New Features

Introduced various hooks and queries for interacting with blockchain data, including Stacks, Alex SDK, BNS, and SIP-10 tokens.
Added functionality for querying network status, account balances, transaction fees, and mempool transactions.
Enabled fetching and managing Stx-20 and non-fungible token metadata.

Improvements

Updated package dependencies and improved query performance with caching and rate limiting.
Enhanced blockchain interaction capabilities with new utility functions and hooks.

@leather-wallet/query should be a leaf package, that no other package depends on. Can you add a dependency cruiser rule to enforce this?

A little bit concerned we're packaging loads of logic into the queries package that goes beyond just fetching the data.
I don't want this PR to hang around too long, so we can be lenient on what makes it in this time around, but would be good to plan out changes we need to make after merging

Agree, we may have to port code back but I think that is ok so we can refactor all the queries together here and establish the right pattern to use (bitcoin and stacks)?

@kyranjamie check the changes made here removing the hiro client lib ...in stacks-client.ts. I confirmed the changes are working in the extension when installed.


Use a single type to represent kernel connection information

Call this type KernelConnectionMetadata.
Rename export type KernelSelection to KernelConnectionMetadata
This will be a union of 3 types:

Each of the three types will have a kind property with the values

raw - When starting raw kernels
live - When connecting to a remote jupyter session
spec - When connection to a kernel using a kernel spec.

@rchiodo @IanMatthewHuff @joyceerhl @DavidKutu /cc

Whoops, not sure how I closed that.

Just wanted to comment that I'm not sure about raw | live | spec. the | interpreter existed before raw existed so there is a case where kernelSelection is being used to carry around just an interpreter for launching with Jupyter. Just have to make sure that we handle that case.