July 24th, 2023 Community Meeting community meeting

Please add a topic in this thread and add a link to the GitHub issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on GitHub before coming into the meeting
(optional) Paste the image of an animal 😸

Setup a few tools/integrations to make life easier:

Setup shipwright-io/.github repository:

https://www.freecodecamp.org/news/how-to-use-the-dot-github-repository/
Example: https://github.com/gorilla/.github

Setup workflows/verify.yaml to run: golangci-lint, gosec, govulncheck
Setup snyk app
Setup CodeQL scanning
Setup regov.io app
Setup Codecov app

Discuss status of v1beta1 conversion functions and webhook

We should all come up with pirate names to use when working on Shipwright

Meeting minutes:

@coreydaley show us a little bit about the different Project Setup we can have to improve communication, overview and adoption. In addition , we should inline the new asks from the CD Foundation, on IP Policy(CLA/DCO). To consider OpenSSF best practices.
@qu1queee to provide a summary on the above CD latest ask and to create a Project at the org level.
To schedule a call on the state of the mutating webhook this week. @qu1queee to send invites.
@apoorvajagtap would like to have a session on the ongoing e2e issues , see https://github.com/shipwright-io/build/issues/1326 .

Update per the latest information from CD:

There was a discussion ongoing(TOC meeting) around if Project must adhere to some specific CDF Intellectual Property(IP) Policy. The conclusion is that the latest guidance from LF is to leave this to projects.
As a Project, we should revisit the following:

License:  "All projects evaluated for inclusion in the CDF shall be completely licensed under an OSI-approved open source license. If the license for a project included in CNCF is not Apache License, Version 2.0, approval of the Governing Board shall be required." + Creative Commons for other content.  (All good here for Shipwright)
CLA/DCO: We don't require DCO, see example. If we want CLA; then we should take a look first on what the LF offers. (.e.g. EasyCLA from the LFX tools)
Governance, we don't have a document on this. Some examples, https://www.jenkins.io/project/governance/ or https://github.com/tektoncd/community/blob/main/governance.md.


Refactor lxd-benchmark

This moves the lxd-benchmark logic to a separate package, and refactors a bit the code to make it reusable.
The intent is to use be able to reuse the logic in a separate tool for performance testing.

So I'd prefer we:

Move test/lxd-benchmark to just lxd-benchmark
Move any internal package used by lxd-benchmark to lxd-benchmark/PACKAGE-NAME

Top level packages are meant to either be buildable commands or public, stable API.

@stgraber done


Can't not build sample .

failed to find target android-22 .
I had change the buildToolsVersion to "23.0.2" and compileSdkVersion to 23, but it didn't work

i had fix it.


Undefined name 'dumpsterFireName'

Undefined names can raise NameError at runtime.
flake8 testing of https://github.com/TryCatchHCF/DumpsterFire on Python 2.7.14
$ flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
./dumpsterFireFactory.py:706:40: F821 undefined name 'dumpsterFireName'
		print "Error opening config file " + dumpsterFireName
                                       ^

1     F821 undefined name 'dumpsterFireName'

Fixed and uploaded - Thanks!


fix docker command in document

fix docker command in document.

Thanks for submitting this PR.
You will to sign the OCA for us to accept your contribution. See https://www.oracle.com/technetwork/community/oca-486395.html

Thank you for your information.
I  Submitted the OCA procedure.

@fastso please check and fill OCA's section 7.

@delabassee Sorry I forgot it, resend email now. Thank you !

OCA is now 👍


Build on Linux under instruction, but cannot find  libCHttpParser.so

.build/debug/myFirstProject: error while loading shared libraries: libCHttpParser.so: cannot open shared object file: No such file or directory

cp libCHttpParser.so /usr/local/lib
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

temporarily solve the problem.

Actually just add -Xlinker -rpath -Xlinker .build/debug to your swift build command.
That is actually already in the master branch of SPM, it just didn't get into the 04/25 drop of Swift 3.0

I believe the linker option is fixed by this commit: https://github.com/apple/swift-package-manager/commit/2c89797c3881be85a48e60c98e6525aac9fb6dfd
This is included in the latest (05/03) snapshot,  although Kitura hasn't migrated to that snapshot yet ( #432 )
The option used in that commit is -rpath=$ORIGIN (literal - you'll need to escape the $) which at runtime expands to the directory containing the executable.  This has the advantage that the binaries can be moved / invoked from anywhere.

This does appear to have been solved in the 05/03 snapshot. Therefore we can probably get rid of -Xlinker -rpath -Xlinker .build/debug in the Makefile.

Closing based on migration to 05/03 snapshot.


Error: defaultIcon is read-only

Hi there! I'm finding react-native-checkbox-heaven is causing my test builds to error out because of a line in CheckBox.js where a constant, defaultIcon, is reassigned. This doesn't seem to affect the app as it runs in the emulator, but it does make it impossible to run my tests, either locally or in CI.
Locally, I was able to change this by manually editing Checkbox.js to change
const defaultIcon = iconDb[8]

to
var defaultIcon = iconDb[8]

However, this isn't an option in my CI environment.
This is the error produced:
$ jest --coverage
 FAIL  ./App.test.js
  ● Test suite failed to run
    /home/travis/build/danascheider/inview-login-service/node_modules/react-native-checkbox-heaven/src/CheckBox.js: "defaultIcon" is read-only
        32 |
        33 |         if (index !== -1) {
      > 34 |             defaultIcon = iconDb[index]
           |             ^
        35 |         }
        36 |
        37 |         const { component: Icon, checkedIconName, uncheckedIconName } = defaultIcon

It's better to change it to 'let', rather than 'var'.

Whoops, you're right, thanks!

This is fixed in the latest version.

When will this version be released? We're being blocked by this issue right now.

@jeremyhon, it is merged 23 days ago, so should be in the most updated version.
Cheers

Will publish today, Thanks

Thank you!

version 0.1.6 now available on npm registry :)


Update Readme how to build for iOS

Since the iOS build info is completely outdated, we have written an updated version.

Hi, the INSTALL_IOS.md has been updated. Can you fix the conflicts?


【feature request】distinguish icon with userdefined field in yaml

There is now the ability to customize icons based on tags, but sometimes user may need to map specific icons based on their difined filed in yaml,for example, i define a field "authors" in yaml, like  "authors: tom, marry,bob" , but now i can not distinguish the icons in map by this information

I like the idea, will add it in the upcoming versions.


ffmpeg exec command not running in nginx rtmp

I am using nginx and rtmp module to stream live hls and mpeg-dash.
here is my rtmp command in nginx .conf
rtmp {
server {
    listen 1936;

    application mypull {
    live on ;
    meta copy;
    allow play all;

    pull rtmp://<IP_ADDRESS>/vod/BigBuckBunny_115k.mov name=test live=1;

    exec_push   /usr/bin/ffmpeg -re -i rtmp://localhost:1936/mypull/$name -vcodec libx264 -acodec libmp3lame -f flv rtmp://localhost:1936/hls/$name;

}

application dash {
        live on;
        dash on;
        dash_path /tmp/dash;
        dash_nested on;
        dash_fragment 5s;
        dash_playlist_length 30s;
    }
     application hls {
        live on;
        hls on;
    hls_playlist_length 30s;
    hls_fragment 5s;
        hls_path /tmp/hls;
    }
}
}

but it is not playing. it seems that the ffmpeg command is not even running. and the hls and dash folders are empty. could anyone help me with it?

I have the same question, thanks!

Use a SH file.
Config:
exec /opt/hls.sh $name;
Example SH File:
ffmpeg -i rtmp://localhost/live/$1 -async 1 -vsync -1 -c:v libx264 -c:a ...
Works for me!

it could be nginx trying to run the command but fails for some reason, may be a missing codec for example. try running your command without nginx and see if it is working without errors

I am using directive exec_static  in this case.
Just replace exec_push with above one.  It will start streamig immediatelly aftere start nginx process.

