I can't reproduce it later

The topic has already been raised, but I still can't make the video play. I've tried youtube and twitch. A fatal playback error appears.
I tried to run it later in the docker
I get this entry in the logs

[2024-09-05 18:06:03.061 +03:00] [INF] [92] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i "http://<IP_ADDRESS>:5007/youtube/direct/r4WHxe0OMqg\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2024-09-05 18:06:03.168 +03:00] [WRN] [82] Jellyfin.Plugin.Themerr.ThemerrManager: ThemerrDB entry not found (404): "Гости из прошлого", contribute:
"https://github.com/LizardByte/ThemerrDB/issues/new?assignees=&labels=request-theme&template=theme.yml&title=[TV SHOW]:%20%D0%93%D0%BE%D1%81%D1%82%D0%B8%20%D0%B8%D0%B7%20%D0%BF%D1%80%D0%BE%D1%88%D0%BB%D0%BE%D0%B3%D0%BE%20(2020)&database_url=https://www.themoviedb.org/tv/112113"
[2024-09-05 18:06:08.089 +03:00] [ERR] [119] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in "Probe Provider"
MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken)    at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken)
at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
at MediaBrowser.Providers.Manager.MetadataService2.RunCustomProvider(ICustomMetadataProvider1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
[2024-09-05 18:06:08.125 +03:00] [INF] [119] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "admin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
[2024-09-05 18:06:08.131 +03:00] [INF] [114] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/e5fb27aa01aafb312bceb52e942ac5bc.m3u8"
[2024-09-05 18:06:08.146 +03:00] [INF] [114] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request
[2024-09-05 18:06:08.146 +03:00] [INF] [114] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -noautorotate -i "http://<IP_ADDRESS>:5007/youtube/direct/r4WHxe0OMqg\" -map_metadata -1 -map_chapters -1 -threads 0 -sn   -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "88a21d95a54025ffd7b6ee7f2483298c-1.mp4" -start_number 0 -hls_base_url "hls/88a21d95a54025ffd7b6ee7f2483298c/" -hls_segment_filename "/config/cache/transcodes/88a21d95a54025ffd7b6ee7f2483298c%d.mp4" -hls_playlist_type event -hls_list_size 0 -y "/config/cache/transcodes/88a21d95a54025ffd7b6ee7f2483298c.m3u8""
[2024-09-05 18:06:13.177 +03:00] [ERR] [114] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 1
[2024-09-05 18:06:13.266 +03:00] [ERR] [114] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/0ce32044-ee9f-4423-b0ef-e276e93d33f7/live.m3u8".
MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1
at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)
at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 enableSubtitlesInManifest)
at lambda_method1377(Closure, Object)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)    at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)    at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)    at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)    at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)    at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)    at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)    at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)    at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)    at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)    at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)    at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)    at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)    at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)    at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)    at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context) [2024-09-05 18:06:13.274 +03:00] [INF] [118] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i \"http://<IP_ADDRESS>:5007/youtube/direct/r4WHxe0OMqg\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2024-09-05 18:06:18.310 +03:00] [ERR] [118] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in "Probe Provider" MediaBrowser.Common.FfmpegException: ffprobe failed - streams and format are both null.    at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken)
at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable1 videoType, CancellationToken cancellationToken)    at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)    at MediaBrowser.Providers.Manager.MetadataService2.RunCustomProvider(ICustomMetadataProvider1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) [2024-09-05 18:06:18.318 +03:00] [INF] [118] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for "admin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True [2024-09-05 18:06:18.323 +03:00] [INF] [118] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/88a21d95a54025ffd7b6ee7f2483298c.m3u8" [2024-09-05 18:06:18.336 +03:00] [INF] [118] Jellyfin.Api.Controllers.DynamicHlsController: Current HLS implementation doesn't support non-keyframe breaks but one is requested, ignoring that request [2024-09-05 18:06:18.336 +03:00] [INF] [118] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: "/usr/lib/jellyfin-ffmpeg/ffmpeg" "-analyzeduration 200M -probesize 1G -noautorotate -i \"http://<IP_ADDRESS>:5007/youtube/direct/r4WHxe0OMqg\" -map_metadata -1 -map_chapters -1 -threads 0 -sn   -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename \"d288c5d332f296a69c79b4efdc600fd2-1.mp4\" -start_number 0 -hls_base_url \"hls/d288c5d332f296a69c79b4efdc600fd2/\" -hls_segment_filename \"/config/cache/transcodes/d288c5d332f296a69c79b4efdc600fd2%d.mp4\" -hls_playlist_type event -hls_list_size 0 -y \"/config/cache/transcodes/d288c5d332f296a69c79b4efdc600fd2.m3u8\"" [2024-09-05 18:06:23.373 +03:00] [ERR] [118] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: FFmpeg exited with code 1 [2024-09-05 18:06:23.462 +03:00] [ERR] [118] Jellyfin.Api.Middleware.ExceptionMiddleware: Error processing request. URL "GET" "/videos/0ce32044-ee9f-4423-b0ef-e276e93d33f7/live.m3u8". MediaBrowser.Common.FfmpegException: FFmpeg exited with code 1    at MediaBrowser.MediaEncoding.Transcoding.TranscodeManager.StartFfMpeg(StreamState state, String outputPath, String commandLineArguments, Guid userId, TranscodingJobType transcodingJobType, CancellationTokenSource cancellationTokenSource, String workingDirectory)    at Jellyfin.Api.Controllers.DynamicHlsController.GetLiveHlsStream(Guid itemId, String container, Nullable1 static, String params, String tag, String deviceProfileId, String playSessionId, String segmentContainer, Nullable1 segmentLength, Nullable1 minSegments, String mediaSourceId, String deviceId, String audioCodec, Nullable1 enableAutoStreamCopy, Nullable1 allowVideoStreamCopy, Nullable1 allowAudioStreamCopy, Nullable1 breakOnNonKeyFrames, Nullable1 audioSampleRate, Nullable1 maxAudioBitDepth, Nullable1 audioBitRate, Nullable1 audioChannels, Nullable1 maxAudioChannels, String profile, String level, Nullable1 framerate, Nullable1 maxFramerate, Nullable1 copyTimestamps, Nullable1 startTimeTicks, Nullable1 width, Nullable1 height, Nullable1 videoBitRate, Nullable1 subtitleStreamIndex, Nullable1 subtitleMethod, Nullable1 maxRefFrames, Nullable1 maxVideoBitDepth, Nullable1 requireAvc, Nullable1 deInterlace, Nullable1 requireNonAnamorphic, Nullable1 transcodingMaxAudioChannels, Nullable1 cpuCoreLimit, String liveStreamId, Nullable1 enableMpegtsM2TsMode, String videoCodec, String subtitleCodec, String transcodeReasons, Nullable1 audioStreamIndex, Nullable1 videoStreamIndex, Nullable1 context, Dictionary2 streamOptions, Nullable1 maxWidth, Nullable1 maxHeight, Nullable1 enableSubtitlesInManifest)    at lambda_method1377(Closure, Object)    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Jellyfin.Api.Middleware.ServerStartupMessageMiddleware.Invoke(HttpContext httpContext, IServerApplicationHost serverApplicationHost, ILocalizationManager localizationManager)
at Jellyfin.Api.Middleware.WebSocketHandlerMiddleware.Invoke(HttpContext httpContext, IWebSocketManager webSocketManager)
at Jellyfin.Api.Middleware.IPBasedAccessValidationMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager)
at Jellyfin.Api.Middleware.LanFilteringMiddleware.Invoke(HttpContext httpContext, INetworkManager networkManager, IServerConfigurationManager serverConfigurationManager)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.QueryStringDecodingMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.ReDoc.ReDocMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Jellyfin.Api.Middleware.RobotsRedirectionMiddleware.Invoke(HttpContext httpContext)
at Jellyfin.Api.Middleware.LegacyEmbyRouteRewriteMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Jellyfin.Api.Middleware.ResponseTimeMiddleware.Invoke(HttpContext context, IServerConfigurationManager serverConfigurationManager)
at Jellyfin.Api.Middleware.ExceptionMiddleware.Invoke(HttpContext context)
[2024-09-05 18:06:23.668 +03:00] [INF] [119] MediaBrowser.MediaEncoding.Transcoding.TranscodeManager: Deleting partial stream file(s) "/config/cache/transcodes/d288c5d332f296a69c79b4efdc600fd2.m3u8"
[2024-09-05 18:06:25.174 +03:00] [INF] [119] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app "Jellyfin Web" "10.9.10" playing "RAINING IN JAPAN ☔ Pluviophile Lofi ☔ Lofi Sleep Music To Make You Enjoy The Rain And Sleep Well 2024-09-05 1205". Stopped at "0" ms

I also tried running emby. I get the same result. I didn't look at the logs.
I tried running the server natively on Debian 11. The video didn't work.
I started the server on windows. The video didn't work.
I tried running a stream via vlc player on the same windows PC. The video works well.
What else can I do or install to make the video work jf?

If you don't have hardware acceleration, can you try enabling it?

enabling hardware acceleration on the windows server helped. The video runs for a long time, but eventually starts with transcoding.

Tell me, can the playback be influenced by the fact that my ip address is used in the file that the program generates? If the ip address changes? And another ip address will remain in the file.

