text:
SR300 connection problem

Required Info

Camera Model
SR300

Firmware Version
Unknown

Operating System & Version
Ubuntu 16.04 LTS

Kernel Version (Linux Only)
4.15.0-32-generic

I'm trying to connect the camera with my computer, but it is not detected by the realsense-viewer. If I run lsusb, it shows Bus 003 Device 037: ID 041e:409b Creative Technology, Ltd instead of the required intel device.
The output of dmesg shows
[ 5578.057327] usb 3-1.1.2: Product: BlasterX Senz3D VF0810
[ 5578.057328] usb 3-1.1.2: Manufacturer: Creative Technology Ltd

I couldn't find information about if there is a difference between the INTEL SR300 and the Creative BlasterX Senz3D, but at least optically they look the same. Can you provide me with information about how to make realsense recognize my camera?
Additional information:
I installed librealsense2 from source with the required kernel patches and no problem occurred during the installation. The cam is connected via a USB 3 hub with power supply that itself is also connected to a USB 3 port.

Hi @lukashermann
At least at first glance everything should be working.
What about lsusb | grep 8086? Any errors when you run rs-enumerate-devices?

I noticed that the kernel modules that are installed in the ubuntu kernel patch are not loaded by default after a reboot. This is the output of lsmod:
Module                  Size  Used by
rpcsec_gss_krb5        40960  0
nfsv4                 577536  5
nfs                   262144  5 nfsv4
fscache                65536  2 nfsv4,nfs
binfmt_misc            20480  1
joydev                 24576  0
snd_usb_audio         196608  1
snd_usbmidi_lib        32768  1 snd_usb_audio
input_leds             16384  0
snd_hda_codec_hdmi     49152  1
snd_hda_codec_realtek    98304  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          40960  5
snd_hda_codec         126976  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
snd_hwdep              20480  2 snd_hda_codec,snd_usb_audio
snd_pcm                98304  5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  2 snd_seq_midi,snd_usbmidi_lib
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
snd                    81920  25 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_hda_codec_realtek,snd_pcm
mei_me                 40960  0
mei                    90112  1 mei_me
soundcore              16384  1 snd
lpc_ich                24576  0
shpchp                 36864  0
eeepc_wmi              16384  0
asus_wmi               28672  1 eeepc_wmi
sparse_keymap          16384  1 asus_wmi
video                  45056  1 asus_wmi
wmi_bmof               16384  0
nvidia_uvm            671744  0
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             212992  0
kvm                   598016  1 kvm_intel
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
aesni_intel           188416  0
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           20480  0
intel_rapl_perf        16384  0
wmi                    24576  2 asus_wmi,wmi_bmof
mac_hid                16384  0
nfsd                  339968  13
auth_rpcgss            61440  2 nfsd,rpcsec_gss_krb5
nfs_acl                16384  1 nfsd
lockd                  94208  2 nfsd,nfs
grace                  16384  2 nfsd,lockd
sunrpc                335872  43 auth_rpcgss,nfsd,rpcsec_gss_krb5,nfsv4,nfs_acl,lockd,nfs
parport_pc             36864  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 lp,parport_pc,ppdev
autofs4                40960  4
nvidia_drm             45056  1
nvidia_modeset        860160  4 nvidia_drm
hid_generic            16384  0
nvidia              13156352  185 nvidia_modeset,nvidia_uvm
drm_kms_helper        172032  1 nvidia_drm
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
usbhid                 49152  0
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
hid                   118784  2 hid_generic,usbhid
drm                   401408  4 nvidia_drm,drm_kms_helper
pata_acpi              16384  0
r8169                  86016  0
pata_via               16384  0
mii                    16384  1 r8169

I tried to manually load them with sudo modprobe uvcvideo.
dmesg | grep uvcvideo outputs
[ 1004.732450] usbcore: registered new interface driver uvcvideo
When I connect the camera the output of dmesg shows: (truncated to the relevant part)
[ 1023.609920] usb 3-1.4.4.2: new full-speed USB device number 13 using xhci_hcd
[ 1023.801313] usb 4-1.4.4.1: new SuperSpeed USB device number 15 using xhci_hcd
[ 1023.807304] usb 3-1.4.4.2: config 1 has an invalid interface number: 3 but max is 2
[ 1023.807307] usb 3-1.4.4.2: config 1 has no interface number 2
[ 1023.877499] usb 3-1.4.4.2: New USB device found, idVendor=041e, idProduct=409b
[ 1023.877503] usb 3-1.4.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1023.877505] usb 3-1.4.4.2: Product: BlasterX Senz3D VF0810
[ 1023.877507] usb 3-1.4.4.2: Manufacturer: Creative Technology Ltd
[ 1023.877509] usb 3-1.4.4.2: SerialNumber: 170227163303
[ 1024.011924] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[ 1024.011931] usb 4-1.4.4.1: can't read configurations, error -71
[ 1024.101021] input: Creative Technology Ltd BlasterX Senz3D VF0810 as /devices/pci0000:00/0000:00:1c.7/0000:09:00.0/usb3/3-1/3-1.4/3-1.4.4/3-1.4.4.2/3-1.4.4.2:1.3/0003:041E:409B.0006/input/input20
[ 1024.158526] hid-generic 0003:041E:409B.0006: input,hiddev0,hidraw3: USB HID v1.11 Device [Creative Technology Ltd BlasterX Senz3D VF0810] on usb-0000:09:00.0-1.4.4.2/input3
[ 1024.345378] usb 4-1.4.4.1: new SuperSpeed USB device number 16 using xhci_hcd
[ 1024.552899] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[ 1024.552906] usb 4-1.4.4.1: can't read configurations, error -71
[ 1024.553142] usb 4-1.4.4-port1: attempt power cycle
[ 1024.949388] usb 4-1.4.4.1: new SuperSpeed USB device number 17 using xhci_hcd
[ 1025.157077] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[ 1025.157083] usb 4-1.4.4.1: can't read configurations, error -71
[ 1025.489473] usb 4-1.4.4.1: new SuperSpeed USB device number 18 using xhci_hcd
[ 1025.700949] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[ 1025.700956] usb 4-1.4.4.1: can't read configurations, error -71
[ 1025.701211] usb 4-1.4.4-port1: unable to enumerate USB device
[ 1083.749725] usb 3-1: USB disconnect, device number 10
[ 1083.749726] usb 3-1.4: USB disconnect, device number 11
[ 1083.749727] usb 3-1.4.4: USB disconnect, device number 12
[ 1083.749729] usb 3-1.4.4.2: USB disconnect, device number 13
[ 1083.769916] usb 4-1: USB disconnect, device number 12
[ 1083.769917] usb 4-1.4: USB disconnect, device number 13
[ 1083.769918] usb 4-1.4.4: USB disconnect, device number 14
[ 1087.506322] usb 3-1: new high-speed USB device number 14 using xhci_hcd

The errors like
[ 1024.011924] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[ 1024.011931] usb 4-1.4.4.1: can't read configurations, error -71

didn't always occur and I don't know what causes them, but it any case the camera is not detected.
I hope the additional information helps.

[Realsense Customer Engineering Team Comment]
Hi @lukashermann,
Per your log, only Creative USB VID/PID is found, don't see SR300 device is enumerated correctly. Since the USB enumeration phase, its config can't be read normally. To further clarify:

Can you try to connect to the USB port directly instead of USB3 hub?
Did you try another PC or different OS like Windows to see if SR300 device can show correctly?

[1023.877499] usb 3-1.4.4.2: New USB device found, idVendor=041e, idProduct=409b
[1023.877503] usb 3-1.4.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1023.877505] usb 3-1.4.4.2: Product: BlasterX Senz3D VF0810
[1024.345378] usb 4-1.4.4.1: new SuperSpeed USB device number 16 using xhci_hcd
[1024.552899] usb 4-1.4.4.1: unable to read config index 0 descriptor/all
[1024.552906] usb 4-1.4.4.1: can't read configurations, error -71

Yes I also tried to connect it directly, but this didn't change anything. It works on another Linux machine without problems.

[Realsense Customer Engineering Team Comment]
Hi @lukashermann,
You need to verify that uvcvideo is enabled in the kernel configuration - try to run "modinfo uvcvideo | grep version "
to obtain driver's info.
If the uvc driver is available but fails to load automatically, you can try to run "sudo apt-get install --reinstall linux-image-generic linux-image" to reset the modules.
And, how about your SR300 firmware version? You can try to upgrade to 3.21.0 and see how it works.

[Realsense Customer Engineering Team Comment]
Hi @lukashermann,
any update?

Uvcvideo was enabled in the kernel configuration after I manually loaded it with sudo modprobe uvcvideo. I spoke to my coworker who said he had similar problems trying to use a Kinect camera with the same computer, his suggestion was that it is an issue with the motherboard's USB controller. So I switched to another machine where it is working now without flaws. Thank you for your help and patience!


text:
Template tracking

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ R200 / F200 / SR300 / ZR300 / D400 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC/Raspberry Pi/ NVIDIA Jetson / etc..

SDK Version
{ legacy / 2.. }

Language
{C/C#/labview/nodejs/opencv/pcl/python/unity }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>

Is 'template tracking' a feature request, please?

I am using realsenseD435i to do a template tracking, which requires that I draw a rectangular box with the mouse on the area of interest in the video stream, save the area in the rectangular box as Mat format, and track the area. I know the methods and codes of ordinary cameras, and I am a novice in realsense. If you can provide a simple demo or example, I would like to ask you. Thank you very much

Thank you for your additional information.  What you are aiming to achieve sounds complicated and so the project is probably best developed in stages instead of trying to do it all at once.
The first goal to achieve would be to draw the bounding box and exclude the data points outside of the box.  The link below describes the method that a RealSense user applied to achieve this.
https://github.com/IntelRealSense/librealsense/issues/2016#issuecomment-403804157

It’s too complicated for me to say, I should say it step by step. Now I want to use the mouse to select the area of interest in the video stream. But I did not find the relevant documentation. (Because I want to identify a stationary object, this object is random, so I need to select the area with the mouse)

Someone in the past asked about being able to select the ROI with the mouse in the RealSense Viewer.
https://github.com/IntelRealSense/librealsense/issues/2110
One of the Intel staff on this forum will be best equipped to give you advice on this subject.  I will tag a few of them into this conversation to highlight it to them.   Good luck!
@dorodnic @RealSenseCustomerSupport @RealSense-Customer-Engineering

Hey @clear-zhu, as you're saying you're familiar with this problem, it should be sufficient enough for you, if you knew how to get frames from RealSense cameras. You can gather frames from camera with OpenCV like in this example . Then you have the color frame in Mat format and you can continue from there.

thanks your answer helped me a lot.

source: gharchive/issue

authors: MartyG-RealSense clear-zhu eMrazSVK

repo: IntelRealSense/librealsense

license_type: permissive

license_source: github-api


text:
Adding opencv inside librealsense for using it's function in andorid

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D400

Operating System & Version
Android

Platform
Android

SDK Version
2.19 }