Did u manage to solve it?
Nothing works for me in terms of exec command.
server {
listen 1935;
ping 3m;
ping_timeout 30s;
notify_method get;
application myapp {
   live on;
  exec_options on;

exec_push /usr/bin/ffmpeg -i rtmp://localhost/src/$name -vcodec libx264 .... rtmp://localhost/hls/$name 2>>/var/log/ffmpeg-$name.log;
   exec_push /usr/bin/ffmpeg -version  > /tmp/xxxx;
   exec_pull /usr/bin/ffmpeg -version  > /tmp/xxxxsss;
   exec_static  /usr/bin/ffmpeg -version  > /tmp/xxxxsss;
   exec /usr/bin/ffmpeg -version  $name  >> /tmp/xxxxsss;

Nothing seems to work.
I even run the nginx as root user.
I'm also compile with --debug
here is the nginx -v output:
ginx version: nginx/1.10.0 (Ubuntu)
built with OpenSSL 1.0.2g  1 Mar 2016
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-ipv6 --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_addition_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module --with-http_mp4_module --with-http_perl_module --with-http_random_index_module --with-http_secure_link_module --with-http_v2_module --with-http_sub_module --with-http_xslt_module --with-mail --with-mail_ssl_module --with-stream --with-stream_ssl_module --with-threads --with-file-aio --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/headers-more-nginx-module --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-auth-pam --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-cache-purge --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-dav-ext-module --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-development-kit --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-echo --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/ngx-fancyindex --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-http-push --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-lua --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-upload-progress --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/nginx-upstream-fair --add-module=/opt/src/nginx-server/nginx-1.10.0/debian/modules/ngx_http_substitutions_filter_module --add-module=/opt/src/nginx-rtmp-module/
Any idea?

Again, use a sh file, and parse name as argument.
exec /opt/hls.sh $name;

It seems that the issue is with the NGINX version.
See here:
https://github.com/arut/nginx-rtmp-module/issues/886

Here is working config for custom build version 1.11.10 and 1.10.1 on ubuntu:
rtmp {
    server {
        listen 1935; # Listen on standard RTMP port
        chunk_size 5000;
        allow play all;

        application src {
            live on;
            sync 50ms;
            exec_static /usr/bin/ffmpeg -i http://<IP_ADDRESS>:5112 -c:v libx264 -acodec aac -ac 1 -strict -2 -b:v 1024k -preset veryfast -deinterlace -f flv rtmp://<IP_ADDRESS>:1935/live/1tvrus 2>>/var/log/nginx/ffmpeg-1tvrus.log;

            allow publish <IP_ADDRESS>;
            allow publish <IP_ADDRESS>;
            deny publish all;
            deny play all;
        }

Still not working.
I download version 1.11.9
recompile in ubuntu 16.04, rtmp working good! but exec command not running! :-(
nginx version: nginx/1.11.9
built with OpenSSL 1.0.2g  1 Mar 2016
TLS SNI support enabled
configure arguments: --with-cc-opt='-g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_flv_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_mp4_module --with-http_perl_module=dynamic --with-http_random_index_module --with-http_secure_link_module --with-http_sub_module --with-http_xslt_module=dynamic --with-mail=dynamic --with-mail_ssl_module --with-stream=dynamic --with-stream_ssl_module --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/headers-more-nginx-module --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-auth-pam --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-cache-purge --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-dav-ext-module --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-development-kit --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-echo --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/ngx-fancyindex --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nchan --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-lua --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-upload-progress --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/nginx-upstream-fair --add-dynamic-module=/opt/src/nginx-server.dev/nginx-1.11.9/debian/modules/ngx_http_substitutions_filter_module --add-module=/opt/src/nginx-rtmp-module
What I'm doing wrong?
Thank You!

Hi all,
same with openresty <IP_ADDRESS> and rtmp module. compiled everything is fine, but not working when use exec_pull or exec_push .
nginx version :
nginx version: openresty/<IP_ADDRESS>
built by gcc 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)
built with OpenSSL 1.0.1e-fips 11 Feb 2013
TLS SNI support enabled
configure arguments: --prefix=/usr/local/openresty/nginx --with-cc-opt=-O2 --add-module=../ngx_devel_kit-0.3.0 --add-module=../echo-nginx-module-0.60 --add-module=../xss-nginx-module-0.05 --add-module=../ngx_coolkit-0.2rc3 --add-module=../set-misc-nginx-module-0.31 --add-module=../form-input-nginx-module-0.12 --add-module=../encrypted-session-nginx-module-0.06 --add-module=../srcache-nginx-module-0.31 --add-module=../ngx_lua-0.10.8 --add-module=../ngx_lua_upstream-0.06 --add-module=../headers-more-nginx-module-0.32 --add-module=../array-var-nginx-module-0.05 --add-module=../memc-nginx-module-0.18 --add-module=../redis2-nginx-module-0.14 --add-module=../redis-nginx-module-0.3.7 --add-module=../rds-json-nginx-module-0.14 --add-module=../rds-csv-nginx-module-0.07 --with-ld-opt=-Wl,-rpath,/usr/local/openresty/luajit/lib --add-module=/usr/local/src/ngx_cache_purge --with-pcre=/usr/local/src/pcre-8.40 --with-http_stub_status_module --with-http_slice_module --with-http_ssl_module --add-module=/usr/local/src/nginx-rtmp-module

They only works when you publish or play a stream on an application, for example:
application myapp {
live on;
exec_push /usr/bin/ffmpeg -re -i rtmp://localhost/$app/$name -vcodec libx264 -acodec aac -strict -2 -f flv rtmp://localhost/hls/$name;
}
application hls {
live on;
}
When you publish a stream on myapp, then you can subscribe it on both myapp and hls. However, the stream on hls may be different from the stream on myapp, because it was transcoded.

Hi winshining,
this is my nginx rtmp config :
rtmp {
        server {
                listen 1935;
                chunk_size 4096;
		application myapp {
                  live on;
                  exec_push /usr/bin/ffmpeg -i /tmp/test.sdp -ar 44100 -vcodec libx264 -acodec libmp3lame -f flv rtmp://<IP_ADDRESS>:1935/live/testing;
                  }

                  application live {
                  live on;
                  }
        }
}

when i use VLC join to rtmp://<IP_ADDRESS>/live/testing   ---> nothing happen.
but when i use command :
ffmpeg -i /tmp/test.sdp -ar 44100 -vcodec libx264 -acodec libmp3lame -f flv "rtmp://<IP_ADDRESS>/live/testing"
everything is fine.
any suggestion for me ?
thanks!

Nice Job!

I solved this problem by adding below in nginx.conf.
user root
It's Ridha Ben  Njima's answer.
https://stackoverflow.com/questions/42388727/ffmpeg-exec-command-not-running-in-nginx-rtmp/45880931#45880931

@vmintam Try to push a stream to myapp, and then use vlc to join rtmp://<IP_ADDRESS>/live/testing.
In fact, it's not suggested to use it as you set, the purpose of exec_push is to relay your push from one app to anohter:
rtmp {
server {
listen 1935;
chunk_size 4096;
application myapp {
live on;
exec_push /usr/bin/ffmpeg -re -i rtmp://<IP_ADDRESS>:1935/$app/$name -ar 44100 -vcodec libx264 -acodec libmp3lame -f flv rtmp://<IP_ADDRESS>:1935/live/testing;
}
            application live {
                    live on;
            }
    }

}
Then, you can push to myapp, play on live:)

same here. trying to run the following:
           exec_static /usr/bin/ffmpeg -re -i rtmp://localhost:1935/hls/$name               -c:a libfdk_aac -b:a 32k  -c:v libx264 -b:v 128K -f flv rtmp://localhost:1935/hls/$name_low               -c:a libfdk_aac -b:a 64k  -c:v libx264 -b:v 256k -f flv rtmp://localhost:1935/hls/$name_mid               -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/hls/$name_hi               -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/dash/$name_dash > /home/zsyed/Documents/logs.txt;

On Sep 22, 2018, at 12:15 AM, Zunair Syed <notifications<EMAIL_ADDRESS>wrote:
same here. trying to run the following:
exec_static /usr/bin/ffmpeg -re -i rtmp://localhost:1935/hls/$name -c:a libfdk_aac -b:a 32k -c:v libx264 -b:v 128K -f flv rtmp://localhost:1935/hls/$name_low -c:a libfdk_aac -b:a 64k -c:v libx264 -b:v 256k -f flv rtmp://localhost:1935/hls/$name_mid -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/hls/$name_hi -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 512K -f flv rtmp://localhost:1935/dash/$name_dash > /home/zsyed/Documents/logs.txt;
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/arut/nginx-rtmp-module/issues/963#issuecomment-423694393, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AO3UvJLtEeBJd1OHdbKXpbIwiFcogfm5ks5udXMBgaJpZM4MIhmI.

I solved this problem by adding below in first line of nginx.conf.
user root
It's Ridha Ben Njima's answer.
https://stackoverflow.com/questions/42388727/ffmpeg-exec-command-not-running-in-nginx-rtmp/45880931#45880931

This is the issue, which I faced. Infact, redirecting the out to ffmpeg somewhere in /tmp can tell you the exact reasons. In my case, it was permission issue and it works fine. I am using as follow:
exec_push ffmpeg -i rtmp://localhost:1935/myapp/$name -c:v copy -c:a copy -segment_time 120 -f segment -reset_timestamps 1 -strftime 1 /opt/test_utils/$name_rtmp.mp4 2>>/tmp/ffmpeg.error;

I have the same question, thanks!
The version I use is ffmpeg-1.18.0
I run the exec command in rtmp and it still doesn't work。

I have the same question, thanks!
The version I use is ffmpeg-1.18.0
I run the exec command in rtmp and it still doesn't work。

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --enable-static --enable-libx264 --enable-gpl --extra-libs=-ldl --enable-ffplay --prefix=/usr/local/ffmpeg-4.2.2 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
This is my ffmpeg version information

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-39)
configuration: --enable-static --enable-libx264 --enable-gpl --extra-libs=-ldl --enable-ffplay --prefix=/usr/local/ffmpeg-4.2.2 --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil      56. 31.100 / 56. 31.100
libavcodec     58. 54.100 / 58. 54.100
libavformat    58. 29.100 / 58. 29.100
libavdevice    58.  8.100 / 58.  8.100
libavfilter     7. 57.100 /  7. 57.100
libswscale      5.  5.100 /  5.  5.100
libswresample   3.  5.100 /  3.  5.100
libpostproc    55.  5.100 / 55.  5.100
This is my ffmpeg version information

@zorrigas
I tried the method you said, but it still doesn't work

@zorrigas
I tried the method you said, but it still doesn't work

@nswarnkar
Did you solve the same problem？

@nswarnkar
Did you solve the same problem？

As mentioned above, I had changed the configuration and had permission issue( running under docker container). For me it had worked long back and using into production since then.

As mentioned above, I had changed the configuration and had permission issue( running under docker container). For me it had worked long back and using into production since then.

exec  /root/bin/ffmpeg -re -i rtmp://ip:1936/myapp/test -threads 2 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://ip:1936/hls/test1;
I tried the permission method you mentioned, but the ffmpeg command is still not executed，

exec  /root/bin/ffmpeg -re -i rtmp://ip:1936/myapp/test -threads 2 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://ip:1936/hls/test1;
I tried the permission method you mentioned, but the ffmpeg command is still not executed，

As mentioned above, I had changed the configuration and had permission issue( running under docker container). For me it had worked long back and using into production since then.

image
exec /root/bin/ffmpeg -re -i rtmp://ip:1936/myapp/test -threads 2 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://ip:1936/hls/test1;
I tried the permission method you mentioned, but the ffmpeg command is still not executed，

As mentioned above, I had changed the configuration and had permission issue( running under docker container). For me it had worked long back and using into production since then.

image
exec /root/bin/ffmpeg -re -i rtmp://ip:1936/myapp/test -threads 2 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://ip:1936/hls/test1;
I tried the permission method you mentioned, but the ffmpeg command is still not executed，

@evangeline123
Did you solve the same problem？

@evangeline123
Did you solve the same problem？

try exec_push   /usr/bin/ffmpeg -nostdin -loglevel 8

try exec_push   /usr/bin/ffmpeg -nostdin -loglevel 8

@ubone
linux environment：
My ffmpeg path is /usr/local/ffmpeg-4.2.2
My nginx path is /usr/local/nginx-1.18.0
I tried the above method but still did not execute the ffmpeg command。
exec_push /usr/local/ffmpeg -nostdin -loglevel 8 -re -i rtmp://ip:1936/myapp/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 480x360 -b:v 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://ip:1936/myapp/test;
Why is this? Is the ffmpeg version of the problem?

@ubone
linux environment：
My ffmpeg path is /usr/local/ffmpeg-4.2.2
My nginx path is /usr/local/nginx-1.18.0
I tried the above method but still did not execute the ffmpeg command。
exec_push /usr/local/ffmpeg -nostdin -loglevel 8 -re -i rtmp://ip:1936/myapp/$name -acodec copy -c:v libx264 -preset veryfast -profile:v baseline -vsync cfr -s 480x360 -b:v 400k -bufsize 400k -threads 0 -r 30 -f flv rtmp://ip:1936/myapp/test;
Why is this? Is the ffmpeg version of the problem?

I found that I just needed to include the full path to ffmpeg and that fixed my problem. You can find the path using which ffmpeg
Using the latest nginx/1.19.6 and latest nginx-rtmp
I used this in my nginx.conf
exec /usr/local/bin/ffmpeg ...

Having a very strange issue that when I run my ffmpeg command like so:
exec_push ffmpeg -i rtmp://localhost/live/$name -async 1 -vsync -1
                                 -c:v libx264 -c:a aac -b:v 256k  -b:a 32k  -vf "scale=480:trunc(ow/a/2)*2"  -tune zerolatency -preset veryfast -crf 23 -f flv rtmp://localhost/show/$name_low;

In a regular docker-container it works as expected. But when running in my k8s minikube cluster only the audio is encoded (the video becomes black). However if I run the command manually inside the k8s container (not using the exec_push directive) I get audio and video. I am pretty perplexed at what the issue could be. Does anyone have any suggestions?
Here is my full rtmp server:
rtmp {
    server {
        listen 1935; # port listening to incoming stream
        chunk_size 4000; # Maximum chunk size for stream multiplexing. Default is 4096.

        # This application is to accept incoming stream
        application live {
            live on; # Allows live input
            on_publish api-cluster-ip:5000/api/stream/start;
            on_publish_done api-cluster-ip:5000/api/stream/end;

            # Once receive stream, transcode for adaptive streaming. This single ffmpeg
            # command takes the input and transforms the source into 4 different streams
            # with different bitrate and quality. P.S. The scaling done here respects
            # the aspect ratio of the input.
            # exec_static /usr/bin/low_hls.sh;
            exec_push ffmpeg -i rtmp://localhost/live/$name -async 1 -vsync -1
                        -c:v libx264 -c:a aac -b:v 256k  -b:a 32k  -vf "scale=480:trunc(ow/a/2)*2"  -tune zerolatency -preset veryfast -crf 23 -f flv rtmp://localhost/show/$name_low;
                        # -c:v libx264 -c:a aac -b:v 768k  -b:a 96k  -vf "scale=720:trunc(ow/a/2)*2"  -tune zerolatency -preset veryfast -crf 23 -f flv rtmp://localhost/show/$name_mid
                        # -c:v libx264 -c:a aac -b:v 1024k -b:a 128k -vf "scale=960:trunc(ow/a/2)*2"  -tune zerolatency -preset veryfast -crf 23 -f flv rtmp://localhost/show/$name_high
                        # -c:v libx264 -c:a aac -b:v 1920k -b:a 128k -vf "scale=1280:trunc(ow/a/2)*2" -tune zerolatency -preset veryfast -crf 23 -f flv rtmp://localhost/show/$name_hd720
                        # -c copy -f flv rtmp://localhost/show/$name_src;
        }

        # This application is for splitting the stream into HLS fragments
        application show {
            live on; # Allows live input from above
            hls on; # Enable HTTP Live Streaming
            hls_fragment 3s; # fragment length
            hls_playlist_length 12s;
            deny play all;

            # Pointing this to an SSD is better as this involves lots of IO
            hls_path /tmp/hls/;

            # Instruct clients to adjust resolution according to bandwidth
            hls_variant _low   BANDWIDTH=288000;  # Low bitrate, sub-SD resolution
            # hls_variant _mid   BANDWIDTH=448000;  # Medium bitrate, SD resolution
            # hls_variant _high  BANDWIDTH=1152000; # High bitrate, higher-than-SD resolution
            # hls_variant _hd720 BANDWIDTH=2048000; # High bitrate, HD 720p resolution
            # hls_variant _src   BANDWIDTH=4096000; # Source bitrate, source resolution
        }
    }
}

as @jeffbski-rga said, all exe command (exec_static, exec_pull, exec_push etc..) should include full path of programe. although your application has been placed to PATH env.
正如 jeffbski-rga 所述，所有的执行命令（exec_static, exec_pull, exec_push等等）都应当包含程序的完整路径。就算是这个程序的路径已经配置在了PATH环境变量，也不能省。

Using file .sh and add
exec_push /usr/bin/bash <filename>.sh $name;
If still fail. check status nginx with systemctl status nginx
If get error like that
www-data : user NOT in sudoers ; TTY=unknown ; PWD=/ ; USER=root ...
Run that command line sudo usermod -a -G ubuntu www-data to add www-data permission into root user group


XMP-Toolkit-SDK promoting vulnerable version 2.4.7 of libexpat?

Hi!
It has come to my attention that in file third-party/expat/ReadMe.txt XMP-Toolkit-SDK is promoting use of libexpat 2.4.7 while there is 2.5.0 by now with security fixes. It would be great if you could update the file to promote either 2.5.0 or the "latest upstream version", instead. Thank you!
Best, Sebastian

Fixed with July 2023 release

Thanks!


Reference or explanation of DCT-FFT translation used for GPU Poisson solver method

I cannot find an explanation of the method used to solve Poisson's equation on the GPU either in the documentation or in the source for Oceananigans.
Studying both the source code and the FFTW documentation:
http://www.fftw.org/fftw3_doc/1d-Real_002deven-DFTs-_0028DCTs_0029.html
was not sufficient for me to deduce the theory behind the method used.
I can think of two solutions --- "shifting inversion eigenvalues and zeroing the complex part of the FFT", or "reflecting the data about z=0", but the algorithm currently used doesn't appear to fall into either of this categories, unless I am mistaken.
Note: there also is no explanation of the method used for the CPU in the documentation or the code. However, studying the code reveals that the cosine transform type is REDFT10 and the inverse type is REDFT01, corresponding to a type-II DCT. Presumably this method uses the "Neumann-Staggered, Neumann-Staggered" eigenfunctions and eigenvalues from Schumann and Sweet equation (12)... ?

You're correct about the CPU method. We also opened an earlier issue to discuss this: #102
Regarding what the GPU does differently: as cuFFT does not have a DCT function, we have to compute the type-II DCT using the FFT (and the type-III DCT using the IFFT).
The relevant reference for how to do this efficiently (i.e. no padding or extra memory usage required) is:
Makhoul, A fast cosine transform in one and two dimensions, IEEE Transactions on Acoustics, Speech, and Signal Processing 28(1) (1980)
but this DSP StackExchange post is probably more useful: https://dsp.stackexchange.com/questions/2807/fast-cosine-transform-via-fft

Ok, thank you. That papers certainly clears up how to go from the n-point FFT to the DCT. To be specific, the permutation and forward 'factors' that are used for the GPU solver are defined in equation (16) and via W^k_{4N} in equation (4) and (19a)... ?
As for #102, I simply do not understand at first glance how to get from the eigentransform formulas in Schumann and Sweet (which involve sine and cosine) to the FFT (which involves a complex exponential). Am I missing something obvious? I feel that some non-trivial algebra is committed from every reference I have seen on this topic. The PoisFFT paper also makes the claim that this is possible but does not offer any justification or clarification.

To be specific, the permutation and forward 'factors' that are used for the GPU solver are defined in equation (16) and via W^k_{4N} in equation (4) and (19a)... ?

I had some difficulty figuring out exactly what to do from that paper so I ended up using the factors from these notes (which ended up working):
http://fourier.eng.hmc.edu/e161/lectures/dct/node2.html

As for #102, I simply do not understand at first glance how to get from the eigentransform formulas in Schumann and Sweet (which involve sine and cosine) to the FFT (which involves a complex exponential). Am I missing something obvious? I feel that some non-trivial algebra is committed from every reference I have seen on this topic. The PoisFFT paper also makes the claim that this is possible but does not offer any justification or clarification.

Yeah this stuff took us a while to figure out at the start. Not sure if I fully understand what you're referring to but I have tedious derivations of Schumann & Sweet's equations (28) and (33) in my notebook that start from the FFTW definitions of the DFT and DCT.

Good to know there are notes somewhere!
The fact that it can't be reproduced from the literature easily suggests that having independent documentation is imperative.
One idea for the future is to 'take notes in the documentation', ie, write the documentation simultaneously with writing out the algorithm (carefully and slowly).


[Performance bug]: Spherical over density with OpenMP

It appears that the spherical over density search is very slow when running in OMP only mode -- I think it's only single-threaded. It takes over 8 hours (when my job was cancelled) running on 16 threads to run on a 512^3 box.
Also -- I've noticed that the 3D FoF is not OMP parallel; is this coming in the future?
Is the current suggestion to run in MPI mode with 1 rank per core?

Hi Josh,
The master branch has a OpenMP 3DFoF now. I need to update the openmp routines to full enable it for the extra baryon searches but shouldn't take too long. As for the bug, I am not certain what the issue could be. There was a bug in the branch that is now fixed but it shouldn't have caused a slow down as the code was always OpenMP. I've merged the latest changes into the extrabaryon branch. Can you please try the search again and let me know if there continues to be an issue? Also, are you calculating spherical overdensities when searching for stars +(gas+bh)? May I ask why? SO masses, unless at higher overdensities than 200, are only really meaningful if you include dark matter.

Great, I'll try again with the latest master. Thank you.
As for the SO searches, I was hoping to run them basically on the DM only, yes -- should I be running VR in DM only mode for these to be valid?

The OMP parallel 3D FoF is great, thank you! As for the spherical over-density, even with the latest master it seems that my code hangs, taking at least 48 hours (before I killed the job) to do the SO search on a 512^3 box. I'm happy to provide the files if you require them. I must be doing something wrong 🤷♂. I initially thought that my G was in the incorrect units, but even after fixing that things seem to still hang.
FWIW this is using the SIMBA interface (4); perhaps it's something unique to this? Running SO on my SWIFT snapshots does not result in this problem.

Hi Josh, can you give me more information regarding the SIMBA run?


CORE-3276 Update to RenameColumnGenerator.generateSql

Overview
The existing rename column logic on mssql does not specify it is a column that is being renamed. This works fine as long as there are not objects of other types in the database with the same name.
The fix updates the SQL to explicitly say way are updating a column to avoid the abiguity.
Fix details
Mssql fix to follow syntax as per msdn:
sp_rename [ objname = ] 'object_name' , [ newname = ] 'new_name'
[ , [ @objtype = ] 'object_type' ]

https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-rename-transact-sql?view=sql-server-2017

@mide25
Thanks for your pull request!
Here’s what happens next:
A member of the Liquibase team will take a look at your contribution and may suggest:

Changes based on guidelines for PR submission
Additional tests (unit and/or integration)
Provide other feedback, like requesting changes.

The PR will be prioritized according to our internal development and testing capacity.
We’ll let you know when it’s ready to move to the next step or if any changes are needed.

@mide25 would you be willing to add unit or integration tests for this change?
Till then I will size at a Medium.

It is a slightly better version of the existing sql. The existing integration tests should catch if it's a problem

Please include this PR into closest release, as it fixes another severe issue, rename of the colum on system versioned table. Without explicitely specifying 'COLUMN' object type parameter, rename will affect primary table, but will not touch version table. Today it causes liquibase users to put quite ugly SQL server specific SQL to workaround.

HI @michaelplavnik Thanks for letting us know that this is still a priority.  We will look to add it soon.  It did not make 4.3 or 4.3.1.

@nvoxland looks like back in the day you reviewed this and approved it, but given it's age It likely needs a re-review and a re-build. Thanks!

Code review and test results:
Change makes sense, it adds an extra and helpful argument to the rename call to better handle the defined bug.
Things to be aware of:

Existing tests call renameColumn on mssql and continue to pass

Things to worry about:

Nothing


fix(for): use IE compatible regex in v-for regex

Closes #7946

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[x] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Credit to @schoonc for pointing out the fix

Is there something left, I could help with, to get this merged?

@sodatea is there any plans for merging this one or it's left in the dark alone forever :)

How can this take 6 months to get a fix for a breaking change, in a supported browser, getting merged? Does vue not care about IE10 anymore?

I'm here to bump this PR again as @cleptric stated, this is a simple fix that fixes support for a major feature of Vue for IE.


Rate limit coordinated workers

... and implement them as a regular ActivityTaskHandler so we can get rid of the special case (LongRunningActivityTaskHandler).

Interceptors now work for CoordinatedActivityTaskHandlers too.
Tick() is not immediately called after Start(), only after tickMinInterval.
support for responding to cancel requests from ActivyTaskHandlers.
LongRunningActivityTaskHandler goes away.

I flipped the logic on some if-else chains to reduce nesting and make them simpler, so it may be a bit difficult to read diffs, sorry! It was mostly:
// from
func work() {
	if something {
		// happy path
	} else {
		// sad path
	}
}

// to
func work() {
	if !something {
		// sad path
		return
	}
	// happy path
}

/cc @sclasen

:+1:

@fabiokung added one more comment after the :+1:   think its worth it to add the extra channel?


wip: Conditioning Nodes

What type of PR is this? (check all applicable)

[x] Feature

Have you discussed this change with the InvokeAI team?

[x] No

Have you updated all relevant documentation?

[x] No

Description
Just trying to add some conditioning related nodes.

Conditioning Concat - ADDED (incomplete)

Added/updated tests?

[ ] Yes
[x] No : please replace this line with details on why tests
have not been included

[optional] Are there any post deployment tasks we need to perform?

Cleaning up ancient PRs.


Throttling options don't work example /iorate:1m comes up as an Invalid Paramater

Throttling options don't work example /iorate:1m comes up as an Invalid Paramater
What's the problem here?

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

ID: bf2281d4-1470-0658-ec5a-687fe2cd451c
Version Independent ID: 2ce2be3e-e3a2-790c-3bff-90efe7318450
Content: Robocopy
Content Source: WindowsServerDocs/administration/windows-commands/robocopy.md
Service: windows-server
Sub-service: administration
GitHub Login: @Xelu86
Microsoft Alias: wscontent

Hey @VaibhavMittal,
Thanks again for contacting Microsoft, we value your feedback.
We don't know the full command you're running. We also addressed this in #7547. The documentation is correct. If you're having issue's running certain commands, we recommend reaching out to our Microsoft Support Community.
Here is an example copying the same data in speeds of 1k/1m/1g. You'll notice the transfer time & speed difference in each output:
robocopy C:\Records D:\Backup /iorate:1k

robocopy C:\Records D:\Backup /iorate:1m

robocopy C:\Records D:\Backup /iorate:1g

As this is a non-documentation issue, we'll now be closing this thread.
Thank you and have a most pleasant day.
#please-close

The iorate parameter supported by robocopy must be used in Windows Server 2022 or later.


Is there a document about how to get a graph in javascript with this lib?

This is a great project for solidity researchers.
I think It's better to write some example codes to show how to use as a lib.

Would love to see a response to this as well!


ONNX support

Is there an ONNX model support planned for TRTIS? There are some commits available at #283 with regards to ONNX Backend. If yes, when it is estimated to be available?

Yes, we are currently working on integrating ONNXRuntime into TRTIS to give "native" ONNX support (so you won't need to convert to Caffe2 or TensorRT to run the model). There is a good chance that minimal support will be available in 19.06. Unless there is an unexpected drain on developer time it will certainly be in 19.07.

Dumb question - 19.07 of what? Per releases TensorRT server is at 1.2.0... 19.07 seems a way out so am assuming you are referring to something else? :-)

@rakelkar each month there is a new update is released. They are released under the branch with current month tag. 19.07 means year 2019 month Jul (07)s release.

Thanks so did this support make it in 19.06?

19.06 will be released closer to the end of the month, after 20th.

ONNXRuntime support is in 19.06 (so will be released later this month as @bezero mentioned). You can find it now on master. We will update the master version of the documentation today or tomorrow and it will contain some information on using ONNXRuntime.


drivers: uart: Add support for st half-duplex mode

This PR is a WIP proposal to integrate st's half-duplex uart mode into zephyr.
Thereby rx and tx are connected and only tx pin is used.
Code is put together quickly, to gather feedback on that feature and I did not
put any effort into test implementation, because I am not to sure, where to put it.

I'd just like @dcpleung to confirm this could be limited to STM32 driver as was done for stop bit:
#39427 and there is no impact on uart api.

^^ @dcpleung

I'd just like @dcpleung to confirm this could be limited to STM32 driver as was done for stop bit:
#39427 and there is no impact on uart api.

Weird that I never got a notification about this... hm...
Anyway, it looks good. But please add a sample.yaml and some comments on which boards the sample can be used on.

@gmarull Would you mind having a new look ?


server: move into bin directory

The symmetry of having both binaries in the same directory is nice.

I went ahead and added it to be safe.


Canto LP Liquidity Mining is back

Disabled recently via #2516, but back with governance proposal 205: https://www.canto.io/governance/proposal?id=205
Also see https://www.canto.io/lp APR in the screenshot below

Hi Pablo, clear thank you for the insights :pray:


Dart formatter Keeps running endlessly && freezes later on.

I am also facing the same issue. I have done everything suggested in your previous tickets @DanTup but VS code still hangs / freezes
Steps to Reproduce
Versions below:
Flutter 2.8.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision cf44000065 (6 days ago) • 2021-12-08 14:06:50 -0800
Engine • revision 40a99c5951
Tools • Dart 2.15.0

What i've noticed is,

as the file gets slightly larger, the crash behaviour occurs. this doesn't happen with very small project.

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

[bug.zip](https://github.com/flutter/flutter/files/7718397/bug.zip)

Logs

 info • Unused import: 'package:magicbox/pages/welcome_page.dart' • lib/main.dart:3:8 • unused_import
   info • Prefer const with constant constructors • lib/main.dart:21:13 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:4:35 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:5:35 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:6:37 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:7:34 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:8:34 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:9:38 • prefer_const_constructors
   info • Prefer const with constant constructors • lib/misc/colors.dart:10:41 • prefer_const_constructors
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/pages/authpages/login_page.dart:1:8 • unnecessary_import
   info • Unused import: 'package:magicbox/misc/colors.dart' • lib/pages/authpages/login_page.dart:3:8 •
          unused_import
   info • Unused import: 'package:magicbox/widgets/app_large_text.dart' •
          lib/pages/authpages/login_page.dart:4:8 • unused_import
   info • Unused import: 'package:magicbox/widgets/app_text.dart' • lib/pages/authpages/login_page.dart:5:8
          • unused_import
   info • Unused import: 'package:magicbox/model/login_model.dart' •
          lib/pages/authpages/login_page.dart:6:8 • unused_import
   info • The value of the field '_emailRegExp' isn't used • lib/pages/authpages/login_page.dart:17:9 •
          unused_field
   info • The value of the field '_formKey' isn't used • lib/pages/authpages/login_page.dart:21:9 •
          unused_field
   info • The value of the local variable 'height' isn't used • lib/pages/authpages/login_page.dart:28:18 •
          unused_local_variable
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/pages/welcome_page.dart:1:8 • unnecessary_import
   info • Unnecessary new keyword • lib/pages/welcome_page.dart:18:31 • unnecessary_new
   info • SizedBox for whitespace • lib/pages/welcome_page.dart:49:26 • sized_box_for_whitespace
   info • SizedBox for whitespace • lib/pages/welcome_page.dart:69:26 • sized_box_for_whitespace
   info • Prefer typing uninitialized variables and fields • lib/pages/welcome_page.dart:94:7 •
          prefer_typing_uninitialized_variables
   info • Private field could be final • lib/pages/welcome_page.dart:94:7 • prefer_final_fields
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more
          of its instance fields aren't final: AppButtons.text, AppButtons.icon, AppButtons.width,
          AppButtons.isIcon, AppButtons.height • lib/widgets/app_buttons.dart:6:7 • must_be_immutable
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/widgets/app_large_text.dart:1:8 • unnecessary_import
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more
          of its instance fields aren't final: AppLargeText.size • lib/widgets/app_large_text.dart:4:7 •
          must_be_immutable
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/widgets/app_text.dart:1:8 • unnecessary_import
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more
          of its instance fields aren't final: AppText.size • lib/widgets/app_text.dart:4:7 •
          must_be_immutable
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/widgets/my_form_text_field.dart:1:8 • unnecessary_import
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more
          of its instance fields aren't final: MyFormTextField.onSaved, MyFormTextField.decoration,
          MyFormTextField.validator • lib/widgets/my_form_text_field.dart:4:7 • must_be_immutable
   info • The import of 'package:flutter/cupertino.dart' is unnecessary because all of the used elements
          are also provided by the import of 'package:flutter/material.dart' •
          lib/widgets/responsive_button.dart:1:8 • unnecessary_import
   info • This class (or a class that this class inherits from) is marked as '@immutable', but one or more
          of its instance fields aren't final: ResponsiveButton.isResponsive, ResponsiveButton.width •
          lib/widgets/responsive_button.dart:6:7 • must_be_immutable

Flutter (Channel stable, 2.8.0, on macOS 12.0.1 21A559 darwin-x64, locale en-GB)
    • Flutter version 2.8.0 at /Users/i508752/Downloads/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision cf44000065 (7 days ago), 2021-12-08 14:06:50 -0800
    • Engine revision 40a99c5951
    • Dart version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/i508752/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.63.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] VS Code (version 1.34.0)
    • VS Code at /Users/i508752/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 96.0.4664.110
    ! Error: iPhone is not connected. Xcode will continue when iPhone is connected. (code -13)
    ! Error: Temitope’s iPhone is not connected. Xcode will continue when Temitope’s iPhone is connected. (code
      -13)

Hi @temitopeog
Following the indication of VS Code Flutter Extension, the correct way to address the problem is to open an issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

This is likely an issue in the LSP server - we can troubleshoot in the issue raised at https://github.com/dart-lang/sdk/issues/47934. Thanks!


add graffiti

[ ] duel graffiti
[ ] more graffiti

XD

What would this do?

something like an animated ascii art that portrays a wand duel.


feat: create a new frontend component for transcript reading

Describe the feature
the current version of the amazon chime sdk meeting summarizer lacks a dedicated component in the frontend for handling the reading of meeting transcripts. to enhance user experience and improve accessibility to meeting content, there's a need to create a new component specifically designed for transcript reading.
Use Case
It would be good to have a way to read the files without downloading them.
Proposed Solution
I would use this component to create this. :)
Other Information
No response
Acknowledgements

[ ] I may be able to implement this feature request.

CDK version used.
2.133.0
Node.js Version
v20.11.1
Environment details (OS name and version, etc.).
MacOS Sonoma 14.3.1

component created and pushed to dev branch.

merged into main.


(PUP-7785) Ensure keylength setting is treated as an int

A recent change to the way numerical settings are munged made it
necessary to specify the type of a setting that should be converted to a
number, rather than automatically converting all strings that look like
numbers. This commit adds the integer type to the keylength setting,
to ensure it is converted to an int and not passed as a string.

This caused a failure in a puppetserver unit tests that verified the values of parsed settings. It was getting a string instead of the expected integer.

curious how this only just came up @Magisus .. also, should this go in 6.x too?

The change went into main only 5 days ago. When the agent promoted, we started pulling in the updated version in our submodule and running unit tests against it, which verified the type of the keylength setting: we were explicitly expecting an int, but Puppet was returning a string after https://github.com/puppetlabs/puppet/pull/8641 (which is the linked ticket).

ahh gotcha, thanks. I was looking at the history around your change and it was all super old 😅


Attempt to decorate k8 resource manual deletion with message

TL;DR
This is an attempt to provide a reason for the pod failure when the resources are manually deleted.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[ ] Code completed
[ ] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description
This is just an attempt to provide a reason for pod failure when the k8 resources are deleted manually, I am unsure about this fix. I used the k8serrors.ReasonForError() to get the reason for pod failure and then attached it to the object that failed. Check line 317 and 318.
Tracking Issue
Issue #2843

Hello @hamersaw , I attempted at solving issue #2843 . Do you think this will work?

hello @hamersaw, what do you think about this approach?, will this be sufficient?, can we get the reason for the pod deletions this way?

Hey @Ln11211, the idea is to use pod.reason and pod.message fields (check out https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/ for where to find the fields) and copy these into the error message..

Hey @Ln11211, the idea is to use pod.reason and pod.message fields (check out https://kubernetes.io/docs/tasks/debug/debug-application/determine-reason-pod-failure/ for where to find the fields) and copy these into the error message..

Hello there, Yes, I went through this page previously but didn't understand how to use those fields so, I read the v1 Core docs and found about the Message and Reason fields in the PodStatus documentation and used them now, I guess this should work. Check line 317.

hello @hamersaw , can I get a review please :)

hi @samhita-alla , would it be possible to review this PR?, This PR aims to provide more context for the manually deleted objects using the Pod Message and Reason fields :)