Thanks for your tests, I'll do some on my side as well. But I doubt the IP address is the consequence. I think it might be something related to ffmpeg used by JF and Emby, these on Windows are not able to detect the container and therefore require recoding.
In any case, it is necessary that the transmission is done through the dynamic urls of ytdlp2strm, since this will redirect in real time to the final manifest (mpd) of yt, in addition these manifests have information of the videos in SD qualities and at the moment JF and Emby do not correctly manage the selection of qualities according to the bandwidth, that is why ytdlp2strm also modifies in real time the mpd to filter only the highest quality of the video/audio streams, here https://github.com/fe80Grau/ytdlp2STRM/pull/59 and here https://github.com/fe80Grau/ytdlp2STRM/commit/479b94cd5b0e42cebe54bef4222858d4fcf9cf2f

On Linux in docker (with hardware acceleration enabled)  It was not possible to launch it. Fatal playback error.
I tried to turn on android TV from the same server. the broadcast does not start.

Check the latest commit / docker image and tell me if the error persists

The problem does not relate to playback. But I have updated the docker container now and got an error on startup.
    from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools' Traceback (most recent call last):   File "/opt/ytdlp2STRM/main.py", line 10, in <module>     from clases.cron import cron as cron   File "/opt/ytdlp2STRM/clases/cron/cron.py", line 3, in <module>     from cli import main as main_cli   File "/opt/ytdlp2STRM/cli.py", line 3, in <module>     import config.plugins as plugins   File "/opt/ytdlp2STRM/config/plugins.py", line 2, in <module>     from plugins.youtube import youtube   File "/opt/ytdlp2STRM/plugins/youtube/youtube.py", line 10, in <module>     from cachetools import TTLCache ModuleNotFoundError: No module named 'cachetools'

Oops, that library was missing from the requirements, I've already added it, please check again for the latest commit / docker image

Updated the container. The program works, but running the video stream in the docker container does not work. Fatal error of the player. Hardware acceleration by the graphics card is enabled.

what is the scenario
ytdlp2strm - docker container
jf - docker container
???
the error happens with cookies set or without them too? this is important because with cookies when the content is age restricted it will be redirected to a hls route and if the cookies are not set it will be redirected to a mp4 or webm route directly but in SD. It seems to me that the problem is in how jf is managing the hls routes, if so you should not have problems with redirects in SD
it works with vlc on the host right?
have you tried emby in docker container if the same thing happens as jf?

ytdlp2strm docker container

here are my settings
jf and emby in docker containers
emby installed and added a folder to jf, enabled hardware acceleration
Video works on PC in vlc

I checked it in emdy. The videos are working. But not all of them. The part does not start and gives an error. But part of it turns on and works.

in jf, the same videos that work in emby give out a fatal player error.

The configuration you are showing is not in the correct format
where cookies simply sets the value to cookies
and where cookie_value sets the value to /media/cookies.txt
Like:


[Refactor] Resolve unused variable and uninitialized variable warnings.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.lixy9474 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[GL backend] ensure that Handle<> are synchronously constructed

Until now, only the memory of Hw handes was allocated synchronously,
handles were constructed later asynchronously. This was error prone
with the few (but growing) synchronous calls we have.
Now we have an init<> call that allocates and constructs handles synchronously,
the asynchronous construction if needed, is still performed with construct<>,
which is now implemented as "destroy+construct", this is okay because
most of our handles have trivial dtors.
This fixes a race with TimerQuery and Fence. Fences are still not fully
working though, but at least won't access uninitialized memory.
Currently backend fences MUST be used trough FFence.

Seems like Metal and Vulkan will need to do something similar?

@bejado about Metal/Vulkan backends, it depends :-) but for instance for TimerQuery, we have a synchronous call (getTimerQueryValue) that takes the handle as parameter, and it cannot rely on the asynchronous part of createTimerQuery to have executed. So, you probably need something similar, at least make sure HwTimerQuery is zero-initialized, so elapsed doesn't contain garbage.


"Source Code" text overlapping when the error text is visible

This should have been fixed a very long time ago and it has bothered me a lot

Fixed in d7a8a33


Use an injected loader for better performance

What is accomplished by your PR?
Instead of using the nmf.afterResolve hook, use an injected loader for much faster performance on large projects. From 15s to 0.5s on a project with 10k+ files.
Is there something controversial in your PR?
Modifying the original config although this seems to be relatively common judging by a quick audit of the ecosystem.
Checklist
New Feature / Bug Fix

[x] Run unit tests to ensure all existing tests are still passing
[ ] Add new passing unit tests to cover the code introduced by your PR

Do you have any documentation about this method?

@woutervanvliet what type of documentation are you looking for?
In terms of usage in the ecosystem, there are a number of plugins that do this or something similar:
https://github.com/vuejs/vue-loader/blob/64af07915ac47ebb6bad3223fd2bd15dee908196/lib/plugin.js
https://github.com/Esri/arcgis-webpack-plugin
https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/blob/ae0f5b10e81326c7b7ec9f53337dd4a46a463cc2/src/index.js
The reason it's faster is that the current solution has to run the hook for each imported file which on large projects becomes prohibitively expensive.

@apapirovski That's pretty much what I was looking for. Just something from elsewhere that shows that others are using this method as well.

@woutervanvliet @oliviertassinari anything else I can do here to help get this landed?


Display stars in issue

Description: Displays stars in issue below the name of the repository

[x] Called StargazerCount in the repository in Github GraphQL API
[x] Added file svg of star to display in UI
[x] Created method to return stars of specific repository
[x] Displays the number of stars in UI

Closes #25

Hi, thanks for your PR! Could you make the following changes:

This is a little misleading, but the changes in the Go file should be in main-to-file.go instead (see .github/workflows, where the Go file is executed several times a day)
Would be great if you could also push an updated version of the data (backend/data.json), so that when this PR is merged, the JS file will not run into errors (e.g. can't read the stars property in the JSON file)

Great! Working on it! 😄

Can you also push a copy of data.json?

Yes! I'm working with some of my local environment 😄

thanks! :)


Policy Genius

Category

[x] New Sample

What's in this pull request?
An Intelligent Policy Generator Powered by OpenAI

Hello @AbhiramTR ,
Thank you for your submission!
To move forward with the review and merging of your pull request, we kindly request that you update your PR in accordance with the Contribution Guidelines. Please ensure that you added the README file following the provided template, and added the source code as instructed.
Thank you!
Regards,
Katerina Chernevskaya


Using navigate to jump to another page, the rendering effect is un expected.

A bug.
With using navigating in static getDerivedStateFromProps() function to another page in a component, the render result is unexpected.
 static getDerivedStateFromProps(props, state) {     console.log('Dashboard: getDerivedStateFromProps', 'auth:' + props.auth)     if(!props.auth) {       props.navigate('/login')     }     return null   }
For the above code, it should render Login component in my app, but it renders Dashboard component in my app.
The sample code is in my GitHub repo, you can click bug sample to have a look at.
Thanks for creating this framework, I really enjoy using it except this bug. It's easy to learn, well-documented and tiny.

same issue. FYI I used this workaround:
Promise.resolve().then(() => { navigate('/login') })

(copied from RedirectImp implementation)

