[BUG] txAdmin ingame menu and vRP2 side-by-side

txAdmin/FXServer versions:
All
Describe the bug
Unable to install txAdmin ingame menu on a vRP2 server.
To Reproduce
Actually none, but the following has been tried

Rename resource to txAdmin
Copy txAdmin to resource folder
Refresh on server console with the command refresh.
Trying to start the resource with command start txAdmin.
Response:

Couldn't find resource txAdmin.

The folder does not contain a manifest file, and I guess that is the reason.
However, where is that resource file located to make it possible to start the resource,
or how should the resource be install?
Another try:

Placing the txAdmin folder (this repo as is) in the resource folder hence it contains a manifest file in root.
Deleting package.json files
Executing refresh
Start the resource  start txAdmin
Response:

[         script:yarn] Error: [yarn] error An unexpected error occurred<EMAIL_ADDRESS>ESOCKETTIMEDOUT".
[         script:yarn]
[         script:yarn] [yarn] info If you think this is a bug, please open a bug report with the information provided in "C:\\Src\\fivem\\txDataVrpDunko\\CFXDefault_E9235B.base\\resources\\txAdmin\\yarn-error.log".
[         script:yarn] info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
[         script:yarn]
[ citizen-server-impl] Building resource txAdmin failed.
[ citizen-server-impl] Error data: yarn failed!

The /tx and /txadmin command is visible in game via the chat, but nothing happens when executing the commands.
Expected behavior
A precise description of how it is installed on a vRP2 server, or stating that it is not supported if so.
Additional context
Windows 10/11

txAdmin is not something that you install, it already comes with fxserver.
Please check our readme:  https://github.com/tabarra/txAdmin#running-windowslinux

txAdmin is not something that you install, it already comes with fxserver. Please check our readme: https://github.com/tabarra/txAdmin#running-windowslinux

The link refers to how to install the server, but the server is already installed, but txAdmin is not available.
However, I want it to be enabled in game, I don't need it for other purposes as the server is already installed.

@nc-jeni You are wrong, the linked doc paragraph tells you how to enable txAdmin on all servers.
Furthermore, please use discord.gg/txAdmin for support.


Add remove legend function

Currently building a app where users can create layer with userinput specific legends. Is it possible to remove previous generated legends? There is no function like ".remove_colorbar()".
Thanks for help!

Are you using folium or ipyleaflet? It is possible to remove legends from ipyleaflet, but not folium.

This feature has been implemented. You can now use Map.remove_legend() and Map.remove_colorbar() to remove legend/colorbar from ipyleaflet. Note that folium is not supported.
Update the package using geemap.update_package() and restart the kernel to take effect. For web apps, you might want to add git+git://github.com/giswqs/geemap to requirements.txt


typo: reqest -> request

@nschonni : Thanks for your contribution! The author, @lgayhardt, has been notified to review your proposed change.


CSSResourcePlugin does not bundle Fonts

If anyone wants to fix it, some place here

https://github.com/247even/gulp-cssfont64
does something similiar

Great, should be an easy fix

@mitsoe working on it now ;)

Good job @devmondo

Too fast :)

@mitsoe  the Fuse Spirit :)


1.9 CppLint and CppCheck Added

Added CPPLint and CPPCheck

Codecov Report

Merging #3 (c4fb6a0) into main (cd911a4) will not change coverage.
Report is 4 commits behind head on main.
The diff coverage is 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           12        13    +1
=========================================
+ Hits            12        13    +1

Files
Coverage Δ

test/test.cpp
100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[1.16] Nuke crashes server

Industrial Foregoing Version:
<IP_ADDRESS>-7
Titanium Version:
<IP_ADDRESS>-10
Crashlog If Applicable (Upload to pastebin/gist):
https://pastebin.com/raw/7rJs8hyR

Try updating the mod


test runner

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@b0062bf). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main        #5   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         2
  Lines           ?        40
  Branches        ?        12
========================================
  Hits            ?        40
  Misses          ?         0
  Partials        ?         0

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 b0062bf...28ba630. Read the comment docs.


Warning should be surfaced if any part of the --models specification doesn't exist

Describe the bug
A clear and concise description of what the bug is. What command did you run? What happened?
Assume model_a exists and model_b does not exist in a given dbt project.
If you run dbt run --models model_b you get an error: WARNING: Nothing to do....
If you run dbt run --models model_a model_b you don't get any error since one of the models exists.
It seems like it would make sense to surface an error like WARNING: Model specification matching model_b not found or something like that
Steps To Reproduce
In as much detail as possible, please provide steps to reproduce the issue. Sample data that triggers the issue, example model code, etc is all very helpful here.
See above
Expected behavior
A clear and concise description of what you expected to happen.
See above
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
See above
System information
Which database are you using dbt with?

[ ] postgres
[x] redshift
[ ] bigquery
[ ] snowflake
[ ] other (specify: ____________)

The output of dbt --version:
Running with dbt=0.15.0

The operating system you're using:
OSX

The output of python --version:
Python 3.7.4

Additional context
Add any other context about the problem here.
Definitely not an urgent problem, but figure it's a good one to mention

Thanks for the report @kingfink - this is a good idea! We should make this a highly visible warning that can be raised to an error using the --warn-error flag

@drewbanin seems like this is somewhat related to https://github.com/fishtown-analytics/dbt/issues/1765?

ha! Thanks @jeremyyeo - I was looking for that one! Just closed #1765 in favor of this issue. Appreciate you digging for it :)


Add CoAP over TCP transport layer

This issue aims to centralize discussion about adding CoAP over TCP transport layer.

Californium - Complete the experimental CoAP over TCP implementation
Beside of the integration of BERT (TCP-blockwise) in 3.0, no further progress.
From my side, still no plans to work on the TCP stuff. Help and contributions will be welcome.

Some very very experimental implementation at #1312

The current idea is to implement this based on Californium. (another idea would be to  try another library)
The current coap+tcp experimental implementation of Californium is far to be "complete" or even in "minimal viable feature" state.
See : https://github.com/eclipse-californium/californium/wiki/CoAP-over-TCP
So if we want to go further on this feature, the next step would probably be to move implement missing feature in Californium. (at least what seems to be mandatory)
Thinking a bit about that I bet that this will bring lot of API break in Californium.
E.g we probably need to add more "connection oriented event" Californium "Layer"
So this could only be doable for Californium v4.0.0.

Maybe we ask some developers of a C-library, which features that C-library supports/requires?
Beside of a compatible implementation, a subset may also help to see, if the benefits of TCP justify the implementation invest.

Clearly, a first step would be to just target a Minimal Viable Feature. (not a full implementation of the RFC)
I tried to identify  what could be the scope of this Minimal Viable Feature at https://github.com/eclipse-californium/californium/wiki/CoAP-over-TCP.
I guess LWM2M use case will also bring some more new Californium API need (especially about controlling TCP connection)  but it's not so clear to me for now.

Maybe we ask some developers of a C-library, which features that C-library supports/requires?

Yep It could help to define the scope of this Minimal Viable Feature.

Yep It could help to define the scope of this Minimal Viable Feature.

Done via e-mail. I added you to cc.

The answer's we get by mail from @mrdeep1

Work was in progress for CoAP over TCP when I started to use libcoap - which was driven by the DOTS requirements (initially RFC8782, superseded by RFC9132) which required support for CoAP over both UDP and TCP.  That did cause some fixes to the libcoap TCP logic - in particular for the TLS support.
As you are aware, libcoap does not support the Websockets component of RFC8323.  It also does not take action (other than checking syntax is correct) on CSM Release or CSM Abort (no one has raised questions about them, but should be easy to fix).  Otherwise, I am pretty sure that libcoap is fully compliant and gets upset if the remote end is violating a MUST.  Testing against the demo coap-server will highlight any implementation issues, as well as the demo coap-client will indicate if the remote end is not playing ball.
Libcoap fully supports the other CoAP RFCs - i.e. Observe/Block over TCP.
I think that you would need to implement all the MUST - especially where the remote end requires to make a decision.
I have no experience of interoperating against java implementations for TCP.  I have fixed libcoap bugs against other CoAP implementations (as well as caused other implementations to get fixed!).

I just tested californiuum with libcoap (coap-server/coap-client) :
:heavy_check_mark: Tested with libcoap  at client and server  :
2022-11-28 16:14:01,483269768	<IP_ADDRESS>	<IP_ADDRESS>	38111	5683	CoAP	73	7.01 CSM
2022-11-28 16:14:01,483278739	<IP_ADDRESS>	<IP_ADDRESS>	5683	38111	CoAP	73	7.01 CSM
2022-11-28 16:14:01,483338328	<IP_ADDRESS>	<IP_ADDRESS>	38111	5683	CoAP	81	GET, TKN:01, /test
2022-11-28 16:14:01,483383129	<IP_ADDRESS>	<IP_ADDRESS>	5683	38111	CoAP	79	4.04 Not Found (text/plain), TKN:01, /test

:heavy_check_mark:  Tested with java-coap  at client side and libcoap at server side :
2022-11-28 16:33:19,780459494	<IP_ADDRESS>	<IP_ADDRESS>	5683	32802	CoAP	73	7.01 CSM
2022-11-28 16:33:19,800034426	<IP_ADDRESS>	<IP_ADDRESS>	32802	5683	CoAP	71	7.01 CSM
2022-11-28 16:33:19,814653271	<IP_ADDRESS>	<IP_ADDRESS>	32802	5683	CoAP	74	GET, /hello
2022-11-28 16:33:19,814798963	<IP_ADDRESS>	<IP_ADDRESS>	5683	32802	CoAP	78	4.04 Not Found (text/plain)

:x: Tested with Californium at client side and libcoap at server side  :
2022-11-28 16:31:45,672056141	<IP_ADDRESS>	<IP_ADDRESS>	5683	59806	CoAP	73	7.01 CSM
2022-11-28 16:31:45,757129610	<IP_ADDRESS>	<IP_ADDRESS>	59806	5683	CoAP	92	GET, TKN:1c 4e f8 cd a4 89 f9 15, coap://localhost/test