@Ln11211 were you able to test this and confirm the message and reason were correctly populated? Also, did you look into this fix in the FlytePropeller code? it seems this is the easy case (k8s-array subtasks), but the general case is more difficult.


Turn off Travis, clean up Cirrus

This turns off Travis for the plugins repo, and cleans up the Cirrus CI scripts.

Closing this because it can't pass the build without version changes too. My other CL (which I was trying to split because it has too much stuff in it) has these changes already: https://github.com/flutter/plugins/pull/729


Is this Stage 3?

In [blink-dev] Intent to Ship: Promise.try @syg notes that this is actually stage 3, but the repo hasn't been updated.

#15 is updated, but you're right I haven't yet updated the readme or spec. Thanks for the reminder.


Pattern matching implementation

Pattern matching implementation as described in https://github.com/nim-lang/RFCs/issues/245
WIP article on how to use this for writing macros.

Right now use of case statement inside of generics fails, if identifiers like _ are used in body. There are two workarounds right now: first one is to use expand macro that forces evaluation of the body, so you write things like
expand case a:
  of [_]: discard
  else: fail()

Second option is adding mixin statement for each unknown symbol, like this:
mixin _
case a:
  of [_]: discard
  else: fail()

This can be done automatically, but I don't know of a way to determine if a macro has been expanded inside of generic function or not (since use of mixin statement outside of procs/functions/methods is an error)