Language
Android java wrraper

Issue Description
I want use some of the opencv function directly imbedded in librealsense so that i can use and leverage some of the opencv function please guide me how to do that it should be for android opencv.

Hi @ankittecholution  The only reference that I could find about using OpenCV with the RealSense Android wrapper is one about converting a RealSense frame to OpenCV Mat.
https://github.com/IntelRealSense/librealsense/issues/5185

Hi @ankittecholution
Please take a look at https://opencv.org/android/

@ankittecholution You can integrate opencv as per the official documentation as suggested by @dorodnic
I would suggest for availability of all the functionality of librealsense SDK and OpenCV, it is better to call it natively via NDK.

Thanks, I will try to implement it.

Let us know if you run into issues

authors: MartyG-RealSense ankittecholution dorodnic kafan1986


text:
Production bot binding

Description
After the migration to node.js in Heroku environment, it's needed to rebind the Bot to the right webhook.
Solution
Set the environment variable to the right token value.

The test and production Telegram Bots running on Heroku are now configured to use the production API at
itt-indicators-production.herokuapp.com/api

authors: Brbb tomcounsell

repo: IntelligentTrading/telegram-bot

license: MIT


text:
Publications should be opt-in

Publications should be opt-in and provide a method for opt-out on the profile page. This change should also be reflected on the member edit page accessible by the board, which currently states that this should only be changed in extreme situations.

This needs to be changed in the enrollment form and possibly in the member profile preference form. The default needs to be set to false, but it might be nice to add a message to encourage people to tick the box. Not only because we get money from sponsors for it, but also because the IO-vivat is a nice publication to get.

"gratis"/"free" should be incentive enough

Fixed by changing the corresponding Preference object in production.

authors: Kurocon SebastiaandenBoer

repo: Inter-Actief/amelie


text:
[SeaTunnel #757][Core] Add seatunnel-core-sql module

Purpose of this pull request
Currently, we just support basic transform framework. For more detail, please go to https://github.com/InterestingLab/seatunnel/issues/716
Demo Job
CREATE TABLE events (
  f_type INT,
  f_uid INT,
  ts AS localtimestamp,
  WATERMARK FOR ts AS ts
) WITH (
  'connector' = 'datagen',
  'rows-per-second'='5',
  'fields.f_type.min'='1',
  'fields.f_type.max'='5',
  'fields.f_uid.min'='1',
  'fields.f_uid.max'='1000'
);

CREATE TABLE print_table (
  type INT,
  uid INT,
  lstmt TIMESTAMP
) WITH (
  'connector' = 'print',
  'sink.parallelism' = '1'
);

INSERT INTO print_table SELECT * FROM events where f_type = 1;

Run Demo

Please download flink1.13.3 https://repo.huaweicloud.com/apache/flink/flink-1.13.3/

Start flink

bin/start-cluster.sh

Add sql to application.conf

CREATE TABLE events (
  f_type INT,
  f_uid INT,
  ts AS localtimestamp,
  WATERMARK FOR ts AS ts
) WITH (
  'connector' = 'datagen',
  'rows-per-second'='5',
  'fields.f_type.min'='1',
  'fields.f_type.max'='5',
  'fields.f_uid.min'='1',
  'fields.f_uid.max'='1000'
);

CREATE TABLE print_table (
  type INT,
  uid INT,
  lstmt TIMESTAMP
) WITH (
  'connector' = 'print',
  'sink.parallelism' = '1'
);

INSERT INTO print_table SELECT * FROM events where f_type = 1;

Demo SQL

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] Change does not need document change, or I will submit document change to https://github.com/InterestingLab/seatunnel-docs later

cc @garyelephant @dailidong @CalvinKirs, please take a review when you are free, thanks.

+1, great job!!

LGTM

source: gharchive/pull-request

repo: InterestingLab/seatunnel


text:
merge from utilities-1

Fix bold font in output. Eliminate compile warnings. Add configure and Makefile.in (and the files to generate them)

OK, how did this get in without review?
We DO NOT want autotools files for building anything -- it is a maintenance nightmare.

authors: masinter nbriggs

repo: Interlisp/utilities


text:
Dashboard - As DRep - Voting power element shows wrongly 0 ADA

Occurred on test-sancho:
With, Eterln (beta) wallet.

This issue depends on db-settings.
Settings as Ready for Stage.

Nothing that I can see that I'm able to do here.

authors: m-i-k-e pmbinapps

repo: IntersectMBO/govtool


text:
🛑 klostergardentautra.no is down