// with log :
Nov 28 18:03:24.386 DEBG ***[::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : session 0x561e1f87f860: new incoming session
Nov 28 18:03:24.386 DEBG ***EVENT: 0x1001
Nov 28 18:03:24.386 DEBG ***[::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : sending CSM
Nov 28 18:03:24.387 DEBG *  [::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : sent 7 bytes
v:1 t:CON c:CSM i:0000 {} [ Max-Message-Size:8388864, Block-Wise-Transfer: ]
Nov 28 18:03:24.387 DEBG ***EVENT: 0x4001
Nov 28 18:03:24.455 DEBG *  [::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : received 26 bytes
v:1 t:CON c:GET i:0000 {f495af4dad0ba315} [ Uri-Host:localhost, Uri-Path:test ]
Nov 28 18:03:24.455 DEBG request for unknown resource 'test', return 4.04
Nov 28 18:03:24.455 DEBG ** [::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : mid=0x0: delayed
Nov 28 18:03:34.471 DEBG ***[::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : session disconnected (reason 1)
Nov 28 18:03:34.472 DEBG ** [::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : mid=0x0: not transmitted after disconnect
Nov 28 18:03:34.472 DEBG ***EVENT: 0x1002
Nov 28 18:03:34.472 DEBG ***EVENT: 0x2003
Nov 28 18:03:34.472 DEBG ***EVENT: 0x4002
Nov 28 18:03:34.472 DEBG ***[::ffff:<IP_ADDRESS>]:5683 <-> [::ffff:<IP_ADDRESS>]:44116 TCP : session 0x561e1f87f860: closed

:point_up:  I guess server never send any answer because response is delayed waiting client send CSM message.
:x: Tested with libcoap  at client side and Californium at server side :
2022-11-28 17:06:46,741370664	<IP_ADDRESS>	<IP_ADDRESS>	40643	5683	CoAP	73	7.01 CSM

// with log :
Nov 28 18:06:46.741 DEBG ***<IP_ADDRESS>:0 <-> <IP_ADDRESS>:5683 TCP : session 0x55b4e99dba00: created outgoing session
Nov 28 18:06:46.741 DEBG ***EVENT: 0x1001
Nov 28 18:06:46.741 DEBG ***<IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : sending CSM
Nov 28 18:06:46.741 DEBG *  <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : sent 7 bytes
v:1 t:CON c:CSM i:0000 {} [ Max-Message-Size:8388864, Block-Wise-Transfer: ]
Nov 28 18:06:51.746 DEBG ** <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : timeout waiting for first response
Nov 28 18:06:51.746 DEBG timeout is set to 90 seconds
Nov 28 18:06:51.746 DEBG sending CoAP request:
Nov 28 18:06:51.746 DEBG PDU presented by app
v:1 t:CON c:GET i:ce12 {01} [ Uri-Path:test, Request-Tag:0x5cb1a6b4 ]
Nov 28 18:06:51.746 DEBG ** <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : lg_crcv 0x55b4e99dc560 initialized - stateless token xxxx000000000002
Nov 28 18:06:51.746 DEBG ** <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : mid=0xce12: delayed
Nov 28 18:06:56.897 DEBG ***<IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : session disconnected (reason 1)
Nov 28 18:06:56.899 DEBG ** <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : mid=0xce12: not transmitted after disconnect
Nov 28 18:06:56.900 ERR  cannot send CoAP pdu
Nov 28 18:06:56.900 DEBG ** <IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : lg_crcv 0x55b4e99dc560 released
Nov 28 18:06:56.900 DEBG ***EVENT: 0x1002
Nov 28 18:06:56.900 DEBG ***EVENT: 0x2003
Nov 28 18:06:56.900 DEBG ***<IP_ADDRESS>:40643 <-> <IP_ADDRESS>:5683 TCP : session 0x55b4e99dba00: closed

:point_up:  I guess client never send the request because, it doesn't receive the CSM message ? :thinking:
:dart:  So without surprises, we should probably focus on Capabilities and Settings Messages first.

Agreed.  libcoap is following (and hence expecting the first thing to be received is a CSM) as per RFC8323 Section 5.3
   One CSM MUST be sent by each endpoint at the start of the Transport
   Connection.  Additional CSMs MAY be sent at any other time by either
   endpoint over the lifetime of the connection.

Using Californium to implement coap+tcp sounds not to be the right way. (see https://github.com/eclipse-californium/californium/issues/2092#issuecomment-1436719594)
So next ideas to try, in order will be  :

try with java-coap (fork).
try to implement a new coap+tcp lib.

But before to work on coap+tcp with java-coap we need to work on : https://github.com/eclipse/leshan/issues/1373


Error: create: failed to create: the server responded with the status code 413 but did not return more information (post secrets)

Output of helm version:
root@144-8-225-229:/apps/opt/jenkins/83-aws-us-east-1-ontv-vzontime-ple-appointment-availability-service # helm version
version.BuildInfo{Version:"v3.10.0", GitCommit:"ce66412a723e4d89555dc67217607c6579ffcb21", GitTreeState:"clean", GoVersion:"go1.18.6"}
Output of kubectl version: kubectl version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
The connection to the server localhost:8080 was refused - did you specify the right host or port?
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
EKS
root@144-8-225-229:/apps/opt/jenkins/83-aws-us-east-1-ontv-vzontime-ple-appointment-availability-service # helm upgrade --install --wait --timeout 1200s --history-max 10 --debug appointment-availability-service-ple ./ --namespace ontv-vzontime-ple -f=.//values_ple.yaml --set-string global.build.env=ple --kubeconfig=/root/kubeconfig_ple_EAST
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/kubeconfig_ple_EAST
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/kubeconfig_ple_EAST
history.go:56: [debug] getting history for release appointment-availability-service-ple
Release "appointment-availability-service-ple" does not exist. Installing it now.
install.go:192: [debug] Original chart version: ""
install.go:209: [debug] CHART PATH: /apps/opt/jenkins/83-aws-us-east-1-ontv-vzontime-ple-appointment-availability-service
Error: create: failed to create: the server responded with the status code 413 but did not return more information (post secrets)
helm.go:84: [debug] the server responded with the status code 413 but did not return more information (post secrets)
create: failed to create
helm.sh/helm/v3/pkg/storage/driver.(*Secrets).Create
helm.sh/helm/v3/pkg/storage/driver/secrets.go:164
helm.sh/helm/v3/pkg/storage.(*Storage).Create
helm.sh/helm/v3/pkg/storage/storage.go:69
helm.sh/helm/v3/pkg/action.(*Install).RunWithContext
helm.sh/helm/v3/pkg/action/install.go:340
main.runInstall
helm.sh/helm/v3/cmd/helm/install.go:278
main.newUpgradeCmd.func2
helm.sh/helm/v3/cmd/helm/upgrade.go:122
github.com/spf13/cobra.(*Command).execute
github.com/spf13/cobra@v1.5.0/command.go:872
github.com/spf13/cobra.(*Command).ExecuteC
github.com/spf13/cobra@v1.5.0/command.go:990
github.com/spf13/cobra.(*Command).Execute
github.com/spf13/cobra@v1.5.0/command.go:918
main.main
helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
runtime/proc.go:250
runtime.goexit
runtime/asm_amd64.s:1571
root@144-8-225-229:/apps/opt/jenkins/83-aws-us-east-1-ontv-vzontime-ple-appointment-availability-service # helm versiob
Error: unknown command "versiob" for "helm"
Did you mean this?
version
Run 'helm --help' for usage.

Duplicate of #11398


add full name to blog posts instead of github username

What's your idea?

Currently the blog posts only return the display name but I'd like it to return the full name instead and maybe the bio?

Nice idea! Fwiw, if the author happens to be a current or previous ACM at CSUF board member, their full name should already be available via our /src/lib/constants/officers.json file.

I saw that in the code but I don't actually see it working as all blog posts were by board members

I recently made a branch test/officer-github-compat to see if it was working. Since it isn’t, getOfficerByGhUsername might need further testing.

update: after finally updating my profile to have a github username it still does not work

Followed up in #650.


Glob pattern require leading slash in .gitignore in order to take effect. Why?

For multi-module Java project I put to .gitignore:
*/build/
*/log/

Git respects this patterns and exclude subproj1/build and subproj2/log directories.
To make ag honer this setting I found that leaning slash helps:
/*/build/
/*/log/

Why is it necessary?

Another report of this behavior is at: https://github.com/ggreer/the_silver_searcher/issues/530#issuecomment-254890668

@gavenkoa For you particular case, you can also use
build/
log/

It should have the same effect.

Not precisely. With /*/build I limit to subprojects only. build/` pattern operates recursively...

Similarly with double slashes. git grep ignores both Makefile and src/Makefile and src/foo/Makefile with simply **/Makefile, while ag requires two patterns
/Makefile
/**/Makefile

(both with leading slashes)


Youtube :ytwatchlater [Broken]

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running yt-dlp version 2021.06.09
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] Command-line config: ['--verbose', '--cookies', 'cookies.txt', '--skip-download', ':ytwatchlater']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.06.09
[debug] Python version 3.8.0 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg n4.4-19-g8d172d9409, ffprobe n4.4-19-g8d172d9409
[debug] Proxy map: {}
[debug] [youtube:watchlater] Extracting URL: :ytwatchlater
[debug] [youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=WL
[youtube:tab] WL: Downloading webpage
[debug] [youtube:tab] Final URL: https://www.youtube.com/playlist?list=WL
[youtube:tab] WL: Downloading API JSON with unavailable videos
ERROR: YouTube said: The playlist does not exist.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com
/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1133, in wrapper
    return func(self, *args, **kwargs)
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1154, in __extract_info
    ie_result = ie.extract(url)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\common.py", line 567, in extract
    ie_result = self._real_extract(url)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3642, in _real_extract
    info_dict = self.__real_extract(url, smuggled_data)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3742, in __real_extract
    data = self._reload_with_unavailable_videos(item_id, data, webpage) or data
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3556, in _reload_with_unavailable_videos
    return self._extract_response(
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3595, in _extract_response
    self._extract_and_report_alerts(response, expected=False)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3515, in _extract_and_report_alerts
    return self._report_alerts(self._extract_alerts(data), *args, **kwargs)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3512, in _report_alerts
    raise ExtractorError('YouTube said: %s' % errors[-1][1], expected=expected)
yt_dlp.utils.ExtractorError: YouTube said: The playlist does not exist.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; s
ee  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

Description

Trying to get a list of videos from my watchlater list, youtube-dl only listed 100 videos, googeling yt-dlp supposedly had this fixed but I'm getting this error instead.

Check your cookies? Seems like they don't contain your Youtube cookies.

Hmm. Can you try running with --compat-options no-youtube-unavailable-videos?
There's potentially a couple issues here.
I notice it is working for the initial page but failing on the API call for the page with unavailable videos. Regardless of why, this call should not raise a fatal error. Seems to be triggered by the alert extraction.

Got this:
[debug] Command-line config: ['--compat-options', 'no-youtube-unavailable-videos', '--cookies', 'cookies.txt', '--skip-download', ':ytwatchlater', '--verbose']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.06.09
[debug] Compatibility options: no-youtube-unavailable-videos
[debug] Python version 3.8.0 (CPython 64bit) - Windows-10-10.0.19041-SP0
[debug] exe versions: ffmpeg n4.4-19-g8d172d9409, ffprobe n4.4-19-g8d172d9409
[debug] Proxy map: {}
[debug] [youtube:watchlater] Extracting URL: :ytwatchlater
[debug] [youtube:tab] Extracting URL: https://www.youtube.com/playlist?list=WL
[youtube:tab] WL: Downloading webpage
[debug] [youtube:tab] Final URL: https://www.youtube.com/playlist?list=WL
WARNING: [youtube:tab] YouTube said: INFO - Unavailable videos are hidden
[download] Downloading playlist: Watch later
[youtube:tab] WL page 1: Downloading API JSON
ERROR: YouTube said: The playlist does not exist.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com
/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1133, in wrapper
    return func(self, *args, **kwargs)
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1165, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1270, in process_ie_result
    return self.__process_playlist(ie_result, download)
  File "d:\python\python38\lib\site-packages\yt_dlp\YoutubeDL.py", line 1352, in __process_playlist
    entry = ie_entries[i - 1]
  File "d:\python\python38\lib\site-packages\yt_dlp\utils.py", line 3985, in __getitem__
    self.__cache.extend(itertools.islice(self.__iterable, n))
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3633, in _smuggle_data
    for entry in entries:
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3264, in _entries
    response = self._extract_response(
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3595, in _extract_response
    self._extract_and_report_alerts(response, expected=False)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3515, in _extract_and_report_alerts
    return self._report_alerts(self._extract_alerts(data), *args, **kwargs)
  File "d:\python\python38\lib\site-packages\yt_dlp\extractor\youtube.py", line 3512, in _report_alerts
    raise ExtractorError('YouTube said: %s' % errors[-1][1], expected=expected)
yt_dlp.utils.ExtractorError: YouTube said: The playlist does not exist.; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; s
ee  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

Ok, looks like my suspicion was correct, seems like the API call isn't being authenticated correctly. :cry:
This might be a bit difficult to troubleshoot, since I haven't seen any issues like this since we implemented it.
Trying to think of some cases we haven't tested:

is the cookies for a third YouTube brand channel (3 channels under 1 account)?
do you have any other accounts logged in maybe?
does your cookie file contain a "SAPISID" entry? if not does it contain a "__Secure-3PAPISID" entry?

So TL;DR we potentially have two issues:

authentication issue with API
unavailable videos request should not raise an error on alert extraction

thanks for reporting this.

is the cookies for a third YouTube brand channel (3 channels under 1 account)?
Not sure, I seem to have 3 channels but know nothing about how that works.
do you have any other accounts logged in maybe?
I am logged in to Youtube on Kodi and on my Palemoon webbrowser.
does your cookie file contain a "SAPISID" entry? if not does it contain a "__Secure-3PAPISID" entry?
No "SAPISID" but there is a "__Secure-3PAPISID" cookie.

No "SAPISID" but there is a "__Secure-3PAPISID" cookie.

Ah that must be it. I removed the SAPISID cookie on my end and I get the same behavior. Not sure why yours doesn't have it, but yt-dlp only picks up the "SAPISID" cookie atm.
For now, can you try duplicating the entire line containing the "__Secure-3PAPISID" cookie and rename it to "SAPISID" in your cookie file and try again?
From mine it looks like they are the same thing.

Thanks, Seems to work now :satisfied:

Awesome!  I'll get that fixed later. Thanks :smiley:


V14/all components

Version 14 of material components web is here!
I worked on this on'n'off, so there might be some mistakes here and there. I will look through everything myself as well. Feel free to review this over the course of multiple sessions or one component at a time.

Codecov Report
Patch coverage: 57.04% and project coverage change: -5.16 :warning:

Comparison is base (cc33eaf) 81.50% compared to head (b7c5414) 76.34%.

:exclamation: Current head b7c5414 differs from pull request most recent head 34274f9. Consider uploading reports for the commit 34274f9 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #898      +/-   ##
==========================================
- Coverage   81.50%   76.34%   -5.16%
==========================================
  Files         109      114       +5
  Lines        3368     3847     +479
  Branches      771      875     +104
==========================================
+ Hits         2745     2937     +192
- Misses        618      905     +287
  Partials        5        5

Impacted Files
Coverage Δ

src/chip/foundation.tsx
0.00% <0.00%> (-48.53%)
:arrow_down:

src/drawer/foundation.tsx
51.56% <ø> (ø)

src/list/collapsible-list.tsx
37.61% <ø> (ø)

src/list/list.tsx
100.00% <ø> (ø)

src/select/select-icon/foundation.tsx
5.88% <ø> (ø)

src/select/select/foundation.tsx
77.11% <ø> (ø)

src/select/select/index.tsx
85.56% <ø> (ø)

src/tabs/tab-foundation.tsx
65.95% <ø> (ø)

src/tabs/tab-indicator.tsx
100.00% <ø> (ø)

src/tabs/tab.tsx
100.00% <ø> (ø)

... and 30 more

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Closed in favor of https://github.com/rmwc/rmwc/pull/938


use resident, not virtual for memory usage

Right now OSMonitor use virtual size when sorting by memory usage.
This however include various memory pages that are not in active use, or shared across multiple processed (shared libraries etc).
resident is the size the process is actively using.

I have checked the source, actually it uses resident memory now, but the rank still isn't prefect, because it should use private dirty memory, unfortunately the API doesn't support on old Android version, I will keep use resident memory until I deprecate the old Android version.

ok. Figured it was using something else as it was reporting much higher ram pr process than Android settings (and the OSMonitor memory shows 3 unlabeled entries). My apologies for the noise.


Documenter: provide reflectivity to access GtDocument instances from the document itself

The AST tree view will be provided soon.


Unique lexicon constraint

The constraint to have a unique lexicon is a major drawback for phone level training. Frequently a word will have multiple allowed pronunciations, but the current set up only uses the first possible pronunciation. Is there a reason for this constraint? And is there a way to work around this if we want to keep multiple pronunciations?
Many thanks!

Thank you for your response. I am referring to the Lexicon class which throws an error if a non unique lexicon is provided. This is called by the MMI graph compiler
https://github.com/k2-fsa/icefall/blob/78b8792d1d3b15008378b0e38d533a77b456bbbd/icefall/lexicon.py#L94
https://github.com/k2-fsa/icefall/blob/master/icefall/mmi_graph_compiler.py#L34

Ah, I see. The MMI training in icefall is using BPE based lexicon.
Please refer to the MMI training in snowfall (https://github.com/k2-fsa/snowfall/blob/master/egs/librispeech/asr/simple_v1/mmi_att_transformer_train.py), which uses a phone-based lexicon and supports multiple pronunciations.
See https://github.com/k2-fsa/snowfall/blob/911198817edc7b306265f32447ef8a7dc5cfa8f2/snowfall/training/mmi_graph.py#L174

Thank you so much, I will look into Snowfall
Although, what about the aishell MMI example? That seems to run on phones, or am I missing something there?

Great thanks. I'm not trying to run the aishell example, I just wanted to check my understanding

We will have to come up with some kind of solution for this.  One possibility is to run a simpler kind of system, like CTC, as a kind of alignment pass so we can get the phone-level transcripts, and then train (say) and RNN-T phone-based system, which we could decode with a graph built from a word-based language model.

What's the reason for MMI in k2 not supporting multiple pronunciations? Was it to have a more optimized implementation of the loss?

That's a recipe level limitation, not a fundamental limitation in k2.  I believe we have other recipes, in Snowfall at least, that use phones e.g. with CTC, and I'm pretty sure we've tried MMI on such systems.  But I'm not sure that we have an example of MMI actually giving an improvement over CTC alone.

Ah I see.

But I'm not sure that we have an example of MMI actually giving an improvement over CTC alone.

Does this statement apply as well to TDNNF models? I remember that in Kaldi you didn't manage with CTC to get results as good as with MMI.

I think the key difference is that in k2 we are not using context-dependent phones (because we aim to simplify these things and not inherit all the complexity of traditional systems).  That may be the reason why in Kaldi, LF-MMI was better than CTC.  But I suspect the model topology (transformer vs. TDNN) may play a role too.

I tried monophones with CTC vs. LF-MMI when it was being developed in Kaldi in 2016, and LF-MMI was better. I can't remember the details now so there might have been some caveats, but anyway thanks for the input, I'll see what I get now in k2.

There may have been an issue with our experimental setup, as I believe others have published with k2 and got an improvement (perhaps the STC guys not sure).  But anyway we are mostly focusing on RNN-T now.


[Bug]: Cannot create Model Registry

ODH Component
Model Serving
Current Behavior
When trying to create registry error appears:
admission webhook "vmodelregistry.opendatahub.io" denied the request: ModelRegistry.modelregistry.opendatahub.io "test" is invalid: [spec.istio.gateway.rest.tls.credentialName: Required value: missing rest credentialName and operator environment variable DEFAULT_CERT, spec.istio.gateway.grpc.tls.credentialName: Required value: missing grpc credentialName and operator environment variable DEFAULT_CERT]
DEFAULT_CERT value in registry configmap is empty
Expected Behavior
Model Registry
Steps To Reproduce

This is quite fresh installation started from 2.20
Everything else seems to work fine
This was the first try to create model registry

Workaround (if any)
Havent found
What browsers are you seeing the problem on? (If applicable)
Firefox, Chrome, Safari, Microsoft Edge
Open Data Hub Version
2.22

Anything else
No response

looks to me this was solved by

https://github.com/opendatahub-io/opendatahub-operator/pull/1457

cc @Al-Pragliola


Passing tuples of arrays does not work for parallel=True with numba>0.34

It seems that passing a tuple of (homogenous) arrays does not work with recent versions of numba. The reproducer below works with numba0.34 but fails with numba0.35 and numba0.36.
import numpy as np
from numba import njit, prange

M = 4
N = 1000
L = tuple( np.random.rand(N) for _ in range(M) )

@njit
def jitted_sum( x, L ):
    S = 0
    for j in range(N):
        for i in range(M):
            x[j] += L[i][j]

@njit(parallel=True)
def parallel_jitted_sum( x, L ):
    S = 0
    for j in prange(N):
        for i in range(M):
            x[j] += L[i][j]

x = np.zeros(N)
jitted_sum(x, L)
assert np.all( x == sum(L) )

x = np.zeros(N)
parallel_jitted_sum(x, L)
assert np.all( x == sum(L) )

Duplicate of #2625?

Hi, my collaborators and I recently came across a case where having tuples with prange would be very useful.
I was wondering whether there are plans to address this issue in the near future.
Thanks!


[Feature Request] Streamline Kernel Memory registration in dependence injection

Context / Scenario
It would be useful to have a way to streamline how Kernel Memory is registered in a typical scenario that involves dependency injection (like in a Minimal API project).
The problem
When working with dependency injection, we typically have something like this:
var builder = WebApplication.CreateBuilder(args);

var kernelMemory = new KernelMemoryBuilder(builder.Services)
    //.With(...)
    //....
    ;

// To use Kernel Memory in our services
builder.Services.AddSingleton<IKernelMemory>(kernelMemory);

It would be great to make these registration steps simpler, avoiding all the repetitive code.
Proposed solution
I propose to define an extension method for IServiceCollection that allows to write something like this:
builder.Services.AddKernelMemory(builder =>
{
     builder.With(...)
        // ...
        ;
});

This method automatically registers IKernleMemory interface in the Dependecy Injection as singleton, so it will be immediately available to use.
It do you think this feature is interesting, I would be happy to take care of the implementation.
Importance
would be great to have

@marcominerva I totally agree with you about this

It would be an excellent solution I agree.

FYI, not sure if I should create a separate issue for this (given you're revamping). Let me know and I'll delete this and create a new issue. Currently I need to this (see the TODO):
    builder.Services.AddQdrantAsMemoryDb("http://localhost:6333");
    var kernelMemory = new KernelMemoryBuilder(builder.Services)
      .WithSimpleFileStorage()
      .WithQdrantMemoryDb("http://localhost:6333") // TODO: Sould not be needed but KernelMemoryBuilder.Ctor overwrites it
      .WithAzureOpenAITextEmbeddingGeneration(embeddingConfig)
      .WithAzureOpenAITextGeneration(chatConfig)
      .Build<MemoryServerless>();

The constructor should probably do something like:
        if (!this._serviceCollections.HasService<IMemoryDb>())
        {
          this.WithSimpleVectorDb(new SimpleVectorDbConfig { StorageType = FileSystemTypes.Volatile });
        }

Hi @rauhs, your issue is related to the configuration of Kernel Memory, so I think it's better to open a new issue.

Merged :-) Thanks!


Never getting push token or user id after initializing.

Description:

We recently switched to react native and one signal. When users upgrade to the new app, One signal IDS never get fired. When asking for getPermissionSubscriptionState() we get the response below.
No user id, no push token, and its weird that userSubscriptionEnabled is true but subscriptionEnabled is false.
emailAddress: null
emailSubscribed: false
emailUserId: null
hasPrompted: true
notificationsEnabled: true
pushToken: null
subscriptionEnabled: false
userId: null
userSubscriptionEnabled: true
When install fresh version without upgrading, this is not an issue.
I have tried to call every function in the API docs but nothing ever comes back for push token
Environment

Steps to Reproduce Issue:

Install old version of app
Initialize the SDK on iOS
Ids is never called

Anything else:
(crash stacktraces, as well as any other information here)

@vinceprofeta Are you sure that your App ID exactly matches the right bundle ID (ie my.flappybird.clone)?
Please also note that iOS simulator does not allow push notifications, so if you're testing on simulator that is definitely the issue.
Lastly, if neither of those things is the case (your bundle ID matches and you are testing on real device), can you post your list of dependencies (package.json)?

I have the same thing, but then on android simulator and same real device:
userSubscriptionEnabled: 'true',
subscriptionEnabled: 'false',
notificationsEnabled: 'true'
The weird part is that it doesn't occur on all android devices, I have tested it on my Galaxy S9 (real device) and works. The simulator and real device are nexus 5 with nougat (7.1.1 and API 25). So far this simulator and device are the only ones having the issue.

According to the code (for android), it mentions the following:
// Notifications enabled for app? (Android Settings)
boolean notificationsEnabled = permissionState.getEnabled();
// User subscribed to OneSignal? (automatically toggles with notificationsEnabled)
boolean subscriptionEnabled = subscriptionState.getSubscribed();
So subscriptionEnabled should be the same as that notificationsEnabled is, but it is not for the version on android I mentioned above: 7.1 (API 25). Other versions seem to be fine.

Closing due to no response - udarts has a separate issue open.

Hey guys. I don't know if that problem is the same I had.
I was getting the userId (onIds callback) but the push token was null.
I fixed it by adding the following into the app/build.gradle file:

compile 'com.google.android.gms:play-services-gcm:7.0.0'

I hope it works for someone.

@eabuslaiman30 That is odd, the SDK should already be pulling in FCM instead of GCM.
Adding that may have fixed your issue due to some dependency conflicts of other com.google.android.gms used in your project. At runtime you may have seen a com/google/android/gms class missing in your logcat.
Adding the OneSignal Gradle Plugin will solve this issue if this was the case.


compound interest calculator

hello I added the compound interest calculator. please migrate it (if it works).
thank you

Sorry its already there as an endpoint and you must raise a proper issue before making a PR. You can connect with me and we can discuss more on this. Thanks @iditocommerce.

brother, i add the two parameters. those are YEAR and COMPOUNDING-PERIOD.
if i run your file in <IP_ADDRESS>:8000/docs   it is raising 500 server error. please check the code in both file. it is already present in your code. but two attributes missed. you mentioned TIME attribute. but in main.py file you did passed 3 arguments. instead of year you passed TIME. so i added those arguments. ACTUALLY, THIS IS MY FIRST CONTRIBUTION. so lot of confusions.
very sorry for the inconvinance.
small request-- i want to know the process  before sending any pull request.  i tried online but not clarified. so i did not took any request. directly i raise pull request.
if possible please share some info.
very very thanks for your concern
In this code

this is the reason for the fault.
I DID NOT CREATE ANY NEW ENDPOINT. i just edited 2 attributes on your code. because of 500 server error.

if it is correct please merge it


Make the users toolbar item generic

The users toolbar item in the document toolbar is already reused in jupytergis.

It would also be useful in jupyter-chat, and possibly in other shared documents.
We were wondering with @martinRenou about making it more generic and moving it to jupyter collaboration, to let any extension include it in its toolbar.
By making it more generic I'm thinking about:

handle any shared document
add a registry to register how users are rendered (with a default to the avatar/intitial without action on click)

We could think of having it in the Notebook viewer to, and scroll down to the collaborator position upon click.


TTML subtitles with backgroundImage not shown

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
Latest
Can you reproduce the issue with our latest release version?
Yes
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app?
Demo app
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Chrome + Desktop
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
Sent to<EMAIL_ADDRESS>What configuration are you using?  What is the output of player.getConfiguration()?
Out of the box
What did you do?
I'm playing a stream with TTML subtitles containing a Base64 image.
Our subtitle fragments look like this:
<?xml version="1.0" encoding="utf-8"?>
<tt xml:lang=""
  xmlns="http://www.w3.org/ns/ttml"
  xmlns:tts="http://www.w3.org/ns/ttml#styling"
  xmlns:smpte="http://www.smpte-ra.org/schemas/2052-1/2010/smpte-tt"
  xmlns:ttm="http://www.w3.org/ns/ttml#metadata">

    <metadata>
      <smpte:image xml:id="SMPTE_dvbsub_1" imagetype="PNG" encoding="Base64"></smpte:image>
    </metadata>
    <styling>


Possibility of manual patch?

Using save and load I can move images from a host to another.
Using docker/distribution I can deploy images with its delta only.
So how about mix them?
Case study:
In a reality of Asian network, we occasionally lost direct connection between countries such as Korea-China or Malaysia-Singapore or so on. I need to handle 7~8 countries in Asia. At those time I move images on public network by ftp-like thing. But multiple images' size easily goes up to multi GB.
If I can move its delta only without distribution, it'd be nice.

Hi!
Please read this important information about creating issues.
If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
This is an automated, informational response.
Thank you.
For more information about reporting issues, see https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
uname -a:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

I think similar proposals can be found here; https://github.com/docker/docker/issues/247 (for docker engine), and here: https://github.com/docker/distribution/issues/1100 (for registries).
However, I don't think this is something that should be handled by the docker daemon; the "registry" (distribution) is for distribution of images. If you want to optimize transport of save/load and export/import, I think it's best to use an external tool for that. Basically those exported files are tar-bals, so it should be possible to do some optimization there.
I'm going to close this issue, because the existing issues cover "p2p" transfer, and other optimizations can be done as an external tool. Feel free to comment here after I've close this issue!

Okay, thanks.


ros-canopen: adding can-msgs, socketcan-interface and socketcan-bridge

Hi,
I added recipes for socketcan ros packages. Hope, it is acceptable for merge...
Regards,
Matthias

Thanks for your contribution. I will also run a quick test build and once the issues are resolved, we can merge it.

Hi,
I added another commit, you were right, ROS_SP unneeded!
Regards,
Matthias

Argh, the last commit has nothing to do with the socketcan, it is bumping versions to kinetic ... just in case you are wondering...

The last patch totally makes sense, I just did not come across that because the experimental branch is just continuous work in progress and it has not yet stabilized and goes through a lot of testing. I think after I reviewed patch 1 & 2, you can actually now squash them (with git rebase -i).
The third patch would be better if you could split that in three patches:

One patch where you just replace all incidences of the hard-coded string indigo in the recipes/classes by ${ROSDISTRO}. This, we can then also include in the indigo branch as well as general cleanup.
and a second patch where you change the ${ROSDISTRO} to kinetic.
and a third patch where you update the bfl recipe.

So, what do you think? For the second patch, you can open a pull request on the indigo branch at the bmwcarit repository as well.

I will do as recommended


editor rendering text overlapping in golang struct tag

Does this issue occur when all extensions are disabled?: Yes/No
Yes

VS Code Version: 1.82.2
OS Version: Windows_NT x64 10.0.22621

Steps to Reproduce:

install font: Berkeley Mono
configure vs code to use the Berkeley Mono as the default font
create a go project, create a go file, define a type with members with customized struct tags, like:type ABC struct {
X             bool      `json:"x,omitempty"`
Y             bool      `json:"y,omitempty"`
 }

Expect: the editor could render the fonts correctly
Problem: the editor render the text overlapping, like this:

ps: I searched overlapping keyword and found some issues, but I don't know if they're relevant, so I create a new issue.
And, you could find berkeley font here: https://berkeleygraphics.com/typefaces/berkeley-mono/.

Are you still seeing that issue with the latest version of VS Code?
If so, does the issue reproduce with a fresh user data dir, i.e. code --user-data-dir=some_empty_folder?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


incident: sync stopped on 18/05/2022

Sync failed when trying to send transaction 000000008cd231281dc44c7c7ba8acc4da95848211bb6ba6cd67e45b538fa87f
Why?
Checking the onNewTxRequest logs, we had an assertion error while trying to mark the transaction inputs as spent:
Errored on onNewTxRequest:  Expected values to be strictly equal: 0 !== 1

This assertion is done on the updateTxOutputSpentBy method, after the query to update the spent_by column of the tx_output table to validate that the number of affected tx_outputs is equal to the inputs that were sent as a parameter to the method:
    const result: OkPacket = await mysql.query(
      `UPDATE \`tx_output\` USE INDEX (PRIMARY)
          SET \`spent_by\` = ?
        WHERE (\`tx_id\` ,\`index\`)
           IN (?)`,
      [txId, entries],
    );

    assert.strictEqual(result.affectedRows, inputs.length);

Why?
I checked the transaction on the explorer  to get the inputs it was trying to use and there was only one input, from this transaction.
I queried the wallet-service database and the we did not have this transaction stored
Why?
We have two mechanisms of sending transactions to the wallet-service, the block sync and the mempool sync. This incident happened during a complete re-sync of the database, so we know that the issue happened during the block sync mechanism
The way it works is by downloading block by block in series and the transactions that each block directly confirm by downloading the dag of transactions starting from the parents
The problem with this transaction is that it is confirmed by the block with height 1727402 and uses funds from a transaction that is confirmed by a block with height 1727403
Since we go in series from height to height and use only the parent tree to decide which transactions to send, we would never have the funds our transaction requires at that point in time
Solution
We should get not only the transactions that have the block we are downloading as first_block but also the input tree for that transaction, ignoring transactions that were confirmed by previous blocks
This is done on this PR

✅

@andreabadesso On the last "why", I feel you should explicitly explain that the syncer was traversing the DAG using only the parents. The fix consists into using the inputs as well.
Besides this point, it's approved for me.

@msbrogli Updated the last "Why" stating explicitly that we were using only the parents DAG


Helps 2930 Customize DropZone component text

Add ability to change the display text stating that

the the file not being accepted
the area that user drops a file
browse a file
has reached the maximum number of files.

Make sure to merge your PRs into develop 😄


MudDialog TitleContent not updating

Bug type
Component
Component name
MudDialog
What happened?
When binding something in the TitleContent of MudDialog which later is changed, a StateHasChanged is triggered then the TitleContent will not be updated.
See psudo code-example below.
<MudDialog>
    <TitleContent>
        <MudButton Disabled="myBool">
    </TitleContent>
    <DialogContent>
        <MudButton OnClick="() => myBool = !myBool "></MudButton>
    </DialogContent>
</MudDialog>

@code{
private bool myBool = false;
}
Expected behavior
Expecting the title content to be updated and take action on state changes.
Reproduction link
https://try.mudblazor.com/snippet/wOGxYhPHppyaqywb
Reproduction steps
You need to read description above and code-example
Relevant log output
No response
Version (bug)
6.7.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@Deepeeper This happens because the component that displays the TitleContent is different to the one that displays the DialogContent. So when you make a change that triggers a re-render in your custom MudDialog what is re-rendered is the component containing the DialogContent.
What you can do to make this work is to retrieve the actual dialog instance, and signal to it that the state has changed.
https://try.mudblazor.com/snippet/mkGdkrvRzLCyHryh
+[CascadingParameter]
+public MudDialogInstance DialogInstance { get; set; }

 private bool myBool = false;
 void ButtonOnClick()
 {
     myBool = !myBool;
+    DialogInstance.StateHasChanged();
 }

Note to others: I was a few versions behind and this didn't work, but upgrading did the trick.

Confirm that this works in v6.11.0


Add an endpoint on WIT to search for codebases by URL and provide the space owner (openshiftio/openshift.io#1246)

Added an endpoint that allows for searching codebases by their URL, with support
for pagination (in case we would have multiple codebases pointing to the same queried
URL)
Also, response includes the data of the relationship spaces, so the consumer can determine
the ID of the owner of each matching codebase
This also requires 2 additional methods in the repositories, to search for codebases by
URL and list a group spaces by their IDs
Also, rename the Test function and TestSuite struct in the space/space_test.go file
to better match with the actual content.
Also, refactor the way Spaces are converted to JSON by moving the backlog/totalCount into
a SpaceConvertFunc so it can be optional.
Fixes openshiftio/openshift.io#1246
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>

Codecov Report

Merging #1740 into master will increase coverage by 0.07%.
The diff coverage is 67.46%.

@@            Coverage Diff             @@
##           master    #1740      +/-   ##
==========================================
+ Coverage   56.95%   57.02%   +0.07%
==========================================
  Files         128      128
  Lines       14948    15140     +192
==========================================
+ Hits         8513     8634     +121
- Misses       5756     5815      +59
- Partials      679      691      +12

Impacted Files
Coverage Δ

controller/paging.go
100% <100%> (ø)
:arrow_up:

controller/space_codebases.go
75.4% <100%> (ø)
:arrow_up:

controller/work_item_link_type.go
56.16% <100%> (ø)
:arrow_up:

controller/namedspaces.go
47.14% <100%> (ø)
:arrow_up:

controller/codebase.go
17.7% <100%> (-0.66%)
:arrow_down:

controller/space.go
74.62% <54.16%> (-2.38%)
:arrow_down:

space/space.go
62.32% <60%> (-0.28%)
:arrow_down:

codebase/codebase.go
62.02% <60.93%> (-1.11%)
:arrow_down:

controller/search.go
66.52% <73.8%> (+3.78%)
:arrow_up:

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 fc5e7c1...b5d7028. Read the comment docs.

@xcoulon snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1740-2

@xcoulon snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1740-3

@xcoulon snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-1740-4


fix error message for duplicate links

Fixing an error message which is both misformatted and contains the wrong text.
Previously it said that only one crate in the tree should use links ='linking-crate'; now it says that only one crate should use links = 'linked-library'

Thanks!
@bors r+

:pushpin: Commit 962d89a8d8bb192766abb1e27dffe02cb6423d64 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 962d89a8d8bb192766abb1e27dffe02cb6423d64 with merge 87ee3e96285e0142b71d8c11c02b18647e43974d...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 87ee3e96285e0142b71d8c11c02b18647e43974d to master...


0.42.0-26-g12d99014.log
Dont know exactly what Im looking for, but I can see some new errors related to the external monitor DP-3 in the latest 4.2
[ERR] [AQ] Wayland backend cannot start: wl_display_connect failed (is a wayland compositor running?) [ERR] [AQ] Requested backend (wayland) could not start, enabling fallbacks [ERR] [AQ] Implementation wayland failed, erasing. [ERR] Hyprcursor failed loading theme "", falling back to Xcursor. [ERR] [AQ] drm: Cannot commit when a page-flip is awaiting [ERR] [AQ] drm: Cannot commit when a page-flip is awaiting [ERR] Custom resolution FAILED, falling back to preferred [ERR] Monitor DP-3 got an invalid requested mode<EMAIL_ADDRESS>using the preferred one instead<EMAIL_ADDRESS>[ERR] output DP-3 failed basic test on format DRM_FORMAT_XRGB8888 [ERR] output DP-3 failed basic test on format DRM_FORMAT_XBGR8888 [ERR] output DP-3 failed basic test on format DRM_FORMAT_INVALID [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] Couldn't commit output named DP-3 [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT  [ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT

I should add that I'm also on a laptop with a dedicated and integrated GPU, but the integrated GPU is disabled in the BIOS with a MUX switch, so everything is done through the Nvidia GPU.
I'll try the latest hyprland-git and aq-git sometime this weekend, as well as KDE.

Decided to test the latest hyprland-git and aquamarine git already, Hyprland now crashes when I start it while a monitor was connected to my dock...
hyprlandCrashReport2328.txt
hyprland.log (with HYPRLAND_TRACE and AQ_TRACE)

@zjeffer debug stacktrace with aq in debug pls

anyways should be fixed in aq

The manual installation of the aq MR didnt work for me - did I make a mistake above? Sorry if that sounds noobish :)

MR is merged, you can use normal aquamarine-git

Thanks, gonna try on monday right away, for its my work Laptop. 0.42 on my main desktop worked flawless on nix :)

Tested on KDE Plasma: display connected to dock works on X11, but no display on Wayland, though the monitor is visible in the display settings (same behaviour as Gnome).
I notice unplugging and replugging my amplifier (connected directly to my laptop with HDMI) now crashes Hyprland on the latest Hyprland and aquamarine git commits. I'll do some more testing and get some logs.

On latest commits, this is now present in dmesg when connecting the monitor:
[  +9.417367] evdi: [I] (card1) Opened by Task 831 (DesktopManagerE) of process 814 (DisplayLinkMana)
[  +0.000383] evdi: [I] (card1) Added i2c adapter bus number 10
[  +0.000003] evdi: [I] (card1) Connected with Task 831 (DesktopManagerE) of process 814 (DisplayLinkMana)
[  +0.000004] evdi: [I] (card1) Connector state: connected
[  +0.010932] evdi: [I] (card1) Connector state: connected
[  +0.000016] evdi: [I] (card1) Edid property set
[  +0.000616] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000037] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000035] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000193] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000029] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000043] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000189] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.000434] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x00000000049b2822
[  +0.036246] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.000084] evdi: [I] (card1) Connector state: connected
[  +0.000016] evdi: [I] (card1) Edid property set
[  +0.022063] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.025008] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.028662] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.008464] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.009932] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.002593] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.004568] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78
[  +0.004101] [drm:__nv_drm_gem_nvkms_memory_prime_get_sg_table [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Cannot create sg_table for NvKmsKapiMemory 0x000000006ba95d78

And this nvidia-drm error keeps going for as long as the monitor is connected to the dock.

The monitor connected to the dock does work when I enable hybrid graphics in my BIOS (intel+Nvidia) instead of only using the Nvidia GPU.
Sadly, for my laptop (Lenovo Legion 5 Pro) hybrid graphics on linux results in incredibly bad screen burn-in on my laptop display in mere seconds of usage. Some people in this reddit thread report the same thing: https://old.reddit.com/r/LenovoLegion/comments/miqbv4/lenovo_legion_5_pro_actual_linux_experience_and/. So this is not an option for me. Luckily the burn-in is only temporary and goes away after a couple of minutes.

wait so the monitors are broken on gnome wayland and kde wayland? If that's the case I don't think this is a hl issue

I think so too, like I mentioned in the description of the issue:

Likely an Nvidia issue? I opened an issue about this in the DisplayLink/evdi repo (https://github.com/DisplayLink/evdi/issues/484), but I thought I might try my luck here as well, if only to gather more info on the cause of the issue.

Now that I've tested on both gnome wayland and KDE wayland, I think we can indeed conclude it's probably not a Hyprland issue.


Fix the frontend table

For our current website, the table is fake and the real data is the nested dictionary under the table. If someone could fix it with decent ReactJS before TAs fix it, he/she could get 30 bonus points.

In the JSON that is to be rendered:
'
Results: {"results":{"sample_code":{"flake8":0,"import":"Failed"},"sample_task1":{"flake8":7,"import":"Success","private_scores":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0},"public_scores":{"1":4,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0}}},"student_num":2,"task_num":8},
'
should we render "sample_code":{"flake8":0,"import":"Failed"} as well, or can we just ignore data of this kind?

Fixed by #79


CAS2-465:  Restrict offender search to within the user's active prison

Can be merged after this Tools update https://github.com/ministryofjustice/hmpps-approved-premises-tools/pull/67 ✅
And this UI update https://github.com/ministryofjustice/hmpps-community-accommodation-tier-2-ui/pull/700 ✅
And this API update https://github.com/ministryofjustice/hmpps-approved-premises-api/pull/1879 ✅
As a POM
When I try to create an application
With a prison number for a person who is not within my active prison
Then I am not allowed to continue
This PR checks the inmate detail's agencyId against the user's activeAgencyId. If they are not within the same prison, then we return an unauthorised error.
More info about when this check is done and where data is from here in Confluence https://dsdmoj.atlassian.net/wiki/spaces/AP/pages/4887511138/Integration+APIs+for+offender+data
More info about where a Nomis users caseload is set here:
https://dsdmoj.atlassian.net/wiki/spaces/AP/pages/4881088539/How+to+set+a+user+s+active+caseload+aka+prison+in+dev+test
AFTER THIS HAD MERGED:
Our test referrers in dev (LCA and POM) and any of our dev/test users will need to have their prison set to Moorland, following instructions here

The forbidden error this will throw I believe is indistinguishable from the forbidden error from an LAO - I thought this would be fine as we had planned to remove the LAO restriction, but now it looks like we might not. Do we need to send some message to the UI to show why it was forbidden? If so, I think this should be a separate PR/ticket and done in tandem with UI?

The forbidden error this will throw I believe is indistinguishable from the forbidden error from an LAO - I thought this would be fine as we had planned to remove the LAO restriction, but now it looks like we might not. Do we need to send some message to the UI to show why it was forbidden? If so, I think this should be a separate PR/ticket and done in tandem with UI?
UPDATE:
I don’t think we should distinguish between the two errors for security reasons, because by adding that context we give a bit of information to a bad actor. (e.g. If I had hacked an account for a POM at HMPPS Leeds, and I got the error saying this person is not in my prison, I would now know that an offender is NOT in Leeds prison, or would know they are an LAO).

Was wondering whether we needed a ticket in the backlog to investigate this but I think better not to add another ticket on the off chance if might be required in the future and wait for a firm requirement to come through from a user.

Was wondering whether we needed a ticket in the backlog to investigate this but I think better not to add another ticket on the off chance if might be required in the future and wait for a firm requirement to come through from a user.

As I've said above, I don't think even if there were a user request for this that it should be done, as it would be leaking information.


add shebang to build.zprintm

Without this I got the following error:
./build.zprintm graalvm-1.0.0-rc1 zprint-filter-0.4.9 zprint
Failed to execute process './build.zprintm'. Reason:
exec: Exec format error
The file './build.zprintm' is marked as an executable but could not be run by the operating system.

I also had to make the file executable... maybe I misunderstood the docs and this shouldn't be required?

Also, damn is it fast! 😻
Will probably end up using it to format arglists on https://cljdoc.xyz, see https://github.com/martinklepsch/cljdoc/issues/40#issuecomment-391972014

Thanks, that will help.  Regarding the executable, I cloned the repo, and it seems to be executable to me:
-rwxr-xr-x  1 kkinnear  staff     146 May 27 18:49 build.zprintm

so I don't know what happened for you.
Yes, it is startlingly fast!
I'm looked into getting zprint into cljdoc.xyz, but I've not been good about defn-, so until I fix that up it would be confusing for people.  But I'm looking forward to getting zprint into cljdoc.xyz.
Thanks again!

I have no idea what I was thinking when, above, I cloned the repo and found that build.zprintm was executable.  While true, it means nothing.  As you noted, when you download build.zprintm from the releases area, it comes out non-executable.  I'll fix that in the instructions -- thanks very much for noticing and telling me about it!


Edit Existing Calendar Issue breaks year

using the following for a column:
{type: 'calendar', title: 'BLD Date',  width: 170, options: {format:'MM/DD/YYYY HH24:MI', time:true, today:1,resetButton:true,placeholder:'DD/MM/YYYY',}
If the field was blank, pulling up the calendar works fine. If a previous value is in the cell, and the calendar is brought up, it goes to year 0002

Upon more investigation and testing, It had to do with the format I was calling the old dates into the field with.
My SQL was fetching the dates in the same format I was specifying in the JS call:
MM/dd/yyyy HH:mm
When I reformatted the SQL call to be like the examples (yyyy-MM-dd HH:mm), it started to call the year appropriately.
I suppose I would convert this from an issue to a request, then, that we could specify the datetime format

It should work with the format defined or the full format. Just make sure the format string is all capital letters.

The following shows the issue I mean:
`

`
The default date is 03/13/2020 in MM/DD/YYYY format. When you 2x click the cell to bring up the date picker, it goes to 02/0003 (in MM/YYYY format). This shows that, when inserting a data value, it must always be in YYYY-DD-MM in the data = [] array.

What I meant was the copy and paste with jExcel. You can paste something to match your format and should work fine. The initialization must be with the YYYY-MM-DD or YYYY-MM-DD HH:MM:SS

I will keep that as a reference for potential improvements.

Thank you. Much appreciated. In the meantime, I will ensure I utilize it as designed.


Add ear-piece support

This pull request will add ability to play a track via ear-piece instead of lound-speaker.
Closes https://github.com/react-native-kit/react-native-track-player/issues/99
Note that it's my first time with Swift and maybe second time with Java :)
Use case:
When we use react-native-track-player for playing "chat message".

Added support for ExoPlayer. I upgraded version to 2.5.0 because setAudioStreamType is deprecated now. No breaking changes.
I've remove useless permission for android.
Used parameter instead of different names of function. Anyway I had to export to React with different names, because it seems it doesn't support more declarations of function with same names and different parameters

Any progress with this?

@xotahal sorry for the late review: right now it seems you're adding this as an extra method to play with earpiece. Don't you think it might make more sense to make this part of the configuration and let the regular play() handle whether you're in earpiece mode or not?

Actually it works like that. Internally it is just private earpiece = true | false and playWithEarpiece just set up this to true.
So instead of:
TrackPlayer.setMode('earpiece')
TrackPlayer.play()

You can do just:
TrackPlayer.playWithEarpiece()

So it's probably more question about one's preferences than about code quality.

I shouldn't be asking this this late, but why do you need an ear-piece support?

I wrote it in the first comment :)

When we use react-native-track-player for playing "chat message".

So for example when someone uses the track-player for application similar to Whatsapp (or any chat app). The user of these apps can receive a sound message and when he put the phone closer to ear, the sound goes through ear-piece.
Is there any problem to make this library useful for bigger audience? :)

Is there any problem to make this library useful for bigger audience? :)