Because navigate is asynchronous to prevent ui blocking, it seems there might be a race condition between react computing the new state and navigating to the new route.  Similar to @maciejmyslinski, marking your lifecycle method as async and `awaiting the navigation should work.
The docs note that navigate returns a promise and provides and example, but perhaps they can be PR'd to point out more than one edge case/explicitly note it as being asynchronous?


⚠ Spryr has degraded performance

In de2c2cb, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5052 ms

Resolved: Spryr performance has improved in 0db779d after 11 minutes.


pip 8.x breaks python 3.2 compatibility [$30]

From our travis ci logs:
+pyenv install 3.2.6
Downloading Python-3.2.6.tgz...
-> https://www.python.org/ftp/python/3.2.6/Python-3.2.6.tgz
Installing Python-3.2.6...
patching file ./Modules/readline.c
Hunk #1 succeeded at 225 (offset -6 lines).
Hunk #2 succeeded at 760 (offset -13 lines).
Hunk #3 succeeded at 813 (offset -13 lines).
Hunk #4 succeeded at 871 (offset -13 lines).
Hunk #5 succeeded at 919 with fuzz 2 (offset -24 lines).
patching file ./Lib/ssl.py
patching file ./Modules/_ssl.c
Installing pip from https://bootstrap.pypa.io/get-pip.py...
error: failed to install pip via get-pip.py
BUILD FAILED (OS X 10.10.3 using python-build 20151028)

Inspect or clean up the working tree at /var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/python-build.20160123101310.1990

Results logged to /var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/python-build.20160123101310.1990.log

Last 10 log lines:

  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/python-build.20160123101310.1990/get-pip.py", line 82, in bootstrap
    import pip
  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmph4tbve/pip.zip/pip/__init__.py", line 15, in <module>
  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmph4tbve/pip.zip/pip/vcs/mercurial.py", line 9, in <module>
  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmph4tbve/pip.zip/pip/download.py", line 35, in <module>
  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmph4tbve/pip.zip/pip/utils/ui.py", line 15, in <module>
  File "/var/folders/vy/rcv48w3j4w79llzf_x6qnvw40000gn/T/tmph4tbve/pip.zip/pip/_vendor/progress/bar.py", line 48
    empty_fill = u'∙'
                      ^
SyntaxError: invalid syntax

---
Did you help close this issue? Go claim the **[$30 bounty](https://www.bountysource.com/issues/30139745-pip-8-x-breaks-python-3-2-compatibility?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github)** on [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282009&utm_medium=issues&utm_source=github).

Seeing the same issue. Is there a way to force installation of a particular version of pip when installing Python 3.2?

seems like it must be pip < 8.0 and virtualenv < 14.0 to work with python 3.2.

Hmm. I will work for this in this weekend to modify the definitions of 3.2.x to use specific version of pip....

cool, thanks!

@ThomasWaldmann I pushed 1dc9ef24dfd0d04d3a566ac5b19015bee5ea5f0b and I confirmed that the installation of pip succeeded with CPython 3.2.x and Stackless 3.2.x. Could you check if it's working for you?

yup, it works for me. \o/

my above comment related to a local test with linux and python 3.2.
just wanted to leave a note here that it is still broken for everybody who gets pyenv via brew on mac os x, because it gets the not-yet-fixed pyenv version from december 2015 from there.
https://travis-ci.org/borgbackup/borg/jobs/106235185

Thanks for fixing the issue so fast! Since I'm sitting on the broken version of homebrew I repeated the fix manually, i.e. adjusted /usr/local/Cellar/pyenv/20151006/default-plugins/python-build/share/python-build/3.2.6 according to https://github.com/yyuu/pyenv/commit/1dc9ef24dfd0d04d3a566ac5b19015bee5ea5f0b (replace ensurepip with ez_setup)

Okay, I'll release a new version of pyenv / pyenv-virtualenv soon.

I released v20160202 and sent PRs to Homebrew.

thanks much! :)

Thank you.

Why was this closed? This is still broken.

@chrisspen Well, I think it was really fixed back then. Back then, we ran our tests using pyenv and travis-ci on ubuntu 12.04, so we noticed it working again (and also not breaking for a while).
Can't say anything about the current state though, because we moved on and run on ubuntu 14.04 now, so no py 3.2 there any more - also we raised our project's minimum requirements to 3.4.

@chrisspen It is still fixed. As I commented on #738, part of your test configuration is trying to install a version of pip which is too new.

Installed Python 3.2.6 to test something today and pip install --update pip cause the exact same issue found at the top. Running the latest clone of pyenv from github on an up to date install of Ubuntu 16.04.

@nathanveenkersonos
See https://github.com/pyenv/pyenv/issues/738#issuecomment-254094479.


Week 28 Review Ticket

[x] MCQ Test 4 - only really missed binary questions

Why was this efficient?

[x] 4.3a Parallel Computing: followed along with class lesson, took extra notes, completed 2 examples, and list comprehension calculation for even numbers

[ ] Data Structures- Hashmaps, Sets, Hash Tables, Hashing and Collisions: answered every single question, created canva diagram, and made my own car info album; canva comparison is below

[x] Big Teams: with Mani, I created a demo frontend code, including a sample front end to back end connection. Right now, the inputs are related to emotion, but we simply have to replace it with genre and the specific database key/ attribute variable names once Kaylee and Sanika organize it into our flask repository.

[x] Implemented Microsoft Live Share. It is very helpful for us, since we were having merge conflicts while working in the repository at the same time. This way, we can collaborate and help eachother understand concepts from the comfort of viewing through out own screens. Below is a screenshot of the collaboration in action

Extras:

[x] Created a guide to making a new repo, in the case that a pull request for generating ssh keys is not automatically there

[x] Attended CSA skits/ presentations on sorting algorithms; takeaways below

Bogosort: randomly sorting; this presentation also involved time complexity

Merge sort: sort individually, then merge later (ex: sort cows in 2 groups, then in half again, comparing groups each time)

Selection sort: selects smallest/ largest turtle, and swaps with unsorted part; maximums and minimums replaced

Creates turtle objects from public Javascript class, had an array (collection) of turtles and heights; minimum elements taken and array is looped through

2.7+ Completed all requirements thoroughly, and helped set up new repo due to previous errors.


Asset names have incorrect qualifier syntax (dashes)

Describe the bug

Some image asset names have dashes and shouldn't, e.g.:

Assets/Sun.32.scale-100-White.png

This results in an MSBuild makepri warning:
PRI249: 0xdef00520 - Invalid qualifier: SCALE-100-WHITE

Because it isn't a valid ResourceCandidate for a NamedRseource per standard resource qualifier patterns.
Assets/Sun-100-Black.png probably isn't ideal either but I think it's technically valid.
Steps to reproduce the bug

Steps to reproduce the behavior:

Clone repo
Build with warnings on

Version Info

Gallery version (found on Settings page):  Version: <IP_ADDRESS>

Windows 10 version:

[ ] Insider Build (xxxxx)
[x] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

Should we fix the asset names ? 😅
If so I'll be happy to fix this issue :)

Seems righteous - please fix! This is one of those warnings that we've seen for so long, we've just learned to ignore.

Is it correct that the only file violating that is "Assets/Sun.32.scale-100-White.png" ?
On a different note: Do we even need the sun black/white assets? I tried finding usage of them but beside being referenced in a ResourceDictionary they are not used. Also the resource dictionary entries that are referencing those two assets seem to not be used anyhwere (the key "PTRCustom" seems to be used nowhere else). Maybe we should remove them then?

@YuliKl Oh I totally missed that. Thank you for pointing that out!

I am getting similar error, but not sure what 0-DEV is? Does anyone know?
WINAPPSDKGENERATEPROJECTPRIFILE : warning : PRI249: 0xdef00520 - Invalid qualifier: 0-DEV
cc: @ chingucoding


S100: David Gao's ultraconnected non-contractible space

S100: example of a nonempty ultraconnected non-contractible space.
See https://math.stackexchange.com/questions/5001004.
@david20000813 Please take a look.
You can preview the changes in the dgao-ultra branch, by entering that branch in the Advanced tab of pi-base (https://topology.pi-base.org/dev).
I made the name unique enough to identify the space and hint at the main properties.
As for the various traits, you can see which ones were asserted.
In particular, T1 was not asserted but derived, and the same for compact (a kind of non-obvious derivation though).
https://topology.pi-base.org/spaces/S000100/properties/P000016
Among the unknown traits, maybe some of them seem of interest to add: first-countable, second-countable, Alexandrov?

Thanks! This is quite nice and the derivation for non-compactness is quite surprising. As for other properties, it is second countable since the topology is generated by a countable closed subbasis. It is not Alexandrov - I'll add this to my answer on MSE so that we can just reference that.

Done - the MSE answer now includes a proof that $X$ is second countable as well as a proof that $X$ is not Alexandrov.

I don't see your typo fix. Where?
The meager argument is worth adding to the mathse answer and we can just refer to that.
If you want homogeneous to be there too, that's also ok.

@prabau Just added meager to the MSE answer. I’m fine with keeping non-homogeneous just on pi-Base. There’s no reason to add every possible property to the MSE answer.

It does not show for me.  Just to go through the procedure for suggesting changes, from the "Files changed" tab, did you click on the + to the left of line 11?  And then something pops up to leave a comment.  You can just leave the comment there.  Or optionally, you can also make a "suggestion" by further clicking on the icon for "Add a suggestion".

@prabau That’s a bit weird. I did exactly that, and made a suggestion by clicking on + on line 11. Let me try that again.

@Almanzoris Would you be able to review this?
(Reminder: wipe out the extended description when doing the "squash and merge")

@Almanzoris Would you be able to review this? (Reminder: wipe out the extended description when doing the "squash and merge")

Sure! I will read it tomorrow.

I find it good.

@david20000813 I have noticed a small typo in the mathse answer. As it is one character, I can't edit it.

 Good.


Character note holding animations play again after finishing

Describe your bug here.
After I finished adding a character and giving it a test run, I realized that in the PlayState, when the character finishes a note holding animation, (I added those extras) it plays the animation again!
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

Closing issue, I found out that the hold animations play AFTER the hold note.


Keep content when importing existing fields

Would be nice if existing fields are being imported, the current content doesn't get deleted.

:+1:

Hey Guys,
sorry for the delay in getting to this, we've been a bit busy on other projects.
Can you detail how you get this issue. I've tried a few simple tests and the content stays put.


Add 10pt / 12pt as default font size styling.

Alas in the selection of default font sizes for text styling indeed it is relevant to provide 10pt / 12pt as options for smaller text styling by default. The minimum size in the 0.7.6 release of FQL is 14pt which can be too large for some GM / users in regard to font size.
The solution is to add 10 / 12pt as options for font size.
However, for anyone that sees this issue you can manually adjust font sizes with the source code editor if necessary to any size including smaller. Please see this image on how you might accomplish this task presently:

The 0.7.7 release of FQL will add 10 / 12pt as default font sizes so this will be easy to accomplish in the font selection tools provided in the toolbar. For now though please edit the inline font size styles to a smaller size as necessary.

Another technical option for now is to open the /forien-quest-log/src/control/TinyMCE.js file and edit line 170 to add the 10pt / 12pt options.

This would make this line of code:
const s_DEFAULT_FONT_SIZE = '10pt 12pt 14pt 16pt 18pt 22pt 28pt 32pt 36pt 42pt 48pt 64pt';
The benefit of doing this is that it would expose the smaller text sizes in options in the interactive TinyMCE editor. This is the change I'll make in the 0.7.7 release of FQL. If you make this change right now and start editing content there will be no ramifications when you upgrade to FQL 0.7.7.

Hi Typhonrt, I'm not sure if this is the same issue or if what I'm describing is another issue. I have edited TinyMCE.js per instructions above and have rebooted foundry. I am still seeing very large font size when editing a quest, but a smaller, normal size font after I save.
For example here is what I see when editing:

And here is what it looks like after hitting save:

Is this the same issue? If not, are you aware of this and should I put in a new ticket?
Thanks

Hi @Shuggaloaf. Indeed that is a flaw in the CSS that has already been corrected though not tracked in an issue presently. The default font size was set for the editing, but when you view the edited result the font size doesn't have the matching CSS and therefore is smaller; I didn't recognize what was happening until after 0.7.6 was released. This is already fixed in 0.7.7. Not exactly related to this issue, but 0.7.7 does tidy up some of the TinyMCE aspects that were started in 0.7.6. The way to fix this now is to explicitly set a font size on a block of text and it will be the same in the editor and afterward.
One of the other areas that was fixed with TinyMCE is removing the default margins on  / paragraph tags which is the TinyMCE default and then properly getting line-spacing to work with an additional toolbar option to handle things properly. This may adjust folks content, but I hope it doesn't cause too much trouble as the changes in 0.7.7 are correct for this matter and allow more flexibility.

Released in 0.7.7


[Java] Undefined symbol error when compile arrow java with ARROW_S3=OFF

Describe the bug, including details regarding any error messages, version, and platform.
We encountered the below undefined symbol error at runtime with arrow java built with ARROW_S3=OFF.
undefined symbol: _ZN5arrow2fs17EnsureS3FinalizedEv

Component(s)
Java

Thanks for reporting the issue. Could you share what version of Arrow are you building from?

Thanks for reporting the issue. Could you share what version of Arrow are you building from?

@raulcd, I found this issue in 15.0.0. Seems the issue still exists in main branch. I have created one PR: https://github.com/apache/arrow/pull/41837

Issue resolved by pull request 41837
https://github.com/apache/arrow/pull/41837


Alarms: low airflow

Not sure how easy - but you'd need an alarm when the airflow decreases (such as when the mask comes off the patient). Please add to your "to do list".
And yes, (1) last effort, and (2) probably best for PROVIDERS, not patients. GREAT idea, though - I am ripping an old CPAP apart right now

The most robust and simple way I could think of:
Span a thin copper wire across the air channel and put a small (but constant) current through it.
The wire will heat up until it reaches equilibrium temp.
When air flows, the wire cools down. When air stops flowing, the wire heats back up.
Since resistance (Ohm) of the wire goes up with temperature rise, you could measure this "cycle" of increasing and decreasing resistance in the wire. If the cycle stops, you know something is wrong.

added to do's.
i ordered some nichrome wire, which gives 26 ohms/ft.  But, i actually
don't think
https://www.amazon.com/gp/product/B07CHTXZYW/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1
This reference has consideration of the material for hot wire anemometer.
But, seems have mixed material recommendations.
https://www.sciencedirect.com/topics/engineering/hot-wire-anemometer
I think this can be done with a low cost 24-bit ADC like the HX711
https://www.sparkfun.com/products/13879
I am also curious about ultrasonic flow sensors:
https://www.youtube.com/watch?v=Mkjw-iX6Af4
I wonder if one of these can be re-purposed to do that.  It claim to have
0.3cm resolution.
rough velocity estimation in the tube is 50cm/s is 1.5% speed of sound.  If
I am doing the math correctly, does that mean to it has to be a 30cm long
tube that varies by 1% due creating a 1% deviation of 0.3cm that it can
detect it?
https://www.amazon.com/gp/product/B01COSN7O6/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
On Sat, Mar 21, 2020 at 5:09 PM Istria1704<EMAIL_ADDRESS>wrote:

The most robust and simple way I could think of:
Span a thin copper wire across the air channel and put a small (but
constant) current through it.
The wire will heat up until it reaches equilibrium temp.
When air flows, the wire cools down. When air stops flowing, the wire
heats back up.
Since resistance (Ohm) of the wire goes up with temperature rise, you
could measure this "cycle" of increasing and decreasing resistance in the
wire. If the cycle stops, you know something is wrong.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jcl5m1/ventilator/issues/38#issuecomment-602123745,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM6QAXJNNGSDFVEXK4F25LRIVJLPANCNFSM4LQOKHUA
.

I also curious about these air flow sensors used by engines:
https://www.autozone.com/engine-management/mass-air-flow-sensor

Looks like they even have 8 wire MAF sensors, that include flow, humidty, temp, and baro
https://www.youtube.com/watch?v=mFhovSdOY3g
I picked up a Bluestreak MF21029N 5-wire MAF sensor.  Still trying to figure out how to talk to it.

Got a link to an actual ventilator flow sensor:
https://www.sensirion.com/en/flow-sensors/mass-flow-meters-for-high-precise-measurement-of-gases/low-pressure-drop-mass-flow-meter/

https://www.sensirion.com/en/flow-sensors/sfm3xxx-sensor-platform/

worried about supply on these.  I can't buy anymore. I am curious if a differential pressure flow valve can be make with two MS5611s

I tried an automotive flow sensor.  It provides an analog flow signal.
https://photos.app.goo.gl/UkC9ceGeRCVUVESo6
For the part I used: MF21029.  This pinout is starting from flat side:

flow analog out (0-5v)
5v reference from controller (unclear this is needed)
GND
12v supply
temp analog out put (though this wasn't working for me)

@jcl5m1 You want to make a "Manometer" for differential pressure measurements.
From this, along with the dimensions of the circuit you can use Poiseuille equations to determine the flow and volume.

The SFM3200 supply might indeed by tight for a while.
An alternative would Sensirion SDP800 sensor, which is used to measure the airflow in CPAPs. This should be available in very high quantities, and is also now available without any problems at Digikey.
More info:
https://www.sensirion.com/en/flow-sensors/differential-pressure-sensors/sdp800-proven-and-improved/
https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/0_Corporate/Specialist_Articles/Sensirion_Specialist_Article_Gas_Flow_Bypass_EN.pdf

I'm also interested in the issue of flow metering here - I'd already decided hot wire is the way to go as that's what commercial machines use but looks like the SFM3XXX series is out of stock globally and wouln't want to tax the medical supply chain anyway.
Can I ask how testing with automotive MAFs is going?  Which model?  Are they sensitive enough considering they are intended for use at much higher flow rates?
PS:  I also found ultra-cheap (£5.50 = $7 each) bidirectional MAFS:
https://www.te.com/commerce/DocumentDelivery/DDEController?Action=srchrtrv&DocNm=LMM-H03&DocType=Data+Sheet&DocLang=English&DocFormat=pdf&PartCntxt=G-MAFCO-005
This way you could easily measure inspired and expired flow, and calculate leak rate by difference.
Only issue is the linear portion of the sensor response is over the velocity range 20-40m/s
For standard 22mm ID breathing tubes, the velocity at 100LPM is only 4.3m/s so you'd be on a highly non-linear part of the response curve...

OK, even better I found this DP flow evaluation kit from sensiron with flow element.
The bare DP sensors are about $12, evaluation kit with flow element is about $70.  You could 3D print flow elements, probably.  Evaluation kit flow element fits to medical tubing.
https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/8_Differential_Pressure/Application_Notes/Sensirion_Differential_Pressure_Sensors_EK-P4_Flow_Element.pdf


Added unit tests for the MigrationImage class

Codecov Report

Merging #6 into master will increase coverage by 4.41%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##             master      #6      +/-   ##
===========================================
+ Coverage     88.29%   92.7%   +4.41%
- Complexity       33      34       +1
===========================================
  Files             2       2
  Lines            94      96       +2
===========================================
+ Hits             83      89       +6
+ Misses           11       7       -4

Impacted Files
Coverage Δ
Complexity Δ

src/MigrationImage.php
100% <100%> (+13.79%)
9 <1> (+1)
: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 71904d6...1c2700e. Read the comment docs.

Thank you!


FACEID v2 Error: Invalid operation: ComfyUI execution error: insightface model is required for FaceID models

I cannot use FACEIDv2 because it gives me that error

Did you let Swarm install comfy and the IP-Adapter nodepack, or did you install it manually? The Swarm installer for IP-Adapter should automatically install insightface

I let Swarm install the models automatically

That's a python package dependency not a model
Could you restart swarm, and open server -> logs -> Debug, wait for the "backends are loading..." message at the top to go away, and then copy/paste the logs to here?
I'm expecting a debug message like Installing 'insightface' for ComfyUI... (it should notice the required module is missing and re-attempt to install) and debug messages that follow it that explain what's breaking.

maybe it has to do with me having some other custom face node for comfy installed? i am not sure.
here:
2024-06-05 12:10:23.412 [Init] === StableSwarmUI v<IP_ADDRESS> Starting at 2024-06-05 12:10:23 ===
2024-06-05 12:10:23.767 [Init] Prepping extension: StableSwarmUI.Builtin_StabilityAPIExtension.StabilityAPIExtension...
2024-06-05 12:10:23.783 [Init] Prepping extension: StableSwarmUI.Builtin_ScorersExtension.ScorersExtension...
2024-06-05 12:10:23.784 [Init] Prepping extension: StableSwarmUI.Builtin_ImageBatchToolExtension.ImageBatchToolExtension...
2024-06-05 12:10:23.785 [Init] Prepping extension: StableSwarmUI.Builtin_GridGeneratorExtension.GridGeneratorExtension...
2024-06-05 12:10:23.787 [Init] Prepping extension: StableSwarmUI.Builtin_DynamicThresholding.DynamicThresholdingExtension...
2024-06-05 12:10:23.788 [Init] Prepping extension: StableSwarmUI.Builtin_ComfyUIBackend.ComfyUIBackendExtension...
2024-06-05 12:10:23.789 [Init] Prepping extension: StableSwarmUI.Builtin_AutoWebUIExtension.AutoWebUIBackendExtension...
2024-06-05 12:10:23.847 [Init] Parsing command line...
2024-06-05 12:10:23.849 [Init] Loading settings file...
2024-06-05 12:10:23.896 [Init] Re-saving settings file...
2024-06-05 12:10:23.914 [Init] Applying command line settings...
2024-06-05 12:10:24.156 [Init] Prepping options...
2024-06-05 12:10:24.312 [Info] Swarm is up to date! Version <IP_ADDRESS> is the latest.
2024-06-05 12:10:24.506 [Init] Loading models list...
2024-06-05 12:10:25.304 [Init] Loading backends...
2024-06-05 12:10:25.306 [Init] Loading backends from file...
2024-06-05 12:10:25.320 [Init] Prepping API...
2024-06-05 12:10:25.322 [Init] Initializing backend #0 - ComfyUI Self-Starting...
2024-06-05 12:10:25.323 [Init] Backend request handler loop ready...
2024-06-05 12:10:25.325 [Init] Prepping webserver...
2024-06-05 12:10:26.124 [Init] Scan for web extensions...
2024-06-05 12:10:26.244 [Init] Readying extensions for launch...
2024-06-05 12:10:26.247 [Init] Launching server...
2024-06-05 12:10:26.247 [Init] Starting webserver on http://localhost:7801
2024-06-05 12:10:26.307 [Init] Program is running.
2024-06-05 12:10:26.823 [Init] Launch web browser...
2024-06-05 12:10:27.599 [Info] Creating new admin session 'local' for ::1
2024-06-05 12:10:36.921 [Info] Self-Start ComfyUI (Git Pull) exited expectedly but with unexpected exit code 1
2024-06-05 12:10:37.154 [Init] Self-Start ComfyUI-0 on port 7821 is loading...
2024-06-05 12:10:56.175 [Warning] ComfyUI-0 on port 7821 stderr: Traceback (most recent call last):
2024-06-05 12:10:56.180 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\nodes.py", line 1879, in load_custom_node
2024-06-05 12:10:56.181 [Warning] ComfyUI-0 on port 7821 stderr:     module_spec.loader.exec_module(module)
2024-06-05 12:10:56.182 [Warning] ComfyUI-0 on port 7821 stderr:   File "", line 940, in exec_module
2024-06-05 12:10:56.183 [Warning] ComfyUI-0 on port 7821 stderr:   File "", line 241, in call_with_frames_removed
2024-06-05 12:10:56.183 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-FaceSwap_init.py", line 4, in
2024-06-05 12:10:56.184 [Warning] ComfyUI-0 on port 7821 stderr:     from .FaceSwapNode import FaceSwapNode
2024-06-05 12:10:56.185 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-FaceSwap\FaceSwapNode.py", line 1, in
2024-06-05 12:10:56.185 [Warning] ComfyUI-0 on port 7821 stderr:     import insightface
2024-06-05 12:10:56.186 [Warning] ComfyUI-0 on port 7821 stderr: ModuleNotFoundError: No module named 'insightface'
2024-06-05 12:10:56.187 [Warning] ComfyUI-0 on port 7821 stderr:
2024-06-05 12:11:12.750 [Warning] ComfyUI-0 on port 7821 stderr: Traceback (most recent call last):
2024-06-05 12:11:12.752 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1203, in _create_direct_connection
2024-06-05 12:11:12.763 [Warning] ComfyUI-0 on port 7821 stderr:     hosts = await self._resolve_host(host, port, traces=traces)
2024-06-05 12:11:12.763 [Warning] ComfyUI-0 on port 7821 stderr:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.764 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 880, in _resolve_host
2024-06-05 12:11:12.765 [Warning] ComfyUI-0 on port 7821 stderr:     return await asyncio.shield(resolved_host_task)
2024-06-05 12:11:12.765 [Warning] ComfyUI-0 on port 7821 stderr:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.770 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 917, in _resolve_host_with_throttle
2024-06-05 12:11:12.771 [Warning] ComfyUI-0 on port 7821 stderr:     addrs = await self._resolver.resolve(host, port, family=self._family)
2024-06-05 12:11:12.772 [Warning] ComfyUI-0 on port 7821 stderr:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.772 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\resolver.py", line 33, in resolve
2024-06-05 12:11:12.779 [Warning] ComfyUI-0 on port 7821 stderr:     infos = await self._loop.getaddrinfo(
2024-06-05 12:11:12.781 [Warning] ComfyUI-0 on port 7821 stderr:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.782 [Warning] ComfyUI-0 on port 7821 stderr:   File "asyncio\base_events.py", line 868, in getaddrinfo
2024-06-05 12:11:12.783 [Warning] ComfyUI-0 on port 7821 stderr:   File "concurrent\futures\thread.py", line 58, in run
2024-06-05 12:11:12.785 [Warning] ComfyUI-0 on port 7821 stderr:   File "socket.py", line 962, in getaddrinfo
2024-06-05 12:11:12.786 [Warning] ComfyUI-0 on port 7821 stderr: socket.gaierror: [Errno 11001] getaddrinfo failed
2024-06-05 12:11:12.787 [Warning] ComfyUI-0 on port 7821 stderr: Traceback (most recent call last):
2024-06-05 12:11:12.788 [Warning] ComfyUI-0 on port 7821 stderr:   File "threading.py", line 1045, in _bootstrap_inner
2024-06-05 12:11:12.789 [Warning] ComfyUI-0 on port 7821 stderr:   File "threading.py", line 982, in run
2024-06-05 12:11:12.790 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1667, in
2024-06-05 12:11:12.819 [Warning] ComfyUI-0 on port 7821 stderr:     threading.Thread(target=lambda: asyncio.run(default_cache_update())).start()
2024-06-05 12:11:12.822 [Warning] ComfyUI-0 on port 7821 stderr:                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.823 [Warning] ComfyUI-0 on port 7821 stderr:   File "asyncio\runners.py", line 190, in run
2024-06-05 12:11:12.823 [Warning] ComfyUI-0 on port 7821 stderr:   File "asyncio\runners.py", line 118, in run
2024-06-05 12:11:12.826 [Warning] ComfyUI-0 on port 7821 stderr:   File "asyncio\base_events.py", line 654, in run_until_complete
2024-06-05 12:11:12.826 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1664, in default_cache_update
2024-06-05 12:11:12.827 [Warning] ComfyUI-0 on port 7821 stderr:     await asyncio.gather(a, b, c, d, e)
2024-06-05 12:11:12.828 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1651, in get_cache
2024-06-05 12:11:12.829 [Warning] ComfyUI-0 on port 7821 stderr:     json_obj = await core.get_data(uri, True)
2024-06-05 12:11:12.830 [Warning] ComfyUI-0 on port 7821 stderr:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.830 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 583, in get_data
2024-06-05 12:11:12.835 [Warning] ComfyUI-0 on port 7821 stderr:     async with session.get(uri) as resp:
2024-06-05 12:11:12.836 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\client.py", line 1197, in aenter
2024-06-05 12:11:12.848 [Warning] ComfyUI-0 on port 7821 stderr:     self._resp = await self._coro
2024-06-05 12:11:12.852 [Warning] ComfyUI-0 on port 7821 stderr:                  ^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.853 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\client.py", line 581, in _request
2024-06-05 12:11:12.854 [Warning] ComfyUI-0 on port 7821 stderr:     conn = await self._connector.connect(
2024-06-05 12:11:12.855 [Warning] ComfyUI-0 on port 7821 stderr:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.856 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 544, in connect
2024-06-05 12:11:12.857 [Warning] ComfyUI-0 on port 7821 stderr:     proto = await self._create_connection(req, traces, timeout)
2024-06-05 12:11:12.860 [Warning] ComfyUI-0 on port 7821 stderr:             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.860 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 944, in _create_connection
2024-06-05 12:11:12.861 [Warning] ComfyUI-0 on port 7821 stderr:     _, proto = await self._create_direct_connection(req, traces, timeout)
2024-06-05 12:11:12.865 [Warning] ComfyUI-0 on port 7821 stderr:                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-06-05 12:11:12.866 [Warning] ComfyUI-0 on port 7821 stderr:   File "H:\AI\StableSwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\aiohttp\connector.py", line 1209, in _create_direct_connection
2024-06-05 12:11:12.867 [Warning] ComfyUI-0 on port 7821 stderr:     raise ClientConnectorError(req.connection_key, exc) from exc
2024-06-05 12:11:12.868 [Warning] ComfyUI-0 on port 7821 stderr: aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host raw.githubusercontent.com:443 ssl:default [getaddrinfo failed]
2024-06-05 12:11:27.749 [Warning] ComfyUI-0 on port 7821 stderr:
2024-06-05 12:11:32.049 [Init] Self-Start ComfyUI-0 on port 7821 started.

Ah, yeah, that error is not from Swarm's IP-Adapter support that is installed, that is you yourself separately installed ComfyUI-FaceSwap and did not get its dependencies.
The easiest solution is just to drag an image into the Swarm generate box so you get the recommendation to let Swarm install IP-Adapter for you to pop up on the left, and let that run and it will install insightface and coincidentally helpfully fix the other node that needs it too.
Or you can ask the developer of ComfyUI-FaceSwap or presumably Manager if you used that to install it why the dependency wasn't installed


fix: Change RDS variable iops default value from 0 to null

Description
The RDS variable iops is currently having a default of 0.
In this PR, I propose that the default value become null and so to avoid side effects on the AWS Provider side.
Motivation and Context
The current default value is causing side effects for people currently trying to adopt gp3 (see: https://github.com/hashicorp/terraform-provider-aws/issues/28271)
Breaking Changes
No idea, could be, but I have the feeling not.
How Has This Been Tested?
Not tested yet, just proposing the idea

you'll need to run pre-commit run terraform_docs -a to update the docs accordingly

Thanks for your help putting it together 🤝

This PR is included in version 5.2.1 :tada:

Hi! I don't know if this is the best place to comment this (please point me to the right one if it's the case), but this PR kinda misses one case: the change was only applied to db-instance submodule. If instead one is using the root module, the default for iops is still 0 instead of null, and this 0 gets propagated to db-instance.

Thanks for pointing this out @lucasvuotto, will replicate my recent changes in the main module, starting with:
https://github.com/terraform-aws-modules/terraform-aws-rds/pull/462


Loading module from “https://triptoafsin.github.io/client/client.be35e405.js” was blocked because of a disallowed MIME type (“text/html”).

Describe the bug
I followed all the necessary steps, but my github pages was stuck on the loading spinner, then i checked the console and saw this, any help would be appreciated
Screenshots
https://i.imgur.com/vbxuADf.png

Please see https://upptime.js.org/docs/faq. You haven't added the base URL to your configuration.

Please see https://upptime.js.org/docs/faq. You haven't added the base URL to your configuration.


api: rename counter_disable_channel_alarm to counter_cancel_channel_alarm

The topic-counters has just been merged. However, it seems like the one last change which was agreed upon has been overlooked. Namely aligning the names of counter_set_channel_alarm / counter_disable_channel_alarm functions.
This commit renames counter_disable_channel_alarm() to counter_cancel_channel_alarm() which, I believe, was the last agreed upon name.

Codecov Report

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

@@           Coverage Diff           @@
##           master   #13156   +/-   ##
=======================================
  Coverage   48.73%   48.73%
=======================================
  Files         315      315
  Lines       46540    46540
  Branches    10743    10743
=======================================
  Hits        22679    22679
  Misses      19349    19349
  Partials     4512     4512

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 0a7b45d...55ebca8. Read the comment docs.


Kinetics- skeleton

Is the accuracy of the 'kinetic skeleton' dataset only 31.6%? Is this too low? How to improve its accuracy? @yysijie

This is using only the skeleton locations for recognition, without looking at the RGB information. There is discussion about the accuracy in the ST-GCN paper. Please refer to the paper for more information.

@yjxiong Do you have the two-stream model you used for the experiments in the paper available?


HLM-728 Global interceptor and toast

@saiprakash-v @prasanna-egov . Please review.

Updated the code to use bootstrap toast and opened a new PR.


Update demo app and test: add second web page

Otherwise it looks good. If you'd apply the changes, you shouldn't forget to also change it in the tests.
But this comment says, that it would be ideal, if the demo app for the test was separate. (Or that I don't understand the comment.)

Because I want to do some changes

I am not 100 % sure, (because I never tried it), but you should be able to add commits to the PR, unless you are pushing them to a different branch.

Yes I know ... but there was another issue with this job and it was easier to close this PR and do it again


Remove: SFTPGo versions with security related issues

https://github.com/drakkan/sftpgo/security/advisories?state=published
Signed-off-by: Nicola Murino<EMAIL_ADDRESS>
[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Microsoft Reviewers: Open in CodeFlow

Hi, I'm not sure what's wrong here. I just want to remove the old versions (with security related issues)

pushed a separate commit for each version to be removed. I hope is ok this way

Hi, is there anything else needed on my side? Thank you

Oops. It requires the pull request to be split up into 8 different PRs.
Validation Pipelines can only handle one package removal per pull request.

It requires the pull request to be split up into 8 different PRs.
Validation Pipelines can only handle one package removal per pull request.

ok, thanks


DSpace 7: Missing delete button for repeatable field with value pairs

Description
Missing delete button for repeatable field with value pairs
To reproduce*

Select a value for a repeatable field with value pairs. E.g. "article" for dc.type
The delete buttons appears when you click on the add button.

Expected behavior
The delete button should be there from the beginning.
Related work
Related to https://github.com/DSpace/dspace-angular/issues/1505 ?

Can reproduce on sandbox demo (sandbox.dspace.org).
This is the same problem as #2569.  Essentially it's not possible to remove a value or clear a value from a dropdown list.
Needs a volunteer to investigate and provide a fix.  One possible fix is to just have an empty value available in the selectbox.  Another option  is to make the delete button visible when a value is added.

Fixed by https://github.com/DSpace/dspace-angular/issues/2569?

@f-rapp : As far as I'm aware, no fix has been applied.  #2569 appears to have been closed as a duplicate ticket, and linked back to this ticket.  I'm not aware of a PR that fixes this, unless I've overlooked it.


Make logger_fn and workdir configurable for LocalLayout agents

The constructor of existing local agent classes (AIL, D4PG, PPO, SAC, TD3, ValueDice) do not expose logger_fn as a parameter; therefore the default logger will be used. This commit exposes the parameter logger_fn and workdir to make the logging behavior configurable.

I found #164 after writing this. /cc @ethanluoyc;
Maybe #164 alone would be enough -- the difference is that this one makes workdir configurable as well. Checkpoints, etc. are stored in the workdir which I think also needs to be configurable.

@wookayin I just found your PR. I created #164 for local layouts only and I think yours are more complete. However I do feel overall that the logging customization can be further improved. I feel that a logger factory which does not take arguments may be too restrictive, on the other hand a logger factory that takes many arguments may require more setup from the users’ side. Perhaps this is something the maintainers can take a closer look at?

@ethanluoyc I definitely agree with you. I take the most straightforward, non-surprising approach just like you, and how much of customization/flexibility can be added is something the maintainers need to discuss. It seems that external PRs don't gain much attention though...

@ethanluoyc I definitely agree with you. I took the most straightforward, non-surprising approach just like you, and how much customization/flexibility can be added is something the maintainers need to discuss (like LocalLayout can go through a little more refactoring). It seems that external PRs don't gain much attention though...

Yeah, I hope these issues can be considered by the maintainers. I know that this is not in their work routine since I suppose internally Acme is heavily integrated with the DM infrastructure. Nevertheless, addressing these things would definitely improve OSS users' experience. Right now, the approach I took is to fork the agents or components they have here and create my own agents which try best to stay compatible with what they have. I have found the approach to work well, without having to be limited by their release cycle. However, this becomes a bit unsustainable in the long run as I have to maintain a separate but almost identical agent of my own :D. If you are interested in helping me maintain some of these, feel free to send me an email.

Hi Ethan! Thanks for this proposal (and see also my comment on #164 as referenced by @wookayin above). We have a few internal use-cases that make this a bit more complicated, but we're hoping to push out something soon that addresses exactly your concerns and does something similar to your proposal. I'll leave this thread open until we have a chance too push something out, but we definitely want to address this in a way that both will work for you and will also work for our internal uses.

Hi Ethan! Thanks for this proposal (and see also my comment on #164 as referenced by @wookayin above). We have a few internal use-cases that make this a bit more complicated, but we're hoping to push out something soon that addresses exactly your concerns and does something similar to your proposal. I'll leave this thread open until we have a chance too push something out, but we definitely want to address this in a way that both will work for you and will also work for our internal uses.

That's wonderful news! Thanks @mwhoffman for the clarification. I know it is probably not easy given that the internal version of Acme may be quite coupled with some of the infra (I assume there are some complications integrating with xmanager logging). Looking forward to seeing these issues addressed in the OSS context.

I am closing this as per the explanation in https://github.com/deepmind/acme/pull/166#issuecomment-975694284


Number validations

I have an issue with number validators.
Input type="input", inputType="number" - validation always fails with message "Invalid number".
Here is example fiddle - try to enter number in Age field:
https://jsfiddle.net/o6tfzccs/1/
Validators (nubmer, integer, double) uses lodash isNumber function, which evaluates to false if argument is type of string. Maybe I'm wrong, but value, which is returned from input is type of string and should be converted to number before validation?
https://lodash.com/docs/4.17.4#isNumber

That seems to be a bug. I guess it's pretty easy to fix.

I'm on it.

New beta released with this fix

Test passed. Good job :)


[PUI] Add coverage testing

This adds code coverage for the PUI tests and reporting to coveralls.

@wolflu05 you are more experienced in typescript/frontend. Is anything sticking out with this implementation?

Sorry, I have not that much experience with frontend testing, never really done this before.
Regarding the changes on the vite config, does this mean we now ship sourcemaps with all builds? Is that wanted?
And the plugin you added, has that any influence on the build or dev environment?

I have removed tests I added before, they lowered the coverage a lot and were not that great - still wrapping my head around writing efficient tests. The focus of this PR - coverage - works great, expanding the tests should probably be part of further PUI development.

@matmair please address conflicts here

@SchrodingersGat merge is in!


[BUG] segfault when restart/stop signal sent from systemd

Bug description
I have a buildroot system running cog built from buildroot. When we restart or stop cog via systemd, it encounters a SEGFAULT.
How To Reproduce
Ordered steps to reproduce the behavior:
Since the cog.service file brings up cog at startup, all we have to do is restart cog to trigger the fault

systemctl restart cog

[Unit]
Description=WPE launcher and webapp container

After=weston.service
BindsTo=weston.service

StartLimitIntervalSec=0

[Service]
User=root

Environment=WAYLAND_DISPLAY=wayland-1
Environment=XDG_RUNTIME_DIR=/run/user/root

Type=simple
ExecStart=/bin/cog --platform=wl --set-permissions=all --enable-media=true --enable-media-capabilities=true --enable-media-stream=true --enable-mediasource=true --enable-write-console-messages-to-stdout=true --allow-file-access-from-file-urls=true --allow-universal-access-from-file-urls=true https://google.com

Restart=always

[Install]
WantedBy=multi-user.target

Relevant information and input files to reproduce the behavior:

Envars of during execution (via strings /proc/pidof cog/environ)

LANG=C.UTF-8
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
UPDATE_FLAG=install
WG0_IP=abcd # I trimmed out some unrelated vars
WG0_IP_CUT=abcd
WG0_PUBKEY=abcd
WG1_IP=abcd
WG1_IP_CUT=abcd
WG1_PUBKEY=abcd
USER=root
LOGNAME=root
HOME=/root
SHELL=/bin/sh
INVOCATION_ID=abcd
JOURNAL_STREAM=8:12780
SYSTEMD_EXEC_PID=1809
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/cog.service/memory.pressure
MEMORY_PRESSURE_WRITE=abcd
WAYLAND_DISPLAY=wayland-1
XDG_RUNTIME_DIR=/run/user/root

Base system: [e.g. Yocto (kirkstone), Buildroot, Linux distribution and
version, local build, ...]
buildroot, e82217622ea4778148de82a4b77972940b5e9a9e

Hardware target: [e.g. rpi4 64bits]
amd64

Version of the relevant components:

buildroot e82217622ea4778148de82a4b77972940b5e9a9e
wpewebkit 2.44.4
weston 14.0.0
wpebackend-fdo 1.14.3
cog 0.18.4 (WPE WebKit 2.44.4)

In case of a runtime error

systemctl restart cog
The command exits successfully, however monitoring logs journalctl -f we see there was a segfault

Nov 20 15:00:47 buildroot systemd[1]: Stopping WPE launcher and webapp container...
Nov 20 15:00:48 buildroot audit[1809]: ANOM_ABEND auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=1809 comm="cog" exe="/usr/bin/cog" sig=11 res=1
Nov 20 15:00:48 buildroot kernel: cog[1809]: segfault at 55d45800584c ip 00007f5abe94852f sp 00007ffd56360ce0 error 4 in libWPEBackend-fdo-1.0.so.1.9.5[a52f,7f5abe945000+9000] likely on CPU 0 (core 0, socket 0)
Nov 20 15:00:48 buildroot kernel: Code: 66 2e 0f 1f 84 00 00 00 00 00 90 48 85 f6 74 53 53 80 7e 10 00 48 89 f3 74 29 48 8b 07 c6 46 10 00 48 8b 76 18 48 85 f6 74 11 <48> 8b 78 10 5b e9 87 04 00 00 0f 1f 80 00 00 00 00 5b c3 66 0f 1f
Nov 20 15:00:48 buildroot kernel: audit: type=1701 audit(1732114848.024:199): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=kernel pid=1809 comm="cog" exe="/usr/bin/cog" sig=11 res=1
Nov 20 15:00:48 buildroot systemd[1]: cog.service: Main process exited, code=dumped, status=11/SEGV
Nov 20 15:00:48 buildroot systemd[1]: cog.service: Failed with result 'core-dump'.
Nov 20 15:00:48 buildroot systemd[1]: Stopped WPE launcher and webapp container.
Nov 20 15:00:48 buildroot systemd[1]: cog.service: Consumed 9.205s CPU time, 180M memory peak, 88K memory swap peak.
Nov 20 15:00:48 buildroot systemd[1]: Started WPE launcher and webapp container.
Nov 20 15:00:49 buildroot cog[2008]: xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C")
Nov 20 15:00:49 buildroot cog[2008]: Could not determine the accessibility bus address
Nov 20 15:00:50 buildroot cog[2008]: <https://google.com/> Load started.
Nov 20 15:00:50 buildroot cog[2008]: <https://www.google.com/> Redirected.
Nov 20 15:00:50 buildroot cog[2008]: <https://www.google.com/> Loading...

A backtrace of the crash:

Instead of using the systemd-coredump utility I am writing the coredump to /tmp, here is the backtrace:

# gdb /usr/bin/cog core_cog.1809_1732114848
GNU gdb (GDB) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-buildroot-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/cog...

warning: Can't open file /memfd:WebKitSharedMemory (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing
[New LWP 1809]
[New LWP 1811]
[New LWP 1812]
[New LWP 1816]
[New LWP 1817]
[New LWP 1822]
[New LWP 2003]
[New LWP 1831]
[New LWP 1829]
[New LWP 1830]
[New LWP 1814]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/bin/cog --platform=wl --set-permissions=all --enable-media=true --enable-media'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  (anonymous namespace)::ClientBundleEGL::releaseImage (this=<optimized out>, image=0x55d1050cdf10) at ../src/view-backend-exportable-fdo-egl.cpp:255

warning: 255    ../src/view-backend-exportable-fdo-egl.cpp: No such file or directory
[Current thread is 1 (Thread 0x7f5abe045f00 (LWP 1809))]
(gdb) bt
#0  (anonymous namespace)::ClientBundleEGL::releaseImage (this=<optimized out>, image=0x55d1050cdf10) at ../src/view-backend-exportable-fdo-egl.cpp:255
#1  wpe_view_backend_exportable_fdo_egl_dispatch_release_exported_image (exportable=0x55d104ffc730, image=0x55d1050cdf10) at ../src/view-backend-exportable-fdo-egl.cpp:339
#2  0x00007f5a7002aa96 in cog_wl_platform_finalize (object=0x55d10500efc0) at ../platform/wayland/cog-platform-wl.c:2543
#3  0x00007f5ac1f9e5ac in g_object_unref (_object=0x55d10500efc0) at ../gobject/gobject.c:3938
#4  g_object_unref (_object=0x55d10500efc0) at ../gobject/gobject.c:3802
#5  0x000055d0ffddc03e in cog_launcher_dispose (object=0x55d104fec2f0) at ../launcher/cog-launcher.c:482
#6  0x00007f5ac1f9e4e0 in g_object_unref (_object=0x55d104fec2f0) at ../gobject/gobject.c:3891
#7  g_object_unref (_object=0x55d104fec2f0) at ../gobject/gobject.c:3802
#8  0x000055d0ffddac86 in glib_autoptr_clear_GApplication (_ptr=0x55d104fec2f0) at /home/PRIVATE/work/PRIVATE/PRIVATEfirmware-debug-ba/ba/output/per-package/cog/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gio/gio-autocleanups.h:32
#9  glib_autoptr_cleanup_GApplication (_ptr=<synthetic pointer>) at /home/PRIVATE/work/PRIVATE/PRIVATEfirmware-debug-ba/ba/output/per-package/cog/host/x86_64-buildroot-linux-gnu/sysroot/usr/include/glib-2.0/gio/gio-autocleanups.h:32
#10 main (argc=11, argv=0x7ffd56360ee8) at ../launcher/cog.c:40

Expected behavior
The cog software should restart cleanly without a segfault.
Actual behavior
The software begins to restart, a segfault is detected, and systemd begins the systemd-coredump process to record the coredump.
Screenshots
n/a
Additional context
The file seems to be https://github.com/Igalia/WPEBackend-fdo/blob/master/src/view-backend-exportable-fdo-egl.cpp - I noticed some recent changes to it, so I checked, and my file and the one on the link are identical3
I rebuilt with debug symbols to get the backtrace

I was able to run under valgrind and capture
# tail -f cog-valgrind.log
==5440== Memcheck, a memory error detector
==5440== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==5440== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==5440== Command: /bin/cog --platform=wl --set-permissions=all --enable-media=true --enable-media-capabilities=true --enable-media-stream=true --enable-mediasource=true --enable-write-console-messages-to-stdout=true --allow-file-access-from-file-urls=true --allow-universal-access-from-file-urls=true https://google.com
==5440== Parent PID: 1
==5440==
==5440== Warning: set address range perms: large range [0xf23c000, 0x4f23e000) (defined)
==5440== Invalid read of size 8
==5440==    at 0xE53151F: _M_ptr (unique_ptr.h:193)
==5440==    by 0xE53151F: get (unique_ptr.h:464)
==5440==    by 0xE53151F: wpe_view_backend_exportable_fdo_egl_dispatch_release_exported_image (view-backend-exportable-fdo-egl.cpp:339)
==5440==    by 0x57A54A95: cog_wl_platform_finalize (cog-platform-wl.c:2543)
==5440==    by 0xAEB95AB: g_object_unref (gobject.c:3938)
==5440==    by 0xAEB95AB: g_object_unref (gobject.c:3802)
==5440==    by 0x11003D: cog_launcher_dispose (cog-launcher.c:482)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3891)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3802)
==5440==    by 0x10EC85: glib_autoptr_clear_GApplication (gio-autocleanups.h:32)
==5440==    by 0x10EC85: glib_autoptr_cleanup_GApplication (gio-autocleanups.h:32)
==5440==    by 0x10EC85: main (cog.c:40)
==5440==  Address 0xf108470 is 0 bytes inside a block of size 16 free'd
==5440==    at 0x4848280: operator delete(void*) (vg_replace_malloc.c:1131)
==5440==    by 0x5583506: ~_WebKitWebViewBackend (WebKitWebViewBackend.cpp:51)
==5440==    by 0x5583506: webkitWebViewBackendUnref (WebKitWebViewBackend.cpp:73)
==5440==    by 0x5583506: webkitWebViewBackendUnref (WebKitWebViewBackend.cpp:69)
==5440==    by 0x5583506: void WTF::derefGPtr<_WebKitWebViewBackend>(_WebKitWebViewBackend*) (WebKitWebViewBackend.cpp:131)
==5440==    by 0x556C45C: webkit_web_view_finalize(_GObject*) (WebKitWebView.cpp:365)
==5440==    by 0xAEB95AB: g_object_unref (gobject.c:3938)
==5440==    by 0xAEB95AB: g_object_unref (gobject.c:3802)
==5440==    by 0x4864C38: cog_shell_dispose (cog-shell.c:316)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3891)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3802)
==5440==    by 0x10FFC6: cog_launcher_dispose (cog-launcher.c:463)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3891)
==5440==    by 0xAEB94DF: g_object_unref (gobject.c:3802)
==5440==    by 0x10EC85: glib_autoptr_clear_GApplication (gio-autocleanups.h:32)
==5440==    by 0x10EC85: glib_autoptr_cleanup_GApplication (gio-autocleanups.h:32)
==5440==    by 0x10EC85: main (cog.c:40)
==5440==  Block was alloc'd at
==5440==    at 0x4844F3F: operator new(unsigned long) (vg_replace_malloc.c:487)
==5440==    by 0xE531415: wpe_view_backend_exportable_fdo_egl_create (view-backend-exportable-fdo-egl.cpp:325)
==5440==    by 0x57A518CD: cog_wl_platform_get_view_backend (cog-platform-wl.c:2579)
==5440==    by 0x1107AB: cog_launcher_create_view (cog-launcher.c:283)
==5440==    by 0xEA0A2A9: ffi_call_unix64 (unix64.S:104)
==5440==    by 0xEA0973F: ffi_call_int (ffi64.c:673)
==5440==    by 0xEA09E3C: ffi_call (ffi64.c:710)
==5440==    by 0xAEB4D3B: g_cclosure_marshal_generic (gclosure.c:1536)
==5440==    by 0xAEB44F7: g_closure_invoke (gclosure.c:832)
==5440==    by 0xAEC7295: signal_emit_unlocked_R.isra.0 (gsignal.c:3802)
==5440==    by 0xAECDC9C: g_signal_emit_valist (gsignal.c:3565)
==5440==    by 0xAECE73E: g_signal_emit (gsignal.c:3612)
==5440==
==5440==
==5440== HEAP SUMMARY:
==5440==     in use at exit: 530,205 bytes in 5,573 blocks
==5440==   total heap usage: 82,137 allocs, 76,564 frees, 12,594,299 bytes allocated
==5440==

realized I should open this in the cog repository. closing. opened as https://github.com/Igalia/cog/issues/744


Guide - Delivering Remote Images

Description

Added delivering-remote-images.mdx in guides section in astro cloudinary documentation

Issue Ticket Number
Closes #21

Type of change

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

Checklist

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have created an issue ticket for this PR
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have run tests locally to ensure they all pass
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

this is nice and thorough, thanks @RaghavMangla - after you make the changes ill give another review to make sure i didnt miss anything

Hi! If I enter the url of an image in src and use deliveryType="fetch", the image does not appear, can u guide me abt what mistake am I making here

rest I have changed the label orders in alphabetical order

@RaghavMangla do you have your account configured for the documentation? do you see errors in the console?
you may also wanta to check that you're not restricting fetch in your cloudinary security settings

yeah, turns out I forgot to add the env in base repo as well, it works now

Yeah, I am using a non decoded image now, will share the updates by today
On Tue, 15 Oct, 2024, 19:44 Colby Fayock, @.***> wrote:

@.**** commented on this pull request.
In docs/src/content/docs/guides/delivering-remote-images.mdx
https://github.com/cloudinary-community/astro-cloudinary/pull/44#discussion_r1801262013
:

deliveryType: 'fetch'
+});
+```

