ENHANCEMENT

Hello,
I have been trying to work with your ESP32 library with Firestore. I'm trying to set up the firebase_host, api_key, etc. But I'm having problems finding the right api_key, and the FIREBASE_HOST location. My suggestion is, could you please inform the location from where to find FIREBASE_HOST and API_KEY in the documentation.
I have a quick question. If I set up the firebase rules for only reading, writing if authenticate. Does your library will work with that?
Thanks, wish you the best.

The basic examples in README show how to setup.

The basic examples in README show how to setup.

I have checked now I got it, will your library work for Firestore?

I have checked now I got it, will your library work for Firestore?

It's not support Firestore now.
https://github.com/mobizt/Firebase-ESP32/issues/84
https://github.com/mobizt/Firebase-ESP32/issues/47

It's not support Firestore now.
https://github.com/mobizt/Firebase-ESP32/issues/84
https://github.com/mobizt/Firebase-ESP32/issues/47

For better performance, I choose gRPC instead of REST API
I'm looking for gRPC support from espresif.
https://github.com/espressif/esp-idf/issues/3352

For better performance, I choose gRPC instead of REST API
I'm looking for gRPC support from espresif.
https://github.com/espressif/esp-idf/issues/3352

Espressif release some ESP-VA-SDK which using gRPC and HTTP2 but it close source.
https://www.espressif.com/en/news/Google_Dialogflow_with_ESP32
https://github.com/espressif/esp-va-sdk

Espressif release some ESP-VA-SDK which using gRPC and HTTP2 but it close source.
https://www.espressif.com/en/news/Google_Dialogflow_with_ESP32
https://github.com/espressif/esp-va-sdk

Firesstore is not support API_KEY as you mentioned, it support only access or OAuth2.0 token.

Firesstore is not support API_KEY as you mentioned, it support only access or OAuth2.0 token.

The Cloud Firestore via REST API will be added support to the new Firebase ESP Client library in the next update.
The Firestore only support the id token using Email/password or custom JWT token and OAuth2.0 token for authentication.
The library supports these authentication methods.
Set the security rules for any function condition that allows public access other than request.auth is not secured.

The Cloud Firestore via REST API will be added support to the new Firebase ESP Client library in the next update.
The Firestore only support the id token using Email/password or custom JWT token and OAuth2.0 token for authentication.
The library supports these authentication methods.
Set the security rules for any function condition that allows public access other than request.auth is not secured.

The Firebase ESP Client library with Cloud Firestore supports is available.

The Firebase ESP Client library with Cloud Firestore supports is available.

@mobizt Hello, I'm trying to use the new Firestore library, but I'm getting the following error when attempting to upload the code:
Multiple libraries were found for "WiFi.h"
 Used: /Users/niltonsf/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
In file included from /var/folders/05/spv322w148v8nv75jdgv13th0000gn/T/arduino_modified_sketch_140502/sketch_jan29a.ino:10:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"
                          ^
compilation terminated.
 Not used: /Users/niltonsf/Desktop/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "SD.h"
 Used: /Users/niltonsf/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SD
 Not used: /Users/niltonsf/Desktop/Arduino.app/Contents/Java/libraries/SD
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.

@mobizt Hello, I'm trying to use the new Firestore library, but I'm getting the following error when attempting to upload the code:
Multiple libraries were found for "WiFi.h"
 Used: /Users/niltonsf/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
In file included from /var/folders/05/spv322w148v8nv75jdgv13th0000gn/T/arduino_modified_sketch_140502/sketch_jan29a.ino:10:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"
                          ^
compilation terminated.
 Not used: /Users/niltonsf/Desktop/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "SD.h"
 Used: /Users/niltonsf/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SD
 Not used: /Users/niltonsf/Desktop/Arduino.app/Contents/Java/libraries/SD
exit status 1
Error compiling for board DOIT ESP32 DEVKIT V1.

You should uninstall or remove SD.h library from third party because this SD.h is already exist in core library.
The SD.h from third party is not compatible with SD.h in core library, my library use the standard function of SD.h in core library.
When compiler choose the SD.h from third party instead of SD.h in the core library, the conflicts occurred and can't compile.

You should uninstall or remove SD.h library from third party because this SD.h is already exist in core library.
The SD.h from third party is not compatible with SD.h in core library, my library use the standard function of SD.h in core library.
When compiler choose the SD.h from third party instead of SD.h in the core library, the conflicts occurred and can't compile.

@mobizt Should I remove the WiFi and SD from the esp32/1.0.4/libraries? or from the Arduino library?
This other error is due to the WiFi and SD:
In file included from /var/folders/05/spv322w148v8nv75jdgv13th0000gn/T/arduino_modified_sketch_408802/sketch_jan29a.ino:21:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"

@mobizt Should I remove the WiFi and SD from the esp32/1.0.4/libraries? or from the Arduino library?
This other error is due to the WiFi and SD:
In file included from /var/folders/05/spv322w148v8nv75jdgv13th0000gn/T/arduino_modified_sketch_408802/sketch_jan29a.ino:21:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"

Remove only SD.h, the compiler breaks at that line and compiler reports other errors that are not accurate and not necessary.

Remove only SD.h, the compiler breaks at that line and compiler reports other errors that are not accurate and not necessary.

This issue  caused by you install the Arduino ESP32 Core SDK (tool chains and compiler) from Board Manager in Arduino IDE and from GitHub clone.
Which you need to choose only one installation method instead of install both methods as compiler found the same file appear in many locations and shows the errors.

This issue  caused by you install the Arduino ESP32 Core SDK (tool chains and compiler) from Board Manager in Arduino IDE and from GitHub clone.
Which you need to choose only one installation method instead of install both methods as compiler found the same file appear in many locations and shows the errors.

@mobizt I have removed both libraries and I'm not getting that error anymore. But I'm still getting this:
In file included from /Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/examples/Firestore/Create_Documents/Create_Documents.ino:21:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"

@mobizt I have removed both libraries and I'm not getting that error anymore. But I'm still getting this:
In file included from /Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/examples/Firestore/Create_Documents/Create_Documents.ino:21:0:
/Users/niltonsf/Documents/Arduino/libraries/Firebase-ESP-Client-main/src/Firebase_ESP_Client.h:38:26: fatal error: rtdb/FB_RTDB.h: No such file or directory
 #include "rtdb/FB_RTDB.h"

Please read my comment above, you make the conflicts in the installation of Arduino ESP32 core SDK from two sources.

Please read my comment above, you make the conflicts in the installation of Arduino ESP32 core SDK from two sources.

@mobizt I should remove the https://dl.espressif.com/dl/package_esp32_index.jsonfrom Additional Boards manager urls? Because I attempted to find another location for esp32 library but there is only one installed, the GitHub one is not installed.

@mobizt I should remove the https://dl.espressif.com/dl/package_esp32_index.jsonfrom Additional Boards manager urls? Because I attempted to find another location for esp32 library but there is only one installed, the GitHub one is not installed.

From this repos https://github.com/espressif/arduino-esp32#installation-instructions
You should choose only the first method instead or second method of install both methods.
First method is recommended.
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
If you already install using the second method like this
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/mac.md
You need to delete the folder /Documents/Arduino/hardware/espressif/esp32

From this repos https://github.com/espressif/arduino-esp32#installation-instructions
You should choose only the first method instead or second method of install both methods.
First method is recommended.
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
If you already install using the second method like this
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/mac.md
You need to delete the folder /Documents/Arduino/hardware/espressif/esp32

I have removed the library esp32 from Espressif, but I keep getting this:
WARNING: Error loading hardware folder /Users/niltonsf/Documents/Arduino/hardware/espressif
  No valid hardware definitions found in folder espressif.

I have added the first method and installed esp32 again with the new method

I have removed the library esp32 from Espressif, but I keep getting this:
WARNING: Error loading hardware folder /Users/niltonsf/Documents/Arduino/hardware/espressif
  No valid hardware definitions found in folder espressif.

I have added the first method and installed esp32 again with the new method

@mobizt I get the following error when trying to compile from this repository:
Traceback (most recent call last):
  File "esptool.py", line 57, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports.py", line 29, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports_posix.py", line 31, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports_osx.py", line 32, in <module>
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
exit status 255
/Users/niltonsf/Desktop/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board DOIT ESP32 DEVKIT V1

The repo I used was:
https://dl.espressif.com/dl/package_esp32_index.json

@mobizt I get the following error when trying to compile from this repository:
Traceback (most recent call last):
  File "esptool.py", line 57, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports.py", line 29, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports_posix.py", line 31, in <module>
  File "/Library/Python/2.7/site-packages/PyInstaller/loader/pyimod03_importers.py", line 389, in load_module
  File "serial/tools/list_ports_osx.py", line 32, in <module>
ValueError: dlsym(RTLD_DEFAULT, kIOMasterPortDefault): symbol not found
Failed to execute script esptool
exit status 255
/Users/niltonsf/Desktop/Arduino.app/Contents/Java/arduino-builder returned 255
Error compiling for board DOIT ESP32 DEVKIT V1

The repo I used was:
https://dl.espressif.com/dl/package_esp32_index.json

Your installation may not complete due to missing some dependencies files.
You should  reinstall Arduino IDE and install ESP32 Core SDK using this method again.
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md

Your installation may not complete due to missing some dependencies files.
You should  reinstall Arduino IDE and install ESP32 Core SDK using this method again.
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md

@mobizt I don't think that is a wrong installation, since I have done 2 fresh reinstalls and the library still gives errors

@mobizt I don't think that is a wrong installation, since I have done 2 fresh reinstalls and the library still gives errors

You need to update the latest library due to v 1.1.3 missing source files.