No, the problem is that this library is not meant to be used by chat apps, it's fully built around the concept of music/podcast apps, creating services and native music controls that shouldn't be used by regular apps.
For regular apps, there's always react-native-sound and other similar projects, which are lightweight, simple audio players for apps that don't need background mode, music controls, smartwatch integration, etc

Why it shouldn't be used by regular apps? We need a background mode, music controls, smartwatch, etc ...

@xotahal I know internally it works that way, but I think it should also work that way externally. We should provide it as an option/configuration parameter and not part of the main API as this is not a standard use case.

Basic use case for ear-piece support is play/pause while listening to music over bluetooth headphone.

+1 Support of ear-piece is great for our app too !

would you mind rebasing this @xotahal ? I think this would be a great a addition, I can help you finalise the last details ☀

@dcvz Well, it is not in my roadmap right now. It works for us in our fork. Maybe later ...

Sure @xotahal 🙂
You may have to do this anyway if you update to v1.0.0 which we just released. If not, I can take a look at it in the future.

Understand ...

Since this has not been requested anymore and it would probably be easier to create a new PR instead of rebasing this one, I'll be closing this.

HI @Guichaguri
We are using this in production for 2 years now with thousands of users. As you didn't want to merge the PR we are maintaining our own fork. Would love to offer a new PR if you would consider it!