+
+
+This will result in a URL similar to:
+
+ +https://res.cloudinary.com/demo/image/fetch/https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png +
+
+### Advanced Usage with Transformations
+
+You can apply Cloudinary transformations to fetched images just like you would with uploaded images. This allows you to resize, crop, apply effects, and more to remote images on-the-fly.
@RaghavMangla https://github.com/RaghavMangla reminder to also add the
example image displayed here
—
Reply to this email directly, view it on GitHub
https://github.com/cloudinary-community/astro-cloudinary/pull/44#discussion_r1801262013,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXGSZMM2PBXJJMC2KUPLRD3Z3UPM5AVCNFSM6AAAAABP2H4ZZKVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDGNRZGUYDEMRYGM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Hi, I have made the changes (added examples and removed the line you mentioned in comments), can you pls review the PR

Hi! Pls share if further changes are required

Hi! @colbyfayock  can u pls review the PR, (this is my fourth PR in hacktoberfest, so a 7 day verification would be required, could u pls share the changes if any today)

Hi! @colbyfayock can i get an update abt the changes reqd?

Hi! @colbyfayock can i get an update abt the changes reqd?

Hi! @colbyfayock, I have made all the requested changes, I am waiting for a review of the PR, if everything looks fine we can close the issue

looks good @RaghavMangla
thanks for your contribution. this PR is eligible for free Cloudinary Hackatoberfest swag. Please send me an email at<EMAIL_ADDRESS>with your name, GitHub username, and a link to the PR where I'll send further instructions.
Happy Hacktoberfest!