Needs changelog.

Previous CI failure was related to C codegen differences between nim 1.0.0 and 1.2.0+ and happened only because I didn't account for it in tests.
In addition to fixing this I also added support for (field.subfield: <pattern>) syntax - previously such construction had to be written using (field: (subfield: <pattern>)) which was not really intuitive and quire bothersome to write. This addition is just purely for ergonomics/syntactic sugar.
I think that implementation is mostly feature-complete (almost all things described in RFC are covered, with some minor adjustments and several additions).
Things left are mostly related to better documentation and defensive programming of the DSL (test against more possible use cases & provide better error messages in case of malformed code).
When view types become none-experimental it might be possible to match objects using them.

All fixes, additions are finally implemented, so now I need someone to review this.
I've significantly improved failed match exceptions messages, position for backtraces (using {.line.}), added better DSL compilation checks and added more tests. No new functionality was added.

There were several things that I considered, but ultimately decided to not implement, or postpone until after the current version is accepted
Support for capturing values into existing variables.
It could be done by adding yet another syntax - @=, to explicitly declare that the existing variable should be reused. The another alternative is to check declared and then for typeof equality, but this is even less intuitive. So I decided it is not worth it, and you can just capture into a new variable and then add/incl/= to existing one however you like.
Pragma annotations for variable captures
There is just not enough place in DSL, and honestly I don't think that this is something all that important, so I decided to not implement this.
Using views for captured variables
Right now all captured variables introduce copies. I declare each variable at the top of the match expression, and then = or add to it during match evaluation. So matching [until @vals == 5, .._] := @[2, 3, 4, 5] would create vals == @[2, 3, 4]] sequence, where all elements will be copied. With view types (I suppose) it might be possible to declare vals as seq[lent int] and no copying would occur.
Because views are currently experimental this has not been implemented, but this is possibility for better performance, so it should not be overlooked.
Another related problem - when (maybeFuncMaybeField: [all < 10]) is captured, maybeFuncMaybeField is called multiple times, and this is not possible to determine whether maybe.. is a field or a procedure during pattern construciton. I believe view types can also solve this problem, by doing
let vals: lent typeof(expr) = expr