@bourgois We would, but it will probably require a few API changes as the module changed quite a bit since this PR was first created.

@Guichaguri Great! We will work on that at some point during the summer. Our fork isn't based on this PR anymore anyway.

@bourgois have you worked on this over the summer? Would be super useful for a project I'm working on right now, thanks!

@jordibruin
We have work on it, you can check our new PR here
https://github.com/react-native-kit/react-native-track-player/pull/759

Any updates?

We didn't hear back on our PR. We are still using it in production...

@bourgois Which branch are you using?
Can one set the default output to the loud speaker on that branch? Or can one only choose the earpeace?
I'm asking because I face the following issue: https://github.com/react-native-kit/react-native-track-player/issues/953

@andrekovac we are using this branch https://github.com/Voxist/react-native-track-player#fix-submodule , but i didn't work on it since July  so it's no up to date there is 97 commits behind. so i need to update my code. i will when i have time to do it. maybe fork again and rewrite it

@MatthieuPeyrot Thanks! I took a look at your branch. I saw that I don't need such fine level control over the earpeace support.
Btw, you can also use expo-av and its playThroughEarpieceAndroid config to set the audio output on Android.

@MatthieuPeyrot thanks for providing the branch (fixed branch link: https://github.com/Voxist/react-native-track-player/commits/fix-post-install btw). Unfortunately the branch is based on 1.2.0 and track-player is now 2.x already. Anyway the audio device output selection is missing even for us - we're building a travel guide app and sometimes users (especially indoors or in a bus) just don't have headphones and are asking for possibility to switch to the earpiece. So this is yet another upvote @dcvz @bradleyflood

Thanks for the feedback. It's. or something we have capacity for But we are open to a new PR that is based on v2.
Thanks all :)