You need to update the latest library due to v 1.1.3 missing source files.

Sorry for this inconvenient because the files refactor.

Sorry for this inconvenient because the files refactor.

@mobizt
Hey, Where is the Firestore part in the new update. Haven`t seen any example with the name firestore.

@mobizt
Hey, Where is the Firestore part in the new update. Haven`t seen any example with the name firestore.


Fixed error by deleted variable. Updated conversion for Automation Studio 4.9

Thx for the feedback, I deleted the variable from the OPC configuration but kept AS on the older version


Clarify async fn return type

You guys are absolutely amazing. Thank you for all your hard work.
<3

Thanks for the PR!


:book:  add dex quickstart

Summary
Quick readme on how to run kcp with local dex instance for closer to real-life development.
Related issue(s)
Fixes #
Release Notes

NONE

/lgtm
/approve

/hold
few typos

Relates to this:
https://github.com/dexidp/dex/issues/1080
if we want to test locally and be "as close to production" as you can - we need simple group support. For now cherry-picked to my fork, rebased and pointing to fork.

/retest

/retest

/hold cancel


Security Fix for Cross-site Scripting (XSS) - huntr.dev

https://huntr.dev/users/alromh87 has fixed the Cross-site Scripting (XSS) vulnerability 🔨. alromh87 has been awarded $25 for fixing the vulnerability through the huntr bug bounty program 💵. Think you could fix a vulnerability like this?
Get involved at https://huntr.dev/
Q | A
Version Affected | ALL
Bug Fix | YES
Original Pull Request | https://github.com/418sec/editor.md/pull/2
Vulnerability README | https://github.com/418sec/huntr/blob/master/bounties/npm/editor.md/1/README.md
User Comments:
📊 Metadata *
Bounty URL: https://www.huntr.dev/bounties/1-npm-editor.md
⚙ Description *
filterHTML function has been enhanced to properly handle self closing html tags
💻 Technical Description *
filterHTML uses regExp to filter selectively but previous version won't match properly self closing tags leading to improper filtering, regExp has been updated
When using the 'on*' filter attributes where being loaded to Jquery object causing onload property execution
🐛 Proof of Concept (PoC) *
Insert in editor a self clossing element with event to execute code