and then using vals instead of an expr throughout the code. Without view types this can be done too, quite easily, just using
let vals: typeof(expr) = expr

But it could (most likely will) create a lot of copies when expr is actually as field access. No I see this is a tradeoff between calling maybeFuncMaybeField multiple times, and copying field on each pattern check. Now there is no copying (since I assumed pattern matching will be done /mostly/ on fields, and things like len that are quite cheap to evaluate AFAIK).

@timotheecour if you have time could you please review the implementation? Tests are currently failing due to CI issues, not implementation - everything is build-able & passes tests.

Is there anything that I can do that would speed up merge? I understand that reviewing four thousand lines of code is not a fast thing to do, but maybe I can at least make it easier somehow?

Is there anything that I can do that would speed up merge?

Currently, releasing 1.4.2 is our priority and we're focusing on it.
If nothing happens with this for a week after 1.4.2 release, please ping us again.

LGTM

Looks good still :+1:

Any thoughts on the article? It mostly illustrates the main use case for the library - writing macros, but maybe I should add something else. I hope to put it on nim blog after this is merged and somewhat user-tested

@timotheecour is there anything else that needs fixing, or this looks good enough for you too?

Added custom unpackers and changed sequence pattern matching to use items instead of random access via [].
This code doesn't work prior to 1.4.2. and I have no idea as to why, so custom unpackers are only supported from 1.4.2 onwards.
type FieldIndex* = distinct int

template `[]`*(t: tuple, idx: static[FieldIndex]): untyped =
  t[idx.int]

echo (12, 12)[FieldIndex(0)]

Merging this now but there will be followup changes to the documentation. This is still highly experimental. In the longer run I expect Nim to grow let / var keywords as expressions so that identifier injections become clearer. This means @val will become (let val) or similar. Happy to write an RFC for this.

@Araq I planned to collect some feedback after this library is somewhat user-tested and update documentation & related parts accordingly.
About let val vs @val - I fully support this, it would look much better compared to current syntax.


WIP Begin Porting HEXAPAWN to Python

So far, have printed out instructions and parsed player moves. Submitting pull request to let folks know I'm working on this.

A good start!