Ok 36 show movies from db on home page - 2

Jira Link:
Jira: https://champlainsaintlambert.atlassian.net/browse/OK-36?atlOrigin=eyJpIjoiYzM0ZjY2NWY5YTRiNDk1ZGJjYjg0NGVkMjlmYjAwNzYiLCJwIjoiaiJ9
Context
Continuation of: https://github.com/okkoro/okkoro/pull/1
Changes

Integrated MovieTiles into MovieLister
Added Cypress E2E testing (+ automation for testing)
Added Jest testing (issues with ESM mean it does not work with many pages)

Before and After UI
Before: b8377za7b

After: avsu6kh8d

End to end looks good but what about component testing?

End to end looks good but what about unit/component testing?
Gone through and added it now 👍


getting run time error on demo

getting run time error on demo.py....any ideas of what this is.. I have tried to recompile many time but nothing seems to resolve this error.
OSError: /usr/local/lib/python2.7/dist-packages/mxnet-0.9.5-py2.7.egg/mxnet/libmxnet.so: undefined symbol: _ZN4nnvm2Op3GetERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

I faced this issue too ,and I don't have enough information from your description to tell what is going on.
But i guess  it's your MXNet vesrsion that matters(may be you can update your version and re-compile MXNet again).
With reference to https://bitbucket.org/osrf/gazebo/issues/2448/problem-running-gazebo7