@all-contributors please add @RaghavMangla for doc

done, Thank you!


Reg + Type parameterization

Ran into

inferred type arguments [Object] do not conform to method apply's type parameter bounds [T <: chisel3.core.Data]
[error]   io.out.bits.y := Reg(next = io.in.bits.y)

error, which this comment in the code alluded to [assuming you happened to see the comment]:
@note this may result in a type error if called from a type parameterized
    * function, since the Scala compiler isn't smart enough to know that null
    * is a valid value. In those cases, you can either use the outType only Reg
    * constructor or pass in `null.asInstanceOf[T]`.
    */

Can you not just make def apply[T <: Data](t: T = null, next: T = null, init: T = null) private and case out all of the possibilities via RegNext, RegInit, RegEnable [edit: Ok seems they're pretty cased out], etc. to save people the trouble of debugging stuff like this?

I think that's a valid possible solution to the Reg problem (eliminate the nulls, which are terrible) by having only a single-argument Reg constructor (analogous to Wire, which only creates a synthesizable node), and requiring the use of RegNext and friends for the next=... and init=... arguments.
This would be an API changing thing (so it's a good thing 3.0.0 is still on the horizon), and the unclean Reg could stay in compatibility layer for those stuck at 2.x semantics.
(side note: many of these notes documenting non-intuitive behavior was from the initial push to 3.0, where we prioritized API compatibility and avoided solutions which could cause existing code to break. The compatibility layer makes that less necessary now.)
Thoughts? @sdtwigg (you must hate the use of nulls, did you have a solution?), @azidar, @jackkoenig ?

@sdtwigg was the one that reminded me of RegNext. :P
Regarding the notes: I assume the errors you'd run into would basically be the same each time. It'd be much more useful to create some searchable list of errors and solutions i.e.
Search "inferred type arguments [Object] do not conform to method apply's type parameter bounds [T <: chisel3.core.Data]", "Reg"
Result: Don't use Reg(next = blah)
Rather than making people scratch their heads... Maybe people would think to search for Reg specifically; maybe they'd think they just wrote their code incorrectly (esp. for people who are new to type parameterization)... but that just costs design time...

We will (try to) deprecate the optional init and next parameters from Reg(...). Reg will now only take a type (the first argument) and will behave similar to Wire(...) - it creates a synthesizable node without any assignments.
The next/init functionality will be replaced by the (existing) RegNext/RegInit.
Side note: we considered flipping arguments in RegEnable to be RegEnable(next, enable, init) instead of RegEnable(next, init, enable) (where the init is inexplicably dropped between next and enable which are conceptually more related) though it's hard to do this with a deprecation phase. Does anyone have stronger opinions about argument order?

So is there a RegNextInitEnable...? and all the combinations?

There needs to be if there isn't...

I don't think we've ever had this.
The current way I'm going it that RegInit and RegNext are part of chisel core, but RegEnable is still a util. If you needed RegNextInitEnable, you should use RegInit, then specify the update on a separate line.
Imagine how many arguments you would need for a RegNextInitEnable, and how difficult it would be to keep track of all of them...

The common case is a register with init and next. So what is the way to do that one now?

RegNext(next, init)

Is this going to change?
object RegNext {
  /** Returns a register with the specified next and no reset initialization.
    *
    * Essentially a 1-cycle delayed version of the input signal.
    */
  def apply[T <: Data](next: T): T = Reg[T](null.asInstanceOf[T], next, null.asInstanceOf[T])

  /** Returns a register with the specified next and reset initialization.
    *
    * Essentially a 1-cycle delayed version of the input signal.
    */
  def apply[T <: Data](next: T, init: T): T = Reg[T](null.asInstanceOf[T], next, init)
}

Specify Type and Init in RegNext.
Granted, if Type requires more bits than an Init Lit, it would suck if the output ended up having the same # of bits as Init. This should be double checked.

Those APIs will not change. (unless we want to move to Reg.next or whatever)

Ok, sounds good. I never even knew about these things.

That's also a big problem. For Chisel2, I really appreciated the fact that people put together a "Chisel Cheatsheet," and used that extensively to the point where I pinned it at my desk. The fact that you need to basically dig through the code base (or ScalaDoc) to see if a common function you might want exists is troubling... That leads to a lot of code duplication in projects...

There is a chisel3 cheatsheet but it needs to be updated with these latest API changes.  But please use it, that will force us to keep it up to date

I think a lot of functions were either outside the scope of the cheatsheet or were added after the initial version of the cheatsheet.
We will need to have a push for updated docs sometime when 3.0.0 stabilizes

Please advertise that everywhere. It's, in many ways, more useful than ScalaDocs/Wiki.

Where does the source for the cheatsheet live?

Also, isn't is super dated? Since that's not even the proper way to construct a wire...

Reg(..., init=..., next=...) deprecated in favor of RegInit/RegNext/etc which does have nulls that cause unhelpful error messages.


Add missing export type notation for unsupported types

Previously, a definition like
export const TestSchema = Joi.function().meta({ className: 'Test' });

was exporting broken TS code:
(...args: any[]) => any;

It now exports:
export type Test = (...args: any[]) => any;

Note: this will conflict on merge with https://github.com/mrjono1/joi-to-typescript/pull/400. I'll take care of it if merged. Probably one test will fail.

@mrjono1 test fixed now :)