A good start!

Thanks!
One note - I don't know how to distribute this discovery to other porters who might benefit:
This code uses a weird BASIC construct that I had seen, but forgot the details of:
20 DEF FNR(X)=-3*(X=1)-(X=3)-4*(X=6)-6*(X=4)-7*(X=9)-9*(X=7)+FNS(X)
25 DEF FNS(X)=-X*(X=2 OR X=5 OR X=8)
On some versions of BASIC (including Microsoft's Small Basic, I think), using "=" to test equality returns 1 if the operands are the same and 0 if not. On some other versions (Applesoft, at least according to https://www.calormen.com/jsbasic/) , equality gives a -1, and inequality is 0.
We can infer from this:
260 IF FNR(I)=I THEN 320
that the intended output of FNR is positive.
I just made a dictionary in Python, which made things clearer (to me).


(116548255) test decoding dynamic subclasses

Adapt a test from swift-corelibs-foundation, where JSON decoding could produce the wrong dynamic type. Add this test to prevent regressions. Original issue: https://github.com/apple/swift-corelibs-foundation/issues/4806
Addresses rdar://116548255

@swift-ci please test

@kperryua you're right, that does the same thing.  Thanks!


chore: add deployment of dev branch

dev.foodsaving.world, will access production backend
devdev.foodsaving.world, will access dev backend with dev backend

Codecov Report

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

@@           Coverage Diff           @@
##           master     #328   +/-   ##
=======================================
  Coverage   98.68%   98.68%
=======================================
  Files         152      152
  Lines        2213     2213
=======================================
  Hits         2184     2184
  Misses         29       29

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 9ced9a2...cb5791c. Read the comment docs.


examples/kubernetes: add arm64 support for connectivity check

This commit adds multi-arch docker images. Now, users can run the
connectivity check in their multi-arch clusters.
Signed-off-by: André Martins<EMAIL_ADDRESS>Add arm64 support for the connectivity test

my assumption is that these scripts are not used in jenkins tests. If they are feel free to trigger them.

Just a message to report that with this commit, test do run on aarch64: I tested it on my RPi4 and it worked flawlessly.
Thanks for the quick fix 👏

test-me-please

@aanm Is this a known flake? https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-net-next/394/testReport/junit/Suite-k8s-1/16/K8sDatapathConfig_Wireguard_encryption_Pod2pod_is_encrypted_in_direct_routing_mode/

@pchaigno It's not the first time I saw this in a different PR. I've opened https://github.com/cilium/cilium/issues/15922 to track it


Working with fixed redirects not in my app domain

I apologize for creating an issue when what I'm really doing is trying to get some help.
I'm trying to connect to the Tesla Auth provider (which is unofficially documented here) and trying to use Flutter Web Auth 2 to perform the front channel flow and allow my user to authorize my app and obtain the access and refresh tokens. Unfortunately at this time, Tesla doesn't really cater to other third-party apps and basically most third-party apps out there masquerade as the Tesla App. The OAuth front channel workflow uses a fixed redirect callback URL of https://auth.tesla.com/void/callback which is not a real page on Tesla and the authorization code is delivered as a query parameter to that URL.
My question is, would I be able to intercept this redirect using Flutter Web Auth 2 (or in general) and obtain the URL? As of now I'm not sure how to go about doing this. I'm hoping to use this on desktop, mobile and web and was wondering if there are some platforms where this will work at least.
Again I apologize for creating an issue given that this is not a real bug. I'm new to web programming and OAuth so please forgive my ignorance.

Hi, there is no easy way to tell. The easiest way is to just try it out.
For the URL thing: That's the entire thing that this package does: When authentication is successful, it gives you the callback URL.
However, some websites have weird redirects which cannot be detected by this package. So, as long as Tesla's website is not too weird, it should work out :)


EnvProviderManagerTest fails with latest version of JUnit on TravisCI w/ multiple JDKs

EnvProviderManager#prepareEnviromentProviders() will be called 5 times instead of just 1.
This has not been the case before and it might be related to upgrading JUnit/Mockito dependencies to their latest versions.
Running the test locally does not show that behaviour.
On TravisCI, however, the test will fail on all of the targeted JDKs:
[ERROR] Failures:
[ERROR]   EnvProviderManagerTest.prepareEnvironmentsMustCallUponCollector:80
No interactions wanted here:
-> at eu.coldrye.junit.env.EnvProviderManagerTest.prepareEnvironmentsMustCallUponCollector(EnvProviderManagerTest.java:80)
But found this interaction on mock 'Mock for ExtensionContext, hashCode: 804104750':
-> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:133)
***
For your reference, here is the list of all invocations ([?] - means unverified).
1. -> at eu.coldrye.junit.env.EnvProviderManager.isPrepared(EnvProviderManager.java:192)
2. -> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:128)
3. [?]-> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:133)
4. [?]-> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:133)
5. [?]-> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:133)
6. [?]-> at eu.coldrye.junit.env.EnvProviderManager.prepareEnvironmentProviders(EnvProviderManager.java:133)

Turns out that the prepared instance of the provided was added multiple times.

Done in #27

jacoco fails on openjdk11, disabling openjdk11 for now

problem still prevails, local builds agains current 1.8 jdk will work while builds on travis still fail

heck, now it is working again. it seems since introduction of the github market place, the free version of travis is becoming more and more unreliable.

Builds are failing again. Somehow this fix did not work out. Have to investigate further. During the tests, the mock should no longer be called multiple times.

Setting the collector directly instead of setting it via EnvProviderManager.getInstance(collector) did the trick. Seems as if latest JUnit calls the BeforeEach/AfterEach from a different thread... However, applying the latest fix did the trick and the tests work as expected.


LcdMenu 5.0.0 Documentation

Temporary deployment URL: https://forntoh.github.io/LcdMenu

[x] Overall docs
[ ] Migration Guide for v5.x.x

Hi, wow, it's a lot of work)
Is it possible to build docs locally?

Hi, wow, it's a lot of work) Is it possible to build docs locally?

Yes, it's possible
https://www.sphinx-doc.org/en/master/usage/installation.html


const int32_t' but got 'long' when joining two bed files

When I try to load two bed files using read_bed , then run a left join res = bed1.join(bed2, how='left') I get the following error:
 ValueError: Buffer dtype mismatch, expected 'const int32_t' but got 'long'

Thanks for reporting! Can you look in the headers and confirm that one is int64 and one is int32?

Thanks for reporting! Can you look in the headers and confirm that one is int64 and one is int32?

Fix: specify int64=True when loading in a pyranges object from DataFrame: pr.PyRanges(df, int64=True)

Fix: specify int64=True when loading in a pyranges object from DataFrame: pr.PyRanges(df, int64=True)

Hi @endrebak! Do you mean the bed file headers? In this case, neither bed file has a header. One of the bed files is just a test file (3 lines, no header). The other file is gzipped, but has no header unzipped.

Hi @endrebak! Do you mean the bed file headers? In this case, neither bed file has a header. One of the bed files is just a test file (3 lines, no header). The other file is gzipped, but has no header unzipped.

I meant that if you print the pyranges you will see their types in the
headers :)
Thanks for reporting btw
On Tuesday, January 26, 2021, akmorrow13<EMAIL_ADDRESS>wrote:

Reopened #170 https://github.com/biocore-ntnu/pyranges/issues/170.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/170#event-4250874402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURUQURKHN4UVW7O7ULMTS33E5HANCNFSM4WSXTILA
.

I meant that if you print the pyranges you will see their types in the
headers :)
Thanks for reporting btw
On Tuesday, January 26, 2021, akmorrow13<EMAIL_ADDRESS>wrote:

Reopened #170 https://github.com/biocore-ntnu/pyranges/issues/170.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/170#event-4250874402,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURUQURKHN4UVW7O7ULMTS33E5HANCNFSM4WSXTILA
.

Ah, apologies! They both have int32 for start and end. See screenshot below:

Ah, apologies! They both have int32 for start and end. See screenshot below:

Would you be able to share these files with me so I can try to reproduce
the bug? I am always eager to submit fixes.
On Tuesday, January 26, 2021, akmorrow13<EMAIL_ADDRESS>wrote:

Ah, apologies! They both have int32 for start and end. See screenshot
below:
[image: Screen Shot 2021-01-26 at 9 38 52 AM]
https://user-images.githubusercontent.com/6503416/105867184-6819a900-5fba-11eb-9eef-f0056aebe1a4.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/170#issuecomment-767628510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURURM7YXJ42KNZS2VXKLS33O5LANCNFSM4WSXTILA
.

Would you be able to share these files with me so I can try to reproduce
the bug? I am always eager to submit fixes.
On Tuesday, January 26, 2021, akmorrow13<EMAIL_ADDRESS>wrote:

Ah, apologies! They both have int32 for start and end. See screenshot
below:
[image: Screen Shot 2021-01-26 at 9 38 52 AM]
https://user-images.githubusercontent.com/6503416/105867184-6819a900-5fba-11eb-9eef-f0056aebe1a4.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/170#issuecomment-767628510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURURM7YXJ42KNZS2VXKLS33O5LANCNFSM4WSXTILA
.

Of course! Attached are a compressed folder of the two bed files and pip freeze. I included the pip freeze file because this issue only occurs on some of my virtual environments (not all).I tried matching the ncls and pyranges versions in the working environment (ncls 0.0.53, pyranges 0.0.84) but this did not solve the issue.
files_issue170.zip

Of course! Attached are a compressed folder of the two bed files and pip freeze. I included the pip freeze file because this issue only occurs on some of my virtual environments (not all).I tried matching the ncls and pyranges versions in the working environment (ncls 0.0.53, pyranges 0.0.84) but this did not solve the issue.
files_issue170.zip

These are the contents:
ls -latrh *
-rw-r--r--@ 1 endrebakkenstovner  staff   263K Jan 27 04:11 test.zip
-rw-------@ 1 endrebakkenstovner  staff   5.6K Jan 27 14:55 all.pos.bed.gz
-rw-------@ 1 endrebakkenstovner  staff   1.8K Jan 27 14:59 pip_freeze.txt

test:
total 600
-rw-r--r--@ 1 endrebakkenstovner  staff   297K Jan 27 04:10 data.h5
drwxr-xr-x@ 3 endrebakkenstovner  staff    96B Jan 27 04:10 ./
drwxr-xr-x@ 6 endrebakkenstovner  staff   192B Jan 27 16:42 ../