fix: override resolvers convenience method

Fixes #213

Codecov Report

Merging #285 (dce6b96) into main (02f6041) will decrease coverage by 1.46%.
The diff coverage is 86.20%.

@@            Coverage Diff             @@
##             main     #285      +/-   ##
==========================================
- Coverage   94.33%   92.87%   -1.47%
==========================================
  Files           6        7       +1
  Lines         424      505      +81
  Branches      126      145      +19
==========================================
+ Hits          400      469      +69
- Misses         21       33      +12
  Partials        3        3

Impacted Files
Coverage Δ

src/transformer/schema-transformer.ts
84.92% <65.38%> (-5.47%)
:arrow_down:

src/transformer/custom-vtl-transformer.ts
93.87% <93.87%> (ø)

src/appsync-transformer.ts
94.25% <100.00%> (+0.35%)
:arrow_up:

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 f19a0ac...dce6b96. Read the comment docs.


ArrayListView: Dispatch lengthChanged binding event if necessary after a refresh

ArrayListView does not dispatch a "lengthChanged" event after performing a refresh which can alter the length from a filter.
Steps to Reproduce

Create a bindable ArrayListView

[Bindable]
public var names:ArrayListView = new ArrayListView(new ArrayList(["A", "B", "C"]));

Bind something to the length property

