Propper method to stop recording of finished live stream from youtube

I would like to ask you about the propper method to stop recording of live stream from youtube.
I am downloading live stream from youtube with simple command:
youtube-dl.exe -o "D:\stream.mp4" "https://www.youtube.com/watch?v=sVMRgZQfsSM"
When the stream is finished (stream is no more available on youtube) in console I have something like this:
[https @<PHONE_NUMBER>c5b000] Opening 'https://r5---sn-f5f7lne6.googlevideo.com/videoplayback/id/5K1nBNWVa-M.1/itag/301/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r5---sn-f5f7lne6.googlevideo.com/playlist_type/DVR/ei/NAHXXOiKGJCfgAPNpLGwDg/gcr/pl/initcwndbps/16090/mm/32/mn/sn-f5f7lne6/ms/lv/mv/m/pl/17/keepalive/yes/mt/1557594323/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1557616020/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/6B037A67434BF766F9BF9786AC0E856797E7BC99.730FDEAA1CE8734AEE02FDBACD8AC0AEEC238062/key/dg_yt0/playlist/index.m3u8/sq/7176/goap/clen%3D81066%3Blmt%3D1557596927968434/govp/clen%3D27169%3Blmt%3D1557596927968434/dur/5.000/file/seg.ts' for reading
[https @<PHONE_NUMBER>63bcc0] Opening 'https://r5---sn-f5f7lne6.googlevideo.com/videoplayback/id/5K1nBNWVa-M.1/itag/301/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r5---sn-f5f7lne6.googlevideo.com/playlist_type/DVR/ei/NAHXXOiKGJCfgAPNpLGwDg/gcr/pl/initcwndbps/16090/mm/32/mn/sn-f5f7lne6/ms/lv/mv/m/pl/17/keepalive/yes/mt/1557594323/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1557616020/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/6B037A67434BF766F9BF9786AC0E856797E7BC99.730FDEAA1CE8734AEE02FDBACD8AC0AEEC238062/key/dg_yt0/playlist/index.m3u8/sq/7177/goap/clen%3D81066%3Blmt%3D1557596932881505/govp/clen%3D27169%3Blmt%3D1557596932881505/dur/5.000/file/seg.ts' for reading
[https @<PHONE_NUMBER>c5b000] Opening 'https://r5---sn-f5f7lne6.googlevideo.com/videoplayback/id/5K1nBNWVa-M.1/itag/301/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r5---sn-f5f7lne6.googlevideo.com/playlist_type/DVR/ei/NAHXXOiKGJCfgAPNpLGwDg/gcr/pl/initcwndbps/16090/mm/32/mn/sn-f5f7lne6/ms/lv/mv/m/pl/17/keepalive/yes/mt/1557594323/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1557616020/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/6B037A67434BF766F9BF9786AC0E856797E7BC99.730FDEAA1CE8734AEE02FDBACD8AC0AEEC238062/key/dg_yt0/playlist/index.m3u8/sq/7178/goap/clen%3D81404%3Blmt%3D1557596938914512/govp/clen%3D27169%3Blmt%3D1557596938914512/dur/5.000/file/seg.ts' for reading
[https @<PHONE_NUMBER>ebabc0] Opening 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/5K1nBNWVa-M.1/itag/301/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r5---sn-f5f7lne6.googlevideo.com/playlist_type/DVR/ei/NAHXXOiKGJCfgAPNpLGwDg/gcr/pl/initcwndbps/16090/mm/32/mn/sn-f5f7lne6/ms/lv/mv/m/pl/17/dover/11/keepalive/yes/mt/1557594323/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1557616020/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/6B037A67434BF766F9BF9786AC0E856797E7BC99.730FDEAA1CE8734AEE02FDBACD8AC0AEEC238062/key/dg_yt0/playlist/index.m3u8'for reading

    Last message repeated 78 times

[https @<PHONE_NUMBER>d48c80] Opening 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/5K1nBNWVa-M.1/itag/301/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D299/hls_chunk_host/r5---sn-f5f7lne6.googlevideo.com/playlist_type/DVR/ei/NAHXXOiKGJCfgAPNpLGwDg/gcr/pl/initcwndbps/16090/mm/32/mn/sn-f5f7lne6/ms/lv/mv/m/pl/17/dover/11/keepalive/yes/mt/1557594323/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1557616020/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,ei,gcr,initcwndbps,mm,mn,ms,mv,pl/signature/6B037A67434BF766F9BF9786AC0E856797E7BC99.730FDEAA1CE8734AEE02FDBACD8AC0AEEC238062/key/dg_yt0/playlist/index.m3u8'for reading

    Last message repeated 417 times

It is reapating about trying to download "seg.ts" and "index.m3u8" for reading.
It takes forever to repeat.
Then when I try to stop recording whith CTRL+C (pressed one time) I get:
Error writing trailer of file:D:\stream.mp4.part: Immediate exit requested
frame=150300 fps= 14 q=-1.0 Lsize= 1197824kB time=00:41:44.98 bitrate=3917.2kbits/s speed=0.234x
video:1159497kB audio:39141kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Exiting normally, received signal 2.
[ffmpeg] Interrupted by user
[ffmpeg] Downloaded<PHONE_NUMBER> bytes
[download] 100% of 1.14GiB in 02:58:55

...and the file it produces is unusable cannot be played by any video player.
How should I stop recording of live stream when it is finished? It does not stop by itself and CTRL+C method does not work for me.
When I stop recording with CTRL+C during the stream goes on everything is fine. The output file is just OK.
Problem is present with all versions of youtube-dl I have been using from old ones to the current release.
I saw issue #15717 but on my Windows 7 pressing CTRL+C one time does not wark as intended.
Can you please show me the propper method to stop recording of finished live stream from youtube or how to make it to stop automaticaly when it is finished.

Live streams are handled by ffmpeg, address this to them.
Or use mpegts container --hls-use-mpegts.


Merge_Templates

Merge Templates Request
Issue Description
I am currently trying to merge a document that contains multiple pages. The second page contains a table composed of two rows with different mailmerge fields on each row. I am trying to have this table repeated for my dataframe.
The issue that arises when using the merge templates method is that the entire document is repeated for every dataframe row.
I have also attempted to use the merge table function, but because of the anchor input and my table hanging different mailmerge fields in each row, this is not resulting in the correct output.

Could you create a simple example that shows your issue?
Are you able to mailmerge the document using Microsoft Word?

Thank you for your quick response. Please find a simple example for this issue
Sample Data

** The first paragraph should not be repeated, only the table below should be repeated **
Result with merge_templates