It seems to be missing one bed file :) I tried reading the .h5, but got the error
----> 1 pd.read_hdf("test/data.h5")

~/anaconda3/lib/python3.8/site-packages/pandas/io/pytables.py in read_hdf(path_or_buf, key, mode, errors, where, start, stop, columns, iterator, chunksize, **kwargs)
    404             groups = store.groups()
    405             if len(groups) == 0:
--> 406                 raise ValueError("No dataset in HDF5 file.")
    407             candidate_only_group = groups[0]
    408

ValueError: No dataset in HDF5 file.

These are the contents:
ls -latrh *
-rw-r--r--@ 1 endrebakkenstovner  staff   263K Jan 27 04:11 test.zip
-rw-------@ 1 endrebakkenstovner  staff   5.6K Jan 27 14:55 all.pos.bed.gz
-rw-------@ 1 endrebakkenstovner  staff   1.8K Jan 27 14:59 pip_freeze.txt

test:
total 600
-rw-r--r--@ 1 endrebakkenstovner  staff   297K Jan 27 04:10 data.h5
drwxr-xr-x@ 3 endrebakkenstovner  staff    96B Jan 27 04:10 ./
drwxr-xr-x@ 6 endrebakkenstovner  staff   192B Jan 27 16:42 ../

It seems to be missing one bed file :) I tried reading the .h5, but got the error
----> 1 pd.read_hdf("test/data.h5")

~/anaconda3/lib/python3.8/site-packages/pandas/io/pytables.py in read_hdf(path_or_buf, key, mode, errors, where, start, stop, columns, iterator, chunksize, **kwargs)
    404             groups = store.groups()
    405             if len(groups) == 0:
--> 406                 raise ValueError("No dataset in HDF5 file.")
    407             candidate_only_group = groups[0]
    408

ValueError: No dataset in HDF5 file.

Sorry, I must have zipped the wrong file. It should include two bed files (1 gzipped).
files_issue170.zip

Sorry, I must have zipped the wrong file. It should include two bed files (1 gzipped).
files_issue170.zip

Can't reproduce, but perhaps the stack trace could be of help :) Do you have it?
Also, please look for any weirdness when using "left", "right". I do not know if these flags have been used much :)

Can't reproduce, but perhaps the stack trace could be of help :) Do you have it?
Also, please look for any weirdness when using "left", "right". I do not know if these flags have been used much :)

Thanks for the prompt upload btw

Thanks for the prompt upload btw