<j:Label text="Length: {names.length}"/>

Add a filter and refresh

names.filterFunction = filterFunctionThatRemovesB;
names.refresh();

Expected Results
Label is updated from Length: 3 to Length: 2.
Actual Results
Label is not updated and remains as Length: 3.

Thanks for you PR Brian! Keep it coming! :)


Implement multi-sourced postgres

Merge #516 first

Support postgres config key to be either a list or an object
Merge SrvConfigBuilder into SrvConfig
More config tests

TODO
How should we handle if both a config file and one or more connection strings are given?

config has one PG object with no connection string, and there is one connection string argument in CLI
config has on PG object with a connection string, and there is one (or more?) connection strings args in CLI
config has more than one PG objects with some mix of available and non-available connection strings
what about DATABASE_URL env var, and the combination with the above?

Codecov Report
Base: 47.73% // Head: 52.29% // Increases project coverage by +4.56% :tada:

Coverage data is based on head (c0fc74a) compared to base (3f41219).
Patch coverage: 68.93% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #511      +/-   ##
==========================================
+ Coverage   47.73%   52.29%   +4.56%
==========================================
  Files          15       22       +7
  Lines        1458     1631     +173
==========================================
+ Hits          696      853     +157
- Misses        762      778      +16

Impacted Files
Coverage Δ

src/bin/main.rs
2.17% <0.00%> (+0.76%)
:arrow_up:

src/lib.rs
41.98% <ø> (-0.56%)
:arrow_down:

src/pg/function_source.rs
12.30% <ø> (ø)

src/pg/pool.rs
30.23% <0.00%> (ø)

src/pg/table_source.rs
43.22% <0.00%> (ø)

src/srv/server.rs
79.00% <0.00%> (-0.44%)
:arrow_down:

src/utils.rs
46.00% <0.00%> (+7.66%)
:arrow_up:

src/config.rs
45.33% <32.50%> (-24.18%)
:arrow_down:

src/one_or_many.rs
42.10% <42.10%> (ø)

src/args/pg.rs
44.44% <44.44%> (ø)

... and 13 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

oops, accidentally left auto-commit here, so the moment tests passed, it merged.  I think it works, just might have a few rough edges - will clean them in a subsequent PRs.


Define "tuple"

Many references to tuples in the functions and operators doc, but tuples themselves don't have their own doc and don't appear to be defined anywhere.
Once I looked up what they were, I realized I knew them by sight but not by name, but having a reference doc doesn't hurt.

PostgreSQL only has a few mailer questions post (1, 2).
MSDN has incomprehensible developer gunk, which might or might not be proprietary to SQL Server 2016.
MySQL doesn't have anything official showing up on Google pg 1.

However, simple explanations exist and CockroachDB could offer something great to its users.

I would gladly volunteer to look at this during a docs fixit day.

Note: the "simple explanation" given as first answer on http://stackoverflow.com/questions/751264/what-does-the-term-tuple-mean-in-relational-databases is actually plainly wrong and inapplicable to cockroachdb.

No one else has been confused by this, seemingly. Going to close this issue.


New error alert

iPhone X makes the status bar alert outdated. Need to find something new. Any ideas?

Same style of alert but pops up as a toast above tab bar or cover nav bar? Or we just address it on a case by case basic and try to give more contextual error messages

Really like the toast idea. Lets go hunting!
Sent with GitHawk