Download editor.md
git clone https://github.com/pandao/editor.md
Go into directory
cd editor.md
Make the content available with any web server
php -S localhost:8080
open http://localhost:8080/examples/html-tags-decode.html
Filter code execution by clicking on Filter style,script,iframe|onclick,title,onmouseover,onmouseout,style
(No code should be executed with this Filter)
Insert element with payload usig the editor (New line is important):
sss
```

Code will be executed when passing the mouse over the image

🔥 Proof of Fix (PoF) *
After fix code execution is avoided as specified

👍 User Acceptance Testing (UAT)
Editor works properly after fix:
#Refs:
https://github.com/pandao/editor.md/issues/715
https://github.com/pandao/editor.md/issues/764
https://github.com/pandao/editor.md/issues/816
https://github.com/pandao/editor.md/issues/709
https://github.com/pandao/editor.md/issues/701
https://github.com/pandao/editor.md/issues/700

似乎一定程度上解决了，但是并没有完全解决
问题行
 var text = (typeof el[1] !== "undefined") ? $(el[1]).text() : "";
测试样例：
sdasda dsdfs
将 $(el[1]).text()变更为$4即可


write to socket blocks even select returns 1

Hi,
following issue:
I use select to test if a write to a socket will block. This does work on Windows and on Linux but not on WSL. A write blocks even select returned 1. Code runs on native Ubuntu 14.04 as expected (prints "TIMEOUT" after two seconds). On WSL it never returns and hangs inside the write.
This is the last output from strace:
select(4, [], [3], [], {2, 0})          = 1 (out [3], left {1, 999998})
write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
select(4, [], [3], [], {2, 0})          = 1 (out [3], left {1, 999998})
write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096
I use Version 10.0.14393. I attach the server and the client code. Please compile, start server and the client (needs IP of the server as argument, I used localhost for testing). It does not matter how much data is written. Even if one writes only 1 byte it hangs after some time.
Robert
client.txt
server.txt

@RobertFromBerlin - Nice catch! We are failing to mark the EPOLL as not-writable when the send buffer is filled up. I have opened a bug to track this. Thanks for reporting this and trying out WSL.

Just an update that this issue has been fixed in the dev branch and the fix should soon make it to the release branch. Thanks again for the bug and the detailed repro.

This should be fixed in 15002. Please validate and let us know if the issue persists. Thanks @RobertFromBerlin for reporting the issue with easy to repro steps.

It's fixed. All of our test fixtures now passes :-)

@RobertFromBerlin - Glad to know. Will close this issue out soon. Just out of curiosity, what text fixtures are these (if that is something you can disclose)?

For our customers we have a specific API (OS abstraction layer: network, files, timers, threads, sockets, ...). We do not share this code publicly but if we buy a sensor from our company you get it fro free ;-)
Just kidding, but the test fixtures are really stress the OS. So you did a great job - that same binary passes tests on Linux and WSUL.

Glad to know. Closing the issue out.


Thread leak. Count climbs to tens of thousands.

Getting reports of claims that 20,000 thread counts can accrue over time, with 0.17.0.
If this is true, it is likely a Group::Spawner bug. Will try to reproduce and resolve.

This is in fact being reproduced in one case where the thread count increases by one, every second. Will determine why, and patch.

@niamster you will see in a second that this is actually a bug in Task::Fibered caused by our quest to find the memory leak. I wonder why this occurs?


LICENSE for 0.1.0

Hi there,
Can you please specify which license apply on version 0.1.0 ?
Is it Apache License 2.0 or MIT License ? Cause Apache License 2.0 is listed although at the top MIT is mentioned.
Thank you

Hi @Silviu-Caprar, this repository migrated ti the MIT license in #7, but since then no new version has been released. If you take it exactly, version 0.1.0 is still licensed through Apache, but as of 09e02c87b89a8664d8388194623daf2800489b25 the code is licensed under MIT. If you're using the latest commit from the develop branch you're good to go to use the code with the MIT license applied on it.


Current Recall at 0 during actual training?

First I pretrained the model for a couple of epochs.
During pretraining the recall starts off around 50 or so and drops steadily (which seems to be normal).
However, when I start regular training, the recall is consistently [0]. Not sure what I could be doing wrong.
Here is my json file:
{
    "model" : {
        "architecture":         "Inception3",
        "input_size":           299,
        "anchors":              [2.95,6.42, 4.53,2.38, 6.91,3.16, 7.93,4.66, 8.46,7.42],
        "max_box_per_image":    12,
        "labels":               ["fish"]
    },

    "train": {
        "train_image_folder":   "C:/Users/Moondra/Desktop/ object Detection/train_image_folder/",
        "train_annot_folder":   "C:/Users/Moondra/Desktop/ object Detection/train_annot_folder/",

        "train_times":          30,
        "pretrained_weights":   "new_weights.h5",
        "batch_size":           20,
        "learning_rate":        1e-4,
        "nb_epoch":             15,
        "warmup_epochs":        0,

        "object_scale":         4.0,
        "no_object_scale":      1.0,
        "coord_scale":          2.0,
        "class_scale":          1.0,

        "saved_weights_name":   "new_weights.h5",
        "debug":                true
    },

    "valid": {
        "valid_image_folder":   "C:/Users/Moondra/Desktop/object Detection/valid_image_folder/",
        "valid_annot_folder":   "C:/Users/Moondra/Desktop/object Detection/valid_annot_folder/",

        "valid_times":          1
    }
}

Actually, after one epoch it seems to be increasing (non-zero numbers). I guess I need to train for a longer period of time.


Hi, can you please add the license, thanks

Hello, thinks for your advice, I have added the license.


plot_histogram doesn't always display in Jupyter notebook

Informations

Qiskit Terra version: master
Python version: 3.7
Operating system: MacOS 10.14.1

What is the current behavior?
Plot histogram doesn't always display output in a Jupyter notebook. I've discovered at least two cases:

If plot_histogram is inside an if block no output is shown
if more than one plot_histogram is used in a Jupyter cell only the last output is shown

Steps to reproduce the problem
Suppose we have multiple counts from some execution
counts0 = results.get_counts(0)
counts1 = results.get_counts(1)

The following produces no output plot:
if True:
    plot_histogram(counts0)

The following only returns 1 histogram (for counts1):
plot_histogram(counts0)
plot_histogram(counts1)

What is the expected behavior?
All the plot figures to display in the jupyter notebook
Suggested solutions

This is because Jupyter is displaying the histogram via the returned Figure object from the function instead of being drawn by the ipython matplotlib backend when the function returns (because we close the figure in the function). So Jupyter is treating the display of the plot like it would display any output from a variable in a cell.
This was a trade-off made for the 0.7 release as all the plotting functions now return a matplotlib figures instead of having no return type. If we didn't do this everytime you're getting a plot displayed now would print 2 plots. @nonhermitian and I looked at several options and this was the best tradeoff we found.

@mtreinish Is there a way to display multiple per cell using the figure object? Something like:
fig0 = plot_histogram(counts0)
fig1 = plot_histogram(counts1)
fig0.show()  # this doesnt actually work but something like this
fig1.show()

Or do we just have to ensure we only have one plot_histogram per Jupyter cell?
For me doing fig.show just prints the error:
/Users/cjwood/anaconda/envs/qiskit-dev/lib/python3.6/site-packages/matplotlib/figure.py:418: UserWarning: matplotlib is currently using a non-GUI backend, so cannot show the figure
  "matplotlib is currently using a non-GUI backend, "

Unrelated but another feature that would be nice for the plot_histogram is to have a kwarg to add a title above the plot like plot_histogram(counts, title="Results from experiment X")

@chriseclectic can you try:
%matplotlib notebook

plot_histogram(counts1).show()
plot_histogram(counts0).show()

I think that should do what you want. (which will change the backend to an interactive/GUI backend for jupyter so the show() method will work) I'm having trouble getting that backend to display on my system (with errors in the jupyter logs)  but it might just be an issue with the versions of everything I have installed.
As for the title kwarg, I'll quickly throw a patch together for that. It's a very easy change to make.

See https://github.com/Qiskit/qiskit-terra/pull/1459 for the PR adding the title kwarg.

%matplotlib inline
Also works


Broken docs link in README

Describe the bug
Link to documentation in README seems not actual.
https://redhatqe.github.io/openshift-python-wrapper/ocp_resources/index.html - shows 404.
To Reproduce
Click on doc link on the frontpage of this repository.
Expected behavior
Page with some meaningful content or no such references at all :)

Fixed, thanks for reporting.


motion with no object detection is resetting the record timout

This is a capture from 1.5.0-vaapi:latest that occured just a few moments ago:
[2020-09-30 12:45:58] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 9
[2020-09-30 12:46:01] [lib.nvr.cam03.object] [DEBUG   ] - Objects: [], message repeated 2 times
[2020-09-30 12:46:01] [lib.nvr.cam03.object    ] [DEBUG   ] - Objects: []
[2020-09-30 12:46:02] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 8
[2020-09-30 12:46:03] [lib.nvr.cam03.object    ] [DEBUG   ] - Objects: []
[2020-09-30 12:46:03] [lib.camera.cam03] [ERROR   ] - Unable to decode frame. FFMPEG pipe seems broken, message repeated 4 times
[2020-09-30 12:46:08] [lib.camera.cam03        ] [ERROR   ] - Restarting frame pipe
[2020-09-30 12:46:08] [lib.recorder.cam03      ] [ERROR   ] - Timed out
[2020-09-30 12:46:08] [lib.camera.cam03        ] [ERROR   ] - Successful reconnection!
[2020-09-30 12:46:14] [lib.nvr.cam03.object] [DEBUG   ] - Objects: [], message repeated 7 times
[2020-09-30 12:46:15] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 14
[2020-09-30 12:46:15] [lib.nvr.cam03.object] [DEBUG   ] - Objects: [], message repeated 2 times
[2020-09-30 12:46:16] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 13

Now I see that there was a streaming error (very common with cheap cameras, but UDP transport seems worse), but nowhere in the logs does the system seem to indicate that it found anything that should restart the timeout countdown timer.

Hmm hard to say what the problem is here.
Have you configured max_timeout for motion_detection?

I do; that is set for 10 minutes just as a starting point, but I may reduce that to 2-3 minutes. It's not the right control for this type of issue though, as something caused the countdown to restart and I'm suspecting it was the reconnection. Hopefully I'll have a few more windy days to test. :-)

the frame counter for max_timeout is only reset when an object with triggers_recording: true is found.
However, this doesnt seem like the max_timeout has kicked in yet, this is simply the motion detector being retriggered so i would say this is the expected behaviour.

I (think I) understand that, but in the log dump I included it appears that there were no objects detected between
[2020-09-30 12:46:02] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 8

and
[2020-09-30 12:46:15] [lib.nvr.cam03           ] [INFO    ] - Stopping recording in: 14

which is why I submitted the bug. Is there something in the reconnection (re-init of some motion or object detector class) which might reset the counter when a connection is (re-)established?

Ok - this raises another question -- it sounds like motion+object is required to start a recording, but motion only is enough to keep the recorder going.  Shouldn't !motion && !object be the criteria for stopping the recorder?

The recorder will not stop until no object adn no motion is detected. If max_timeout is reached, an object has to reappear in order to keep the recorder going.
Your logsnippet just tells me that motion was detected again after the reconnection to the camera. The motion detector runs in a separate thread and is only initialized on startup.

So the logic to start a recording (when trigger_detector: true) is motion && object, but the logic to reset the timeout is motion || object ? Shouldn't it be ! motion && ! object ?
The log seems to reflect that the timeout will reset if (only) motion is detected, and that means something like bushes moving in the wind will keep the recorder going even if the detected object (person, car, whatever) is no longer seen.

If you set timeout: true Viseron will wait until no object and no motion is detected to stop the recorder.
If you set timeout: false Viseron will wait until no object is detected to stop the recorder.

The log seems to reflect that the timeout will reset if (only) motion is detected, and that means something like bushes moving in the wind will keep the recorder going even if the detected object (person, car, whatever) is no longer seen.

Yes, but if you dont want this behaviour you set timeout: false

If you set timeout: true Viseron will wait until no object and no motion is detected to stop the recorder.

Don't you mean "no object OR no motion" in this case? That's exactly what I'm seeing: no objects, but rustling bushes are causing the recorder to keep resetting the timeout and thus continue the recording.
I hate to keep belabouring the point -- What you're stating should be happening and what appears to be happening do not seem to line up with timeout: true.
What I (think) I'm seeing:

trigger_detection: true : motion must be seen and object detected to start recording
trigger_detection: false: only object must be seen to start recording
timeout: true: motion OR object will reset the recording stop timer
timeout: false: motion does not play in to recording stop timer reset, recording will start counting down once objects are no longer seen

Sorry, english is not my first language so i might not be getting the point across.
But yes how you describe it is how it works.
This is the code snippet which controls the recordings.
If it returns True, the countdown will be reset
If it returns False, the countdown starts.
    def event_over(self):
        if self._trigger_recorder or any(zone.trigger_recorder for zone in self._zones):
            self._motion_max_timeout_reached = False
            self._motion_only_frames = 0
            return False

        if self.config.motion_detection.timeout and self.motion_detected:
            # Only allow motion to keep event active for a specified period of time
            if self._motion_only_frames >= (
                self.camera.stream_fps * self.config.motion_detection.max_timeout
            ):
                if not self._motion_max_timeout_reached:
                    self._motion_max_timeout_reached = True
                    self._logger.debug(
                        "Motion has stalled recorder for longer than max_timeout, "
                        "event considered over anyway"
                    )
                return True
            self._motion_only_frames += 1
            return False

        return True

The trigger_recorder variables is set to True when any object is found with triggers_recording: true
And yes i agree with you, timeout is not very good name for this config option

Closing due to inactivity, feel free to reopen if the issue persists


Travis CI tests fail randomly

The networking tests seem to fail or pass randomly. Usually restarting the build will fix the problem eventually. There might be a race condition at play.

Have not seen this recently. Closing.


Edge IE Mode no option to copy the xpath after doing an inspect element in Developer Tools

I am running selenium automation in Edge with IE mode on. If I inspect an element to find it's attributes, then right click on longer longer see the option to copy xpath. Can you help me?

Thanks for reaching out @julsjack. Unfortunately, this repository is about the documentation of the tool, not about the tool itself. Can you please ask your question again on this repository: https://github.com/MicrosoftEdge/EdgeWebDriver/issues
Thanks a lot!


circleci-cli: 0.1.0 -> 0.1.2307

We are also building from source now, instead of using a pre-packaged
version. This means we need Go. Also did minor refactors.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: circleci-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin
shrinking /nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin/bin/circleci-cli
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin/bin
patching script interpreter paths in /nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin
checking for references to /build in /nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/l851wsdc4bl9h87zj6n7npgfbrjw17i9-circleci-cli-0.1.2307-bin

Success on aarch64-linux (full log)
Attempted: circleci-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin
shrinking /nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin/bin/circleci-cli
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin/bin
patching script interpreter paths in /nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin
checking for references to /build in /nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/qkd7g9qzrx924fqbgvy6miyjkgkqkadn-circleci-cli-0.1.2307-bin

Success on x86_64-linux (full log)
Attempted: circleci-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin
shrinking /nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin/bin/circleci-cli
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin/bin
patching script interpreter paths in /nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin
checking for references to /build in /nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin...
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
/nix/store/pi190zl603j9d5c87c4k4b009n2w4irj-circleci-cli-0.1.2307-bin

Success on aarch64-linux (full log)
Attempted: circleci-cli
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin
shrinking /nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin/bin/circleci-cli
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin/bin
patching script interpreter paths in /nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin
checking for references to /build in /nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin...
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
/nix/store/azd1zkcczywj6x07pqi24yf7gd23nbgs-circleci-cli-0.1.2307-bin


Micro optimization for whitespace trimming of strings

Bug/issue #, if applicable:
Summary
This is a micro optimization to make String/removingLeadingWhitespace() and String/removingTrailingWhitespace() faster. This difference is only measurable in micro benchmarks.

I stumbled upon this code while reviewing something else and the repeated String copying irked me.
Using micro benchmarks I could confirm that using firstIndex(where:)/ lastIndex(where:) is faster for all amounts of leading and trailing whitespace. In the graphs below, all measurements are divided by the string length.
1 leading and 1 trailing space
" \(String(repeating: "A", count: n)) "

n leading and n trailing spaces
"\(String(repeating: " ", count: n))A\(String(repeating: " ", count: n))"

0 leading and 0 trailing spaces
String(repeating: "A", count: n)

Note that green compares to red and yellow compares to blue.

Dependencies
None
Testing
None. This isn't a change in behavior.
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[x] Added tests
[x] Ran the ./bin/test script and it succeeded
[x] Updated documentation if necessary

@swift-ci please test

@swift-ci please test


Handle 39 volumes for scsi device

Is this a bug fix or adding new feature?
Bug
What is this PR about? / Why do we need it?
To be able to mount 39 volumes per node for scsi device
And to solved for example:
2023-05-24T04:02:26Z : Warning : FailedMount : MountVolume.MountDevice failed for volume "pvc-5b47b495-a962-47cb-9deb-4962fb6f7a3b" : rpc error: code = Internal desc = Failed to find device path /dev/xvdaa. scsi path "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_sda" not found

What testing is done?
Unit test

Closes #733


DBZ-2407 Service creation util method for OCP tests

Fixing failing master

@jcechace Thanks, please fix formatting


Issues/16 data sharing

Creates a basic data-sharing process for the projectathon 7
improves the autostart KDS report process by using a signal event

resolves #16
resolves #20

Closing without merge because of wrong base branch main instead of develop. Commits have been merged into develop.


[BUG] Program called out a player from the personal list, but their ID was not there.

Describe the bug

Program marked an enemy player as a cheater and stated they matched a Steam ID from my personal list. My personal list was wiped 2 days ago, so there are only about 6 IDs in it, only 2 are marked as cheaters. I opened the personal list but was unable to find the name or Steam ID of the marked player. I believe the program marked this random player as a cheater because their name was "Festive Hitman", matching an old bot name and applying a transient mark.

To Reproduce

Steps to reproduce the behavior:

Join a game with someone using a common bot name.
Hover over their name in the program to see it's from the personal list.
Open the personal list, the name is not there.

Expected behavior

I expected that when the program tells me a name is from my personal list, I'd be able to find it there.

Logs

2022-12-05_21-10-42.log

Screenshots

No screenshots.

Desktop (please complete the following information):

OS: Windows 10
Version of bot detector: <IP_ADDRESS>4

yeah that's what a transient mark does
if you don't like it disable the official rules.json thing
if your complaint is about the wording of a message, then lol

probably


What does APPID refer to?

What does APPID refer to in the manifest?  Thank you!
  <!-- Access HMSSDK need to register AppID parameters. Value "${APPID}" is replaced
        with the actual application APPID,derived from the Developer affiliate website
        application. Format android:value= "appid=xxxxxx" -->
    <meta-data
        android:name="com.huawei.hms.client.appid"
        android:value="appid=${APPID}" />

AppID is the App's identification. You can get it from Huawei AppGallery.


Add version: TTKN.CNKIExpress version 0.0.4

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

/azp run


Merging top dev

Main features:

Accelerator complexes framework
Vector dot product accelerators (as demo)
L2 for bp softcore
No-L2 configurations for bp softcore and tile

@muwyse Give this a quick pass.  I iterated a lot with Zahra over the accelerator changes, so I think they're pretty solid but you may have some opinions since they touch the coherence system


harmonize VL tables

Since there are now description fields in 3 languages, shouldn’t there also be value fields in 3 languages ?


Update dependencies

Codecov Report

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

@@           Coverage Diff           @@
##           master     #884   +/-   ##
=======================================
  Coverage   63.71%   63.71%
=======================================
  Files         170      170
  Lines        9786     9786
=======================================
  Hits         6235     6235
  Misses       2770     2770
  Partials      781      781

Continue to review full report at Codecov.

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


💡[Feature]: Add light/dark mode toggle feature on About Us page .

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add light/dark mode toggle feature on About Us page .
Use Case
This will make the website look more attractive if features for two modes are present .
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Please assgn me this issue under GSSoC '24 i will work on it.

@meetarora10 please add it in all the other pages as well which does not contain i think the privacy and terms and condition already has it
add it in other pages i will update to 3 based on your pull request

@raju2109 please create a another issue its first come first serve you can create your own issue i will assign it to you

@aditya-bhaumik ok I will add in all the pages .


[Physical qubits]: Clarify interpretation of physical qubits

What is the expected enhancement?
From the documentation (https://openqasm.com/language/types.html#physical-qubits):

While program qubits can be named, hardware qubits are referenced only by the syntax $[NUM]. For an n qubit system, we have physical qubit references given by $0, $1, …, $n-1. These qubit types are used in lower parts of the compilation stack when emitting physical circuits. Physical qubits must not be declared and they are, as all the qubits, global variables.

At AWS, we accept OpenQASM programs in the service, and we allow users to submit programs with physical qubits. As a developer interpreting OpenQASM semantics for our customers, I have the following questions and proposals:

I propose that we relax the requirement that physical qubit indices must be consecutive. There are some quantum devices that are not labeled with consecutive indices, such as Rigetti's Aspen devices.
What is the definition of physical circuits?

My proposal, and assumption for the remainder of this issue: A physical circuit only has operations which are natively executable by the device without further decomposition. This includes that multi-qubit operations can be natively executed directly on that set of qubits, without additional SWAPs or routing between disconnected qubits.
The documentation states that physical qubits are needed for representing physical circuits. Can physical qubits also appear beyond physical circuits? If the answer is no, that implies that the answer to the following questions — about mapping, routing, and non-native gates, respectively — is also no.

If a program is has physical qubits, can those qubits be remapped by a compiler? I presume no, or else virtual qubits would be more appropriate.
Can a two-qubit operation be applied to two qubits that aren’t directly connected? In other words, can routing be done for a program with physical qubits? I expect this to be valid OpenQASM code, but ultimately up to the compiler / hardware provider whether to accept it.

For example, CNOT $0, $2; can be realized on a device with topology 0 <-> 1 <-> 2 by routing: SWAP $1, $2; CNOT $0, $1; SWAP $1, $2;

Can physical qubits be used with non-native gates? I expect this to also be valid, but again left to the discretion of the hardware provider whether to accept it.

For example, H $0; can be realized on a device with a basis gate set of {RX(pi/2), RZ(theta)} by compiling to RZ(0.5*pi) $0; RX(0.5*pi) $0; RZ(0.5*pi) $0;

Follow up AI: I will open a PR implementing my proposal taking into account feedback from today's meeting.
Notes from TSC:

What are valid physical identifiers?
Can physical qubits be a proper type?
Physical circuit: only references physical qubits and gates that have a defcal
What is meant by an executable / fully compiled program (with respect to a QPU)?
What happens if there's a mix of physical and virtual qubits? I propose we limit scope to circuits that have all physical qubits, and no virtual qubits.
Blake:

3 is up to the compiler / user, not the language.
4: definitely yes. Lev: in some cases this should be an error. Seems like it requires additional context from the user.

Here are a few thoughts
3
The spec should probably address the question in some way
a. The compiler is not allowed to remap physical qubits.
b. The compiler is allowed to remap physical qubits.
c. The compiler must provide an option to not remap physical qubits.
(a) seems a bit restrictive. But, following @laurencap 's comment, is there any semantic difference between on one hand doing a search and replace $n to qn and then letting the compiler choose a mapping to hardware qubits. And on the other hand allowing the compiler to remap already specified hardware qubits?
If (b) is chosen I can imagine a user being frustrated that a particular fully compliant OQ3 compiler will not respect their mapping choice.
My preference from most to least preferred is c, a, b. Languages that are defined by an implementation often have documented optional behavior like this. I'm not so sure about languages that are instead defined by a spec. In the latter case, we may want to define a pragma for this. But OQ3 designers have not yet waded into specific pragmas. It would be something like pragma no_remap.
Mixed virtual and physical qubits
Is it possible that a user is not satisfied with the mapping done by the compiler? The user then wants to fix a subset of the mapping and then allow the compiler to do the rest of the mapping.
We could
a. Forbid mixing virtual qubits. And consider relaxing this if users/implementers present a reasonable use case, such as the one above.
b. Specify that language implementers may optionally support mixing them.
c. Specify that the language allows mixing. Then some compilers (probably all of them at the moment) would be non-compliant.
I'm leaning towards (b). On the other hand, it's not much different from compilers advertising that they don't support mixing, and so they are technically non-compliant.  It seems like (a) and (b) are changeable decisions, moreso (a). Whereas restricting (c) latter would not be backwards compatible.

Resolved by #505


No information on SQL Server 2022 Preview w/ Azure Arc for Failover clustering and always on availability groups

Is there information available regarding the use of SQL Server With Azure Arc for Failover Clustering and Always On Availability Groups ?
The scenario isn't mentioned on the page currently and if it's not suitable for this it would be useful to state that here.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 311536ab-5069-dde9-026b-a8129b507ecb
Version Independent ID: 311536ab-5069-dde9-026b-a8129b507ecb
Content: Azure Active Directory (Azure AD) authentication for SQL Server overview - SQL Server
Content Source: docs/relational-databases/security/authentication-access/azure-ad-authentication-sql-server-overview.md
Product: sql
Technology: security
GitHub Login: @GithubMirek
Microsoft Alias: mireks

@danieltharris -- Daniel, thank you for your question.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@GithubMirek -- Mirek, please look into this issue.

@danieltharris I am considering closing this issue because at the time you asked, it was about pre-release software. Please let me know if you have any questions before I do.

Since we haven't heard from you in over three months, I consider this issue resolved.


why is username/password necessary for nifi-keycloak?

Hi, firstly thank you for your work.
Reading the documentation for nifi-keycloak, in authorizers.xml, why is username/password needed? I tried running nifi without those set, but ran into 401 unauthorized errors. Shouldn't the keycloak discovery url, client_id and client_secret suffice?

Hello, sry for the late reply!
the username and password is of a User that is allowed to access KeyCloak via KeyCloak API.
Right now I don't see a way to allow only a client (use a clientId and clientSecret) without specifying a (System-) user
The user needs to have the permission to use KeyCloak API.
I'm working on improving the documentation with a flow setting up a keycloak user for that


[Bug] Input component doesn't passing other props to html input element

When I use "ref" with an input, it is not possible to use it with React.

I checked and refs and ids are rendered in the parent div, not in the child input. That is not a correct behaviour. On top, this makes accessing refs a bit problematic. Even if you render ref correctly, you need to access ref in the child component not the parent one. It's a bit of a pickle.

I guess, the easiest way to do this is to expose property "value" on the Input component that returns value of the input. I can do a PR, but I'm not sure how you compile jsx into the lib and dist directory.

Confirmed. Another problem, it's passing ...other props to  wrapped to input not the input itself, so standard onChange, value, .etc won't work.
If you need ref to  element itself, we can make something like it:
<Input ref={ref => this.input = ref} />
///somewhere in handler/callback:
this.input.inputElement.value; // original HTML input element

but i'm not sure if it's a good way to do things, so question: Do you need just working  or you must use ref to the HTML input somehow ?

I think that the proper way would be to expose all the needed functionality on Input itself. Anthing else would be and look quite hacky.
e.g.
<Input ref="my" onChange={this.props.func}" />

// in code of Input

get value() {
    return this.props.input.value;
}

// and

<input
                onChange={this.props.onChange}
                key="input"
                ref="input"
                name={this.props.name}
                placeholder={this.props.placeholder} />

What do you think ?

So you want to work with input in uncontrolled component way? I wanted to turn simple components into functional style :disappointed:

Hmm, makes sense. Well, I leave it up to you then ;) What I proposed was simple, yet carried its own problems as you mentioned.

I think most react devs are using some kind of state container (redux, flux), so controlled API are on top priority. So just passing onChange, onBlur and standard callbacks to input element is fine in most cases. Even if ref or value will not be available in <Input> itself, you can easily to do it byself, by wrapping component, something like it:
class MyInput extends React.Component {
  constructor() {
    ...
    this.state = {
      inputVal: ''
   }
   onInputChange(val) {
      this.setState({ inputVal: val });
  }
  render() {
     return (<Input onChange={this.onInputChange.bind(this)} value={this.state.inputVal}>
  }
 // if you really need imperative API
  getMyValue() {
     return this.state.inputVal;
  }
}

Hm, i am think it not work, because.
let inputHTML = (
            <input
                key="input"
                name={this.props.name}
                placeholder={this.props.placeholder} />
        );

https://github.com/hallister/semantic-react/blob/master/src/components/elements/input/input.jsx

Yes, it won't work now, that's why i marked it as bug

New <Input> was landed by https://github.com/hallister/semantic-react/pull/71, see new examples


Custom Images - Run on full images

When trying to run model on a full image, it gives only the face part. How can I run the model for full images

Hi @tanisha605,
You will have to use a specific GAN for this action. For example StyleGAN-XL or StyleGAN-Human.
The facial pretrained GAN assumes the facial image is aligned and only looks at the face.
Of course you could always incorporate the edited facial image to the original image as they do in STIT

@danielroich Can you  give some code example  how to change the GAN model?
Or just replace this   in https://github.com/danielroich/PTI/blob/main/notebooks/inference_playground.ipynb

It is more complicated. "Full" (human body) image required usage of StyleGAN_Human model what has proportion 2:1 instead 1:1 of face FFHQ model. Moreover  StyleGAN_Human has num_ws=16 instead FFHQ num_ws=18. Sadly modification direction (age, smile, rotation) also has dimension of 18. Summary: this (original) PTI project do not support full body human image inversion and modification. For inversion use PTI fork from StyleGAN_Human project.  For modification... i am do not know. I am want advice myself.


surprising behavior with -instrument and godep

I am debugging a program that has a dependency on package foo, and I want to step into function calls in foo. So I run:
$ godebug run -instrument=foo myProg.go
godebug runs without complaint. Yet, to my surprise, I still can't step into foo. Why? Because I had forgotten that I was using godep. I would have been fine if I had instead run:
$ godebug run -instrument=my/package/name/Godeps/_workspace/src/foo
It would be nice if godebug caught this for me. At a minimum, it could have noticed that I didn't import package foo anywhere, and warned me that it was useless to pass that package in the instrument flag.
Alternatively, maybe we should get rid of the -instrument flag entirely. Having it sacrifices some usability for performance, but I don't understand the tradeoff very well. How much performance would we lose by instrumenting everything? Can we make that better? How often does the flag cause surprising behavior?

same issue.
having to declare package path:
$ godebug run -instrument=github.com/jesusjjf/myproject/package1,github.com/jesusjjf/myproject/package2 myproject.go
+1 on godebug being able to detect automatically
Awesome tool!!

+1 on the awesomeness of the tool
+1 on some way to handle this


Add test for canceling start in transport

Part of https://github.com/aspnet/AspNetCore/issues/10432
The other half was in a community pr

One thing I will say after looking into this is that we aren't very vigilant about checking cancellationTokens passed into methods. We do a lot of stuff before even acknowledging that the token might have already been tripped.

We do a lot of stuff before even acknowledging that the token might have already been tripped.

The general guidance is to avoid doing async things (establishing connections, sending requests, etc.) without checking the token. Interleaving a bunch of cancellation token checks among synchronous code paths doesn't really provide a lot of benefit since synchronous paths aren't too costly. Places where we have to wait for things to complete are where cancellation is really important.

From the issue:

We should add tests to verify that HubConnection.StartAsync() cancels both long-running negotiate requests, and long-running attempts to start all the built-in transports.

Can we add tests for the 3 transports?


Version 3.2.4 - Broken syntax highlighting

I'm not sure what changed from v3.2.3 to v3.2.4, but after Sublime updated, it broke a lot of my syntax highlighting that had had set up in my custom theme. It's as if a lot of the syntax terms completely changed.  Now my theme is a big hot mess that requires a lot of fixing to put things back to how they were. For now I'm just going to keep using v3.2.3 as it will take me many hours trying to get things back the way they were before.
Is there a reason the syntax language changed from v3.2.3 to v.3.2.4? Is this because of Sublime Text updates and requirements? I honestly don't know. What I do know is that it really messes up custom themes.

There's been no activity on this issue for a while, and from testing and feedback from other users, there appears to be no interference with the color scheme. If you continue facing issues, please feel free to reopen with more information like screenshots, a copy of your custom theme config so we can test, etc.


Support for LEGO EV3 31313

@michaelhwn Can this be modified to support Mindstorms EV3 too? I guess CAIT is supported for EV3. How should I go about to integrate it with EV3 31313? I'm trying to use it with an OAK-D camera and a custom object detection model.
Thank you so much for your help! Hoping to hear back from you soon.

Hi @dhruvsheth-ai, as we do not have plans to support the Mindstorms EV3, there isn't a ready-to-use flow in CEP to control the EV3. However, we have implemented a very basic EV3 control worker that you can use as a starting point to extend CEP for a complete EV3 control flow. I have outlined some steps below that you can refer to if you decide to do that:

Extend the ev3_control.py worker and implement all the motor/sensor function you need.
Add the ev3 control worker into the CEP's module_config. It will look like this:

        "robot_inventor_control": "RobotInventorControl",
        "ev3_control": "EV3Control",
        "control_service": {
            "class": "ControlService",
            "friendly_name": "Control Service",
            "worker_list": [
                "robot_inventor_control",
                "ev3_control"
            ]
        }
    }

Modify and extend the core interface of CAIT so that it can take in an EV3 address for initialization.
Modify/Add any motor/sensor control function in the core module so that the control commands match your implementation in Step 1. One example of such function can be found here.
Setup your EV3 Hub according to this guide.
Modify the example you referenced so that it works with the changes you made in Step 1-4.

Please don't hesitate to contact us if you have any other issues.

Hi @michaelhwn for the detailed info! We'll try it out this week and let you know how it goes!

Hello @michaelhwn I was trying to pair EV3 via bluetooth to raspberry pi through the instructions given here however the EV3 wouldn't pair with the Raspberry pi. It momentarily connects (2 seconds) and disconnects right after that. I tried connecting EV3 via bluetooth to my smartphone and it paired successfully and displayed the 'network connection' prompt after connecting. However, this isn't the case with Raspberry Pi. I tried following these guides too:
http://www.abrowndesign.com/2018/10/25/sending-bluetooth-messages-from-raspberry-pi-to-lego-ev3-stock-firmware/
however, it didn't work. I'm not sure if this is an issue that's related to CEP in any way, but I thought of asking you if you might have faced a similar issue in the past. Thanks for all your help!

@michaelhwn If you have any idea about this error, any help would be appreciated :D I have been trying to resolve it since past few days but haven't succeeded in doing so.

@michaelhwn No issues, thanks for the help!


go/types: failure to report errors on test/fixedbugs/issue20232.go

While integrating go/constant into cmd/compile, I discovered that go/types isn't actually handling the test case from #20232 correctly. In particular, this variation on the test case demonstrates two latent issues:
package p

const _ uint8 = 6e5518446744
const _ = 0 * 1e+1000000000

go/types fails to report any error about 6e5518446744; it should report that it's too large of a constant, or that it overflows uint8.
go/types crashes on the second case, due to multiplying 0 by infinity; again, it should instead gracefully report a constant-too-large error instead.

/cc @griesemer

There's at the very least a missing test in operand.setConst:
if x.val.Kind() == constant.Unknown {
        x.mode = invalid
}

The 2nd example is already reported as #20583.


Correction for raw affiliation Bovine Health Management, Aeres University of Applied Sciences, PO box 374, 8250 AJ, Dronten, The Netherlands

Correction needed for raw affiliation Bovine Health Management, Aeres University of Applied Sciences, PO box 374, 8250 AJ, Dronten, The Netherlands
raw_affiliation_name: Bovine Health Management, Aeres University of Applied Sciences, PO box 374, 8250 AJ, Dronten, The Netherlands
new_rors: 03jnx2c74
previous_rors: 015d5s513
works_examples: W4280546223
contact: b62cd4971a8d1595e7fc8aa9af203a5a:d4bfe11c9fc47c32 @ aeres.nl

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Fix import of create_model in tools.py

Change Summary

Related issue number
fix #6361

Checklist

[ ] Unit tests for the changes exist - not needed
[x] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable - not needed
[x] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

Thanks @SharathHuddar


[Question]:  Which dependency for SimpleDirectoryReader error message?

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi -
SimpleDirectoryReader error message not very clear on what dependency is missing.
When using SimpleDirectoryReader to load a PDF file, I'm getting a dependency error but not sure if is for Linux or Python.  Has anyone seen this before?
from llama_index.core import SimpleDirectoryReader

loader = SimpleDirectoryReader(input_dir="./data")
documents = loader.load_data()

Failed to load file /home/ubuntu/.../data/digital-piano.pdf with error: RetryError[<Future at 0x... state=finished raised DependencyError

@wilberh your error is cut off, but if I had to guess, try pip install -U llama-index-readers-file

@wilberh your error is cut off, but if I had to guess, try pip install -U llama-index-readers-file

Same issue; also, the error is displayed in that format.  At least it should provide more information on the error.

Hey there, @wilberh! I'm a bot here to help you with bugs, questions, and becoming a contributor. Let's tackle this issue together while we wait for a human maintainer.
The SimpleDirectoryReader relies on the PDFReader for handling PDF files. If you encounter a RetryError due to a missing dependency, it is likely that the dependency required by PDFReader is missing. The PDFReader typically depends on libraries such as PyMuPDF (also known as fitz) or PyPDF2. Additionally, the llama_index package has a specific submodule llama-index-readers-file that needs to be installed for PDF support.
Ensure that these libraries and the llama-index-readers-file submodule are installed in your environment:
pip install PyMuPDF PyPDF2 llama-index-readers-file

If you continue to face issues, you might want to check if there are any missing files in the llama_index package and refer to related GitHub issues for potential solutions. For example, a similar issue was discussed in this GitHub issue [1][2][3].
To continue talking to Dosu, mention @dosu.

@dosu - same issue; no change on the error.  I even try on a different machine and different Python version (3.10 and 3.12).

@dosu - awesome!  That worked; all good  - thank you.

Recently stumbled on this issue. The proposed solution did the trick, but shouldn't pymupdf and pdfminer.six be added to the project's requirements?


Debug: potentially unsafe file events handling

Debug is listening to file events:
https://github.com/microsoft/vscode/blob/235bae66cbe96bb3c67e3dc9572077147f8d1061/src/vs/workbench/contrib/debug/browser/debugService.ts#L988-L990
By comparing the event.resource with the breakpoints resource, you may potentially get into path-casing issues depending on how your resources are being created for breakpoints.
We have IURIIdentityService to compare with path-case in mind or event.contains which internally uses this.
I recently changed to this form for my file event handler in file models. Instead of iterating over all file changes and getting the model for a resource, I now loop over my models and use the contains method:
https://github.com/microsoft/vscode/blob/7f4737616fc5b2d42a681ad09427ca1189c6cadd/src/vs/workbench/services/textfile/common/textFileEditorModelManager.ts#L101-L114

@isidorn I went ahead and took care of this via https://github.com/microsoft/vscode/commit/bb3aaa780099662751cf9b02be6fe02407af1b00#diff-f9eceda9194def39393e1ba1e19a319c

Thanks Ben for looking into this and fixing it.


Remove sudo from commands/scripts run as root

as can be seen in the auth.log file .. also calling a command with sudo as root user causes an pam_session to open & close - this is not needed (because root does not need sudo) and commands/scripts should be checked to reduce sudo load on the system.

This is likely cause of the occasional errors seen in logs:
sudo: unable to initialize PAM: Too many open files
sudo: unable to initialize PAM: Too many open files

and the plebty of PAM warnings in sudo journalctl -f

A lot of sudo removal especially during setup/provision is done in the following branch:
https://github.com/rootzoll/raspiblitz/tree/2388redis

All seems to work fine with the reduced sudos .. closing issue for release.


Revamped the Engineers Copied frontend template

Description
Inserted the logo of website , added information in form of cards , modified the form page , created a footer, revamped the About Us page , added line below texts .
Fixes:  #442

Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have made this from my own

[x] I have taken help from some online resourses

[x] My code follows the style guidelines of this project

[x] I have performed a self-review of my own code

[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK
Images.before.after.zip
here are the images before n after @VidhiBhatt01

Images before after .zip
Here are the before after images which you requested .

@IshitaGarg-01 kindly add images for mobile view also so that we can check if its responsible or not.

@IshitaGarg-01 kindly add images for mobile view also so that we can check if its responsible or not.

@DEEPIKA-SUK Ma'am the website isn't responsive !

@IshitaGarg-01 If possible try to make it responsive.

@IshitaGarg-01 If possible try to make it responsive.

ma'am can't it be accepted without making responsive?

ok

@IshitaGarg-01 delete all the .DS store files

@IshitaGarg-01 delete all the .DS store files

@arpit456jain Done !

@IshitaGarg-01  solve merge conflicts

@IshitaGarg-01 solve merge conflicts

Ok sir

@IshitaGarg-01 solve merge conflicts

@arpit456jain I have tried solving all the merge conflicts. Can you please check ?

@IshitaGarg-01 i can't do thing anything in this i suggest you to make a new PR after updating ur branch
take help from mentors


Added techprimate/TPPDF

Checklist

[X] My repositories are publicly accessible
[X] My packages contain a Package.swift file in the root folder
[X] My packages are written in Swift 4.0 or later
[X] My package creates at least one product (library or executable)
[X] My package has at least one release using a git tag conforming to the semantic version spec. (It can be beta or pre-release)
[X] My package compiles without errors
[X] My package outputs valid JSON from swift package dump-package with the latest Swift toolchain
[X] My package URLs are fully specified including https and the .git extension
[X] I have run swift ./validate.swift diff before submitting

Thank you!


Block hash computation

Check the implementation of Madara project for computing the block hash.

Our hash calculation is different than on testnet / Madara.
It is probably not relevant for users, but can be improved potentially to be the same

Hi @ivpavici, what is the call to action here please? I would like to hop on it.

Hi @ivpavici, still anticipating your reply. Thanks

Can I work on this?

And also going through the development docs linked in the README, I found this warning

Is it still safe to use it?
@marioiordanov @ivpavici

@marioiordanov this is the closes I could find to compute block hash in Madara project: https://github.com/keep-starknet-strange/madara/blob/main/crates/primitives/block/src/header.rs#L85
Please kindly confirm if that is what I am supposed to look into?

yes

And also going through the development docs linked in the README, I found this warning  Is it still safe to use it? @marioiordanov @ivpavici

@marioiordanov @ivpavici kindly see this please. It's a blocker for me.

And also going through the development docs linked in the README, I found this warning  Is it still safe to use it? @marioiordanov @ivpavici

@marioiordanov @ivpavici kindly see this please. It's a blocker for me.

Not sure what you mean about the warning? Why is it a blocker? It is a message from the old devnet, not devnet-rs

Probably this issue is not of a such importance, because:

devnet doesn't have the hashes of the events, which are needed for producing the correct block hash.
users using devnet dont compare the block hash to the hash generated on testnet/mainnet


pip install library

Sorry for asking this. Does anyone know when using sparkmagic with lighter, can we install additional python library through jupyter notebook cell so that it is run on spark driver and executors ? What is the sparkmagic command to do this?

Unfortunately, when the Spark application has already started it is not possible to add/remove Python packages dynamically. The main idea is always to build the packages into an image or archive and use it when starting your Spark application. What that means is that it is possible to provide the whole Python environment as an argument during spark-submit.
Some more information can be found https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html.
If you could specify the use case you have in mind, maybe we could suggest more specific suggestions.


Add new FilterRule types to support different serializing/deserializing secenarios

Fixes issue #40

I wasn't able to figure out how to attach this to the existing issue, sorry if this causes extra work for you. If you know how to promote an issue to a PR when the work was done in a fork, I'd be interested to know. Every example I found online to do this assumed everything was in a single repo, just different branches.


Allow precise sizing by typing a value

It would be cool if I could type in a precise size.
Maybe by typing? Maybe using notches on the slider at preset sizes?
Example scenario is you want to size two symbols the same across icons.
Using the slider it's not really possible to set the same value by eye.
My current workaround is to duplicate the Symbolic icon file!

Makes a lot of sense. Thanks for the suggestion.


allow the ability to sort tags

Discussed in https://github.com/scalar/scalar/discussions/1434

Originally posted by itizarsa April 15, 2024
How do we achieve tagsSorter behaviour from swagger UI with Scalar?

+1


Ensure node icon shade has properly rounded corners

This PR extends the work done in #3756 to ensure the node icon shade has properly rounded corners.
See #3755 for the original issue

Coverage remained the same at 68.298% when pulling 6ff2232df3b0cfff1bc7e44cd97ac7f76054d055 on pr_3756 into e3b1f058cdb461bee271899dc8ba24a501ff285f on master.


Issue with connecting to Apple TV

Installs ok, discovers new devices but can't connect. Can however disconnect if I connect manually to the Apple TV. The discovery works fine with name and correct "no airplay device found" when on a network with it.
Running latest version of workflow, Alfred and macOS.
Let me know if I can test it in any way to get your more info.

Hey @jacoblo! Thanks for opening the issue here.
Could you take a screenshot of your AirPlay menu bar options like below? Thanks.

Here it is. Can try it on another ATV tomorrow. Finds it ok, I can connect manually but something goes wrong when trying to connect through your workflow...

Strange. It is simulating a click on that menu, so if the entry is here, it should work. I see you're using Bartender? Maybe that might cause an issue if the AirPlay menu is hidden, not sure yet though. I'll check tomorrow. I will also try with an old Apple TV (but no TV 😅). I now use the workflow to spread my laptop to my iMac that has AirPlay servers running and it works fine. I used to spread to my Apple TV too in the past with the old version of the workflow and it was ok too. I'll try to check with the new version. In any case, we'll find a way to make it work. Thanks for your time!

Hi @jacoblo. A few updates:

I was able to get my Apple TV connected to a monitor, and the spreading to that Apple TV worked fine
There are some issues when using Bartender with the AirPlay Displays menu hidden. I can connect to displays but I can't disconnect (although the Workflow says the display is not shared anymore). I'll check how to handle this more precisely
When the AirPlay Displays menu is hidden and I'm already connected to a display, if I change to another display, I have the message you reported. But this doesn't seem to be your problem

As said before the Workflow is quite straightforward in that it simulates a click on the AirPlay Displays menu so what I'm thinking is that in your case, there's another menu that contains the words "Displays" which would prevent the Workflow to find the correct menu. I'll try to make a fix, but in the time being could you check (with the help of Bartender) if you have any other menu that contains the "Displays" keyword? See pic below. Thanks!

Just tried it at home and here it works. Had problems at first but it was that I needed to enter the verification code the first time around.
So works fine at home with two ATV's. Bartender still running. Nothing else in Bartender with word Displays. Running MacOS with English language if it makes any difference?

I'm running macOS in English too. It was probably the verification code issue. All good now? I'll still see how to improve the few issues. Thanks for reporting! If everything's fine now please feel free to close this issue.

I've checked, Bartender is causing an issue only when the screen is extended, not when mirrored. When extended, it is not possible anymore to access the AirPlay menu via AppleScript if it is hidden by Bartender. I contacted them. The solution for the time being is to not hide the AirPlay menu. I've added a better notification also. Might release laster once I have an answer from Bartender.

At home it works once code is done and with bartender. There the Apple TV are named Apple TV Bedroom and Apple TV Living room.
At work it only works when I quit Bartender. Originally named Apple TV and renamed it but still same issue.

That issue could explain it. Would it work to hide menu all together or that would kill it completely?

Not sure what you mean by hide menu all together or that would kill it completely. But currently you can make it work by making the AirPlay Displays icon visible through the Bartender option. See below.

Thanks. Keep updated if they find a workaround :-)

There's been some updates on Bartender. Latest update is 3.0.64. I can turn on Apple TV in extend display mode but not turn it off. Still strange that you can't even turn it on in your case.

Just tried it at work with latest Bartender and it does seem to work with both on and off in extended mode. Will try it at home as well tonight :-)


2024 11 18 master next misc

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Successfully created backport PR for kirkstone-next:

#10377

Successfully created backport PR for scarthgap-next:

#10378

Successfully created backport PR for styhead-next:

#10379


Conflicting attributes in CML convntions

We set an attribute for missing values called missing values which interferes with the _FillValue which is the name for missing values in the cf conventions. Therefore I suggest to change the attribute to _FillValue.

corrected by all three sensors


RepositoryIterator and ReferenceIterator implementations

Using a base abstract class RootedRepoIterator, we add two implementations, one of them to iterate repository metadata (repository id, urls, is fork) and references metadata (repository_id, name, hash).
With this RootedRepoIterator we should be able to implement CommitIterator and BlobIterator too.
Filter logic must be implemented before start with BlobIterator.

Split test logic into Traits to be able to use them in all the Specs.
Added a BaseRootedRepoIterator trait with a helper to test iterators more easly.

Merge https://github.com/src-d/spark-api/pull/19 first.

Having all changes from a different PRs together make review harder

Yes, sorry about that, but at this early stage on the project, is really difficult split functionality and go forward without depending of another in-process functionalities.


Avoid log error message on every delete action.

Without check err, every time delete a files, will log Error in log file.
Do err != nil check first before log.

Thanks for your pulling request.


Pinning nixpkgs to my current working version

closes #2
Hey @willbush, would you give it a try and let me know if it works for you? I'm not sure whether I should also pin nixpkgs on my default.nix.

I checked this on a different machine with a fresh install and can confirm it works :+1:

I tried it yesterday and I couldn't get it to work even when I replaced all nixpkgs imports with the pinned version in each nix file. I had something come up and I wasn't able to look into it further. I'll test it again and your recent updates this evening and let you know.

Actually, I went ahead and pulled master and tried it, but I'm getting the same issue:
λ ~/code/shopping-cart-haskell/ master nix-shell
unpacking 'https://github.com/NixOS/nixpkgs-channels/archive/1fe82110feb.tar.gz'...
error: Package ‘refined-0.4.4’ in /nix/store/in95j6pwbgzr5bxncqv3iaav5nx0yik2-source/pkgs/development/haskell-modules/hackage-packages.nix:203991 is marked as broken, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

(use '--show-trace' to show detailed location information)
λ ~/code/shopping-cart-haskell/ master git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
λ ~/code/shopping-cart-haskell/ master

Do you have nixpkgs.config.allowBroken = true; set by chance in your config?

Yes, I forgot to mention that. You need to set allowBroken = true; and it'll work. This needs to be fixed in nixpkgs where is mistakenly marked as broken (I'll probably do that in the next few days).

Ok so echo "{ allowBroken = true; }" > ~/.config/nixpkgs/config.nix worked for me. Perhaps this should be added to the readme or I think there is a way to override nixpkgs that's imported to do this.
After grepping through my local cloned repos I noticed reflex-platform does something like that here. However they import nixpkgsFunc ? import ./nixpkgs nixpkgs as a function instead of a set. I'm not good enough with nix to follow how that is being done.

I think the right thing to do is to fix it upstream in nixpkgs, I'll try to get it done.

https://github.com/NixOS/nixpkgs/issues/83445

Cool. I ought to contribute to that project as well, but I'm not really sure where to start.


Route [spid-auth_do-login] not defined.

on a fresh laravel install i've a    RouteNotFoundException ..
if a clear route cache only first time working and after same problem ..
anyone else with same problem ?

@spokke which version of Laravel are you using?

@pdavide  laravel 8.48.2. ..

@spokke this package is currently reported to work with Laravel 7.
Maybe Laravel 8 introduced some breaking change that prevents this package to work properly.
It would be greatly appreciated if you could go deeper with this error and contribute to get this package work with Laravel 8.

Closing due to inactivity. Feel free to re-open if needed.

Hi,
I’ve encountered the same issue and have submitted a new issue with additional details to better clarify the problem. It can be found here: #108.
Feel free to take a look and let me know if there’s any other information I can provide.
Thank you!


GPU Requirements

Hi,
I see the model has been tested with v100s but any word on whether this will run on several 2080 ti or 3080 rtx?
Thanks!

https://github.com/jik876/hifi-gan/blob/master/config_v1.json#L4
You may have to change the batch size but it should work with those GPUs.


Add a command to add, edit, or remove a duration of a mute/ban.

There should be a command where we can add, edit, or remove a duration of a ban or mute. This is similar to the >>reason cmd, but instead of changing the reason, it's the duration.

(mute 10m)


isEmail should check specific gmail case only under option

I think it's weird to only have some rules about gmail, which might require more maintenance, create bugs, and in my case, a bit of confusion.
I was writing some tests, and one of them used the email<EMAIL_ADDRESS>but the test didn't pass. It took me a bit to figure out that the problem was actually with validator not allowing gmail usernames to be outside of the 6-30 range length.
It's still nice to have some additional checks, but maybe I'd only put them under an option? validator.isEmail(email, { domainChecks: true }) or similar.
Agree or disagree? Would it make anyone's code incompatible or work worse, if it's not the default?

Hello towc
I am the person who added gmail validation to isEmail.
I disagree with you on this<EMAIL_ADDRESS>is an invalid email address (you can't send an email to<EMAIL_ADDRESS>or create an address with user@gmail.com), why would you want your test to pass with an invalid email address?

as mentioned:

I think it's weird to only have some rules about gmail, which might require more maintenance, create bugs, and in my case, a bit of confusion.

And if the idea is to allow gmail, why stop there and not add other common providers? If you actually want specific validation, it means that the code that uses validator would need separate cases for the other common providers, and then it will be confusing because you won't see gmail in there unless you want to duplicate validations unnecessarily, which means now there are unnecessary comments. And if you did want the providers to be validated by this package, then we should add more of them, under an option anyway.

I think you'll understand better why gmail validation has been added to isEmail by taking a look at #825

oh, thanks, I hadn't read that. Either way, normalizeEmail uses options. I think we should also use options in isEmail

ran into the same issue as @towc.
I think it make's sense to have provider specific validation enable by default but it would be nice to pass options to disable the additional validation for all providers or specific providers if required.

even updating the isEmail description in the Validators list to detail what validation is occurring for each provider would be a step in the right direction... opposed to finding this out during implementation.

@tux-tn it’s possible there are some gmail users who have addresses that were valid at the time that wouldn’t be allowed today. Perhaps the more strict validation was added later, but we are still left with the possibility that these emails exist legitimately.  See my comment here for more info
https://github.com/chriso/validator.js/issues/825#issuecomment-403487002
I hope an option can be added to disable these kind of domain specific checks, otherwise I will have to add logic to optionally do it outside of this library.

@twelve17 check #873 the flag domain_specific_validation has been added

@tux-tn ah, thank you!  Sorry for the trouble.


Revamp RTD generation

Revamp RTD generation

Codecov Report

Merging #120 (fecd970) into master (6e9ef15) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #120   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          197       197
  Branches        23        23
=========================================
  Hits           197       197

Continue to review full report at Codecov.

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


Query Tabs Closing Upon Save

Description
For the past several version updates, some of my open query tabs have been, for some reason, closing themselves when I click on the Save button. I've attached a screenshot below showing the very simple setup I use when preparing to insert new rows.

The issue does not occur consistently and seems to be more likely to occur the first couple of times changes are saved during a session.
DBeaver Version
Community Edition 23.0.3
Operating System
Windows 10 Version 21H2 (OS Build 19044.2846)
Database and driver

Database Name and Version; MySQL 8
Database Driver Name and Version: JDBC Driver for MySQL 8 (Connector/J)

Steps to reproduce

Connect to database
Run script with 3 SELECT queries to open up the tables into which new data will be inserted into 3 new tabs
Add any number of new rows to any of the tables
Click Save
One or more of the open tabs closes

Additional context
No response

Thanks for the report.
Closed as a duplicate of #19839


Not work

HEEELP! It's says there are incompatible modules and don't run. I need this plugin a lot

Not enough information provided to help - please provide more details, including:

What version of Unreal Engine are you trying with?
Are you using the Epic Launcher build or a custom build?
Are you receiving the error from the Editor or the engine?
Please include relevant logs and full copy-paste of output.

Last version

Does "Last Version" mean 4.14.2, 4.13.2, or something else?  Also, please include the other requested information.

4.14.2 is my version.


podcast:transcript - "generator" and "optout"

Having chatted with a transcript company today, I would like to propose a few small changes.
The current specification is (mainly):
<podcast:transcript
url="https://example.com/episode1/transcript.json"
type="application/json"
language="es" />

I'd like to propose two new tag values, and one general statement.
Creator transcripts may not be edited nor replaced
If any type of podcast transcript is supplied in an RSS feed, an app or a service using that RSS feed MUST NOT produce its own publicly-accessible transcript, nor alter the content of the supplied transcript in any material way (other than reformatting).
An app or service MAY take an un time-synchronised transcript and synchronise it to the audio using machine learning techniques, providing the transcript is not otherwise altered in any way.
A transcript is a derivative work and is subject to specific copyright rules. By supplying a transcript, a creator notifies that this is the official transcript of their creative work, and gives no licence to produce a further derivative version.
This does not preclude an app producing an alternative private transcript for topic extraction or search optimisation, provided that this transcript is not available to the public.
Generator
Automated transcriptions are a good start, but are often wrong. A legally dubious phrase may be unwittingly produced by the AI generator which may place a podcaster or a podcast app into legal trouble. One not very serious example: "Joe really hit the miners hard" is fine in the context of a news story about striking mineworkers, but "Joe really hit the minors hard" could be seen as an accusation of child cruelty. Both sentences sound identical.
generator="auto|human"

This optional value would identify how the transcription was generated.
It has three values:

"auto" means that this transcript has been automatically generated and has not been humanly curated.
(null), a missing generator tag, means that this transcript MAY have been automatically generated and has not been humanly curated.
"human" means that this transcript has been humanly checked, and can be relied-upon as a true record of the content in this podcast.

An app may decide to with-hold the display of automated transcripts for legal reasons; or may flag that "this transcript was produced automatically and may be inaccurate".
optout
Transcripts may be generated by a third-party company or a podcast app.
A podcaster may wish to opt out of a third-party transcript for legal or creative reasons.
The preferred way for a podcaster to control their creative work is to produce a transcript of their work themselves, which will be used. However, a podcaster may also choose to opt out of transcript generation entirely.
<podcast:transcript optout />

If a podcast transcript tag only contains an optout value, this is a signal from the creator that an app or service may not produce a transcription of its own.
This is not recommended, and may result in a podcast app not carrying this podcast.

A transcript is a derivative work and is subject to specific copyright rules. By supplying a transcript, a creator notifies that this is the official transcript of their creative work, and gives no licence to produce a further derivative version.<<<<<<<

With this proposal, how do I signal that it is OK to make and use a copy of the transcript?

I like this proposal, but, like with every new feature, it's important to think about added complexity and how everything fits in with existing standards.
A couple of thoughts:

Could <podcast:license> be used to address some of the legal concerns? E.g., by making <podcast:license> the child of <podcast:transcript>.
Could these concerns also apply to other files that are generated automatically or by third-party services? E.g., chapters?

Seeing as these changes are being proposed by a transcript company, how are their concerns addressed with this proposal? What is their exact issue? This knowledge may help the conversation

I’m very in favor of the generator tag. That would be great for setting quality expectations in the UI.
Also if favor of clear licensing rather than just an opt-out property. Ideally, podcasters could require that any third-party transcripts are made available under a share-alike condition, and the transcriber could use the podcast:events tag to provide the transcript back to the host for inclusion in the RSS feed.

@adamc199 wrote: "Seeing as these changes are being proposed by a transcript company"
My bad - they're not. They're being proposed by me, after hearing what a transcript company is planning, partially to ensure that the transcript company doesn't produce transcripts for shows that have them already in their feeds.

how do I signal that it is OK to make and use a copy of the transcript?

The default has always been that people can make a transcript of your show and use it however you like. So, don't change anything if you're cool with that. That is the default behaviour.
@joksas says: "it's important to think about added complexity and how everything fits in with existing standards"
I agree, and hope that this doesn't change the existing standard, and doesn't add complexity unless podcasters want it. These are optional and backwards-compatible.

Could podcast:license be used to address some of the legal concerns?

Not sure that a licence offers the specific use-case of "don't make a transcript for me". You can't licence something that doesn't exist, after all.
But if a licence (which adds complexity!) is the right way to indicate how third-party companies might generate a transcript, I'd be keen to work out how that works.

Listening to the board meeting last week, perhaps there's a bit of misunderstanding about what I'm trying to do.
tl:dr; I spoke with a company, some of their ideas sound shitty, and I want to at least build something into the standards that lets creators signal that they don't want a part of it.
I'm not asking for a licence in my proposal. The opt-out proposal is to stop a third party doing something with my stuff if I don't want them to. It probably won't win any fans with the transcription company I spoke with: this proposal designed to stop them messing around with my stuff, or at the very base level, designed to tell them I do not want them to mess with my stuff.
The optout="true" flag is there to say - "you may want to run some crappy AI transcript on my content and sell this crappy, partially-incorrect and legally dubious transcript to other people. But I do not want you to. As a creator, my stuff is my stuff and I don't want you making some shoddy third-rate derivative version of my stuff. Take my transcript (if it exists) and don't mess with it; and if a transcript doesn't exist, do not make one.
As @adamc199 notes in the board meeting: he allows people to do anything with his content. That's cool. The proposal allows that by default (simply don't opt out).
The proposal also notes that opting out of other people making transcripts for you is not recommended. I would actually hope that podcast apps penalise shows that deliberately do not produce a transcript and stop others from producing one.
I would hope that everyone who can't be bothered to make a transcript would not stop a third-party company making a transcript for them.
But, in my world at least, the creator is king, and however a third-party transcription company wants to build a product, I - as the creator and the king - want to be able to tell them to not go anywhere near my stuff, if I want to.
(That wouldn't stop me from making a specific agreement with a specific company, of course. Again, it doesn't get in the way of anything a creator wants to do. But it is creator-first, and I have no interest nor wish to do anything which isn't.)
Does that offer some clarification?

Question from the above...
If a creator only makes an automated transcript, but a third-party wishes to make a better, human-edited version of that transcript, the above proposal breaks this. Is that good? Or do we want to make some form of "derivatives OK" marker for the transcript? (Yes, that's a licence. Shudder.)
Or is that something that should be opt-in, and therefore kept separate from a specification? (Typically, when you prohibit something, you can also sign a contract with a company to allow them to do that thing - copyright law says I can't broadcast INXS songs on the radio, but I can also get a licence with their rights holders to do that).
Thinking aloud - perhaps that needs clarifying in the proposal: that this is a default position, and does not stop individual agreements being made.
Or, do we want the creator to be able to signal "if you think you can make this work better, make a derivative work that is better, no need to ask" and in which case, perhaps we need an additional field to make that clear. Maybe we define a default licence - BY-NC-ND - and then allow creators to overwrite that with more permissive licences. (BY - attribution required; NC - no commercial use, which we need to better define; ND - no derivatives).

If a creator only makes an automated transcript, but a third-party wishes to make a better, human-edited version of that transcript, the above proposal breaks this.

If you as creator use auto-generated transcripts, I don't think it's likely you would 'opt out' of others doing the same thing. And if you do, and a person wants to put the work into it, that person can probably also put up with the effort of contacting you.
Also because they'll probably want to distribute their work somewhere - either in the source feed (they need to contact you anyway) or in their own app/YT channel a) with ulterior motives (which is where a license could come in, but it's not super likely to happen except for truly community driven shows like no agenda) or b) with commercial motives (which is where it would get more complicated and the proposed default license wouldn't work).
TL;DR – I would personally keep it simple and stay away from the licence. Unless the same is implemented for #177.

I wonder if a different approach might be better.
In what circumstance would someone add a transcript to their podcast and want an app or service to ignore that transcript and use their own? It seems like it makes the most since to treat the tag as the authority: if it's present, use this transcript no matter what.
And then to address the automated-transcript concern, I wonder if that's something that should be in the <podcast:block> tag, like <podcast:block transcription="true"> to signal that no other app or service should try to transcribe the audio.

The original proposal was <podcast:transcript optout="true" /> suggesting that as the creator I am requesting that others do not produce any publicly-available transcripts of my work.

In what circumstance would someone add a transcript to their podcast and want an app or service to ignore that transcript and use their own?

I would not expect that use-case either; and not sure we need to add to the specification for it.