Here is the stack trace:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/pyranges.py", line 2144, in join
    dfs = pyrange_apply(_write_both, self, other, **kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/multithreaded.py", line 304, in pyrange_apply
    result = call_f(function, nparams, df, odf, kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/multithreaded.py", line 23, in call_f
    return f.remote(df, odf, **kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 127, in _write_both
    scdf, ocdf = _both_dfs(scdf, ocdf, how=how)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 76, in _both_dfs
    _self_indexes, _other_indexes = _both_indexes(scdf, ocdf, how)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 33, in _both_indexes
    starts, ends, indexes)
  File "ncls/src/ncls.pyx", line 75, in ncls.src.ncls.NCLS64.all_overlaps_both
ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'int'

Here is the stack trace:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/pyranges.py", line 2144, in join
    dfs = pyrange_apply(_write_both, self, other, **kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/multithreaded.py", line 304, in pyrange_apply
    result = call_f(function, nparams, df, odf, kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/multithreaded.py", line 23, in call_f
    return f.remote(df, odf, **kwargs)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 127, in _write_both
    scdf, ocdf = _both_dfs(scdf, ocdf, how=how)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 76, in _both_dfs
    _self_indexes, _other_indexes = _both_indexes(scdf, ocdf, how)
  File "/data/yosef2/users/akmorrow/miniconda3/envs/EpitomeVersionTest/lib/python3.7/site-packages/pyranges/methods/join.py", line 33, in _both_indexes
    starts, ends, indexes)
  File "ncls/src/ncls.pyx", line 75, in ncls.src.ncls.NCLS64.all_overlaps_both
ValueError: Buffer dtype mismatch, expected 'const int64_t' but got 'int'

Met exactly the same problem in left join! Looking forward a further updating!

I will look at this tomorrow
On Mon, 10 Apr 2023 at 06:26, ttbond @.***> wrote:

Met exactly the same problem in left join! Looking forward a further
updating!
—
Reply to this email directly, view it on GitHub
https://github.com/biocore-ntnu/pyranges/issues/170#issuecomment-1501376725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEHURUUWZFO7RLQ5FUSGMD3XAODXVANCNFSM4WSXTILA
.
You are receiving this because you were mentioned.Message ID:
@.***>


After installing and uninstalling different modules, started to get several errors and won't work anymore even after uninstalling every module and cloning again repo.

May have something in cache that still prevails. Error is (path-to-Winwal)/C is not found when using Update-WalTheme -Backend haishoku command, also started getting errors inside pywal itself.
Have tried removing all packages installed via pip and chocolatey, removing $HOME/.cache/wal and cloning again the repo.

Error is independent of backend used, when using param -Image it finds the image, but the color palette showed is an older one, and does not refresh and the pywal error is thrown.


fix(pikav): bump leptos to 0.4

:tada: This PR is included in version 0.17.3 :tada:
The release is available on:

GitHub release
v0.17.3
v0.17.3

Your semantic-release bot :package::rocket:


Update Bowery/prompt to latest

Sorry if this isn't the proper place to ask for this, but would it be possible to bump the Bower/prompt dep to d43c2707a6c5a152a344c64bb4fed657e2908a81? This commit has fixes that make prompt work on OpenBSD and friends.
I would do it myself, but it seems using govendor is required to update the vendor.json file :D
If there is a different procedure I should follow, please let me know!

Updated.
Thanks!


HotTableRegisterer getInstance trouble

Description
Trying to use HotTableRegisterer  as in the documentation Access the Handsontable instance: https://handsontable.github.io/angular-handsontable/examples/access-to-handsontable
Demo
https://angular-hot-instance-issue.stackblitz.io
I get 2 errors:
1/ hot.selection.empty is not a function (displayed in the console)
2/ If I edit the code, then ...getInstance(this.instance) does not return any object
I have forked the provided example (https://handsontable.github.io/angular-handsontable/examples/access-to-handsontable).
If I edit any file (for instance, just add an empty line in app.component.ts) I get the same behaviour : getInstance does not return any object and the example does not work anymore.
Your environment

Wrapper version: 1.0.0.beta4
Browser Name and version: FF59 / Chrome64
Operating System: Win7 / Win10

Everything works for me. The only problem I know about is with stackblitz.io, when you changing the code "instances are lost" and to be able to view app correctly, you need to reload it (button is located in preview section of stackblitz.

Thanks Mateus,
I wanted to set some Handsontable instance properties.
In order to have it working I have had to use ViewChild and AfterViewInit.
import { Component,  ViewChild, AfterViewInit, ... } from '@angular/core';
export class AppComponent implements OnInit, AfterViewInit  {
 @ViewChild(HotTableRegisterer) hot;

  beforeChange (changes, source) {
    console.log('Before change:');
    console.log('changes ', changes);
    console.log('source ', changes);
    //changes[0] = null;
  }

  ngAfterViewInit() {
    this.hot.getInstance('1').updateSettings({
      beforeChange : this.beforeChange
    });
  }
...
}

I have this problem too.
@ViewChild does not work for me.
ts:
export class PreviewComponent implements OnInit {

  public previewData: any;
  public previewHTableId : any;
  public previewHTable: Handsontable;

  constructor(private hotRegisterer: HotTableRegisterer) { }

  ngOnInit() {
    this.previewData = Handsontable.helper.createEmptySpreadsheetData(30, 1);
  }

  testHot(){
    const previewHTable = this.hotRegisterer.getInstance(this.previewHTableId);
    console.log(previewHTable) // --> undefined
  }
}

html:
<hot-table
      [colHeaders]="true"
      [rowHeaders]="true"
      [height]="300"
      [stretchH]="'all'"
      [data]="previewData"
      [hotId]="previewHTableId"
    ></hot-table>

Hi @Mathijs003, previewHTableId should be a string.  In your example is undefined.
Try to replace public previewHTableId : any; with public previewHTableId = 'hot';

@swistach Great, thanks you very much!


Error when extracting LoRA from checkpoint (macOS)

Apologies if this has already been answered, I had a look around and although there were some related issues I couldn't find anything that solved my specific problem.
I am running kohya gui on macOS, attempting to extract lora from a checkpoint and am recieving the following error after a few seconds of running:
RuntimeError: Error(s) in loading state_dict for AutoencoderKL:         Missing key(s) in state_dict:  "encoder.mid_block.attentions.0.to_q.weight",  "encoder.mid_block.attentions.0.to_q.bias",  "encoder.mid_block.attentions.0.to_k.weight",  "encoder.mid_block.attentions.0.to_k.bias",  "encoder.mid_block.attentions.0.to_v.weight",  "encoder.mid_block.attentions.0.to_v.bias",  "decoder.mid_block.attentions.0.to_q.weight",  "decoder.mid_block.attentions.0.to_q.bias",  "decoder.mid_block.attentions.0.to_k.weight",  "decoder.mid_block.attentions.0.to_k.bias",  "decoder.mid_block.attentions.0.to_v.weight",  "decoder.mid_block.attentions.0.to_v.bias".          Unexpected key(s) in state_dict:  "encoder.mid_block.attentions.0.to_to_q.weight",  "encoder.mid_block.attentions.0.to_to_q.bias",  "encoder.mid_block.attentions.0.to_to_k.weight",  "encoder.mid_block.attentions.0.to_to_k.bias",  "encoder.mid_block.attentions.0.to_to_v.weight",  "encoder.mid_block.attentions.0.to_to_v.bias",  "decoder.mid_block.attentions.0.to_to_q.weight",  "decoder.mid_block.attentions.0.to_to_q.bias",  "decoder.mid_block.attentions.0.to_to_k.weight",  "decoder.mid_block.attentions.0.to_to_k.bias",  "decoder.mid_block.attentions.0.to_to_v.weight",  "decoder.mid_block.attentions.0.to_to_v.bias".
Can anyone offer a solution? Many thanks in advance.

I think this is caused by the latest Diffusers (Diffusers changes the state dict format for VAE recently). I will work on this on sdxl branch, and the branch will be merged to main sooner.

Hello, I encountered the same problem after loading the U-Net model. Have you resolved this issue?

Is there any update on this? I am having this exact issue and can't find a solution anywhere. Running the GUI on Windows but other than that, it's identical.

Any update?

I ran into this same error on my windows machine, rolling diffusers back to 10.2 did not fix this


Create benchmark framework

The project needs a way to profile changes to the SDK (compilation, simulation, etc).
Possible framework: airspeedvelocity.

Can you make a proposal for this now we have the three simulator backends in place.  Qasm statevector and unitary.

Dear QISKit developers,
We have recently started a project called Quantum Collective Knowledge to benchmark existing quantum computing systems to pinpoint the state-of-the-art and forecast future developments. Quantum Collective Knowledge (QCK) builds upon Collective Knowledge (CK), a universal open framework for reproducible and collaborative R&D. CK is being contributed to by a growing community across industry (including semiconductor companies) and academia (including the Artifact Evaluation process at leading systems conferences and pilot integration with the ACM Digital Library). Please feel free to browse through public results from various workflows at http://cknowledge.org/repo.
As part of QCK, we are providing CK workflows for major quantum packages, including CK-QISKit, CK-Rigetti, CK-ProjectQ, etc.
We started to provide support for multiple QISKit backends a couple of months ago, but then decided to wait until the dust from the major rework on simulators settled. It sounds now is a good time to resume this work!
Supporting multiple backends is only one part of the story. What we need is realistic, useful and diverse workloads! We have spotted a comprehensive list of standard algorithms. Would benchmarking these be of interest? Or would perhaps benchmarking and optimising variational algorithms be more interesting? Please share your thoughts!
/cc @fvella @ens-lg4 @gfursin @stevebrierley @oscarhiggott @daochenw

Just saw this bug. @ajavadia the Quantum Collective Knowledge sounds super-interesting. I don't know if we published a post about it but we should.
Anyway, I think @ewinston was suggesting a benchmark infrastructure for Qiskit itself that would help us to detect regressions while developing.

Many thanks @delapuente! This would be awesome.
Speaking of the project internal benchmarking needs, we do develop various Collective Knowledge plugins for micro- and macro-level benchmarking and optimization (although it would probably be atom-level for quantum benchmarking :)).
For example, in collaboration with Arm we have developed and released CK-NNTest, a test suit for collaboratively validating, benchmarking and optimizing neural net operators across platforms, frameworks and datasets. We have successfully used it to optimize the Arm Compute Library for their latest GPU architecture (Bifrost), achieving up to 10x kernel-level speedups, up to 5x operator-level speedups and up to 3x network-level speedups (e.g. see our ReQuEST@ASPLOS'18 paper). Moreover, we keep using it to detect performance anomalies and regressions.

FYI: We are using QCK for our second Quantum Computing Hackathon in London this weekend, with participants having priority access to IBM QX devices. (@quantumjim is going to be around.)

Just to point out this is in progress here: Qiskit/qiskit#30 there's one issue to debug related to installing qiskit. Once that's resolved and it merges we can work on running that on a continuous basis.

Ok let's close this as it will be tracked in the meta package and that's where benchmarks will live for the whole Qiskit project.
We will continue adding to these benchmarks overtime, and contributions are welcome.


refactor(ci): Test conversion to 1ES pipeline template

Description
Trying to apply the same changes as https://github.com/microsoft/FluidFramework/pull/18397 in a new branch fresh off of main, to see if that helps with the bundle size comparison step that failed for that PR.
Reviewer Guidance
The review process is outlined on this wiki page.

/azp run Build - client packages


getPositionStream() should return Stream without wrapping it into Feature

🏗 Enhancement Proposal
Geolocator.getPositionStream() should return Stream without wrapping it into Feature.
This would revert breaking API change which was introduced in 1.5.0. So breaking API after breaking API :thinking:
Pitch
I am very new to Dart but I think it is possible to make single stream without wrapping it into async. This could be achieved by converting Feature to Stream and then chaining latestResult to new Stream with StreamTranformation.
If using RxDart class:
Stream<SomeValue> stream = someFeature.asStream().transform(SwitchMapStreamTransformer(otherStreamMapper)))

So RxDart dependency can be introduced or just SwitchMap logic copied to project.
Platforms affected (mark all that apply)

[x] :iphone: iOS
[x] :robot: Android

Also introducing braking change should increase major version number. Everyone is using format for dependencies in pubscpec.yaml like this: geolocator: '^1.4.0'. Which means that project is not going to compile after this lib release for all people who is using this dependency even they manually do not update to 1.5.0.

@audkar thank you very much for your feedback, we are also pretty new to Dart and learning a long the way ;).
Your suggested solution also popped up in my mind, however I wasn't sure if things like unsubscribing from the stream are correctly passed through to the original stream (which is important since the platform specific code needs to respond to these events. So to prevent including all kind of management code to take care of this I choose to simple return a Future so I don't have to worry about this.
However you question triggered me to investigate a bit deeper and since I couldn't find an answer myself, I posted a question on (SO)[https://stackoverflow.com/questions/51891906/is-there-a-way-to-prevent-having-to-await-an-async-method-returning-a-stream] to see if someone can help us out. I will let you known how this goes.

Looking at the readme and the SO reply it looks as this issue is solved?

@escamoteur no that is not the case. The README is not correct here and you should still await the call to the getPositionStream method.
Indeed on SO they offer a good solution to this problem, but it will involve yet again a breaking change (to undo the earlier breaking change). So we postponed this change to a later version which will contain a bit more substantial changes (since this is not really a bug, just makes the live of other developers a bit easier).


Sort dependencies.

Q
A

Bug fix?
No

New feature?
No

BC breaks?
No

Deprecations?
No

Fixed tickets
N/A

This PR ensures that required dependencies are and will always be sorted.

Little bit of of perfectionism is okay 😀


Feature: Show events on main dashboard

It would be nice to see the event count on the main dashboard for all  websites. It would give us an indication how things go. Something like this:

It would be similar to this: https://github.com/umami-software/umami/issues/520 but easier to implement.
I assume that the event count is stored somewhere, so it is a question of displaying them.
I'd be happy to dig into it and create the feature if there is an interest for it (might do it for myself).

If there is enough interest and a big enough use-case we can add it. There are some schema changes in 2.0 which will change how you will aggregate events, so I would hold off for now if you wanted to add it for your own instance.


CFGNoisePredictorOrig =  comfy.samplers.CFGNoisePredictor

Hi,
Can I have your help? My samplers.py dont have this class comfy.samplers.CFGNoisePredictor. Would you please upload your samplers.py file or you can state which version installed?
When I run, log shows ComfyUI_smZNodes/smZNodes.py", line 954, in
CFGNoisePredictorOrig = comfy.samplers.CFGNoisePredictor
AttributeError: module 'comfy.samplers' has no attribute 'CFGNoisePredictor'
Thank you very much.

I upgraded all nodes to latest version  still face this issue. Maybe you have a different version installed

I found the answer. The version commit 6c6a392 of ComfyUI can run properly. The latest version will break down smzNodes


Firestore Unity SDK examples for new features should be added to docs.

[REQUIRED] Please fill in the following fields:

Unity editor version: ALL
Firebase Unity SDK version: AKLL
Source you installed the SDK: ALL (.unitypackage or Unity Package Manager)
Problematic Firebase Component: Firestore (Auth, Database, etc.)
Other Firebase Components in use: None (Auth, Database, etc.)
Additional SDKs you are using: None (Facebook, AdMob, etc.)
Platform you are using the Unity editor on: All (Mac, Windows, or Linux)
Platform you are targeting: iOS, Android, Editor (iOS, Android, and/or desktop)
Scripting Runtime: ALL (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:
Firestore 16.1 Unity SDK actually includes support (that seems to work based on our testing) for lots of cool features like collection group queries, arraycontains, etc, but the Firestore SDK docs say this functionality isn't supported. It is, it just isn't documented (presumably because docs aren't yet updated.)
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? Yes
What's the issue repro rate? 100%
Head to https://cloud.google.com/firestore/docs/query-data/queries
Switch language used for code snippets to "Unity".
Observe that many examples e.g. Array membership say
// This is not yet supported in the Unity SDK.
even though that functionality does seem to work in Unity SDK 16.1, e.g in the case of array contains using CollectionReference.WhereArrayContains()
Relevant Code:
Documentation issue only.

Thanks for your report, feel free to add anything you find missing here!

Adding internal tracking ticket: b/271315654

Closing due to inactivity. Actually I think this was even done?


Responsive Design

The responsive design is not as good as it should be.
I can help you making the design responsive, make the footer and the navbar look good.
Please let me work on this issue under GSSOC'23.

I want to work on this issue as a contributor.
Pleasure Assign so that I can show my skills under GSSoC'23.

@syedawanya18 you can work on it

@Tathagt @syedawanya18 are you guys working on it?

@SaadAnzar yes working it

@Tathagt okay, contact me if you have any queries


Crash on load of 96000hz .wav

This bug report was migrated from our old Bugzilla tracker.
Reported in version: 1.2.12
Reported for operating system, platform: Mac OS X 10.8, x86_64
Comments on the original bug report:
On 2014-01-27 04:04:49 +0000, manutoo wrote:

Mix_LoadWAV_RW crashes when trying to load a .wav whose frequency is 96000hz on Max OSX 10.8 .
Using SDL_mixer 1.2.11 instead of 1.2.12 avoid the crash.
Crash detail :
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x96f28a6a __pthread_kill + 10
1   libsystem_c.dylib             	0x98c64acf pthread_kill + 101
2   libsystem_c.dylib             	0x98c9b4f8 abort + 168
3   libsystem_c.dylib             	0x98c7dda3 free + 428
4   SDL                           	0x00c8e654 0xc87000 + 30292
5   org.libsdl.SDL-mixer          	0x00c35087 Mix_LoadWAV_RW + 128

Has anyone reproduced this?

Haven't try on a mac. But on Linux (CentOS 6.10 with default installation
of SDL-1.2.14 and SDL_mixer-1.2.12), a wav converted to 96 kHz using sox
and attempted playback using playmus doesn't crash for me.

Please attach a sample file and reopen this issue if you're still seeing a problem.