In 312b3de, klostergardentautra.no (https://klostergardentautra.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: klostergardentautra.no is back up in 7aa05c9 after 15 minutes.

repo: Intus-AS/Types-status


text:
🛑 klostergardentautra.no is down

In 39c2d65, klostergardentautra.no (https://klostergardentautra.no) was down:

HTTP code: 0
Response time: 0 ms

Resolved: klostergardentautra.no is back up in 0fedacb after 16 minutes.


text:
called during build

setState() or markNeedsBuild() called during build.
https://github.com/Invincible1996/flutter_tree/assets/4311975/7bb89862-d635-4713-a217-e457bb0136e4
OnChecked events should not be fired when initialized

https://github.com/Invincible1996/flutter_tree/assets/4311975/c7102889-ae7a-4705-801c-263c0d6de5be
Why does it send a request 3 times with one click?

@fakhravari please update to the latest version


text:
"pcdm" namespace is not registered by default

The "pcdm" namespace needs to be registered by default. Here's a list of all registered namespaces in a vanilla Islandora:

I spun up a fresh playbook using the ubuntu base and it looks fine:

Here is the JSON-LD config page:

"rdau" and "pcdm" are both there.
How did you build your box, @mjordan?

Weird - I built is using a standard vagrant up in the Playbook, on May 4. Given that date, could there have been updates to the relevant modules that would explain the missing namespaces in my build?

The last playbook commit was on April 28th.
Perhaps you used the "islandora/8" base box (which is built on 1.1.0) instead of changing the base box to "ubuntu/focal64"? But then you shouldn't have had that report available, unless you checked out the most recent version of islandora_defaults after it completed provisioning. In that case, you need to update jsonld at the same time.

Right, I did build with "ubuntu/focal64", sorry for not indicating that earlier. However, I don't recall checking out any newer code after building. Let me build a new box on "ubuntu/focal64" and confirm no new code checkouts to see what happens.

Ha, just cloned down a fresh copy of islandora-playbook and am seeing this error after vagrant upping (and changing to 'ubuntu/focal64'):
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/mark/Documents/hacking/vagrants/islandora-playbook-newer/post-install.yml': line 13, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

    - name: Create a directory if it does not exist
      ^ here

Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

git diff shows the following:
 git diff
diff --git a/Vagrantfile b/Vagrantfile
index 778a594..d656562 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -14,7 +14,8 @@ $virtualBoxDescription = ENV.fetch("ISLANDORA_VAGRANT_VIRTUALBOXDESCRIPTION", "I
 # Available boxes are 'islandora/8' and 'ubuntu/focal64'
 # Use 'ubuntu/focal64' to build a dev environment from scratch.
 # Use 'islandora/8' if you just want to download a ready to run VM.
-$vagrantBox = ENV.fetch("ISLANDORA_DISTRO", "islandora/8")
+# $vagrantBox = ENV.fetch("ISLANDORA_DISTRO", "islandora/8")
+$vagrantBox = ENV.fetch("ISLANDORA_DISTRO", "ubuntu/focal64")

 # vagrant is the main user
 $vagrantUser = "vagrant"

The last update to post-install.yml was on April 8th. It worked fine for me just now. I have no idea why it is complaining to you. 😕🤷♂
ansible version? I have 2.9.9.

2.5.1. Let me upgrade it. Sigh.

Which I can't do: "ansible is already the newest version (2.5.1+dfsg-1ubuntu0.1)"

My build wth ansible 2.9.6 died at deploying Matomo again exactly as described in #1810. I'm too tired to try again, so based on your successful build, I'm happy to label this current issue as "can't replicate."

authors: mjordan seth-shaw-unlv

repo: Islandora/documentation


text:
The routine DisplayCv2 not working

DisplayCv2 Routine
We have 2 bugs with this routine:

When trying to activate it we get an error from the container logs that says : cannot connect to X server.

When we solve the first bug, we can't run this routine for the second time.
it causes an infinite loop at line 21 : cv2.imshow(self.name, frame)

Is this issue is something we need to research about and handle?
Is this routine is being used?

@AmitKarin  good question. I guess not because nobody mentioned it.
The reason that we should handle this routine is for stop using the flask display that must have detectron installed.

@ItayHoresh if we fix the problem with installing detectron (which I'm trying to fix these days) we won't need this routine, right?

If you mean that we will not need detectron for display, the answer is yes and I don't think we need this routine.

@ItayHoresh I think we fixed the problem with detectron . So can we delete this issue?

Hi @AmitKarin,
If there is no use of this routine we can delete it and then close the issue.
Create a new PR with this changes.

authors: AmitKarin ItayHoresh MayoG

repo: ItamarWilf/PipeRT


text:
BUG:Requirement of Proper Input Handling in Login/Register form

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Hello Project Admin,
Allowing special characters in password fields is essential for creating strong passwords. However, without proper input handling, special characters can introduce vulnerabilities such as XSS attacks. Malicious actors can exploit these vulnerabilities by injecting harmful scripts, leading to security breaches and data theft.
I would like to incorporate proper javascript Input Handling to prevent this type of client side injection or cross scripting attacks
##Screenshot

Hello @Kalivarapubindusree
Please assign me this issue
I would like to contribute to this issue.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hi! I would like to work on this issue. Can you please assign it to me?

repo: Its-Aman-Yadav/Community-Site


text:
HTML

#HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titles HTML, CSS, Git, and Javascript with associated notes listed

Boxes built

repo: ItsToastCrumb/prework-study-guide


text:
Stereo branch

@snosov1
Created the new stereo module with its specific files.

That looks fine to me. Just, please, fix the warnings, so it builds ok.
@vpisarev Vadim, what about you? Also, do we want to support the C functions and structures, like CvStereoBinaryBMState?

@MMp131316, thanks for the PR! Looks good! Please, remove
void filterSpeckles( InputOutputArray img, double newVal,
int maxSpeckleSize, double maxDiff,
InputOutputArray buf = noArray() );
Rect getValidDisparityROI( Rect roi1, Rect roi2,
int minDisparity, int numberOfDisparities,
int SADWindowSize );
void validateDisparity( InputOutputArray disparity, InputArray cost,
int minDisparity, int numberOfDisparities,
int disp12MaxDisp = 1 );
since they are present in calib3d. Also, add calib3d as dependency for the stereo module.

ok Best regards,
Muresan Mircea Paul
 On Tuesday, June 16, 2015 3:27 PM, Vadim Pisarevsky <notifications@github.com> wrote:

@MMp131316, thanks for the PR! Looks good! Please, remove
void filterSpeckles( InputOutputArray img, double newVal,
int maxSpeckleSize, double maxDiff,
InputOutputArray buf = noArray() );Rect getValidDisparityROI( Rect roi1, Rect roi2,
int minDisparity, int numberOfDisparities,
int SADWindowSize );void validateDisparity( InputOutputArray disparity, InputArray cost,
int minDisparity, int numberOfDisparities,
int disp12MaxDisp = 1 );since they are present in calib3d. Also, add calib3d as dependency for the stereo module.—
Reply to this email directly or view it on GitHub.

@vpisarev Hello Vadim, I have done the what you have asked

:+1:


text:
Discussion search stays "on wait" forever. And edit & run prompt again is not an available option

Describe the bug
After some few prompts, the last one stays "on wait" forever

It must be related to a timeout or kind of prompt unchaining .
To bypass this,
I wonder if each sequences could have an "edit" button and be able to replay a sequence ?
Then this bug "no resolution" creates a feature

From my observations:
Fifth time click on suggestion will cause this (always) - in the backend logs (with debug enabled) I can see it trying to get searxng with empty query:
perplexica-perplexica-backend-1   |   maxRedirects: 21,
perplexica-perplexica-backend-1   |   maxBodyLength: Infinity,
perplexica-perplexica-backend-1   |   protocol: 'https:',
perplexica-perplexica-backend-1   |   path: '/search?format=json&q=&language=en',
perplexica-perplexica-backend-1   |   method: 'GET',
perplexica-perplexica-backend-1   |   headers: [Object: null prototype] {
perplexica-perplexica-backend-1   |     Accept: 'application/json, text/plain, /',
perplexica-perplexica-backend-1   |     'User-Agent': 'axios/1.6.8',
perplexica-perplexica-backend-1   |     'Accept-Encoding': 'gzip, compress, deflate, br'
perplexica-perplexica-backend-1   |   },
perplexica-perplexica-backend-1   |   agents: { http: undefined, https: undefined },
perplexica-perplexica-backend-1   |   auth: undefined,
perplexica-perplexica-backend-1   |   family: undefined,
perplexica-perplexica-backend-1   |   beforeRedirect: [Function: dispatchBeforeRedirect],
perplexica-perplexica-backend-1   |   beforeRedirects: { proxy: [Function: beforeRedirect] },
perplexica-perplexica-backend-1   |   hostname: 'xxx',
perplexica-perplexica-backend-1   |   port: '',
perplexica-perplexica-backend-1   |   agent: undefined,
perplexica-perplexica-backend-1   |   nativeProtocols: {
perplexica-perplexica-backend-1   |     'http:': {
perplexica-perplexica-backend-1   |       _connectionListener: [Function: connectionListener],
perplexica-perplexica-backend-1   |       METHODS: [Array],
perplexica-perplexica-backend-1   |       STATUS_CODES: [Object],
perplexica-perplexica-backend-1   |       Agent: [Function],
perplexica-perplexica-backend-1   |       ClientRequest: [Function: ClientRequest],
perplexica-perplexica-backend-1   |       IncomingMessage: [Function: IncomingMessage],
perplexica-perplexica-backend-1   |       OutgoingMessage: [Function: OutgoingMessage],
perplexica-perplexica-backend-1   |       Server: [Function: Server],
perplexica-perplexica-backend-1   |       ServerResponse: [Function: ServerResponse],
perplexica-perplexica-backend-1   |       createServer: [Function: createServer],
perplexica-perplexica-backend-1   |       validateHeaderName: [Function: _node_internal],
perplexica-perplexica-backend-1   |       validateHeaderValue: [Function: _node_internal],
perplexica-perplexica-backend-1   |       get: [Function: get],
perplexica-perplexica-backend-1   |       request: [Function: request],
perplexica-perplexica-backend-1   |       setMaxIdleHTTPParsers: [Function: setMaxIdleHTTPParsers],
perplexica-perplexica-backend-1   |       maxHeaderSize: [Getter],
perplexica-perplexica-backend-1   |       globalAgent: [Getter/Setter]
perplexica-perplexica-backend-1   |     },
perplexica-perplexica-backend-1   |     'https:': {
perplexica-perplexica-backend-1   |       Agent: [Function: Agent],
perplexica-perplexica-backend-1   |       globalAgent: [Agent],
perplexica-perplexica-backend-1   |       Server: [Function: Server],
perplexica-perplexica-backend-1   |       createServer: [Function: createServer],
perplexica-perplexica-backend-1   |       get: [Function: get],
perplexica-perplexica-backend-1   |       request: [Function: request]
perplexica-perplexica-backend-1   |     }
perplexica-perplexica-backend-1   |   }
perplexica-perplexica-backend-1   | }
Then this error is logged:
perplexica-perplexica-backend-1   | error: Unhandled Rejection at: [object Promise], reason: AxiosError: Request failed with status code 400
perplexica-perplexica-backend-1   | winston:file: written true false
perplexica-perplexica-backend-1   | winston:file: logged 2171 {"level":"error","message":"Unhandled Rejection at: [object Promise], reason: AxiosError: Request failed with status code 400","timestamp":"2024-11-10T16:03:20.835Z"}

authors: papiche susanin-ivan

repo: ItzCrazyKns/Perplexica


text:
No package metadata was found for bitsandbytes

Error occurred when executing MiniCPM_VQA:
No package metadata was found for bitsandbytes
File "G:\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\custom_nodes\ComfyUI_MiniCPM-V-2_6-int4\nodes.py", line 66, in inference
self.model = AutoModel.from_pretrained(model_checkpoint, trust_remote_code=True, torch_dtype=torch.bfloat16)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\models\auto\auto_factory.py", line 559, in from_pretrained
return model_class.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\modeling_utils.py", line 3344, in from_pretrained
config.quantization_config = AutoHfQuantizer.merge_quantization_configs(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\quantizers\auto.py", line 161, in merge_quantization_configs
quantization_config = AutoQuantizationConfig.from_dict(quantization_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\quantizers\auto.py", line 91, in from_dict
return target_cls.from_dict(quantization_config_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 97, in from_dict
config = cls(**config_dict)
^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 400, in init
self.post_init()
File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 458, in post_init
if self.load_in_4bit and not version.parse(importlib.metadata.version("bitsandbytes")) >= version.parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ceshi\anaconda3\Lib\importlib\metadata_init_.py", line 1008, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ceshi\anaconda3\Lib\importlib\metadata_init_.py", line 981, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\ceshi\anaconda3\Lib\importlib\metadata_init_.py", line 565, in from_name
raise PackageNotFoundError(name)

Error occurred when executing MiniCPM_VQA:
'NoneType' object has no attribute 'chat'
File "G:\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\ComfyUI\custom_nodes\ComfyUI_MiniCPM-V-2_6-int4\nodes.py", line 83, in inference
result = self.model.chat(
^^^^^^^^^^^^^^^

Error occurred when executing MiniCPM_VQA:
No package metadata was found for bitsandbytes
File "G:\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\execution.py", line 82, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\custom_nodes\ComfyUI_MiniCPM-V-2_6-int4\nodes.py", line 66, in inference self.model = AutoModel.from_pretrained(model_checkpoint, trust_remote_code=True, torch_dtype=torch.bfloat16) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\models\auto\auto_factory.py", line 559, in from_pretrained return model_class.from_pretrained( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\modeling_utils.py", line 3344, in from_pretrained config.quantization_config = AutoHfQuantizer.merge_quantization_configs( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\quantizers\auto.py", line 161, in merge_quantization_configs quantization_config = AutoQuantizationConfig.from_dict(quantization_config) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\quantizers\auto.py", line 91, in from_dict return target_cls.from_dict(quantization_config_dict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 97, in from_dict config = cls(**config_dict) ^^^^^^^^^^^^^^^^^^ File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 400, in init self.post_init() File "G:\ComfyUI\venv\Lib\site-packages\transformers\utils\quantization_config.py", line 458, in post_init if self.load_in_4bit and not version.parse(importlib.metadata.version("bitsandbytes")) >= version.parse( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ceshi\anaconda3\Lib\importlib\metadata__init__.py", line 1008, in version return distribution(distribution_name).version ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ceshi\anaconda3\Lib\importlib\metadata__init__.py", line 981, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\ceshi\anaconda3\Lib\importlib\metadata__init__.py", line 565, in from_name raise PackageNotFoundError(name)

Here is the possible method to troubleshoot and resolve this issue:
Verify if the bitsandbytes package is installed in your environment. You can do this by running:
pip show bitsandbytes

If the package is not found, you can install it using:
pip install bitsandbytes


text:
Can not compatible with Ironchest mod

Describe the bug
https://i.loli.net/2019/08/13/b7ocBr1dAhOPEmZ.png
To Reproduce
Use iron chest and create a shop.
Environment:

Sponge version: spongeforge-1.12.2-7.1.6
AmberShop version 1.1.1

Stacktrace/Crash report
https://i.loli.net/2019/08/13/b7ocBr1dAhOPEmZ.png

修不了

repo: IzzelAliz/AmberShop


text:
add halo size to yaml file

Description
companion pr to https://github.com/JCSDA-internal/ioda/pull/769
Dependencies
can be merged at any time

@travissluka how can we merge this PR? looks like it fails because of tight test requirements. See discussion from @srherbener in https://github.com/JCSDA-internal/ioda/pull/769

you changed the input yaml but didn't update the letkf_split_solver.test file.

@travissluka look at that. all checks pass. Sorry i was obtuse.

authors: frolovsa travissluka

repo: JCSDA-internal/soca


text:
Simulated product types missing from BitgetInstrumentType

Describe the bug
When simulating, it is not possible to subscribe to simulated part with socket client.
Documentation: https://bitgetlimited.github.io/apidoc/en/mix/#api-common-parameters
To Reproduce
N/A
Expected behavior
Add simulated product types to BitgetInstrumentType to receive updates when something happens in the simulation area.
Debug logging
N/A

Sorry I misread the code and documentation.

Added in latest version

authors: JKorf wiruzman


text:
TV doesn't turn on anymore

Since latest app update I've noticed that the companion app is able to turn the TV off, but not on anymore.
I noticed this in the logs, but have no clue what it means.
All I can  say is that the IP address 192.168.4.232 is still correct.
Tue 14:55:25 > LGTV Companion Service started (v 1.8.0) --------------------------- Tue 14:55:25 > Configuration file successfully read Tue 14:55:25 > Data path: C:\ProgramData\LGTV Companion\ Tue 14:55:25 > Device1, [LG] webOS TV OLED48C15LA, with IP 192.168.4.232 initiated (Enabled:yes, WOL:2, PairingKey:72ba7c8fca17021d169564b6753edd18, MAC: B4:B2:91:5D:9D:4D , VerifyHdmiInput:off, SetHdmiInput:off, BlankOnIdle:off) Tue 14:55:25 > Device2, [LG] webOS TV OLED65GX6LA, with IP 192.168.4.200 initiated (Enabled:no, WOL:2, PairingKey:n/a, MAC: 5C:85:7E:39:D5:14 , VerifyHdmiInput:off, SetHdmiInput:off, BlankOnIdle:off) Tue 14:55:25 > Setting shutdown parameter level 0x3FF Tue 14:55:25 > ** System requests displays ON. Tue 14:55:25 > Device1, spawning DisplayPowerOnThread(). Tue 14:55:25 > Device1, repeating WOL broadcast started to MAC: B4:B2:91:5D:9D:4D using IP address: 192.168.4.232 Tue 14:55:25 > GetBestRoute2() failed with code 1231 Tue 14:55:25 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:25 > Device1, WARNING! DisplayPowerOnThread(): connect: Tentativo di operazione del socket verso una rete non raggiungibile Tue 14:55:27 > GetBestRoute2() failed with code 1231 Tue 14:55:27 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:29 > GetBestRoute2() failed with code 1231 Tue 14:55:29 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:31 > GetBestRoute2() failed with code 1231 Tue 14:55:31 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:31 > Device1, WARNING! DisplayPowerOnThread(): connect: Tentativo di operazione del socket verso una rete non raggiungibile Tue 14:55:33 > GetBestRoute2() failed with code 1231 Tue 14:55:33 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:35 > GetBestRoute2() failed with code 1231 Tue 14:55:35 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:37 > GetBestRoute2() failed with code 1231 Tue 14:55:37 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:37 > Device1, WARNING! DisplayPowerOnThread(): connect: Tentativo di operazione del socket verso una rete non raggiungibile Tue 14:55:39 > GetBestRoute2() failed with code 1231 Tue 14:55:39 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:41 > GetBestRoute2() failed with code 1231 Tue 14:55:41 > Device1, WARNING! WOLthread WS sendto(): 10051 Tue 14:55:43 > Device1, WARNING! DisplayPowerOnThread(): connect: Tentativo di operazione del socket verso un host non raggiungibile Tue 14:55:43 > GetBestRoute2() failed with code 1232 Tue 14:55:43 > Device1, WARNING! WOLthread WS sendto(): 10065 Tue 14:55:45 > GetBestRoute2() selected interface index 73 LUID 1689399666409472 route protocol 2 Tue 14:55:47 > Device1, repeating WOL broadcast ended Tue 14:55:51 > IPC, Daemon has started.

Hi @Cr4z33 from reading the log it looks like the network is unreachable for some time after the app is started. Is it only on PC boot or resume from sleep that this issue occurs? What happens if you in the main GUI select "Test" in the drop-down menu for the 48"?

Hi (for some unknown motherboard bug) the network is unavailable indeed, but this is happening since day one and I already setup the companion to WOL the TV after 21 seconds.
Test does turn the TV off and that is what is already happening. 🙂

If you are referring to the option "power on timeout" it does the opposite as it will terminate attempts at 21 seconds (default 40). (I will add more explanatory texts for net version as I noticed it causes some confusion).
Can you try setting this option to 40? If I interpreted your correct?

Ohhhh I thought it would START attempting to WOL after (my case) 21 seconds lol!
OK I set it to 40 and will run a shutdown/power on test.


text:
🛑 Glitch is down

In 80c1e80, Glitch ($GLITCH) was down:

HTTP code: 503
Response time: 311 ms

Resolved: Glitch is back up in 073e68e after 33 minutes.

repo: JYFUX/upptime


text:
Remove configuration for pima-indians-diabetes

I the script with a 404 trying to download from the data url: https://archive.ics.uci.edu/ml/machine-learning-databases/pima-indians-diabetes/pima-indians-diabetes.data.
This data set seems to have been removed due to licensing issue, as described in a note on the info page. The old dataset is still available at their old mirror, but I'm not sure whether one should include that instead...

Thanks for the heads up! I think it makes sense to remove it entirely from here and anybody so inclined can retrieve it themselves

authors: JackDunnNZ phipsgabler

repo: JackDunnNZ/uci-data

license: mit

license_source: bigquery


text:
Dropdown menu not working

Hi
I have installed the theme on 2 websites, but I can only get the dropdown menu to work on 1 of the sites. The other just wont allow the dropdown to appear and does nothing when clicked. Any ideas? (fyi I have no clue about programming)

Hi @jonlloyd1234,
If dropdown menus are working one one site but not another, the issue sounds as if it is somewhere in the configuration of the menu. Do you have menus within menus?
I do know of a few issues with dropdowns and will be working on a fix soon. Once that is done it may solve your issue.

I have just released version 1.4.1 in which the navbar has been completely overhauled and should fix any issue you had with menus. I will close this issue but if you face it again then feel free to open it up again.

repo: JackFurby/Bootscout-theme


text:
How to do inference on custom imgs on vcoco full finetune?

I notice that there is a python file for hico but missing for vcoco. Should I change it myself?

@aixiaodewugege
Hi, thanks for your consistent interest.
Actually, this file is implemented in RLIPv1. Thus, it does not support RLIPv2 currently. But I think you can make simple modifications to support RLIPv2 and VCOCO.

Hi, Thank you for such an interesting project. I wanted to try on custom images with one of the best models, but I was not successful in running inference_on_custom_imgs_hico.py.
I also tried previous RLIPv1, however not able to load the correct model. It would be really helpful if a demo/inference script be provided with comments to load the correct model.  Thank you.

authors: JacobYuan7 Varun-GP aixiaodewugege


text:
Fix no-op fix_telecined_fades and simplify it

Commit 67c08e1f061e0ee4cbd9b9fdec11126d00f645d5 attempted to make fix_telecined_fades work for BFF clips to fix #24, but due to a typo, it actually made the function do nothing at all, regardless of field order. Fix this and simplify the expression further to make it easier to maintain and understand.

It’s also been pointed out that it doesn’t need to care about the field order at all. It will work just as well if the tff function argument is removed entirely and SeparateFields is simply called with tff=True.

Force-pushed: the new version drops field order dependence entirely (as described above) and deprecates the tff parameter.
I’ve also added an expanded docstring; please verify.
Another conceptual issue that remains is that if a field’s average equals color, this field isn’t modified at all, but the other field in the same frame may not have the same average, so the frame remains combed. For example, if a fade from black starts with a fully black field, this first frame remains combed (although the second field is adjusted halfway towards black). I don’t know if it’s worth noting this in the docstring.

Thanks for the PR!
Can you please use vstool's EMPTY instead of a sentinel in this file?

Happy to do so, but I can’t find EMPTY using GitHub’s code search. Could you give me an additional pointer to where I can find it?

Fixed the lint warning.

I'm now wondering if we should also make tff accept float | list[float] so people can already use the new signature of clip, color, or if it's just complicate things.
Just so scripts written now will work later without the need of keyword arguments 🤔

Hm… I was thinking colors and later could be made keyword-only arguments when tff is eventually dropped, but it’s fair to want to keep them positional also.
If we assume all callers are strongly typed, I think we can indeed make this support both positional signatures simultaneously. On the other hand, if someone currently calls fix_telecined_fades(clip, 1.0), it succeeds at runtime and is interpreted as tff=FieldBased.BFF, so treating it as colors would alter the behaviour. But it’s somewhat likely to have been unexpected behaviour, anyway, so maybe this is fine.

Should I try implementing support for both signatures?

Hm… I was thinking colors and later could be made keyword-only arguments when tff is eventually dropped, but it’s fair to want to keep them positional also.
If we assume all callers are strongly typed, I think we can indeed make this support both positional signatures simultaneously. On the other hand, if someone currently calls fix_telecined_fades(clip, 1.0), it succeeds at runtime and is interpreted as tff=FieldBased.BFF, so treating it as colors would alter the behaviour. But it’s somewhat likely to have been unexpected behaviour, anyway, so maybe this is fine.

Yeah passing float and casting to bool then fieldbased is definitely not intended usage so the user get go get lost if they complain lol
Would be good if you addd the type check

I had hoped @overload would allow me to declare both the old signature with tff and the new signature without tff, but mypy complains that “overloaded function implementation does not accept all possible arguments of signature 2” (regardless of the parameter types), and the only way I’ve found to fix it is to re-add tff in its current position, which defeats the point.
Between this and handling (or not handling) conflicts between positional and keyword argument values for colors, planes and func, I’m really doubting that this approach is beneficial now. Like, we can certainly still allow positional-only calls with the new argument order to succeed, but IDE tips will be incomprehensible and accidentally mismatched positional/keyword combinations will go unnoticed when type-checking and silently do the wrong thing at runtime (unless we make the runtime checks even more complicated).
The only real solution I currently see, which incidentally allows both reliable call-site typing and reliable runtime checks (but not sure about type-checking the implementation of fix_telecined_fades itself), is to nuke the whole argument list (bar clip) of the implementation, replace it by *args, **kwargs and manually pop off each name and throw errors on duplicates or leftover elements. I can do this if you think it’s worthwhile. But is it really, if the hope is that tff can be removed soon™ in a subsequent release?
FWIW my code up to this point:
@overload
def fix_telecined_fades(
    clip: vs.VideoNode, tff: bool | FieldBasedT | None = None, colors: float | list[float] = 0.0,
    planes: PlanesT = None, func: FuncExceptT | None = None
) -> vs.VideoNode:
    ...

@overload
def fix_telecined_fades(
    clip: vs.VideoNode, colors: float | list[float] = 0.0,
    planes: PlanesT = None, func: FuncExceptT | None = None
) -> vs.VideoNode:
    ...

def fix_telecined_fades(
    clip: vs.VideoNode, tff: bool | FieldBasedT | None | float | list[float] | MissingT = MISSING,
    colors: float | list[float] | PlanesT = 0.0,
    planes: PlanesT | FuncExceptT = None, func: FuncExceptT | None = None
) -> vs.VideoNode:
    """
    Give a mathematically perfect solution to decombing fades made *after* telecining
    (which made perfect IVTC impossible) that start or end in a solid color.

    Steps between the frames are not adjusted, so they will remain uneven depending on the telecining pattern,
    but the decombing is blur-free, ensuring minimum information loss. However, this may cause small amounts
    of combing to remain due to error amplification, especially near the solid-color end of the fade.

    This is an improved version of the Fix-Telecined-Fades plugin.

    Make sure to run this *after* IVTC/deinterlacing!

    :param clip:                            Clip to process.
    :param tff:                             This parameter is deprecated and unused. It will be removed in the future.
    :param colors:                          Fade source/target color (floating-point plane averages).

    :return:                                Clip with fades to/from `colors` accurately deinterlaced.
                                            Frames that don't contain such fades may be damaged.
    """
    # Gracefully handle positional arguments that either include or exclude tff.
    # Remove this block when tff is fully dropped from the parameter list.
    if isinstance(tff, (float, list)):
        if colors == 0.0:
            tff, colors = MISSING, tff
        elif planes is None:
            tff, colors, planes = MISSING, tff, colors
        else:
            tff, colors, planes, func = MISSING, tff, colors, planes

Oh, I guess I could also hide the overloads behind if TYPE_CHECKING and thereby avoid the error I’m getting…

Or I can just add # type: ignore[misc], which is what I did. Please have a look; it’s slightly different from the code snippet above.
The code handling the dual signature is biased towards simplicity over universal correctness and error detection at runtime, but if the caller is assumed to have type checking on, it seems safe. If desired, I can make it more robust at runtime (but more complex).

Yeah I noticed it is, there are 1001 ways this could go wrong (should even by putting tff as kword arg) but I'll just say I don't care! The param and handling is gonna get deleted in 2 months anyways so
Thanks!

authors: Setsugennoao astiob


text:
Stop coming and ruining C++

I don't want xwin. Don't push xwin to other people in LLVM. You come to my PR and ruined it.
This thing doesn't work since Microsoft headers are not case sensitive and it does not support libc++.
https://github.com/trcrsired/windows-msvc-sysroot/tree/main
You rust guys should stop pushing your religion to other people. Full stop

https://github.com/llvm/llvm-project/pull/96417#issuecomment-2297916067

Thank you for the laughs.

Thank you for the laughs.

Laughs? You do realize this does not work? Rust folks always come and destroy things. Just like you guys destroyed wasm

You do realize this does not work?

And yet I've been using it for years to produce Windows binaries from Linux.

Rust folks always come and destroy things. Just like you guys destroyed wasm with crap like wasip2. No wonder why linux community does not want the junk.

You seem mad. Maybe you should go outside and touch grass.
I didn't respond to your initial comment, so I guess I'll do that now since you seem persistent.

I don't want xwin.

Great, don't use it.

Don't push xwin to other people in LLVM

"push" implies that I have some control over other's decision making, I don't.

You come to my PR and ruined it.

I did not come to your PR and ruin it, in fact you were the first one to bring up this project in this comment https://github.com/llvm/llvm-project/pull/96417#issuecomment-2211421414, so by your logic, you're the one who "ruined" your PR.

This thing doesn't work since Microsoft headers are not case sensitive

Yes, which is why symlinks are created to fix various casing issues.

You rust guys should stop pushing your religion to other people. Full stop

Again, thanks for the laughs.

You do realize this does not work?

And yet I've been using it for years to produce Windows binaries from Linux.

Rust folks always come and destroy things. Just like you guys destroyed wasm with crap like wasip2. No wonder why linux community does not want the junk.

You seem mad. Maybe you should go outside and touch grass.
I didn't respond to your initial comment, so I guess I'll do that now since you seem persistent.

I don't want xwin.

Great, don't use it.

Don't push xwin to other people in LLVM

"push" implies that I have some control over other's decision making, I don't.

You come to my PR and ruined it.

I did not come to your PR and ruin it, in fact you were the first one to bring up this project in this comment llvm/llvm-project#96417 (comment), so by your logic, you're the one who "ruined" your PR.

This thing doesn't work since Microsoft headers are not case sensitive

Yes, which is why symlinks are created to fix various casing issues.

You rust guys should stop pushing your religion to other people. Full stop

Again, thanks for the laughs.

symlink hack is simply wrong. I do not know whether you have ever used mingw-w64, it should be the same as gnu target since everything is lower case in mingw-w64.
No libc++ support and what are you going to do?
Rust always brings overengineering bs and your project proves it. I do not know why you create a crate for this since the right way should use sysroot to rebuild rust std.

authors: Jake-Shadle trcrsired

repo: Jake-Shadle/xwin


text:
French translation

I just added a first french translation, including the new notifications strings.

Switched to two-space indent and merged manually. Thanks!

authors: JakeWharton arnaudruffin

repo: JakeWharton/Telecine


text:
Change EnumPreference implementation to match StringPreference

Would a pull request changing the implementation of EnumPreference to match that of the other typed preferences, such as StringPreference be welcome?
The proposed replacement for the class is in this gist: EnumPreference.java

EnumPreferences is written that way so MockGithubService can have generic methods for loading/getting/setting the responses. If we change to using EnumPreference then we'll need to instantiate one for each mock response. For u2020 this is fine since there's only one, but it quickly grows out of control as you add more endpoints (we have over 30 internally).
That's not to say that EnumPreference is a bad idea. We have one as well, but there's no use for it right now in this project.

authors: dkozel mattprecious


text:
using JsonConvert.DeserializeObject, get Error: An item with the same key has already been added

{      "user":"bpan",    "Person":{         "groups":"FNC-PRI-APP-SUNDB-ETOR-A,FNC-PRI-APP-SUNDB-EDIT-B",       "domain":"adm",       "mail":"bpan@sdu.dk",       "sn":"Pan",       "gn":"Benzhi",       "cn":"Benzhi Pan",       "eo":"BQHLJaVTMr0eWsi1jaIut4Ls/pSuMeNEmsWfWsfKo=",       "guid":"9A38CE8E5B288942A8DA415CF5E687",       "employeenumber":"2674",       "omk1":"930",       "language":"da"    },    "XMLResponce":"<?xml version='1.0' encoding='iso-8859-1' ?>\n<cas:serviceResponse xmlns:cas='http://www.yale.edu/tp/cas'>\n\t<cas:authenticationSuccess>\n\t\t<cas:user>bpan</cas:user>\n\t\t<norEduPerson>\n\t\t\t<groups>FNC-PRI-APP-SUNDB-EDOR-A,FNC-RI-APP-SUB-EDITOR-B</groups>\n\t\t\t<domain>adm</domain>\n\t\t\t<mail>bpan@sdu.dk</mail>\n\t\t\t<sn>Pan</sn>\n\t\t\t<gn>Benzhi</gn>\n\t\t\t<cn>Benzhi Pan</cn>\n\t\t\t<eo>BQHLJaVTMr0eWsi1jaIut4Lsfr/pSuMeNEmsWfWsfKo=</eo>\n\t\t\t<guid>9A38CE8E5B288942A8DA415C2C687</guid>\n\t\t\t<employeenumber>274</employeenumber>\n\t\t\t<omk1>930</omk1>\n\t\t\t<language>da</language>\n\t\t</norEduPerson>\n\t</cas:authenticationSuccess>\n</cas:serviceResponse>\n",    "Language":1,    "Groups":[         "FNC-PRI-APP-SNDB-EDOR-A",       "FNC-PI-APP-SUNDB-EDOR-B"    ],    "Domain":"adm",    "Mail":"bpan@sdu.dk",    "Surname":"Pan",    "Givenname":"Benzhi",    "CommonName":"Benzhi Pan",    "OrganizationName":null }
I attach my object class here, would anyone help please.
CASResponce.txt

Thanks. Fixed https://github.com/JamesNK/Newtonsoft.Json/commit/570a7ca0789a0716c03a64df071517f8d697bdbe


text:
SerializeObjectInternal has a memory leak

I believe that SerializeObjectInternal is causing a memory leak.  This appears in the 12.0.2 source code.  I did not do a search for other instances of StringWriter.
Here is how it is currently written:
// Newtonsoft.Json.JsonConvert private static string SerializeObjectInternal(object value, Type type, JsonSerializer jsonSerializer) { 	StringWriter stringWriter = new StringWriter(new StringBuilder(256), CultureInfo.InvariantCulture); 	using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter)) 	{ 		jsonTextWriter.Formatting = jsonSerializer.Formatting; 		jsonSerializer.Serialize(jsonTextWriter, value, type); 	} 	return stringWriter.ToString(); }
I believe that the StringWriter object should be enclosed within a using statement like this:
// Newtonsoft.Json.JsonConvert private static string SerializeObjectInternal(object value, Type type, JsonSerializer jsonSerializer) { 	string result; 	using(StringWriter stringWriter = new StringWriter(new StringBuilder(256), CultureInfo.InvariantCulture)) 	{ 		using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter)) 		{ 			jsonTextWriter.Formatting = jsonSerializer.Formatting; 			jsonSerializer.Serialize(jsonTextWriter, value, type); 			result = stringWriter.ToString(); 		} 	} 	return result; }
NOTE:  I did a search through code for StringWriter, StringReader and MemoryStream objects that weren't enclosed in a using.  I found them in the following code files:
JsonConvert.cs
JsonSerializeInternalWriter.cs
JsonValidatingReader.cs
JsonSchema.cs
DeserializeComparisonBenchmarks.cs
SerializeComparisonBenchmarks.cs
I hope this helps.

You don't need to dispose those types because they don't use unmanaged resources. The memory and strings are GCed along with the streams.

authors: CXTjuan JamesNK


text:
read_xmile problem when stock has no flows

I stumbled upon what I think is a related error in parsing XMILE from a Stella file XMILE. Having a stock without a flow seems to cause all kinds of problems. In some ways, it's a trivial situation, but problematic nonetheless since one might have stocks without flows as a placeholder while one is building a model.
Here's the chunk of a model without a stock that fails to import:
	<variables>
		<stock name="Stock">
			<eqn>50</eqn>
			<non_negative/>
		</stock>
	</variables>

Here's the chunk of a model with a flow that does work:
	<variables>
		<stock name="Stock">
			<eqn>50</eqn>
			<inflow>Flow_1</inflow>
			<non_negative/>
		</stock>
		<flow name="Flow 1">
			<eqn>0</eqn>
			<non_negative/>
		</flow>
	</variables>

Originally posted by @peterhovmand in https://github.com/JamesPHoughton/pysd/issues/198#issuecomment-456565300

HI @peterhovmand
This should be solved in #312

authors: enekomartinmartinez peterhovmand

repo: JamesPHoughton/pysd


text:
Api updates

Added API updates to match latest API version and added some new methods

How about adding this as pull request on the repo of loduis? Well, I'm not sure if he will still continue to maintain it...

That's the problem, i made some requests to the repo of loduis to no avail so created this fork

I have push rights to this repo now so you can send me pull requests ;)

Would you merge this PR ?

authors: JamieBuckell apsylone simonschaufi

repo: JamieBuckell/TeamWorkPmPhpApi


text:
Errors

Notice: session_start(): Ignoring session_start() because a session is already active in C:\xampp\htdocs\staff\functions.php on line 2
Warning: Undefined array key "code" in C:\xampp\htdocs\staff\index.php on line 17
Warning: Undefined array key "is-logged-in" in C:\xampp\htdocs\staff\functions.php on line 25
errors i get on the login page
Errors when trying to get to the panel
Notice: session_start(): Ignoring session_start() because a session is already active in C:\xampp\htdocs\staff\functions.php on line 2
Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($var) must be of type Countable|array, string given in C:\xampp\htdocs\staff\index.php:17 Stack trace: #0 {main} thrown in C:\xampp\htdocs\staff\index.php on line 17

You can solved it?

I get the same errors

authors: GamenHaaDee shadls thefurrycanadian

repo: JaredScar/BadgerStaffPanel


text:
TOO many GIRLFRIEND

i trying to game ALL weekEND but there are entirely TOO MANY girlfriend

girlfriend GONE


text:
fix: wifi menu scrollable

before the pr, the wifi menu would stretch which would could cause the menu to fill the entire vertical width if there were 15-20 + wifis

The menu is made a scrollable so it has a constant height irrespective of how many networks are available
Kooha-2024-11-08-09-07-42.webm

Can we add scrollbar styling similar to how it is in the settings dialog (maybe thinner)? That way users know when hovering over the menu that there are more elements to scroll. We may need to do the same for bluetooth.

authors: Jas-SinghFSU rubiin

repo: Jas-SinghFSU/HyprPanel


text:
fix: file uploads

Fixes issues with CKEditor not displaying an image after upload
Integrated gallery uploader with pop up dialog, fixing uploading ability

Thank you @illiphilli!
We should process this one -- and cut a release -- quickly.

authors: drewwills illiphilli

repo: Jasig/SimpleContentPortlet


text:
Words added to the project cSpell.json are not getting picked up.

Any changes to the cSpell.json file should get imported.
Notes:
It is acting like the file watcher has stopped working.

Fixed with 1.3.1

repo: Jason-Rev/vscode-spell-checker


text:
Unexpected token (support for older node version)

Hi Jason,
Great library and really good to see you using TS. We're using cspell as part of our CI pipeline and for one project we are deploying to AWS Lambda. That forces us to build using node v4.3 which doesn't support the ES2015 output you are targeting in your TS config.
This results at build in
/home/ubuntu/email-adapter/node_modules/cspell/dist/app.js:10
    const { uri = '', row, col, text } = issue;
          ^

SyntaxError: Unexpected token {

I think older versions could be supported by targeting ES3 - unless of course you're using any ES2015+specific features that TS doesn't account for?
Thanks,

When I wrote cspell (it was part of another tool) and targeting ES2015 made sense.  I was not thinking about backwards compatibility with Node 4 or earlier.
I now realize that it limit its use in many production environments.  I don't have an easy fix.  I made extensive use of Map, Set, and Iterators.  The TS team was working on back porting these concepts to ES5 and maybe ES3.  If they do that, then it might be possible to compile for those modes.
Have you tried: https://www.npmjs.com/package/nexe (I have not) but it might allow you to package cspell so it can run on AWS.

Thanks I'll take a look

I have been thinking about ways to do this.
Question: Couldn't you use Node 6.10?  cSpell runs just fine on Node 6.
AWS says it supports Node 4.3 and 6.10
I am guessing you are running cSpell in your CI environment and not on AWS.  If your CI environment has NVM, then you can run cSpell like this: nvm exec 6 ./node_modules/cspell/dist/app.js

I was able to get it working using nvm. I don't have time to make an executable at this time.
I'll close for now. If more people want this, then would consider making binary.


text:
do notation

Based on the Monad implementation, we should be able to explain Haskell's do notation, potentially creating an emulation of it as well.
Take a look at an existing do notation crate https://github.com/TeXitoi/rust-mdo for an inspiration.
References:

https://en.wikibooks.org/wiki/Haskell/do_notation
https://docs.scala-lang.org/tour/for-comprehensions.html
http://learnyouahaskell.com/a-fistful-of-monads

Yes, please impl Monad for more types and provide a do-notation like rust-mdo :)
I'm really looking forward to this..

authors: Boscop JasonShin


text:
我现在发现一个读写问题

我有个蓝牙芯片，使用这个去连接然后写入2137，正常会返回一串数据。但是现在我发现当我不调试会抛出BleException的102异常信息，而我调试一步步的走则能得到这串数据。这是什么鬼？

跟踪后发现是这里出错了：
在BleConnector类的writeCharacteristic方法中
return handleAfterInitialed(getBluetoothGatt().readCharacteristic(getCharacteristic()),
bleCallback);
getBluetoothGatt().readCharacteristic(getCharacteristic())返回的是false，看到日志信息是：
readCharacteristic: mDeviceBusy = true, and return false
不知道为啥。我调试没问题，正常运行就有错，难道是调试时执行的慢可以得到，正常就繁忙？没道理啊，我点的也不快。

onInitiatedResult(boolean result) 返回什么值？

知道原因了，readCharacteristic这个必须在onCharacteristicRead方法执行了才返回true的，而你这个值同步方法，所有直接运行时false（原因是onCharacteristicRead还没有被调用）。这个地方算是一个bug。

再次跟踪，发现注释掉这个方法的调用就可以成功获取：
setCharacteristicNotification
我不知道这个设置通知的作用是什么。

我几天碰到楼上问题，读设备名称，版本没有问题，但是当读取电池电量时候，就读不出来了，跟踪发现
/**
* read
*/
public boolean readCharacteristic(BleCharacterCallback bleCallback, String uuid_read) {
if (getCharacteristic() != null
&& (characteristic.getProperties() & BluetoothGattCharacteristic.PROPERTY_READ) > 0) {
        BleLog.d(TAG, getCharacteristic().getUuid()
                + "\ncharacteristic.getProperties(): " + getCharacteristic().getProperties()
                + "\ncharacteristic.getValue(): " + Arrays.toString(getCharacteristic().getValue()));

       // setCharacteristicNotification(getBluetoothGatt(), getCharacteristic(), false, bleCallback);
        handleCharacteristicReadCallback(bleCallback, uuid_read);
        return handleAfterInitialed(getBluetoothGatt().readCharacteristic(getCharacteristic()), bleCallback);

    } else {
        if (bleCallback != null) {
            bleCallback.onFailure(new OtherException("this characteristic not support read!"));
            bleCallback.onInitiatedResult(false);
        }
        return false;
    }
}

我中间注释的那行代码 setCharacteristicNotification(getBluetoothGatt(), getCharacteristic(), false, bleCallback); 出现问题，在进行读的时候去去打开通知，执行了write操作，导致读失败，解决方法，把那行代码注释就可以了。

authors: Heyxiang Jasonchenlijian Xanthuim

repo: Jasonchenlijian/FastBle


text:
Keep crashed

your example instagram for android keep crashed when multiple click on bottom menu

Hi, could you give a bit more info on how I can replicate this?
For example what device you're using, what I need to do to replicate, etc.
That would be super helpful for debugging. Thanks!

Also, if anyone else is seeing this, please share! I have two devices but am having trouble replicating, so any guidance would be helpful.

@gliechtenstein i have 2 devices produced same result (crashed). you may try click these two buttons 4-5 times repeatedly.

OK, I think this should be fixed with https://github.com/Jasonette/JASONETTE-Android/commit/1f7b702882b3f1e0f9e5e0a50a25f247e408f97e
Could you check? Thanks!

Haven't heard back, and we've been using this feature with no problem for a while now, so closing this.

repo: Jasonette/JASONETTE-Android


text:
Async Daemon - StaleSequenceThreshold not being honored properly

The StaleSequenceThreshold gets added to the Timestamp of the last tracked (_current) HighWaterStatistics. If there is a time break in events larger than the last time the current statistics was updated, the StaleSequenceThreshold gets rendered useless. The StaleSequenceThreshold should be getting applied to the last time a non-stale status was polled.
Example of what happened to our production environment:

StaleSequenceThreshold is set to 10 seconds.
We had a time break in events of around 11 seconds.
The next event that came in was a larger event, that does a bit more processing.
Marten had pulled the nextval for the sequence of that event
Highwater agent ran, detected stale because the HighwaterMark hadn't been updated to the nextval of the sequence yet
StaleSequenceThreshold was compared against the Timestamp of the last change, around 11 seconds ago, making the safeHarborTime be less that the statistic Timestamp
The statistics CurrentMark was the same as the tracker HighWaterMark (since the db update hadn't been applied yet, just a nextval sequence pull), meaning the agent looped on the 250 ms fast polling time until finally the agent could find a SafeHarborSequence, which ended up being one event after, causing an event to be skipped

I believe the fix for this is straight forward, and I am going to be submitting a PR shortly. I think all that needs to happen is the _current statistics need to be updated (really only the Timestamp) anytime progress is marked and the status is CaughtUp.

Closed by #2371.
Thanks @ericgreenmix!

authors: ericgreenmix jeremydmiller

repo: JasperFx/marten


text:
PrimaryKey struct should be borrowed by default

Now .clone() is called on the PK fields. Create 2 structs:

Borrowed
Owned

https://github.com/Jasperav/cdrs_orm/pull/5


text:
feature: "Only show active spaces"

Implemented "Only show active spaces" as a option in preferences which will hide all non-active space numbers from showing on the menubar display.
This button gets auto-disabled when the "Rectangles" style is selected since it would just end up showing a singular rectangle for each monitor that does not convey any information.
I primarily wrote this change since the notch on Apple Silicon iterations of the MacBook Pro means that there is very limited menu bar icon real estate that the inactive desktop numbers/icons would potentially completely cover if they can even fit on the menu bar in the first place (in the case of having many virtual desktops open).
This PR would address #14, #23
Screenshots
Note: the virtual desktop configuration I have in these screenshots is 9 virtual desktops on the left monitor and one on the right monitor. In addition to this, I have the JankyBorders app active so ignore the blue border around the preference window.
Previous behavior (disabling newly-added checkbox "Only show active spaces")

New behavior

Disabled when "Rectangles" style is chosen

Is there any chance that this pull request will be merged?

authors: Artawower lxsavage

repo: Jaysce/Spaceman


text:
Key vote indicator on vote page

There should be some indicator that CQ or another source considers a roll call vote key on the vote page.

Dupe?

authors: aaronrudkin adamboche

repo: JeffreyBLewis/WebVoteView


text:
InvoiceApi.GetInvoiceListInfoAsync包含无意义的参数encryptCode

(*** 此版块专为反馈bug及提交需求服务，不负责解答开发问题，请勿发表开发问题，
如果您需要这方面的帮助，请移步问答社区：https://weixin.senparc.com/QA ***)
问题描述
InvoiceApi.GetInvoiceListInfoAsync方法存在无意义且未被使用的参数encryptCode，这是获取单个发票时的参数一部分，批量获取时该部分已被包含在List实体中
发现问题的模块

[ ] Senparc.Weixin.MP 版本：16.4.3.2

@niktac 麻烦检查一下是否有这个问题？

authors: JeffreySu fdstar

repo: JeffreySu/WeiXinMPSDK


text:
AccessToken的过期时间好像没有刷到缓存里去

此版块专为反馈 bug 及提交需求服务，不负责解答开发问题，请勿发表开发问题，
如果您需要这方面的帮助，请移步问答社区：https://weixin.senparc.com/QA

问题描述

这里计算了过期时间后，后续代码没有看到有更新到缓存中的操作，导致每次都会去获取新的token。是有其它设计考虑还是有什么我没有看到的地方做了这一步吗？
重现问题步骤（如果可以）
微信官方文档 URL
微信官方文档快照（直接复制关键内容到下方）
发现问题的模块

[ ] Senparc.Weixin 版本：
[x] Senparc.Weixin.MP 版本：14.10.13.0
[ ] Senparc.Weixin.MP.MVC 版本：
[ ] Senparc.Weixin.Open 版本：
~- [ ] Senparc.Weixin.QY 版本：~
[ ] Senparc.Weixin.Work 版本：
[ ] Senparc.Weixin.WxOpen 版本：
[ ] Senparc.Weixin.Cache.Redis 版本：
[ ] Senparc.Weixin.Cache.Memcached 版本：
[ ] Senparc.Weixin.Tenpay 版本：
[ ] Senparc.WebSocket 版本：
[ ] 其他模块：

模块对应的 .net 版本

[ ] .net 3.5
[ ] .net 4.0
[x] .net 4.5
[ ] .net standard 2.0
[ ] .net core 1.x
[ ] .net core 2.x
[ ] .net core 3.x
[ ] .net 5.x / 6.x

开发环境

[ ] Visual Studio 2015
[ ] Visual Studio 2017
[x] Visual Studio 2019
[ ] Visual Studio Code
[ ] 其他：

缓存环境

[ ] 服务器内存缓存（默认）
[x ] Redis 版本：
[ ] Memcached 版本：
[ ] 其他：

系统环境

[x] Windows，版本：
[ ] Linux，版本：
[ ] Mac，版本：
[ ] 其他：

联系方式
Email：
（也可将问题地址及联系方式发送到 www.jeffrey.su@gmail.com）

发布问题后，请保持对 issue 的关注，有时会有需要进一步沟通的信息，很长时间内没有得到答复的 issue 将被关闭。

缓存中只要是正确获取了AccessToken，是会一起记录有过期时间的，并且过期时间会自动管理，你不需要关心。。如果每次都去获取AccessToken，应该是缓存没有命中的问题，需要查一下缓存的读写是否正常。

我了一下您的代码，可能不是最新的，最新的有更新的命令：

https://github.com/JeffreySu/WeiXinMPSDK/blob/fa4b15d52af652196d5c988c9990f6bedd78e4c5/src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs#L209

我了一下您的代码，可能不是最新的，最新的有更新的命令：

https://github.com/JeffreySu/WeiXinMPSDK/blob/fa4b15d52af652196d5c988c9990f6bedd78e4c5/src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs#L209

@JeffreySu  Hi, 另外一个小问题。看到这里只是判断了token的过期时间，如果是微信端主动将token过期的情况下，是不是只能在调用具体API时来catch对应的error code来判断了？

我了一下您的代码，可能不是最新的，最新的有更新的命令：

https://github.com/JeffreySu/WeiXinMPSDK/blob/fa4b15d52af652196d5c988c9990f6bedd78e4c5/src/Senparc.Weixin.MP/Senparc.Weixin.MP/Containers/AccessTokenContainer.cs#L209

@JeffreySu Hi Jeffrey, 另外一个小问题。看到这里只是判断了token的过期时间，如果是微信端主动将token过期的情况下，是不是只能在调用具体API时来catch对应的error code判断是token过期继而再主动获取新的token？

对，这是一种方法，这个过程是自动的。从另外一个角度说，你不需要刻意去调用，任意一次调用API，一旦发现过期，都会自动重新获取 AccessToken，所以实际开发过程中可以不用考虑这个问题。

authors: JeffreySu a157147899 bestjkf


text:
Consolidate AspNetCore tests

At the moment, most of the AspNetCore tests are stored in the netcoreapp1 project (which is obsolete), and referenced via links in the netcoreapp2 and net46 projects.

Move the files into the net46 project
Link the files to the netcoreapp2 project
Delete the netcoreapp1 project

Done in 7f7748e

repo: JeremySkinner/FluentValidation


text:
🛑 CheckMK is down

In 7ab4ab0, CheckMK ($CHECKMK) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CheckMK is back up in d406771 after 38 minutes.


text:
added notes to all 4 sections of the prework study guide

added index html.

added missing branch featured/add-html

repo: Jerrika/prework-study-guide


text:
新手求教，直接扔到podfile里，下载不下来，还需要什么配置么

看提示 让你用这个命令 pod install --repo-update， 你的本地repo没更新 自然没有

@JerryFans 我的pod版本是1.12.1，是不是太老了，刚刚没指定版本，自动下载了1.5.3版本的库

这个应该没太大关系 我的比你还低。 主要看你本地仓库。 那你可以指定版本 如果没问题的话

authors: JerryFans hanxiaofeng

repo: JerryFans/JFPopup


text:
MethodTooLargeException with huge icon pack

Describe the bug
The build crashes despite fixed a similar bug https://github.com/JetBrains/compose-multiplatform/issues/4194
exception: exception: java.lang.RuntimeException: Error generating class file kotlinproject/composeapp/generated/resources/Res$drawable.class (compiled from [C:\Users\tipapro\Desktop\KotlinProject\composeApp\build\generated\compose\resourceGenerator\kotlin\kotlinproject\composeapp\generated\resources\Res.kt]): Method too large: kotlinproject/composeapp/generated/resources/Res$drawable.<clinit> ()V
exception: 	at org.jetbrains.kotlin.codegen.ClassFileFactory$OutputClassFile.asByteArray(ClassFileFactory.java:310)
exception: 	at org.jetbrains.kotlin.cli.common.output.OutputUtilsKt.writeAll(outputUtils.kt:33)
exception: 	at org.jetbrains.kotlin.cli.common.output.OutputUtilsKt.writeAllTo(outputUtils.kt:47)
exception: 	at org.jetbrains.kotlin.cli.common.output.OutputUtilsKt.writeAll(outputUtils.kt:52)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt.writeOutput(cliCompilerUtils.kt:134)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt$createOutputFilesFlushingCallbackIfPossible$1.invoke(cliCompilerUtils.kt:95)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.CliCompilerUtilsKt$createOutputFilesFlushingCallbackIfPossible$1.invoke(cliCompilerUtils.kt:93)
exception: 	at org.jetbrains.kotlin.codegen.state.GenerationStateKt$GenerationStateEventCallback$1.invoke(GenerationState.kt:412)
exception: 	at org.jetbrains.kotlin.codegen.state.GenerationStateKt$GenerationStateEventCallback$1.invoke(GenerationState.kt:411)
exception: 	at org.jetbrains.kotlin.codegen.state.GenerationState.afterIndependentPart(GenerationState.kt:363)
exception: 	at org.jetbrains.kotlin.backend.jvm.JvmIrCodegenFactory.invokeCodegen(JvmIrCodegenFactory.kt:366)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.runCodegen(KotlinToJVMBytecodeCompiler.kt:347)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli(KotlinToJVMBytecodeCompiler.kt:122)
exception: 	at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules$cli$default(KotlinToJVMBytecodeCompiler.kt:43)
exception: 	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:165)
exception: 	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:50)
exception: 	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:104)
exception: 	at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:48)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:101)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:79)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:43)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit(CLITool.kt:180)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMainNoExit$default(CLITool.kt:175)
exception: 	at org.jetbrains.kotlin.cli.common.CLITool$Companion.doMain(CLITool.kt:167)
exception: 	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler$Companion.main(K2JVMCompiler.kt:250)
exception: 	at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.main(K2JVMCompiler.kt)
exception: caused by: org.jetbrains.org.objectweb.asm.MethodTooLargeException: Method too large: kotlinproject/composeapp/generated/resources/Res$drawable.<clinit> ()V
exception: 	at org.jetbrains.org.objectweb.asm.MethodWriter.computeMethodInfoSize(MethodWriter.java:2087)
exception: 	at org.jetbrains.org.objectweb.asm.ClassWriter.toByteArray(ClassWriter.java:489)
exception: 	at org.jetbrains.kotlin.codegen.ClassBuilderFactories$2.asBytes(ClassBuilderFactories.java:118)
exception: 	at org.jetbrains.kotlin.codegen.DelegatingClassBuilderFactory.asBytes(DelegatingClassBuilderFactory.kt:36)
exception: 	at org.jetbrains.kotlin.codegen.DelegatingClassBuilderFactory.asBytes(DelegatingClassBuilderFactory.kt:36)
exception: 	at org.jetbrains.kotlin.codegen.ClassFileFactory$ClassBuilderAndSourceFileList.asBytes(ClassFileFactory.java:343)
exception: 	at org.jetbrains.kotlin.codegen.ClassFileFactory$OutputClassFile.asByteArray(ClassFileFactory.java:307)
exception: 	... 25 more
exception:

Versions

Compose Multiplatform version: 1.6.0-beta02

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Create template KMP project
Add all icons from there

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: okushnikov terrakok tipapro

repo: JetBrains/compose-multiplatform


text:
Why DesktopPlatform change to internal 😲

androidx.compose.ui.platform.DesktopPlatform it's useful , I do not want to write same code 😣

https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/DesktopPlatform.desktop.kt has something like 4-5 real lines of code to copy to your codebase

It was added mostly for our internal purposes in the past, but we aren't ready to make it a public API yet, as there maybe problems in the future extending it. Word Platform is vague and doesn't tell what it returns (os/architecture/shell/etc).
You can use org.jetbrains.skiko.hostOs and org.jetbrains.skiko.hostArch instead, they are narrower in their responsibilities.

Thanks 😄, org.jetbrains.skiko.hostOs make it working. Maybe I should create a issue for  skiko about provide source.jar

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.

authors: Modificator igordmn kirill-grouchnikov okushnikov


text:
:zap: [qodana] QD-9162 Set QODANA_ORGANISATION_ID_HASH env from organ…

…izationIdHash field of response for license request.
Pull Request Details

Description

Related Issue

Motivation and Context

How Has This Been Tested

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

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

See my comments in https://github.com/JetBrains/qodana-cli/pull/416

authors: MekhailS avafanasiev

repo: JetBrains/qodana-cli


text:
adding kahana domain

to include an Open University student.

@chenkahana Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Hi @philipto,
Sadly, my university won't provide me with any of the required proof.
I am a student at The Open University in Israel and the university isn't providing Email addresses for students.
If nothing else could be done we can unfortunately close this PR.
Thanks

@chenkahana Thank you for the response! Yes, you are right. Let's close the request. Please apply for a free educational license with an official document that proves that you are a student. You can do it using the "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.

@chenkahana Thank you for the response! Yes, you are right. Let's close the request. Please apply for a free educational license with an official document that proves that you are a student. You can do it using the "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.

authors: chenkahana philipto

repo: JetBrains/swot


text:
Added unipar.txt

Added Universidade Paranaense

@hevertonfreitas Pull request merged. Thank you!

authors: hevertonfreitas philipto


text:
Create lighthousecoolbridge.txt

Add Lighthouse Cool Bridge Academy school.

@lynnellemmanuel Pull request merged. Please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!

Thank you sir

authors: lynnellemmanuel philipto


text:
Create iai-togo.txt

Adding my Educationnal university for make all students and teachers take advantage on using Jetbrains IDEs.
Website
School Mail Adress
Personnal Mail Adress
Thank you.

@bienvenu-elisis Pull request merged. Thank you!

authors: bienvenu-elisis philipto


text:
Create students.txt

Institution/School Name
{Orchard View HighSchool}
Instiution/School Website
{https://www.orchardview.org/}
Email Users
{first.lastname@students.orchardview.org}
Please place an x between the square brackets if yes
[x] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni
Education Levels
Please place an x between the square brackets if yes
[ ] Post-graduate research
[ ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[x] High School or equivalent
[ ] Elementary School or equivalent

Institution/School Name
{Orchard View HighSchool}
Instiution/School Website
{https://www.georgiancollege.ca}
Email Users
{andrew.tin@students.orchardview.org}
(didn't finish the last name in the email for privacy reasons.)
Please place an x between the square brackets if yes
[x] Students
[ ] Academic/Teaching Staff
[ ] Other/Support Staff
[ ] Alumni
Education Levels
Please place an x between the square brackets if yes
[ ] Post-graduate research
[ ] Graduate School
[ ] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[x] High School or equivalent
[ ] Elementary School or equivalent

@imwood04 Pull request merged. Thank you!


text:
Installtion

Détails de la santé du système
Core                               : 2024.11.0.dev0
Interface utilisateur    : 20240930.0
Checklist

[X] J'ai activé l'enregistrement des journaux de debug pour mon installation.
[X] Cette requête ne contient qu'un seul problème (si vous constater plusieurs problèmes, ouvrez un bug pour chaque problème).
[X] Ce problème n'est pas un doublon de problèmes précédents.

URL du site web de Veolia
https://www.service.eau.veolia.fr/homehttps:///espace-client/votre-consommation.html?vueConso=historique
Décrire le problème
après installation de l'intégration, sa configuration n'est pas possible
logs:
2024-11-21 16:04:16.162 INFO (MainThread) [VeoliaAPI] Logging in...
2024-11-21 16:04:16.901 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (None)

Étapes de reproduction

...
Journaux de débogage
2024-11-21 16:04:16.162 INFO (MainThread) [VeoliaAPI] Logging in...
2024-11-21 16:04:16.901 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session (None)

Hello,
C'est noté en gros dans les première lignes :
UNIQUEMENT compatible avec le nouveau site de Veolia : https://www.eau.veolia.fr/
(N'est pas compatible avec les sites suivant : service.eau.veolia.fr & espace-client.vedif.eau.veolia.fr)

Ok merci pour le retour ultra rapide.
en partant de cette adresse https://www.eau.veolia.fr/ , je rebascule sur l'URL indiquée donc pour moi c'était jouable.

Sur ce site j'avais accès aux nouvelles infos donc j'ai joué...
Désolé pour le dérangement, mais je ne serai pas le seul.


text:
How can I get the dataset?

I am very interested in your outstanding work. When will the dataset be available? Thank you!

We plan to release the dataset this weekend.

Thank you for your answer!

repo: JiaxiongQ/NeuSmoke


text:
[Bug]: java.lang.module.FindException: Module java.se.ee not found

Application
Outline Client
Describe the bug
I have used java 11 as mentioned in the requirements and which i tried to install the build-tools using following command.
$HOME/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-34" "build-tools;34.0.0"
it says you should use java 17 or above.
then i switched my java version to 17 and updated my Java home path in ~/.zshrc file and ran the same command. It's giving me following error.
$HOME/Library/Android/sdk/cmdline-tools/latest/bin/sdkmanager "platforms;android-34" "build-tools;34.0.0"
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
Steps to reproduce
When i run cordova requirements It gives following error.
npx cordova requirements android
Requirements check results for android:
Java JDK: installed 17.0.12
Android SDK: installed true
Android target: not installed
Command failed with exit code 1: avdmanager list target
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
Gradle: installed /opt/homebrew/Cellar/gradle/8.10.2/bin/gradle
Some of requirements check failed
Any help will be greatly appreciated.
What did you expect to happen?
No response
What actually happened?
No response
Outline Version
Latest
What operation system are you using?
Android
Operating System Version
Sequoia 15.0
Screenshots and Videos
No response

You need to switch to Java 11 when building Outline, even if you have installed Java 17. Did you follow https://github.com/Jigsaw-Code/outline-apps/blob/master/client/src/cordova/android/README.md?

You need to switch to Java 11 when building Outline, even if you have installed Java 17. Did you follow https://github.com/Jigsaw-Code/outline-apps/blob/master/client/src/cordova/android/README.md?

I have used java 11 and it gives me following error.
`npx cordova requirements android
Requirements check results for android:
Java JDK: installed 11.0.24
Android SDK: installed true
Android target: not installed
Command failed with exit code 1: avdmanager list target
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:527)
... 5 more
Gradle: installed /opt/homebrew/Cellar/gradle/8.10.2/bin/gradle
Some of requirements check failed`

Hi there,
We're closing this issue due to inactivity. We haven't heard back from you in a while, and aim to keep our issue tracker organized.
If you're still experiencing this problem or have any additional information to share, please feel free to reopen this issue or create a new one.
Thank you for your understanding!

authors: sbruens sijjeel

repo: Jigsaw-Code/outline-apps


text:
Works like a charm!!! Thanks!

You can close this issue anytime :)

Thanks a lot

authors: JoaoLopesF mauriciojost

repo: JoaoLopesF/RemoteDebug


text:
Vimeo functionality in youtube???

 /**
     * Request an access token. This is the final step of the
     * OAuth 2 workflow, and should be called from your redirect url.
     *
     * @param string $code The authorization code that was provided to your redirect url
     * @param string $redirect_uri The redirect_uri that is configured on your app page, and was used in buildAuthorizationEndpoint
     * @return array This array contains three keys, 'status' is the status code, 'body' is an object representation of the json response body, and headers are an associated array of response headers
     */
    public function accessToken($code, $redirect_uri) {
        return $this->request(self::ACCESS_TOKEN_ENDPOINT, array(
            'grant_type' => 'authorization_code',
            'code' => $code,
            'redirect_uri' => $redirect_uri
        ), "POST", false);
    }

It would be nice to add the functionality of the vimeo.php extension in the youtube one. It would make it easier create proper structures in the programming.

Sorry, I don't understand your issue? Are you asking for Vimeo support?

No, I would suggest similar functionality in both extensions. I have the vimeo stuff up and running, while the youtube extension lacks what I would like to use. For instance, the aspect of receiving the access token from google is less convenient than in vimeo, where I can rely on a method (see initial posting) in order to receive it.

I'm not sure what you mean by "both extensions". This package only supports YouTube, vimeo.php does not exist anywhere in this package so I'm going to close this.

https://github.com/vimeo/vimeo.php
Is that so difficult to understand?

I'm sorry but your english isn't that great in your responses.
I asked you if you were requesting Vimeo support, and you responded with "No, I would suggest similar functionality in both extensions".
It seems like you are requesting Vimeo support, which I do not plan on doing.
You might want to look at this package instead: https://github.com/vinkla/vimeo

authors: JoeDawson thorstenHe

repo: JoeDawson/youtube


text:
Load a tsParticles Preset

Hey there, thanks for your package!
How would I load a preset like: @tsparticles/preset-hyperspace
Maybe like this idk:
import { loadFireflyPreset } from "@tsparticles/preset-hyperspace"
import type { Container, Engine } from 'tsparticles-engine'

const onLoad = async (container: Container, engine: Engine) => {
  await loadHyperSpacePreset(engine);
}

Just adding the options from the presets is temporary workaround :)

Could you give an example of how to do this?

authors: JoniLieh humbertleonardo

repo: Joepocalyptic/nuxt-particles


text:
Maybe there's something wrong with this regex?

now:
/.?2/.test(5.2) // true

You can try this:
parseInt(info.version) === 2

https://github.com/JohnCampionJr/vite-plugin-vue-layouts/blob/b854833476f18667a374dbff3b1ba8877a6853ec/src/clientSide.ts#L12C1-L12C1

@l246804 Unfortunately, due to the release mechanism, these changes may not take effect, you may want to consider using vite-plugin-vue-meta-layouts in the meantime.
This has been fixed and re-released in this package
ref -> https://github.com/JohnCampionJr/vite-plugin-vue-layouts/issues/112

repo: JohnCampionJr/vite-plugin-vue-layouts


text:
'No such process' error

if self._subprocess.returncode is None:
    self._subprocess.kill()

Unless I add above if-statement in line 728(pybam.py), I get the following error:

Exception OSError: (3, 'No such process') in <bound method read.del of <lib.pybam.pybam.read instance at 0x3b1fcb0>> ignored

I found above workaround on the following documentation page:
https://docs.python.org/2.7/library/subprocess.html#subprocess.Popen.poll
which says

A None value indicates that the process hasn’t terminated yet

I was using Python 2.7.5 with Mixed Parser Example pattern given in the readme file
--mahmut

Thank you for this fix mahmut, I will add your code to pybam immediately :)
I will also add the fix to lines 217 and 221 because in theory the same error could happen there if the user has a binary called pigz/gzip, but it for some reason immediately exits.

authors: JohnLonginotto uludag

repo: JohnLonginotto/pybam


text:
Completion task not avaliable for OpenAI models

Hi,
I just started experimenting with langtest and came across one issue. I try to test model from Azure OpenAI endpoint. While runing tests on gpt-35-turbo i get following error:
The completion operation does not work with the specified model, gpt-35-turbo. Please choose different model and try again. You can learn more about which models can be used with each operation here: https://go.microsoft.com/fwlink/?linkid=2197993.
Haven't tested it with another models yet, since it is the only one endpoint that I have access to.
As far as I know, the way the models are called by openAI API has changed and now it uses ChatCompletion method instead of Completion. Is there any workaround for that?
Thanks!

Please be assured that we are working hard to make this feature available to you as soon as possible. We greatly appreciate your patience and understanding.

repo: JohnSnowLabs/langtest