I do not believe this is possible, even with the Microsoft Word Mailmerge. Merge Table functionality would not work as the duplication is done at row level.
What I would suggest is to split the template document into 2 parts. The one fixed that contains the first page, that doesn't need to be repeated, and a second document with the table, that need to be repeated.
Then, you can mail merge them independently (I don't know if the first page has fields or not), and then join them together into the final word document. (you can use python-docx for this)
It's slightly more complicated but you can manage an automated script.

@iulica
Thank you for your response. I have thought about this solution as well, and while it is not completely ideal, I will see to its implementation.
As a side note, is there any possibility that this can be done with the merge_rows method. Based on my understanding, the anchor specifies the first column where the merge field occurs. Would it be possible to input a list of anchors, so that two or more rows of the table are in each iteration of the method. I have tried looking at the source code, but I guess I am not at the level where I can implement this change on my own

merge_rows and also merge/merge_templates when you give a list as a value to one field, can be used to expand multiple tables. But they are expanded separately and you will get something like this:
table:
row1 value1
row1 value2
row1 ... value  n
row2 value1
...
row2 value n
I see your updated answer and it's exactly this

I will think about a solution like this, maybe to include several rows instead of just one row. Will come back with an answer

Thank you so much

I got another idea that might work. Can you just make one table with one row and one column, and inside that one row create another table that looks like yours. This might give you the needed result.

Genius Solution! It is working as intended

Thank you so much for assisting on this issue, you have saved me a lot of lines of code


Implement the Requests field of cherrypy.Applications

As seen in stats_response.json used by the tests the there is a Requests field in CherryPy Applications. As of now i could not find any documentation of its structure but as @moio  mentioned looking at the source or asking IRC/Mailing List might reveal some details.  I will look into this but feel free to leave a comment if you found some information.

This was fixed by #44


Bug Injection WA_JS WhatsApp version:  2.3000.1011510815

Description
Bug Injection WA_JS
Environment

WhatsApp version:  2.3000.1011510815
WA-JS version(s): 2.28.2-alpha.0

What is the error code?

https://github.com/wppconnect-team/wa-js/tree/whatsapp_2.3000.x

Whatsapp 2.3 version not working

Closed by https://github.com/wppconnect-team/wa-js/releases/tag/v3.0.0


Support for Go

import "package"
import p "package"
import . "package"

http://golang.org/ref/spec#Import_declarations

@cocap10, @raphink, @vbehar, @SiegfriedEhret, @jamlen, @sublimino, @maxbeatty, and @jeffandersen
I'm happy to announce that the upcoming OctoLinker will come with go support. See #253 for details. We will publish a new version in a few days.


[3456] Draft records last updated sort is inaccurate

Context
Changes proposed in this pull request
Guidance to review
Important business

Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?

 draft records last updated sort is inaccurate


Integrating espressif ULP assmbler files with Amazon FreeRTOS

Hi,
I am currently trying to build and link my assembler files within ESP32 vendor code within the Amazon FreeRTOS platform.
I have followed the instructions by espressif and in the .rst files within Amazon FreeRTOS. However when I try to compile I get the following error logs:
-- Building for target esp32
CMake Error at vendors/espressif/esp-idf/components/ulp/component_ulp_common.cmake:55 (add_dependencies):
add_dependencies called with incorrect number of arguments
Call Stack (most recent call first):
vendors/espressif/boards/esp32/CMakeLists.txt:397 (include)
CMakeLists.txt:70 (include)
CMake Error at vendors/espressif/esp-idf/components/ulp/component_ulp_common.cmake:58 (target_add_binary_data):
target_add_binary_data Function invoked with incorrect arguments for
function named: target_add_binary_data
Call Stack (most recent call first):
vendors/espressif/boards/esp32/CMakeLists.txt:397 (include)
CMakeLists.txt:70 (include)
The relevant code in the CMakeLists.txt file is as follows and i Have highlighted the error line below:
set(ULP_APP_NAME ulp_${COMPONENT_NAME})
set(ULP_S_SOURCES "${board_dir}/application_code/ulp/ulp_adc.S")
set(ULP_EXP_DEP_SRCS "${board_dir}/application_code/ulp_adc_example_main.c ${board_dir}/application_code/params.c")
include(${esp_idf_dir}/components/ulp/component_ulp_common.cmake)    # <------- this line is the issue
The section of code from the component_ulp_common.cmake file is as follows:
add_dependencies(${COMPONENT_TARGET} ${ULP_APP_NAME}_artifacts)
target_linker_script(${COMPONENT_TARGET} ${CMAKE_CURRENT_BINARY_DIR}/${ULP_APP_NAME}/${ULP_APP_NAME}.ld)
target_add_binary_data(${COMPONENT_TARGET} ${CMAKE_CURRENT_BINARY_DIR}/${ULP_APP_NAME}/${ULP_APP_NAME}.bin BINARY)
endif()

I have also tried a solution with idf_component_register() and ulp_embed_binary() but when i do I get an unknown CMake command. Any ideas?

Hi rupans@
Could you provide following details?

version of Amazon FreeRTOS repository used.
version of ESP-IDF used
Are you trying to build Amazon FreeRTOS as a subdirectory within an ESP IDF project?

Hi @ravibhagavandas,
Thank you for getting back to me. The answers to the questions are as follows:

version of Amazon FreeRTOS repository used.
202007.00 July 2020
commit 36e1faf0b931dd8c78e32fc79df1a3f1718cb0c7 (HEAD -> master, origin/master, origin/HEAD)
Merge: c20c8f274 a35a407cc
Author: Ravishankar Bhagavandas<EMAIL_ADDRESS>Date:   Wed Oct 7 16:40:42 2020 -0700

Version of ESP-IDF:
commit 29889b575e9f6f72aada23ab24d82d8d177498f0 (HEAD, origin/release/v3.3, origin/HEAD, release/v3.3)
Author: Shubham Kulkarni<EMAIL_ADDRESS>Date:   Mon Jun 8 14:29:00 2020 +0530

I am building my code within Amazon FreeRTOS in the following location:
/vendors/espressif/boards/esp32/...

Thank you again for you help.
Kind Regards,
Rupan

Hi Rupan,
I see this is duplicated here https://forums.freertos.org/t/integrating-modern-esp32-ulp-toolchain-with-aws-freertos/11822/45. I am posting this link for those who stumble on this thread, and will reply to you there once I have investigated.
I am going to close this issue, and we may continue on the forum.
Thanks,
Carl


Add support for mobile status and add its icon

What if there are no bugs?

Inevitably there are going to be bugs.


Flexible permission system

Intro
We need a way to allow developers to:

access some specific tables (select, insert, create)
allow to access so specific functions like geocoding, routing and so on

without using the current api key (which gives access to everything)
Lot of developers have been asking this for years but now it's really important since the Location Based Services need an api key
Proposal
The proposal is to have different api keys so each has a different permission set. Right now the api_key gives rights to do everything in the database, the concept is the same but limiting per api key
The way to do this would be to have one database user per api key so when calling SQL API that user is used to execute queries. The main user (the one authenticated when using the current API KEY) has the rights to give different permissions to each user.
I don't have a clear idea on how to name users and how to the mapping user <-> api key, it could be something like

select CDB_API_KEY_User('hjk4ui5y34g5h89127387Hjhasd') -> 'user_hjk4ui5y34g5h89127387Hjhasd'

GRANT  SELECT ON mytable to CDB_API_KEY_User('hjk4ui5y34g5h89127387Hjhasd');

This schema fits with the current one and it will be compatible with a future oauth implementation.
User interface
For the user interface (it's not related to the sql api but worth an explanation) we would have a list of api keys with different permissions (per table and per funcionality group, for example geocoder, routing, isolines, DO)
Problems

Sync the database with the UI
Database connection pooling
Maps API auth
Database user naming, if we we

cc @rochoa @danicarrion @AbelVM @jsanz @saleiva @juanignaciosl

This is somehow analogue to GitHub Personal Access Tokens, as each token has a different permission set.
Database-UI sync can be done (assuming that it can't be computed on the fly when needed because of performance reasons) the same way that groups do at _CDB_Group_API_Request, probably extracting the request mechanism to a generic method. New functions should call new endpoints that extend the current Database API at the Editor.

I'm missing how to assign quotas: limit this user to do 1000 geocoding calls per day. But I don't know if we want to solve that problem yet.
On the Maps API side: named maps has, half-assed, support for using different database users within the same account.

the geocoding/other services quotas are managed by the services so I'd not worry right now cc @rafatower

not an immediate concern but something I'd consider for a quota/billing service cc/ @ethervoid

why don't we just implement oauth2?

@danicarrion because that would mean every user would need to have a carto account, right? sometimes an app just need to have access to a table with select permissions
could you describe the usecase

OAuth2 is a common request in sales meetings. IMHO, if we are to invest in adding features to our app authentication engine, we should go in that direction.
First, OAuth2 allows for API-key-like authentication (https://tools.ietf.org/html/rfc6749#section-4.4). So we can start here, simply adapting our APIs to support this.
Then, we could implement the workflow you're proposing on OAuth2. At first glance, I don't see anything there that contradicts the specification.
And, finally, we could implement user authentication via OAuth2 in 2 steps:

Basic authentication (https://github.com/CartoDB/cartodb-management/wiki/OAuth-2.0-(I))
Authorization
Other non-critical operative details, like token expiration

I think it'd be nice if we can kill a few birds with one stone, even if it needs to be a slightly bigger stone. OAuth2 now fits very well with having a mobile sdk too.

OAuth2 is a common request in sales meetings. IMHO, if we are to invest in adding features to our app authentication engine, we should go in that direction.

Ok, so what are the use cases?
I'm totally against adding complexity if we don't have a very good reason and implementing oauth client side is far more complex than adding a "&api_key=COPY_PASTED_FROM_EDITOR"

answering to myself, usecases for oauth2:

A third party tool that needs to put data into CARTO (QGIS)
A third party tool that needs to fetch private data from CARTO (QGIS)

Another requirement: for maps api we would need a way to allow some kind of create access but not to read tables, just for maps api working with analysis

Some use cases from Mobile SDK point of view:

App to modify/create map data - add personal notes to map
For just reading data named maps and table permission "link only" is usually enough
In most cases oauth2 (assuming it requires named users) would not work, apps are for wide 'anonymous' audience.
App developer has own user-base and wants to give controlled write access to their users (not carto viewer users) - some kind of oauth2+ldap combination?
Using LDS geocode, isozones and routing calls. However, for real end-user app cases our quotas are probably too low anyway.

After releasing the new Auth API, we cover some of the needs proposed here. Closing this issue as the new Auth API is a transversal project across multiple repositories.


Type mismatch: inferred type is String? but String was expected

Can anyone help me out.

I started using https://github.com/shofizone/gallery_saver. This works without having to change anything to your code.
Just replace gallery_saver in your pubspec by:
gallery_saver:     git:       url: https://github.com/shofizone/gallery_saver.git

@tkortekaas Thank you so much, It's working.


fullname or displayname field would be good on setProfile and get Profile

It can be optional. Sometimes, this could create a better option. For example, a social network for lawyers would seem better with formal names.

https://screencast.com/t/7jw3KzIempuI

Yapilan sey su, gene username, ancak bosluk koyabiliyorsun ve 36 karaktere kadar cikabiliyorsun. Bir de sanirim butun unicode karakterleri desteklememiz lazim, su an ASCII-only.

Closing this for now. Graph.js will continue with "username" as nothing ever changed.


pipeline Avoid to use a freed dependency when cancelled (#34584)

Proposed changes
pick #34584

run buildall


Added support for IPv6 / AAAA records and updated base code

As described in the title. In addition, IPv4 and IPv6 regular expressions, code formatting, and descriptive comments have all been cleaned up and updated. Please feel free to contribute feedback on these changes, review the commits, and personally add any finishing touches or edits to the pull request. Lastly, if any of the commits are unneeded or instead should be migrated to an issue, please let me know! It's certainly possible that some or all of the new code written here can be integrated into the main branch. Thank you!

Nice work! I also like that you expanded the comments to make them more clear. Question is it worth setting a block to see if the ipv4 is valid before checking ipv6? Do we need create/update records for both versions? And a follow up can we just set one ip variable to be used throughout the rest of the script instead of checking both ip variables throughout?

Absolutely! I can clarify a few things on that. First for setting a block to see if the IPv4 is valid before checking IPv6, I am doing this in order to allow the script to continue running even if an IPv4 address or an IPv6 address is not pulled from a website. This may or may not be the best way to do that, though that is what I've done here. There may be a cleaner method than what I wrote to accomplish the same goal, though as a disclaimer, I am fairly new to bash scripting. To continue, to answer your second question regarding creating and updating records for both versions, as that's already what the script is accomplishing with the A records, I've simply added on to that by extending out the same functionality to the AAAA records as well. Finally, for setting one IP variable to be used throughout the rest of the script instead of checking both IP variables thoughout the script, I'm unsure what you mean. Can you clarify which variables you're referring to? As both the IPv4 (A record) and IPv6 (AAAA record) utilize different regular expressions and IP addressing formats, I feel it's best to keep them separated? Are you referring to the validity checks used for exiting the script after each GET or PULL section? I included these checks to ensure the script exited before executing additional checks and calls to CloudFlare. Thanks, ndrone-kr!

To add on to my previous comment, it certainly would've been possible (and easier) to keep the code separated between two different bash scripts. As in, one script for IPv4 (A records) and another for IPv6 (AAAA records). However, I felt it would be more preferred to include both, as having only a singular script performing the job of two is often the more preferred option by users. In addition, IPv6 is quickly becoming the standard while IPv4 is slowly being phased out during this transition phase. In my honest opinion, it makes a lot more sense to integrate and utilize IPv6 addressing at some point or another while moving forward. With that said though, I can certainly understand the different use cases and alternative option of utilizing two scripts instead of one that other users may prefer to choose to utilize.

Honestly I don't know the correct course of action. Honestly they were just questions that popped into my head while reviewing your code. I do like the idea of separate scripts or one main script that then loads functions in from a separate file. So one file contains the IPv4 functions, and a second file contains the IPv6 functions. Then the main script takes a flag of which version of IP addresses you are using. Don't feel like have to make changes based on what I stated. I'm not the owner of this repository. I'm just brain dumping what comes out of my head.
# pseudo code
if [ ipv4_flag == true ] then
  source ./ipv4_functions.sh
else
  source ./ipv6_functions.sh
end if

Those were some good questions! I also appreciate the idea of having additional options available to users through the usage of separate scripts and loading of functions from separate files for the sake of modularity. Though having said that, I personally prefer the inclusion of both types of IP addressing within a singular script. I am also unsure if either of those options would be the desired outcome of the owner of this repository there there to be a split or inclusion of separate files. I will await additional comments from him. In the meantime, I will keep my fork repository open for now as other like-minded users have done as well.


MGMT: Add support for SAML2 EntityAttributes attribute release policy

See https://apereo.github.io/cas/development/installation/Configuring-SAML2-Authentication.html#entity-attributes-filter

Added


Add support for TimeSpan.

This PR add's support for TimeSpan.

Kim, please add example in demo spec. You can expand Demo.ApiDesign\SingleFileVersion\Api.v1.yaml - Order model  with a myTimespan with the correct yaml. Please also provide a link til the OpenApi spec 3.x where the formatting is defined.

Some info for the TimeSpan issue: https://github.com/dotnet/runtime/issues/29932


ARROW-4696: Better CUDA detection in release verification script

Use a combination of nvidia-smi and nvcc to detect if cuda is
installed and there is a least one physical gpu.
Re-use ARROW_CUDA variable internally to limit divergence between
what cmake expects.

@kou, comments were addressed.

+1


Audio play and loop

There's another issue (not sure that's important, because this is for Game but....). Let's try to play a sound and try to loop the same sound (with play() function and loop() function on the same sound).... The loop() stop at the end of play().
Have a nice day~~

Because loop() is like: play() sound every time it stops. And play() is like: play() one time.

yeah i know that, i just wanted to report the issue, can be a bug or not whatever.


fix(userspace/falco): solve live multi-source issues when loading more than two sources

What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This fixes #2652, which caused Falco to fail when loading more than two simultaneous event sources for live event captures. The flaw was on a wrongly-implemented safety check, that caused Falco to fail even on legit situations.
Which issue(s) this PR fixes:
Fixes #2652
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
fix(userspace/falco): solve live multi-source issues when loading more than two sources

/milestone 0.35.1

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 4dd4c90db6bffd6dfb6b9c8034520afb5b3b28b7

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

New changes are detected. LGTM label has been removed.

LGTM label has been added.  Git tree hash: 435933d25521203025ebc58f260cbc7e4584baea

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, incertum, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,incertum,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


.mods random makes Alfred sad

.mods random causes Alfred to think forever

This also applies to .mods [car name]

Fixed


Feature Request: Addition of element_markdown() or something similar, to highlight part of the plot title or subtitle

Hi to all, an interesting feature in ggplot, is element_markdown(), which enables formatting and styling of text elements in plots. This functionality is particularly useful for emphasizing specific portions of titles, subtitles, or annotations, improving the clarity and aesthetics of visualizations without relying heavily on legends.

For example, the attached plot demonstrates how element_markdown() can be used to highlight key elements in the title:
"Black-White" is styled in blue, "Hispanic-White" is styled in orange, making the information easier to interpret at a glance.
Additionally, the same technique can be applied to annotations within the plot, such as angled text or styled labels for specific data points.
Incorporating element_markdown() into Let’s-Plot would open up similar possibilities in Python, making the library a more versatile tool for creating presentation-ready visualizations.

Thanx, this is a great suggestion!
I suppose you are referring to element_markdown() in the ggtext package.

Hi Igor, thank you for taking the suggestion into account. To clarify, I am indeed referring to the element_text() function from the ggtext package.


input/input-group with clear function: not found, but have a bug about input with optional icons

Test version: BS3.3.7
Browser: chrome
Test image: attach file
Make some changes, please see attach file.

http://pan.baidu.com/s/1eSmU84y

This issue isn't super clear what you're problem is, but beyond that, we're not actively developing v3 right now. See message below.

Bootstrap 3 is essentially in maintenance mode as we focus on working towards a stable v4. As such, we're only accepting changes to v3's code on a case-by-case basis, usually only for critical bug fixes or docs improvements.

This is a saved reply.


feat: image of a von Neumann bounded set under a multilinear map

[ ] depends on: #10776

How much do you care about the non ContinuousSMul case? The reason I'm asking this is because, if you assume this and that the field is nontrivially normed (which you can always do), it turns out that S is bounded iff for all neighborhood V of zero, there is some scalar r ≠ 0 such that r • S ⊆ V. We don't have this yet (which is a shame, it could probably be used to simplify a bunch of proofs, although the assumptions are rather strong), but it is essentially a direct consequence of nhds_basis_balanced.
Once you have that, your result is easier to prove, since you can just take the product of one such element on each factor.

I don't care about spaces without ContinuousSMul. OTOH, if we already have a proof that works, then why decrease generality? Also, I don't think that the proof will be much shorter without [Finite ι]. Again, I don't care about the case [Infinite ι] but why not save a TC search every time we use the theorem?

The finiteness part shouldn't be a problem, you still have a neighborhood of zero in a product so you can ignore all components on which your neighborhood is univ.
My point was mostly to have a more natural proof, I'm not a big fan of the idea that we end up doing a more complicated proof (maybe shorter in total lines of code of course, but I don't think that's the right metric for complexity) just for the sake of generality that we will never use.
I'm okay with keeping this proof for now because I know you have things which depend on it, I'm just a bit worried that later attempts to simplify this proof would be turned down because of "loss of generality".

My goal is to have some form of this statement merged. I only need it as a dependency for topology on ContinuousMultilinearMaps.

@ADedecker What do you want me to do with this PR to get it merged?

Sorry for the delay.
Let's merge this as is, I'll try to find some time soon to try the approach I suggested.
bors merge


Double clicking on "Submit" should not create/submit 2 applications

If a user clicks on the "Submit" button X # of times during application submission, we create/submit X applications. We discovered this while practicing for the Bloomington UXR, when we clicked "Submit" 5 times and 5 applications were created / the Application ID # went up by 5. Some users are used to double clicking to take action, so this is something we should think about. Maybe we can disable the "Submit" button after the first click?

A low-effort solution could be to add a handler for the form on submit and then disable the corresponding button to prevent double submission. The only thing to make sure of is that any HTML form validation (e.g. required attribute on input elements)  occurs before this event. Otherwise, any client-side validation may disable the button and keep it "wedged".
A potential compromise would be to disable the button for X seconds on form submit, then re-enable it.
I'm happy to send out a PR for this shortly given 1) perceived low effort and 2) surprising UX when double-clicking.

@clouser2 this sounds like a good solution to me!


sequence identity same result clarification

Hi,
I am new to MMSeqs2. It is really a good tool. However, I have 2 queries, may be basic too. But I want your opinions.
In an attempt to build a set of 30-90% sequence similarity, I removed the redundant hits myself firstly and then deployed a minimum sequence identity threshold of 30% and coverage 1 (All 92 input sequences are close homologues and so I want to avoid the partial match to build the good set), it resulted in 52 hits. So, now as you are guiding, the multiple resultant cluster sets have the sequence identity lesser than 30%, but the 52 hits share a sequence identity > 30%. Is this correct that this way my reduced set of 52 hits contains the sequences that are 30-90% identical?
Further, why is it that for another sequence-group, the resultant set spans the same 45 sequences for both 30% and 90% cutoffs. So, does it mean that the length of atleast 1 representative sequence is bigger and it spans multiple sequences in either of these ranges to result in the same set? How should this result be defined?
Thanks for your clarifications.

Sorry for the late answer.  Did you check on the coverage criteria. If you want to match partial hits you might want to use --cov-mode 1.  Maybe this documentation might help to set your parameters https://github.com/soedinglab/MMseqs2/wiki#clustering-criteria and https://github.com/soedinglab/MMseqs2/wiki#how-to-set-the-right-alignment-coverage-to-cluster

Although I found these pages, thank you for the support and your links.

Did it resolve your issue?


Expose encoding-guessing functions

http://userguide.icu-project.org/conversion/detection seems to say that ICU is able to make some guesses regarding encoding used but text-icu seems to not expose any such functionality which IMHO greatly impairs its usefulness.

Pull request welcome, I won't have time to implement this myself.

#27 implements this, and needs just a little reformatting.

#27 merged and released:
https://hackage.haskell.org/package/text-icu-0.8.0/docs/Data-Text-ICU-CharsetDetection.html


npm script not stopped after error

It will continue to execute following commands if they are separated (by ; probably).

It will definitely run each of the commands, it may require && instead.

@haoliangyu Can you be more specific around when this is happening? Are you running npm run watch when this happens? And what is creating errors?


[ACM-11543] Check if URL already contains remote write path before appending it

For the reverse proxy/LB support, the remote write endpoint could be under a custom path prefix (i.e. host:port/custom-path//api/metrics/v1/default/api/v1/receive).
We can't hardcoded the path directly to /api/metrics/v1/default/api/v1/receive. So the best way forward if to append this path to the url as a string, unless it's already present, then parse it into an url.URL.

/retest-required

/retest-required

/retest-required

/retest-required

/retest-required

/test e2e-kind


.mel Data and Scoring Network

Hello fellas,
im currently working on a project and try to make your model working.
My first question or issue is your usage of .mel files. Im not having any clue how they get generated. Or from what. My first guess would be sth like Tacotron 2 or sth like that. Since now i was always working with .npy files and im having a really hard time with .mel. Could you tell me where they come from and how they get generated? Would be enough for me to know with with extension they get saved to reproduce that for my data.
Second one is the Score Network. Do you have any references how you train this and where this comes from?
Best regards
LaughingCoffing

Okay first one is deprecated. I figured it out. You just use torch.save and give it a fancy extension name. Thats insane.

RuntimeError: NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL.cpp:825, unhandled system error, NCCL version 2.7.8
Its getting worse here.

After spamming different Pytorch and Cuda Versions is working.


Native distribution, produces invalid package*.args.txt

I encountered the following problem when building a native distribution for my compose app:
External tool execution failed:
* Command: [/usr/lib/jvm/java-17-openjdk-<IP_ADDRESS>.35-1.rolling.fc34.x86_64/bin/jpackage, @/home/louis/Downloads/freiheit-crm/build/compose/tmp/packageRpm.args.txt]
* Working dir: []
* Exit code: 1
* Standard output log: /home/louis/Downloads/freiheit-crm/build/compose/logs/packageRpm/jpackage-2021-09-28-08-40-01-out.txt
* Error log: /home/louis/Downloads/freiheit-crm/build/compose/logs/packageRpm/jpackage-2021-09-28-08-40-01-err.txt

The packageRpm.args.txt file looks like:
packageRpm.args.txt
I narrowed the problem down to the --input and the --main-jar arguments that seems to point to no where. Now the question is should they point to an actual file or are they just wrong? If I point them to the .../build/libs/ folder and to other to the main artifact it works as expected
Some additional system information:
I'm on fedora 35 and using IntelliJ CE (Build #IC-212.5284.40)
openjdk version "17" 2021-09-14
OpenJDK Runtime Environment 21.9 (build 17+35)
OpenJDK 64-Bit Server VM 21.9 (build 17+35, mixed mode, sharing)

side note: Maybe add an information to the native package README that on some distros the jmods must be installed as separate package and the native package tools like (rpm,dpkg) must be also installed.

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


User can define a Trigger without a given name

Headers
Host: localhost:8090
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: application/json, text/plain, /
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://localhost:7080/triggers
Content-Type: application/json;charset=utf-8
Content-Length: 118
Origin: http://localhost:7080
Connection: keep-alive
Body
{"name":"","action":"Action1","policy":{"type":"data_point_registration","data_stream":"DataStream1"},"conditions":[]}
Tested against latest Cosmos Docker image available (Commit Source: 9096a8f).

Fixed by #189

Retested with latest Docker image and working as expected.


Script to include hidden directories in the deployment bundle

I have a hidden folder /.folder-name that I use to store pdf files in.  I use a hidden folder so Meteor doesn't restart each time I create a folder or file under it.
My only issue is that when I deploy using Meteor-up, the bundle never includes the /.folder-name.  Not only that, if I manually create the folder structure on my EC2 instance, after I redeploy it actually removes the folder structure.
So I have to find a way to include the folder structure in the Meteor-up deployment bundle.
Is there a script or or some way to include hidden folders (folders that Meteor doesn't watch) in the mup deployment process?

mup uses* meteor build* to generate the bundle. It's just like deploying to
meteor.com. So, you can't have that.
It's not a good idea to save data like that.
Use something like slingshot: https://github.com/CulturalMe/meteor-slingshot
On Fri Jan 23 2015 at 8:58:43 PM Aaron Adams<EMAIL_ADDRESS>wrote:

I have a hidden folder /.folder-name that I use to store pdf files in. I
use a hidden folder so Meteor doesn't restart each time I create a folder
or file under it.
My only issue is that when I deploy using Meteor-up, the bundle never
includes the /.folder-name. Not only that, if I manually create the
folder structure on my EC2 instance, after I redeploy it actually removes
the folder structure.
So I have to find a way to include the folder structure in the Meteor-up
deployment bundle.
Is there a script or or some way to include hidden folders (folders that
Meteor doesn't watch) in the mup deployment process?
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/232.

Thanks.


Problem with documentation

I just wanted to mention the docs on your home page say that the AngularJS Test Sub-Generator should be called with
yo meanjs:angular-test <controller-name>

but the installed generator says it should be:
yo meanjs:angular-tests

Same seems to be true for the Express equivalent.  I did not see a way to help update this.
Thanks!

@codydaig care to take a look?

Thanks @jrodenbostel
Fixed in PR: https://github.com/meanjs/meanjs.github.io/pull/13


[bug] Agent interrupts itself when on speaker phone

Describe the bug
When using the flutter sdk with agent sdk if the agent is on speaker phone it interrupts itself whilst its talking. ie: it triggers the VAD system from its own voice. Note this only happens whilst the agent is on speaker phone.
To Reproduce
git clone the client-sdk-flutter and run the example
deploy a livekit agent in the cli
Connect to the agent room and switch to speaker phone.
Have the agent talk and observe the interruption detection being triggered by its own voice
Expected behavior
I would assume that this is a bug and echo cancellation would remove the VAD trigger by the agents own voice
Platform information
Android

Flutter version:
[✓] Flutter (Channel stable, 3.24.4, on macOS 14.5 23F79
darwin-arm64, locale en-GB)
• Flutter version 3.24.4 on channel stable at
/Users/jessedeng/development/flutter
• Upstream repository
https://github.com/flutter/flutter.git
• Framework revision 603104015d (2 weeks ago),
2024-10-24 08:01:25 -0700
• Engine revision db49896cf2
• Dart version 3.5.4
• DevTools version 2.37.3

[✓] Android toolchain - develop for Android devices
(Android SDK version 35.0.0)
• Android SDK at /Users/jessedeng/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android
Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
17.0.11+0-17.0.11b1207.24-11852314)
• All Android licenses accepted.

Plugin version:
livekit_client: ^2.3.0
livekit==0.18.0
livekit-agents==0.11.0
livekit-api==0.7.1
livekit-plugins-openai==0.10.5
livekit-protocol==0.6.0

Flutter target OS:
Android

Flutter target OS version:
Android

Thanks

hi, What model of mobile phone are you using? Does this device properly cancel the echo when the speakerphone is on for two-way voice calls?


branch fix

does not belong to story card?
please merge in master & remove branch

Removed the branch. Should not exist in the first place and work is incomplete


Service Schedule modal changes

Critical Changes
Changes
Added spinners to all the screens. Added CSS to remove lines between the sessions and participants accordians on screen 4.
Issues Closed
New Metadata
Deleted Metadata
Definition of Done
Refer to Asteroids DoD document to see any additional details for the items below
- [ ] Place holder data is incorporated (Refer to Case Management Sample Data document)
- [ ] Base axe-core JEST test included for any new LWC (No critical violations)
- [ ] CRUD/FLS is enforced in Apex
- [ ] Update & Test permission sets to account for new features and CRUD/FLS
- [ ] All modified classes are unit tested (Apex) at 100% coverage
- [ ] UX approval or UX not necessary
- [ ] PR contains draft release notes

[x] Attach work item to the pull request with Lurch **Lurch:attach W-000000 or **Lurch:add
[ ] All acceptance criteria have been met

[x] Developer
[ ] Code Reviewer
[ ] QA

[ ] QE story level testing completed

W-8063066


Add, modify and archive assets

Add, modify and archive assets
Users can add, modify or archive assets

To be done through Rest API


Test file transfer speed for Multipeer Connectivity framework in iOS

Photos transfer
Environment

iPhone 6s - iOS 10.1.1 (Host)
iPhone 5 - iOS 10.1.1 (Client)
Unchanged version of iOS Selfie Share app

Results
Initial tests show disturbing results - data transfer with plain reliable data send methods works with considerable delays - cropped basic screenshots being send from a 6s device to a 5 one take around 7-15s time to appear on the receiver end over Bluetooth (with Wi-FI switched off completely). If Wi-Fi is turned on - it takes up to 17-30s for the image transfer (2s delay noticed only a couple of times, can't find any pattern to faster transfers).
Need to investigate the reasons for speed drop for seemingly faster Wi-Fi channel

Reproducibility
We need a native application that is stored in https://www.github/thaliproject that has this code so we can build and reproduce these tests at will.
Discovery Latency
Each device in the test both starts advertising and starts listening. From the time we start listening measure how long it takes to find the other devices in the test. Publish an average of those 'first to discover' times.
These tests need to be run with 2, 3 and ideally 4 devices.
The tests need to be run in the following configurations:

Bluetooth On/Wifi On/All devices not connected to a Wifi Access Point
Bluetooth On/Wifi On/All devices connected to a Wifi Access Point
Bluetooth On/Wifi On/1/2 devices on a Wifi Access Point and 1/2 not

Note that we are not going to test the mixed Bluetooth On/Wifi Off or Bluetooth Off/Wifi On cases as for now we explicitly do not support that configuration. We require both to be on to work. This requirement is driven by our desire to reduce our support matrix.
Bandwidth
There are several different flavors of bandwidth test we need.
Max Simplex Speed
This test tells us what our maximum transfer bandwidth is in one direction.
In this test we have exactly two devices. One device will send a fixed amount of data to the other device. The data should be at least 1 meg worth. The receiving device will then send 1 byte to confirm when it has received all the data.
The actual logic is slightly tricky.
Logic for sending device:

Discover receiving device
Start timer
Send session invite
Open outgoing stream
Start sending data on outgoing stream
If the connection fails while sending the data, then recreate it. If the session fails while sending the data, then recreate it.
Receive incoming stream (which could have happened anytime after step 3). If the stream fails for any reason accept any new incoming streams.
Only once the confirmation byte is received on the incoming stream is the timer stopped and the result printed

Logic for receiving device:

Start advertising
Accept invite
Accept incoming stream and immediately open an outgoing stream to the other device
Accept data from incoming stream and count the number of bytes received.
If the incoming stream or even the whole session dies then just accept any subsequent invite or stream. But the byte counter shouldn't be reset. Once the new session/stream is received then the counter should just keep counting.
If the outgoing stream fails for any reason then recreate it. If the whole session fails then wait until a new session is created before recreating the output stream.
Once the target amount of data is received then send the success byte.

Max Duplex Speed
Same as previous except each of the two devices is sending data to each other. So both devices are simultaneously a sender and receiver. Each one will publish its timer value as a sender. Publish both results.
Multiparty Max Duplex Speed
Same as Max Duplex Speed Test but now run with 3 and 4 devices to see how perf is affected with multiple devices.
Configurations for previous bandwidth tests
Same as with discovery latency. We need to run all the tests in the 3 configurations. So this means we would theoretically run (Max Simplex Speed + Max Duplex Speed(2, 3 & 4 devices))*3 configs = 12 tests.
No, we really don't have to run all of them. Use your best guesses as to which configurations have something useful to say.
Latency
The point of these test is to find out 'time to first byte'. These tests are identical to the bandwidth test except we are sending and receiving exactly one byte. The point is to measure how long it takes in the 12 configurations discussed above to send an invite, get an accept, open a stream, send one byte, receive back a stream and receive back a byte.
The logic is that the receiver receives one byte and immediately responds with a byte.

Created a repo for tests: MPCF-Bandwidth-Test-App

This should be done by tomorrow and we can start testing.

Tests will start after the call.

Faced problems with data streams yesterday, fixed now, all is OK, testing in progress

There is an error in the time calculations.

Bandwidth, 1 MB data, excluding connection & open stream time
Environment

iPhone 6s - iOS 10.1.1 (Host)
iPhone 6s - iOS 10.1.1 (Client)
MPCF Bandwidth Test App, commit 07c0447

Results
In execution of this test I realised that the results are very dependent on the time when the actual sendData trigger happens, something under the hood of MPC framework seems to slow down the speed in the first seconds after the connection is established and after the stream is opened. If you wait a bit longer - the speed happens to increase, although I didn’t yet get persistent results yet.
WiFi - no Access Point; BT - on
Average speed: (0.476 + 0.656 + 1.258 + 1.030 + 2.509) / 5 = 1,1858 MB/s
WiFi - same Access Point; BT - on
Average speed: (1.454 + 1.437 + 2.190 + 1.521 + 1.194) / 5 = 1,5592 MB/s
WiFi - 1 device on AP, other - not; BT - on
Average speed: (1.081 + 2.897 + 1.417 + 1.090 + 1.191) / 5 = 1,5352 MB/s
A little extra: WiFi - off, BT - on
Average speed: (0.099 + 0.100 + 0.099 + 0.101 +  0.099) / 5 = 0,0996 MB/s

Issues with opening second stream in parallel MCSession, tests will be performed after the fix, the rest of the functionality is ready

Fixed and updated Alex's code.
Starting testing.

Dersim will add his investigation results.

Max simplex speed
As above these results are for what happens after we have done discovery and connected. So this is the speed once we are all set up.
Bluetooth On/Wifi On/All devices not connected to a Wifi Access Point
WiFi - no Access Point; BT - on; 2 devices - 11.892 Mbits/s
WiFi - no Access Point; BT - on; 3 devices - 5.248 Mbits/s
WiFi - no Access Point; BT - on; 4 devices - 3.383 Mbits/s
Bluetooth On/Wifi On/All devices connected to a Wifi Access Point
WiFi - same Access Point; BT - on; 2 devices - 13.734 Mbits/s
WiFi - same Access Point; BT - on; 3 devices - 11.218 Mbits/s
WiFi - same Access Point; BT - on; 4 devices - 9.699 Mbits/s
Bluetooth On/Wifi On/1/2 devices on a Wifi Access Point and 1/2 not
WiFi - half of devices on the same AP; BT - on; 2 devices - 10.280 Mbits/s
WiFi - half of devices on the same AP; BT - on; 3 devices - 7.410 Mbits/s
WiFi - half of devices on the same AP; BT - on; 4 devices - 3.605 Mbits/s

@dersim-davaod This item isn't actually done. Check the top. Y'all just ran the first test.

Max duplex speed
As above these results are for what happens after we have done discovery and connected. So this is the speed once we are all set up.
Bluetooth On/Wifi On/All devices not connected to a Wifi Access Point
WiFi - no Access Point; BT - on; 2 devices - 8.555 Mbits/s
WiFi - no Access Point; BT - on; 3 devices - 5.190 Mbits/s
WiFi - no Access Point; BT - on; 4 devices - 4.683 Mbits/s
Bluetooth On/Wifi On/All devices connected to a Wifi Access Point
WiFi - same Access Point; BT - on; 2 devices - 11.274 Mbits/s
WiFi - same Access Point; BT - on; 3 devices - 11.818 Mbits/s
WiFi - same Access Point; BT - on; 4 devices - 8.368 Mbits/s
Bluetooth On/Wifi On/1/2 devices on a Wifi Access Point and 1/2 not
WiFi - half of devices on the same AP; BT - on; 2 devices - 13.185 Mbits/s
WiFi - half of devices on the same AP; BT - on; 3 devices - 4.274 Mbits/s
WiFi - half of devices on the same AP; BT - on; 4 devices - 3.035 Mbits/s
Discovery Latency
Bluetooth On/Wifi On/All devices not connected to a Wifi Access Point
WiFi - no Access Point; BT - on; 2 devices - 1.8s
WiFi - no Access Point; BT - on; 3 devices - 1.9s
WiFi - no Access Point; BT - on; 4 devices - 1.9s
Bluetooth On/Wifi On/All devices connected to a Wifi Access Point
WiFi - same Access Point; BT - on; 2 devices - 1.9s
WiFi - same Access Point; BT - on; 3 devices - 1.9s
WiFi - same Access Point; BT - on; 4 devices - 4.1s
Bluetooth On/Wifi On/1/2 devices on a Wifi Access Point and 1/2 not
WiFi - half of devices on the same AP; BT - on; 2 devices - 1.7s
WiFi - half of devices on the same AP; BT - on; 3 devices - 2.2s
WiFi - half of devices on the same AP; BT - on; 4 devices - 1.9s


Should we apply names index information to the CoL?

The names index contains all indexed names and can be managed in regards of correcting the name status and atomization of wrongly parsed names. Especially the name status can flag chresonyms and manuscript names.
Should we make use of that resource to automatically generate editorial decisions?
@yroskov let's discuss this quickly in the next call

Now that the index is considered technical and just to match names we should not do this


Documentation seems to hide part of the doc

In the live doc:https://huggingface.co/docs/transformers/master/en/model_doc/albert#transformers.AlbertTokenizer.sp_model_kwargs
When you expand/hover over the signature, it seems some arguments are not shown:
For instance this one: https://github.com/huggingface/transformers/blob/master/src/transformers/models/albert/tokenization_albert.py#L105
Is this a bug ?

closing it since this issue is solved 👍


Topics hero image test

This is just a test of how it could look like with hero images on the topics pages.
I couldn't figure out a smarter way to do the CSS, so it's ugly copied code for each topic, but I'm pretty sure it could be done in a smarter way.
This is not a high priority, and perhaps this entire PR should be discarded, I just wanted to show my experiments.

I'm afraid I only see various changes from the design-9 branch?

Oops, yes, I have clearly messed up the PR. Let me redo it!


Feature/follow coverage

Codecov Report

Merging #24 into master will decrease coverage by 23.07%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##            master      #24       +/-   ##
============================================
- Coverage   100.00%   76.92%   -23.08%
============================================
  Files            4       13        +9
  Lines          132      273      +141
============================================
+ Hits           132      210       +78
- Misses           0       63       +63

Impacted Files
Coverage Δ

spec/hatenablog_publisher_spec.rb

lib/hatenablog_publisher/entry.rb
100.00% <0.00%> (ø)

lib/hatenablog_publisher/options.rb
47.61% <0.00%> (ø)

lib/hatenablog_publisher/context.rb
87.80% <0.00%> (ø)

lib/hatenablog_publisher/io.rb
55.26% <0.00%> (ø)

lib/hatenablog_publisher/client.rb
32.35% <0.00%> (ø)

lib/hatenablog_publisher/request_logger.rb
100.00% <0.00%> (ø)

lib/hatenablog_publisher/image.rb
100.00% <0.00%> (ø)

lib/hatenablog_publisher/fixed_content/ad.rb
100.00% <0.00%> (ø)

lib/hatenablog_publisher/generator/body.rb
83.33% <0.00%> (ø)

... and 4 more

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 6d50f6a...2f81f4b. Read the comment docs.


UniArts reserve SS58 address id 38

Hello,
This PR adds a new ss58 address 38 for UniArts network.
Thank you!

thx @bkchr

Please merge master to fix complication issues

You did not merge master properly. Please fix this.

@bkchr I rebased the pr against substrate/master, please see if it's okay this time, thank you!

Yes ty

This has the needed  approves but needs a merge with master before it can be merged!

This has the needed  approves but needs a merge with master before it can be merged!

@gnunicorn While waiting for being merged, 38 was taken by another chain, so we changed to 45, please have a look and see if you have any questions, thank you!

@gnunicorn While waiting for being merged, 38 was taken by another chain, so we changed to 45, please have a look and see if you have any questions, thank you!

@bigxiang great. please apply the changes from joe and we can merge (unfortunately, you didn't allow us to edit your branch when sending the PR or we'd have done that directly :) )

@bigxiang great. please apply the changes from joe and we can merge (unfortunately, you didn't allow us to edit your branch when sending the PR or we'd have done that directly :) )

Hi @gnunicorn @joepetrowski , change applied, please have another look, thank you!

Hi @gnunicorn @joepetrowski , change applied, please have another look, thank you!

bot merge

bot merge


Run docker-compose down before build?

I'm getting errors like the following but I only run one agent per host. I'm pretty sure a prior build got cancelled and didn't properly clean up the running containers. Can an option be added to kill any containers from previous jobs? Or, is there a more robust way to force cleanup to happen after the build completes?
ERROR: for buildkite0163351ce43d43c792276a2da3d2b4e2_redis_1  Cannot start service redis: driver failed programming external connectivity on endpoint buildkite0163351ce43d43c792276a2da3d2b4e2_redis_1 (d35a813f99837fb20d793bcfe8ba884c04c9e24eb8725f1791ecf914afdba253): Bind for <IP_ADDRESS>:6379 failed: port is already allocated

Looking at the log from one of the cancelled builds, it looks like it's terminating without running most of the lifecycle hooks (maybe this is really a buildkite bug?). It seems odd that the agent is lost in these cases since the agent gets reused on the next build.

Hi @ianwremmel. Sorry you've been hitting that. Are you seeing this with the latest version of the agent? We had some signal handling bugs in previous versions, which might have prevented the plugin from having a chance to cleanup properly.

I'm seeing it on v3.0.3

Thanks @ianwremmel! I can’t find 3.0.3 in https://github.com/buildkite/agent/releases 🤔

oh, sorry, I misread, that's the version of the docker-compose plugin.
I'm using version v4.3.31 of the elastic ci stack, so it's whatever agent is in image ami-057de5cbfd86cfe88. If I'm reading the dashboard right, it's agent version v3.12.0

Ah cool, thanks for finding out the exact agent version @ianwremmel!
Between the hook and this function, we should be cleaning everything up:

https://github.com/buildkite-plugins/docker-compose-buildkite-plugin/blob/40424b7bfd584e023bde924b8015bfc6ca07f516/hooks/pre-exit
https://github.com/buildkite-plugins/docker-compose-buildkite-plugin/blob/40424b7bfd584e023bde924b8015bfc6ca07f516/lib/run.bash#L3-L20

The -1 agent lost log output, that's usually if the instance gets forcefully terminated? (or a spot instance doesn't gracefully terminate). If you head to the timeline tab on the job with the -1 exit status, and click through to the agent, did it run any jobs after that one, or was that the last job it was running before it disappeared?
For the job that had the original Bind for <IP_ADDRESS>:6379 failed: port is already allocated error, I wonder if you could click through to the agent on that one too and see what previous jobs it ran and if they were cancelled like you were thinking?
I wonder why it's trying to bind the docker host's port for the redis instance, rather than just using the internal networking between containers? What's the expose port config on those?
Sorry for all the questions! Hopefully something will lead us to a clue, because we should already be doing a docker-compose down 🤔

I've seen the -1 agent lost when i've run out of memory (turns out eslint  can't be run on a t2.micro)., but in n this case, i'm pushing a new commit and buildkite is aggressively killing the job (let's call it Job A). I think the -1 agent lost is a bit misleading here; the agent is still available and takes on additional jobs (let's call the next one Job B).
Job B fails with the Bind for <IP_ADDRESS>:6379 failed: port is already allocated error because redis is still running since Job A never had a chance to run docker-compose down.

For the job that had the original Bind for <IP_ADDRESS>:6379 failed: port is already allocated error, I wonder if you could click through to the agent on that one too and see what previous jobs it ran and if they were cancelled like you were thinking?

Yes. It's still taking jobs. I've had to go into AWS to manually kill it so a new one with a normal environment would boot.

I wonder why it's trying to bind the docker host's port for the redis instance, rather than just using the internal networking between containers? What's the expose port config on those?

We're approximating Heroku deployment. The relevant compose files are (we use the array form of the buildkite docker-compose config option) are posted below.

Hopefully something will lead us to a clue, because we should already be doing a docker-compose down

Yea, I looked into the plugin code and I see that it's supposed to be calling down. It seems like one of these

might be causing the job to be killed in a way that doesn't run the cleanup lifecycle hooks.
docker-compose configs:
version: "3.6"

services:
  app:
    build: .
    command: "rails server"
    depends_on:
      - chrome
      - firefox
      - postgres
      - redis
      - selenium
    environment:
      CAPYBARA_SERVER_HOST: "<IP_ADDRESS>"
      DATABASE_URL: postgresql://postgres@postgres:5432/postgres
      DISABLE_SSL: "I AM SURE"
      MEMCACHEDCLOUD_SERVERS: "memcached:11211"
      PORT: 3000
      RAILS_ENV: test
      RAILS_LOG_TO_STDOUT: "true"
      REDIS_URL: "redis://redis:6379"
      SELENIUM_DRIVER: ${SELENIUM_DRIVER-docker_chrome}
    networks:
      redacted:
        aliases:
          - provider.udlocal.com
          - admin.udlocal.com
          - api.udlocal.com
          - www.udlocal.com
    volumes:
      - source: ./db
        type: bind
        target: /app/db

version: "3.6"

services:
  chrome: &selenium_node_config
    image: selenium/node-chrome
    depends_on:
      - selenium
    environment:
      - HUB_HOST=selenium
      - HUB_PORT=4444
    volumes:
      - /dev/shm:/dev/shm
    networks:
      - redacted

  firefox:
    <<: *selenium_node_config
    image: selenium/node-firefox

  memcached:
    image: memcached
    networks:
      - redacted
    ports:
      - "11211:11211"

  postgres:
    image: ${DATABASE_IMAGE_URI:-postgres:9.6}
    networks:
      - redacted
    ports:
      - "5432:5432"

  redis:
    image: redis:4.0.11
    networks:
      - redacted
    ports:
      - "6379:6379"

  selenium:
    image: selenium/hub
    ports:
      - "4444:4444"
    networks:
      - redacted

networks:
  redacted: {}

volumes:
  postgres: {}

Has any headway been made on this issue? I'm also running into something similar.

Just commenting to say I just started running into this on my pipeline, after a relatively long time not seeing it, and now I'm seeing it on a relative majority of builds

Hi @glittershark! which agent version are you running? we made several changes on exit status and cleaning dir on the latest releases. Could you confirm if this still happening on the last version? (v3.33.3)

Based on the fact that it has not been reported or upvoted in almost a year I will proceed to close this but feel free to re-open or create a new issue if this is still hapenning

yeah, this seems to have cleared itself up for us 🤔


Fatal signal 11 (SIGSEGV),

Hi thanks for your amazing work, I tried to run arcface on android, but it I keep getting Fatal signal 11 (SIGSEGV). If I change the output Blob name from fc1 to output, but it return empty tensor

Sorry @kikirizki, I'm afraid I can't be of any help on this. I haven't written or testes the software on android. Both, MNN and ncnn can run on android, something you surely knew.

Hi @Qengineering , Thank you for your prompt response, would you mind point me out about how did you convert the weight from the original arcface to.paramand .bin file. I will try to convert it myself, thank you.

A part of the project I've copied from GitHub as listed in the Thanks. Here the model was already converted.
On his turn Xinghao has used this GitHub repo. There is a conversation about training

@Qengineering Thank you for help, I will close this issue


Header space using iOS SDK 11

Hi, thanks for the library. Are you still maintaining it?
With Xcode9, the scroll view doesn't go back to the original position. This is also happening with your demo app.
Here is screenshot of the app after few refresh

Appreciate your work

+1

[self.myScrollView setContentInsetAdjustmentBehavior:UIScrollViewContentInsetAdjustmentNever];
add this to you scrollview and be happy)

Wow, that was easy.... thank you very much, it works like a charm


Works on Intel XDK?

I have installed this plugin on my project, but is impossible make build.
Do you have any example with Intel XDK?

@rcurvello Can you please check issue https://github.com/mauron85/cordova-plugin-background-geolocation/issues/17. Maybe you're experiencing same issue.

tks!


[FR] Validate fields parameters like confidence and bounding box

Proposal Summary
Add validation for field parameter values. For example, fo.Classification confidence parameter must be in range [0, 1] as specified in the documentation. However, no error is raised on this: fo.Classification(confidence=10). The same goes for other fields, like fo.Detection bounding box coordinates.
Motivation

Why is this use case valuable to support for FiftyOne users in general?

Users would be sure that all the detections, classifications, and key points are correct.

Why is it currently difficult to achieve this use case?

Currently, users have to override field classes and add constraints themselves.
What areas of FiftyOne does this feature affect?

[ ] App: FiftyOne application
[x] Core: Core fiftyone Python library
[ ] Server: FiftyOne server

Details
Willingness to contribute
The FiftyOne Community welcomes contributions! Would you or another member of your organization be willing to contribute an implementation of this feature?

[ ] Yes. I can contribute this feature independently
[x] Yes. I would be willing to contribute this feature with guidance from the FiftyOne community
[ ] No. I cannot contribute this feature at this time

Yes, I thought the reason was something like this)

Maybe add strict option to validate fields? Fiftyone classes are convenient to use, but knowing that there could be anything is disturbing


[fix] openlayers/map.js : invalid for ... in (IE11)

Coverage decreased (-32.2%) to 46.389% when pulling 1134f480cd29b6ad2fcaf895bdbd0501262d57e5 on itowtips:fix-map into cd12e6a9c9728e706f20f14375d7118cf05d016e on shirasagi:master.


Ensure getflag(noise) without put(noise) does not yield internal errors

See https://github.com/enowars/enowars-service-example/pull/12

*yield anything but MUMBLE?


Classification link goes to regression model tutorial

The link for "Tutorial: Train a classification model with automated machine learning" goes to the Regression Module tutorial (https://docs.microsoft.com/en-us/azure/machine-learning/service/tutorial-auto-train-models)  Either the link should be switched to classification or the wording should be changed to regression to match the current link.

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

ID: 585fff5e-cadd-8967-8c09-63d8afcb53b3
Version Independent ID: 95274303-b152-2ee8-113e-e0763beca7ed
Content: Create automated ML experiments - Azure Machine Learning service
Content Source: articles/machine-learning/service/how-to-configure-auto-train.md
Service: machine-learning
Sub-service: core
GitHub Login: @nacharya1
Microsoft Alias: nilesha

@angellmethod
Thanks for the feedback! We are currently investigating and will update you shortly.

@angellmethod I think it's right now. Please correct me if I am missing something.
We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


glb and ssl changes

PR summary

Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

@ajay-malhotra1 Hi Ajay,
I would like to release this code with this commit for terraform development.
will not be able to release because Directlink test cases are getting failed. can you please help me to get it resolved?

@KumarGanesanIBM - The DL Integration tests are fixed. You can re-run the build and the tests should not fail. But can you please change your commit message as per these guidelines https://github.com/IBM/ibm-cloud-sdk-common/blob/master/CONTRIBUTING_go.md#commit-messages.
Otherwise after your PR is merged, it won't create a new version and anyone trying to import the latest Go Package which is 0.4.1 won't have your changes.

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


HTML errors in FundamentalWave

Reported by dietmarw on 16 May 2013 08:15 UTC
The current version of HTML documentation in FundamentalWave contains the following errors (taken from tidy.filtered file that is generated by OpenModelica on a daily basis)
[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase.html]:
line 26 column 7 - Warning: replacing unexpected b by
line 26 column 62 - Warning: inserting implicit
line 27 column 4 - Warning: inserting implicit
line 28 column 4 - Warning: inserting implicit
line 29 column 4 - Warning: inserting implicit
line 30 column 4 - Warning: inserting implicit
line 31 column 4 - Warning: inserting implicit
line 32 column 4 - Warning: inserting implicit
line 33 column 4 - Warning: inserting implicit
line 34 column 4 - Warning: inserting implicit
line 39 column 4 - Warning: inserting implicit
line 44 column 4 - Warning: inserting implicit
line 44 column 4 - Warning: missing  before

line 44 column 13 - Warning: inserting implicit
line 44 column 22 - Warning: inserting implicit

line 45 column 4 - Warning: inserting implicit
line 47 column 2 - Warning: inserting implicit
line 26 column 62 - Warning: trimming empty
line 44 column 22 - Warning: trimming empty

[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.Parameters.html]:
line 44 column 87 - Warning: inserting implicit

line 44 column 87 - Warning: trimming empty

\--
[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.html]:
line 25 column 1 - Warning: inserting implicit

line 19 column 1 - Warning: trimming empty

line 25 column 1 - Warning: trimming empty

Migrated-From: https://trac.modelica.org/Modelica/ticket/1107

Comment by christiankral on 18 May 2013 19:45 UTC
Replying to [ticket:1107 dietmarw]:

The current version of HTML documentation in FundamentalWave contains the following errors (taken from tidy.filtered file that is generated by OpenModelica on a daily basis)
[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase.html]:
line 26 column 7 - Warning: replacing unexpected b by

Personally, I cannot access Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase.html (where is it located on the OpenModelica SVN repository or similar?). So I assume that line 26 of such HTML file means the following: If I store the HTML documentation of the affected Modelica class in a separate text file, then line 1 starts with . Counting from there to line 26 does neither show me an unexpected b nor can I see a missing  which shall be inserted.

line 26 column 62 - Warning: inserting implicit

How shall I interpret this message?  is not recommended in Modelica.UsersGuide.Conventions.Documentation at all.

line 27 column 4 - Warning: inserting implicit
line 28 column 4 - Warning: inserting implicit
line 29 column 4 - Warning: inserting implicit
line 30 column 4 - Warning: inserting implicit
line 31 column 4 - Warning: inserting implicit
line 32 column 4 - Warning: inserting implicit
line 33 column 4 - Warning: inserting implicit
line 34 column 4 - Warning: inserting implicit
line 39 column 4 - Warning: inserting implicit
line 44 column 4 - Warning: inserting implicit
line 44 column 4 - Warning: missing  before
line 44 column 13 - Warning: inserting implicit
line 44 column 22 - Warning: inserting implicit
line 45 column 4 - Warning: inserting implicit
line 47 column 2 - Warning: inserting implicit
line 26 column 62 - Warning: trimming empty
line 44 column 22 - Warning: trimming empty
[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.Parameters.html]:
line 44 column 87 - Warning: inserting implicit
line 44 column 87 - Warning: trimming empty

What is the rule on line 44 that we are not following?

--
[Checking file Modelica.Magnetic.FundamentalWave.UsersGuide.html]:
line 25 column 1 - Warning: inserting implicit
line 19 column 1 - Warning: trimming empty
line 25 column 1 - Warning: trimming empty

However, the recommended formatting of enumerated figures -- see Modelica.UsersGuide.Conventions.Documentation.Format.Figures -- has been incorporated in Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase

Comment by christiankral on 18 May 2013 19:53 UTC
See da8db5e4571b217a17b8fd9568bd501d57d10dd6.

Comment by dietmarw on 18 May 2013 21:49 UTC
Replying to [comment:1 christiankral]:

Personally, I cannot access Modelica.Magnetic.FundamentalWave.UsersGuide.MultiPhase.html (where is it located on the OpenModelica SVN repository or similar?). So I assume that line 26 of such HTML file means the following: If I store the HTML documentation of the affected Modelica class in a separate text file, then line 1 starts with . Counting from there to line 26 does neither show me an unexpected b nor can I see a missing  which shall be inserted.

The reported line numbers refer to the HTML that is extracted by OpenModelica's HTML generator. Basically this is just an indicator for what you need to look out. You can simply access the generated HTML documentation by browsing along starting from https://build.openmodelica.org/Documentation/. However you need to be aware that those HTML files will have been fixed by Tidy already but at least you can see what the HTML code was changed into.
You can and should not use the exported HTML of Dymola as reference since that one adds loads of HTML errors in addition unfortunately.
What I normally do is simply counting the lines with the modelica info field of the respective class. This normally is almost in the right region. Then do a simple search for what ever was the offending tag. This normally works out quite nicely. To check if you found all errors you will either have to wait until next OpenModelica has rebuild the documentation (I think about once a day) or you can run my modified version locally on a Linux machine https://svn.modelica.org/projects/Modelica/branches/tools/MSLrelease/

What is the rule on line 44 that we are not following?

All errors reported are real HTML issues and have nothing to do with any rule or guideline that we have defined in the User's Guide. So the errors reported are simply errors in the HTML syntax that need fixing.
I just ran the check locally on my machine and it seems you managed to fix it anyway :-)

Comment by dietmarw on 18 May 2013 22:59 UTC
Replying to [comment:3 dietmarw]:

I just ran the check locally on my machine and it seems you managed to fix it anyway :-)

This wasn't entirely true. There was one tiny bit left that needed fixing.
FIXED in ffcdfc9e1bbd700bd29ee32008c03dc87dac6c9a.


Transfer to org

Hey. Could you transfer this repo under the organization and give me some permissions?
When we're ready (soon hopefully), I'd like to invite users to the new repo, deal with issues at stuff.
Thanks!

Done, thanks again!


Register form initial styling

Description
Basic styling implemented on the register form using Material-UI and Styled Components.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[x] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

It looks like 'required' was taken out? That should probably be left in. Also, if we're not going to use labels with the inputs, we should probably have placeholders.
Edit: Unless red are additions, and green are removals?

As discussed over Zoom, placeholders were redundant but I will add back in required along with Material-UI validation.


Security  icon's size is not consistent to others icon's size

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

Action Performed:
1.Open https://staging.new.expensify.com/ & login to app
2.Go to settings
3.Compare  the size of security lock icon to other icons
4.Observe that, security icons size is not same as other's icon
Expected Result:
Security lock icon's size should be exactly same as the other's icons size
Actual Result:
Security lock icon's size is different than the , other's icons size
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.42-5
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://github.com/Expensify/App/assets/43996225/ee8623f4-ac72-4b09-96ab-968b428ab88c

Expensify/Expensify Issue URL:
Issue reported by: @lincolnb17
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689587167568429
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Security icon's size is not consistent to others icon's size
What is the root cause of that problem?
SVG content of Lock Icon is small
What changes do you think we should make in order to solve the problem?
Use new SVG file
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
	viewBox="3.5 1 12.5 15" shape-rendering="geometricPrecision" text-rendering="geometricPrecision">
	<path
		d="M13.732666,7.551462v-2c0-2.2-1.8-4-4-4s-4,1.8-4,4v2h-1c-.6,0-1,.4-1,1l-.016631,3.412203c0,1.7.751309,1.939349,2.451309,1.939349h7.186729c1.7,0,2.361962-.239349,2.361962-1.939349l.016631-3.412203c0-.6-.4-1-1-1h-1Zm-2,0v-2c0-1.1-.9-2-2-2s-2,.9-2,2v2h4Z"
		clip-rule="evenodd" fill-rule="evenodd" />
</svg>

What alternative solutions did you explore? (Optional)
N/A

@shawnborton is this a bug? The size of all icons is 20x20 but the size of each SVG is different. Other SVGs have different widths and heights too.

This is not a bug, each icon is using a 20x20 box here.


DATAJDBC-218 - Add support for key column in @Column annotation

This adds the functionality requested in DATAJDBC-218, so you can now customize the key column name for List and Map collections inside the @Column annotation.
I have also added a test case to demonstrate the behavior.

Thanks, that is polished and merged.


Select does not float label if value missing from options

RMWC 5.2.2
If you render a Select with a value that is not present in the options then the label will not float.
https://codesandbox.io/s/oxk836217q
import React from "react";
import ReactDOM from "react-dom";
import { Select } from "@rmwc/select";
import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>import<EMAIL_ADDRESS>
function App() {
  return (
    <Select outlined label="Fruit" value="Pear" options={["Apple", "Orange"]} />
  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

Note a huge problem but we cannot get a ref to the underlying MDC component to workaround this like we could in v4 (because Select is a function component.)

I know we've fixed a lot of float related issues, but this one seems a bit weird. In regular HTML this wouldn't even be possible. Still happy to look into fixing this, but just don't see how it is at all valid.
One workaround would be to set the non-existant value as the placeholder.

One workaround would be to set the non-existant value as the placeholder.

Ah, this will do the trick then. Feel free to close this.

Happy to figure out another solution as well, just debating whether or not this is an actual problem. The lifecycle for the Select components in MDC is bonkers which is why this continues to be a problem.

Happy to figure out another solution as well, just debating whether or not this is an actual problem. The lifecycle for the Select components in MDC is bonkers which is why this continues to be a problem.

Closing since there is a workaround and this doesn't seem like it should be valid in the first place ;). Reopen if you wan't to explore alternatives.


Style usergroup pages

Cleaning up the layouts.
@hflynn This is okay to merge, and I can continue working on it (OMERO pages) more from a fresh branch tomorrow.

merging

Looks really nice!


feat: add and use not_irreducible_pow

Also rename pow_not_prime theorems to match.
not_irreducible_pow is extracted from flt-regular.

I think not_irreducible_pow matches the naming convention slightly better, but happy to change it too. Please let me know if I should change it.

maintainer merge

Thanks!
bors merge

Hmm, let's try again.
bors merge


feat: allow setting a password for the dm area

this pull request removes the localhost header check, which exposes the dm endpoints without protection by default. Setting the environment variable DM_PASSWORD protects the dm routes by prompting for a password.
Closes #24

Thanks, I added you as a collaborator. Feel free to improve anything.


NTLM Authentication

Hi,
I wondered, if it would be possible to add NTLM Authentication (and possibly Digest), maybe using this node.js module:
https://github.com/SamDecrock/node-http-ntlm
I would greatly appreciate having the possibility to authenticate using NTLM.
My best regards
Marcus

Hi, sorry about the very late response on this one! I haven't worked with NTLM, but from a quick glance at the documentation for node-http-ntlm, it looks like it only needs to set a custom Authorization header, no special HTTP agents or anything. Adding such a header to simplecrawler is easy.
Basically it would look something like this:
var ntlm = require('httpntlm').ntlm;
var Crawler = require('simplecrawler');

var options = {
    url: "https://someurl.com",
    username: 'm$',
    password: 'stinks',
    workstation: 'choose.something',
    domain: ''
};

var type1msg = ntlm.createType1Message(options);
var crawler = new Crawler("www.example.com");

crawler.customHeaders.Authorization = type1msg;

@HaaseIT would this solve your problem?

Closing this ticket for now since I believe the solution outlined above to lay out a good path for solving this. However, since I haven't worked with NTLM I might be wrong, let me know if that's the case @HaaseIT!


run the cell the figure window not responding

hey,sir
i am student an i'm working on end of studies project "conception of SPMSM motor of pedelec and it's command "
so when i start following ur tuturial and when i start to run the first cell of how to define a machine the figure window shows it's not responding and i serached and didn't find a solution ... i hope u can answer me as soon as possible
thank you

Hello,
Thank you for your interest in pyleecan. Which version of pyleecan and Python are you using ?
I'm not sure if I understand correctly your issue, does the jupyter notebook window freeze or is a the matplotlib popup ? Can you try to execute the first cellule twice (the windows, should then be inline) ? Can you try to run the corresponding code in a python script to see if an error message is there ?
Best regards,
Pierre


[#447] Create utility script to generate appsettings.json

Fixes # 447
Description
This PR adds a new script to configure the appsettings.Development.json file with DirectLineSecrets and BotIds for the FunctionalTest project.
To generate the appsettings.Development.json file, the script will use the appsettings.json as baseline, in case the development file already exists, it will be used as baseline instead.
When executing the script, two set of inputs must be provided, the Resource Group (optional, defaults to 'BFFN') and the Resource Suffix (combination of ResourceSuffix + BuildId variables).
Specific Changes

Script only supports PowerShell 7+, therefore a validation was added.
Two parameters and input variables added (ResourceGroup and ResourceSuffix).

ResourceGroup: Name of the resource group where the bots are deployed, (without the DotNet, JS and Python suffixes).
ResourceSuffix: Combination of ResourceSuffix + BuildId variables.
If one or both of the parameters aren't provided when executing the script, the missing variables will be asked for the configuration.

Step to create the appsettings.Development.json file to use as a source for the rest of the steps.

When the file doesn't exist, it will copy the appsettings.json file and use it as baseline.
When the file exists, it will continue the process.

Step to corroborate that all bot resources are deployed and the DirectLineSecret can be retrived.
Step to obtain the DirectLineSecret for each bot.
Step to update the appsettings.Development.json file with all Bots' DirectLineSecrets and BotIds variables.
Small sleep timeout of 300ms was added to the script to have nicer message prompts.

Testing
The following image shows how the script is executed.

Should we add a document somewhere explaining what is this script for and how to use it?

Regarding this, I think this doesn't need a document to use it, i think it can be used without some guidance (but will be good addition, all things should have a document on how to use it).
Maybe, we should discuss this at some point

PR Promoted


*: v3api index->revision

Make the naming consistent in store and its proto API.

lgtm

after travis fixed

@yichengq I am going to merge this. Please check if your newly merged test code uses index instead of revision. Thanks!

All test code are using revision, so it is good.


Crash Reports

Description
This PR implements sentry as a crash reporting metric. This way we will see all the crashes that are happening on the Flow CLI if the users agree with the report as seen in the video.
https://asciinema.org/a/RJwzOqrrsFUROWCasgMQKr6tW

For contributor use:

[x] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work
[x] Code follows the standards mentioned here
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

API keys need to be replaced after I get them generated from the SRE.

Codecov Report

Merging #454 (393f5d0) into master (6d97be1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #454   +/-   ##
=======================================
  Coverage   54.79%   54.79%
=======================================
  Files          37       37
  Lines        1969     1969
=======================================
  Hits         1079     1079
  Misses        749      749
  Partials      141      141

Flag
Coverage Δ

unittests
54.79% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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 6d97be1...393f5d0. Read the comment docs.

Nice!
A nice improvement would be to have an always send and never send option that gets set to the config (or somewhere persistent). But that can be added later.

This case is a bit paradoxical :D because we are improving the UX of the crash reports which greatly hurts UX in the first place maybe better to make sure this screen is not displayed enough times that this setting will make it better :D But I didn't want to create this file/setting for just the sake of this, it feels a bit invasive, but I guess if later we will expand this to other metrics it will be unavoidable, but even then I would maybe first consider saving that preference in the cloud as an anonymous setting, sentry and similar allow saving preferences.