https://github.com/devxoul/Toaster - Very quick search is showing this, gives appareance overrides so with a couple factory methods we can distinguish between errors/other messages?

I have made a pull request #483 that implements https://github.com/devxoul/Toaster
I looks nice, maybe some more minor layout changes

As @rnystrom mentioned in #483 we should make our own. 😄

Started work on this on the flight home. Will have something pretty soon! Came up w/ some fun ideas. Building it in a way so it can be a separate pod. Love @BasThomas's idea.

Quick preview of what I've got in action:

Features:

Totally configurable (text, font, colors, layout spacing)
Interactive

Rubber-band effect when swiping up
Swipe down to dismiss

TODO:

Auto dismiss after duration
Delegate when tapping button
Fix multi-line label
Tune physics

Learned quite a bit about UIDynamics and Auto Layout w/ this. Been fun!

Oh wow, looks great! Looking forward to seeing how you implemented it 😀
Sent with GitHawk

That image was very confusing from the app's point of view, it just looks like an image 😅
Looks great though! (when looked at on GitHub)

Yeah, the “Quick preview of what I’ve got in action:” definitely helped though. Gif support please! 😁

It's weird though because NY photo viewer supports GIFs, so... it should've worked 🤔 Maybe we have to enable it some how
https://github.com/rnystrom/GitHawk/blob/master/Podfile.lock#L17-L22

Oh that's weird. No idea.

@BasThomas Looks like you have to add ANIMATED_GIF_SUPPORT as a compiler flag to get it working. If you get five minutes 😉
https://github.com/NYTimes/NYTPhotoViewer/blob/master/NYTPhotoViewer/NYTScalingImageView.m#L21

Can we close this now, @rnystrom?

@Sherlouk that gives me a "no such file or directory" 😂
What am I missing?

For reasons I don't understand, ya have to prefix them with -D so -DANIMATED_GIF_SUPPORT

🤔, it seems like it should already work though: https://github.com/NYTimes/NYTPhotoViewer/blob/14458e8ed8065c3cf31fe0744db9fd4c506e4cfe/NYTPhotoViewer.podspec#L25

I don't understand because we don't even specify a subspec: https://github.com/rnystrom/GitHawk/blob/master/Podfile#L12
and it doesn't specify a default subspec 🤔 Maybe reference the NYTPhotoViewer/AnimatedGifSupport directly?

Also @BasThomas https://bugs.swift.org/browse/SR-909 -- Is this applicable?

Doesn't look like it. #if ANIMATED_GIF_SUPPORT is true.

Not too familiar with ObjC, is #ifdef handled differently?
Is it getting to https://github.com/NYTimes/NYTPhotoViewer/blob/master/NYTPhotoViewer/NYTScalingImageView.m#L125?

Let's move this over to #75


[Regression]: TypeError: Cannot convert undefined or null to object with resolve argument of a Promise

Minimal, reproducible example
import puppeteer from "puppeteer";

function createPromise(page, callback) {
  return page.evaluateHandle(
    // eslint-disable-next-line no-eval
    cb => [new Promise(eval(`(${cb})`))],
    callback.toString()
  );
}

function awaitPromise(promise) {
  return promise.evaluate(([p]) => p);
}

const browser = await puppeteer.launch({
  browser: "chrome",
  headless: false,
  protocol: "webDriverBiDi",
});

const page = await browser.newPage();
await page.goto("https://mozilla.github.io/pdf.js/web/viewer.html");
await page.bringToFront();

const handle = await createPromise(page, resolve => {
  window.PDFViewerApplication.eventBus.on("textlayerrendered", resolve, { once: true });
});
await awaitPromise(handle);

await page.close();
await browser.close();

Background
This bug was previously fixed in #12111, but unfortunately it seems like it has regressed. This was found in the context of https://github.com/mozilla/pdf.js/issues/17961 where we try to enable WebDriverBidi for Chrome in the Mozilla PDF.js project again, and currently lots of test fail because of this.
Steps to reproduce:

Save the reproducible example as repro.js.
Run npm install puppeteer (to install the latest version).
Run node repro.js and notice the traceback.

Note that this only fails for Chrome with WebDriverBiDi. It works for Firefox with WebDriverBiDi and for Chrome with CDP.
Expectation
The script doesn't log anything.
Reality
The script logs the following traceback for Chrome with WebDriverBiDi:
file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:97
    #error = new ProtocolError();
             ^

ProtocolError: Protocol error (script.callFunction): unknown error Cannot convert undefined or null to object TypeError: Cannot convert undefined or null to object
    at Function.hasOwn (<anonymous>)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js:65:20)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js:93:22)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js:88:26)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js:93:22)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js:88:26)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js:93:22)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js:88:26)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/WindowRealm.js:93:22)
    at WindowRealm.serializeForBiDi (/home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/chromium-bidi/lib/cjs/bidiMapper/modules/script/Realm.js:88:26)
    at <instance_members_initializer> (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:97:14)
    at new Callback (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:101:16)
    at CallbackRegistry.create (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/common/CallbackRegistry.js:20:26)
    at BidiConnection.send (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Connection.js:51:32)
    at Session.send (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Session.js:134:42)
    at Session.<anonymous> (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27)
    at WindowRealm.callFunction (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/core/Realm.js:92:51)
    at WindowRealm.<anonymous> (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/util/decorators.js:101:27)
    at #evaluate (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:134:42)
    at BidiFrameRealm.evaluate (file:///home/timvandermeij/Documenten/Ontwikkeling/pdf.js/Code/node_modules/puppeteer-core/lib/esm/puppeteer/bidi/Realm.js:104:36)

Puppeteer configuration file (if used)
No response
Puppeteer version
23.11.1
Node version
23.4.0
Package manager
npm
Package manager version
10.9.2
Operating system
Linux

I think the issue is that the check introduced in https://github.com/GoogleChromeLabs/chromium-bidi/pull/2039/files is not present in Realm.js at https://github.com/GoogleChromeLabs/chromium-bidi/blob/main/src/bidiMapper/modules/script/Realm.ts#L122. I tried introducing it locally and that seems to fix the issue, but note that I can't really tell if this is a good fix or not.

Thanks for filing the issue once again. Indeed it regressed due to the lack of test coverage. I am adding a WPT test and a fix into chromium-bidi.


Remove model functionality (#3) and fixed docstrings (#6)

Pull request closes #3
Fixes missing docstring in #6

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-0.2.0@5b429e8). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff                @@
##             release-0.2.0       #8   +/-   ##
================================================
  Coverage                 ?   98.24%
================================================
  Files                    ?        4
  Lines                    ?       57
  Branches                 ?        6
================================================
  Hits                     ?       56
  Misses                   ?        1
  Partials                 ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


AdsRenderingSettings: { useStyledNonLinearAds: true} not setting close button?

it seems that setting: AdsRenderingSettings: { useStyledNonLinearAds: true}  is not setting a close button on the ad, the ad is a direct ad being delivered from GAM

Hello @spormeon ,
This setting only applies to Non-Linear ads being served. It will not apply to other ad types.
You can test your implementation with this non-linear sample tag. If useStyledNonLinearAds: true, there should be an 'X' button on the ad that can close it.
Please let me know if you have any additional questions.
Thank you,
Jackson
IMA SDK team

Hello @spormeon ,
Would you be able to share a sample that reproduces the issue?
When initiating IMA with the following settings, I am able to see the 'X' button.
const imaOptions = {
    adTagUrl: 'my-ad-tag',
    adsRenderingSettings: {
      useStyledNonLinearAds: true,
    },
};

  this.player.ima(imaOptions);

Make sure to use the correct case for adsRenderingSettings as seen in the Additional settings section.
Jackson
IMA SDK team

capital A by the looks of it then, as that whats in the ima documentation, should bring that inline for consistancy?

Hello @spormeon ,
The capital AdsRenderingSettings is the IMA class name. The lower case adsRenderingSettings is the parameter used in this plugin's additional settings, and this is in line with how other settings parameters are set up.
Please feel free to reopen this issue if you have any additional concerns.
Jackson
IMA SDK team


Issue with slot typing using function signature

Vue version
3.4.19
Link to minimal reproduction
https://github.com/Kondziii/vue-hello
Steps to reproduce

Open App.vue file where I defined two components using defineComponent method
In template when you mouse over slot you will see correct typing only in case of the second component

What is expected?
I expect to get correct type interference in both cases
What is actually happening?
The slot types are not working with components declared using "Function Signature"
System Info
No response
Any additional comments?
No response

This looks to be a dup of https://github.com/vuejs/core/issues/9649


[Search] Add pathogen search to current sample search box

Tweak the call to Sample.search in samples_controller
Update the Sample.search function to include pathogen search
Can't use current_power in models so the pipeline scope is passed in

Random local dev examples

It works surprisingly well, 1-3 seconds locally with this version. You can even search "Eukaryota" and get results quickly. Restricting the scope more at each step seems to help rather than hurt (like current_power and id in []).
Some terms people can try:

Pegivirus
Human enterovirus
Alistipes
Leifsonia
Trametes
Plantibacter
Ustilago maydis
Staphylococcus
Massilia
Massilia timonae
Actinobacteria
Proteobacteria
Plasmodium
Culiseta
Anaplasma
Eukaryota

Prod probably has more data but is faster too so will do more testing when it's out.


Setup edition 2

Keep out of main, Dapr 1.5 and .NET6 merged into https://github.com/dabedin/Practical-Microservices-with-Dapr-and-.NET/tree/2nd-edition


Adding p4 features in relation to holy shock

updating
Infusion of Light
Art of War
Vindicator
Shock and Awe
SoR proc mask
Adding
Avenging Wrath

Hey @mlizard32 👋 Thanks for contributing! Can you provide some details about the changes to each from the patch notes? Since I don't really play paladin on SoD it'll help me make sure the effects are implemented correctly

updated original comment
updated tests, results changed due to addition of Attack Power increase on "Vindication" talent mostly