numpy.int64 type is not serialized correctly in Python 3.11 and Python 3.12

Fixes #33020 and #33021. Basically, Beam should return TypeError like TypeError: Unable to deterministically encode '2000-01-01' of type '<class 'numpy.datetime64'>', please provide a type hint for the input of 'GroupByKey' [while running 'CreatePInput0/Map(decode)']. The user needs to define their own deterministic coder to use this type as the groupby key.
This is a hacky fix by checking whether __getstate__ returns reasonable results.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

Failed workflows are not related to this PR.


Fixed the 'spo file add' command solving #1179

Fixes #1179

Coverage remained the same at 100.0% when pulling 016e76373b92a3074563e63206140ace9813d1b4 on garrytrinder:spo-file-add-apostrophe-fix into ea301a53bd6f009e88008747b6c6b696fca6af08 on pnp:dev.

Merged manually. Thanks! 👍


problems with deezer

hi, I've got problems with scrobbling from deezer, last.fm scrobbler doesn't recognize any song/track. When used in other services (for ex. youtube) everything seems ok.

"Last.fm scrobbler for web " does'nt work for deezer. +1

It used to work. :) But no problem for me now, cause I haven't recognized that deezer has an option for scrobbling. :+1:

But it scrobbles every song at start. When you just skipping songs their scrobble anyway.

I made a pull that fixes Deezer scrobbling.


Crashed after close reward video. Godot 3.4.4

Hi, i installed this plugin, its work correct, but when I closed a reward video, my app has crashed.  I can't find some on google, please help
Plugin version 1.1.0

Hi! I got same problem.
Godot 3.3, Plugin version 1.1.0
ADB logging outputs by command .\adb logcat --buffer=crash is below on screenshot

I used package name "com.appodeal.test" and app_key "fee50c333ff3825fd6ad6d38cff78154de3025546d47a84f" for testing purpose without the need for Appodeal account.

The problem was in the second argument of the function onRewardedVideoFinished. The error happened if the value is Null, not String. This can be corrected by changing the code to
@Override
public void onRewardedVideoFinished(double v, String s) {
emitSignal("rewarded_video_finished", v, String.valueOf(s));
}


Restore trade/invest button location

Restore the position of trade/invest buttons and their size.

@talentdev2020 contact me when you start working on it.
We can make the pools/swap buttons to menu items. What do you think @0xCoDeFi ?

@launchdex Could you tell me where I can find these buttons? If you are familiar with this, you can work here.
In the meantime, I will work on another task.

Fixed by commit 2a40c66...


Fix error installing php 7.2.34 on mac os 11.3

> asdf install php 7.2.34
Determining configuration options...
Downloading source code...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   123  100   123    0     0    262      0 --:--:-- --:--:-- --:--:--   262
100 16.9M    0 16.9M    0     0  1799k      0 --:--:--  0:00:09 --:--:-- 2340k
Extracting source code...
Running buildconfig...
Forcing buildconf
Removing configure caches
Running ./configure --with-gmp=/usr/local/opt/gmp --with-sodium=/usr/local/opt/libsodium --with-freetype-dir=/usr/local/opt/freetype --with-gettext=/usr/local/opt/gettext --with-icu-dir=/usr/local/opt/icu4c --with-jpeg-dir=/usr/local/opt/jpeg --with-webp-dir=/usr/local/opt/webp --with-png-dir=/usr/local/opt/libpng<EMAIL_ADDRESS>--with-libxml-dir=/usr/local/opt/libxml2 --with-readline=/usr/local/opt/readline --prefix=/Users/Dylan/.asdf/installs/php/7.2.34     --enable-bcmath     --enable-calendar     --enable-dba     --enable-exif     --enable-fpm     --enable-ftp     --enable-gd     --enable-gd-native-ttf     --enable-intl     --enable-mbregex     --enable-mbstring     --enable-mysqlnd     --enable-pcntl     --enable-shmop     --enable-soap     --enable-sockets     --enable-sysvmsg     --enable-sysvsem     --enable-sysvshm     --enable-wddx     --enable-zip     --sysconfdir=/Users/Dylan/.asdf/installs/php/7.2.34     --with-config-file-path=/Users/Dylan/.asdf/installs/php/7.2.34     --with-config-file-scan-dir=/Users/Dylan/.asdf/installs/php/7.2.34/conf.d     --with-curl     --with-external-gd     --with-fpm-group=www-data     --with-fpm-user=www-data     --with-gd     --with-mhash     --with-mysql=mysqlnd     --with-mysqli=mysqlnd     --with-pdo-mysql=mysqlnd     --with-xmlrpc     --with-zip     --with-zlib     --without-snmp --with-pear --with-pdo-pgsql
configure: WARNING: unrecognized options: --enable-gd, --enable-gd-native-ttf, --with-external-gd, --with-mysql, --with-zip
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... x86_64-apple-darwin20.4.0
checking host system type... x86_64-apple-darwin20.4.0
checking target system type... x86_64-apple-darwin20.4.0
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking for bison... bison -y
checking for bison version... invalid
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 2.3, min: 204, excluded: ).
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
configure: error: bison is required to build PHP/Zend when building a GIT checkout!

and other errors...
but I do encounter other errors
/bin/sh /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/Cellar/icu4c/69.1/include  -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/ -DPHP_ATOM_INC -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/main -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33 -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/date/lib -I/usr/local/Cellar/libxml2/2.9.10_2/include/libxml2<EMAIL_ADDRESS>-I/usr/local/opt/zlib/include -I/usr/local/opt/webp/include -I/usr/local/opt/jpeg/include -I/usr/local/opt/libpng/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/opt/gettext/include -I/usr/local/opt/gmp/include -I/usr/local/opt/libiconv/include -I/usr/local/Cellar/icu4c/69.1/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/oniguruma -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/sqlite3/libsqlite -I/usr/local/opt/readline/include -I/usr/local/opt/libsodium/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/zip/lib -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/TSRM -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/Zend  -no-cpp-precomp  -I/usr/local/opt/libiconv/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/collator/collator_class.c -o ext/intl/collator/collator_class.lo
/bin/sh /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/Cellar/icu4c/69.1/include  -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/ -DPHP_ATOM_INC -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/main -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33 -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/date/lib -I/usr/local/Cellar/libxml2/2.9.10_2/include/libxml2<EMAIL_ADDRESS>-I/usr/local/opt/zlib/include -I/usr/local/opt/webp/include -I/usr/local/opt/jpeg/include -I/usr/local/opt/libpng/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/opt/gettext/include -I/usr/local/opt/gmp/include -I/usr/local/opt/libiconv/include -I/usr/local/Cellar/icu4c/69.1/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/oniguruma -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/sqlite3/libsqlite -I/usr/local/opt/readline/include -I/usr/local/opt/libsodium/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/zip/lib -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/TSRM -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/Zend  -no-cpp-precomp  -I/usr/local/opt/libiconv/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/collator/collator_sort.c -o ext/intl/collator/collator_sort.lo
/bin/sh /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/libtool --silent --preserve-dup-deps --mode=compile cc -I/usr/local/Cellar/icu4c/69.1/include  -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/ -DPHP_ATOM_INC -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/main -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33 -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/date/lib -I/usr/local/Cellar/libxml2/2.9.10_2/include/libxml2<EMAIL_ADDRESS>-I/usr/local/opt/zlib/include -I/usr/local/opt/webp/include -I/usr/local/opt/jpeg/include -I/usr/local/opt/libpng/include -I/usr/local/opt/freetype/include/freetype2 -I/usr/local/opt/gettext/include -I/usr/local/opt/gmp/include -I/usr/local/opt/libiconv/include -I/usr/local/Cellar/icu4c/69.1/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/oniguruma -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/sqlite3/libsqlite -I/usr/local/opt/readline/include -I/usr/local/opt/libsodium/include -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/zip/lib -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/TSRM -I/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/Zend  -no-cpp-precomp  -I/usr/local/opt/libiconv/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/collator/collator_convert.c -o ext/intl/collator/collator_convert.lo
/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/collator/collator_sort.c:349:26: error: use of undeclared identifier 'TRUE'
        collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
                                ^
/var/folders/kx/wsz1xqjj5cncxlwzwh1rh_4c0000gp/T/php-src-php-7.2.33/ext/intl/collator/collator_sort.c:543:26: error: use of undeclared identifier 'FALSE'
        collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU );
                                ^
2 errors generated.
make: *** [ext/intl/collator/collator_sort.lo] Error 1
make: *** Waiting for unfinished jobs....

This issue has more information https://github.com/asdf-community/asdf-php/issues/61

Not sure why this is closed. I just came across the same problem. There is no fix mentioned.
Other places where the same bug is encountered.
https://github.com/henkrehorst/homebrew-php/issues/134
Apparently related to this bug
https://bugs.php.net/bug.php?id=80310

this is a dupe of #61 so please put any info here

Since that issue is closed and is really about a lack of documentation rather than the actual impossibility of installing php 7.2, I've created a new issue #142


save_to_disk doesn't work when we use concatenate_datasets function before creating the final dataset_object.

As you can see, it saves the entire dataset.
@lhoestq
You can  check by going through the following example,
from datasets import load_from_disk,concatenate_datasets

loaded_data=load_from_disk('/home/gsir059/HNSW-ori/my_knowledge_dataset')
n=20
kb_list=[loaded_data.shard(n, i, contiguous=True) for i in range(n)]
final_dataset=concatenate_datasets([kb_list[1],kb_list[2]])
final_dataset.save_to_disk('/home/gsir059/haha/k.arrow')

Hi ! We refactored save_to_disk in #2025 so this doesn't happen.
Feel free to try it on master for now
We'll do a new release soon


The name of type constructor and data constructor can be the same

data T = T Int;
T 5

Issue using [Naive]
Compiling to Java source code ( ./Issue.java )
./Issue.java:12: error: class T is already defined in method apply()
class T extends T
^
1 error

It is fixed now. it will rename the constructor name to be T1 when generating code in the back end.

What will happen if T1 is already bound?

data T  = T | T1;
T

gives
should_run[develop*] % f2j EponymousDataCon.sf -r
EponymousDataCon using [Naive]
Compiling to Java source code ( ./EponymousDataCon.java )
./EponymousDataCon.java:19: error: variable T1 is already defined in class T
      T T1;
        ^
./EponymousDataCon.java:20: error: method T1() is already defined in class T
      T T1 ()
        ^
2 errors

sorry forgot number is allowed.
Change the solution to make all name a concatenation of datatype name and constructor name will fix it then.


Slicing script %output%

I know you can do label = %output:0:15%, but if I add another %output:16:18%, the second output is just the duplicate of the first.
Is it possible to allow different sections to be displayed separately so I can apply different actions to them?

No, it is not possible. The values aren't for slicing but for minimum and maximum lengths of the text.


Modification is not applied if a target document was to be opened via a link in new tab

This is an example that shows the issue.
When opening the link (example.com) by mouse left click, it would work as normal. However, it would open the original (un-modified) document if it is to be opened in a new tab by mouse middle click, or by "Open link in new tab" from the context menu.
const handlePage = async (page: Page | null): Promise<void> => {
  if (page !== null) {
    const client = await page.target().createCDPSession();
    const interceptManager = new RequestInterceptionManager(client);

    await interceptManager.intercept(
      {
        urlPattern: '*://example.com/*',
        resourceType: 'Document',
        async modifyResponse() {
          return { body: 'example.com' };
        },
      },
    );
  }
};

browser.on('targetcreated', async (target: Target) => {
  const page = await target.page();
  await handlePage(page);
});

const currentPages = await browser.pages();

for (const page of currentPages) {
  await handlePage(page);
}

Thank you for this project regardless. 😄

Hi @JenieX! Unfortunately, that's how request interception currently works in Chrome. If the target is opened with a URL, it's already too late to initiate interception for the Document resource type.
You might be able to figure out a workaround for this though.

Hi @JenieX! Unfortunately, that's how request interception currently works in Chrome. If the target is opened with a URL, it's already too late to initiate interception for the Document resource type. You might be able to figure out a workaround for this though.

I did actually. First was using a pha script on my local server that redirects to the link after one second, then I switched to embedding data directly in a URL using the data URI scheme. Which later I further took advantage of by setting the the page to only load after gaining focus. 😄

<!DOCTYPE html>

    <title>Waiting focus..</title>

const link = `data:text/html;charset=utf-8,${encodeURIComponent(minLoaderDocument)}`;

Can you think of a better way?

Yes @JenieX ! Turns out you can just pass in the Browser CDP session client, instead of a single Page, and you can setup interception for the entire Chrome.
See my updated readme here.

Yes @JenieX ! Turns out you can just pass in the Browser CDP session client, instead of a single Page, and you can setup interception for the entire Chrome.
See my updated readme here.

Super awesome. 😃


Roll engine d88e0b8229ec..2318a5274af4 (1 commits)

https://github.com/flutter/engine/compare/d88e0b8229ec...2318a5274af4
git log d88e0b8229ec..2318a5274af4 --no-merges --oneline
2318a5274 Roll src/third_party/skia ca858b68c34b..2f53025e8bf1 (1 commits) (flutter/engine#6143)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.

@rmistry @liyuqian : New roll has been created by https://autoroll.skia.org/r/flutter-engine-flutter-autoroll


for SD: program Boss 1

Maggie - 5 hours

Locking camera when player gets to boss arena
make big boss health bar across screen
program different attacks for boss (shoot, rush, jump)

once you finish the boss object store that into the enemies folder to save it as a prefab

6/23: 7 hours (not done yet)
What I did:
Locking camera when player gets to boss arena
make big boss health bar across screen
Shooting within a certain range
Rudimentary charge attack
2 “stages”: once boss goes below 50%, faster shooting, additional movement speed
Want to add:
rigid body colliders to prevent player from moving out of boss arena once fight starts
knock back on charge attack (or should it be instant death?)
Enemy following player once they step into the arena
jumping mechanism
overall smoother enemy movement

Maggie and Akash - 3 hours

Get jump to work
Fix probability of boss jumping, shooting, and charging


Provide a mechanism to regularly update prefixes in json-ld contexts

For example, this
https://github.com/geneontology/minerva/blob/master/minerva-core/src/main/resources/amigo_context_gen.jsonld
is derived from the GO dbxrefs-yaml
This was done a while ago - no EnsemblPlants. And since minerva depends on a json-ld context for expansion of any ID it gets from Noctua, ensembl plants can't be used.
the prefixcommons biocontexts repo https://github.com/prefixcommons/biocontext/tree/master/registry has scripts for generating the ld contexts from sources like GO

@elserj It would be easy enough then to just make changes here and recompile minerva (./build-cli.sh at the top level). If you switch to the issue-430 branch of Noctua it supports having an arbitrary minerva-cli.jar as a variable (take a look at the example startup.yamls).

So, rather than switch to a new branch of noctua, I tried to cherry pick the commit that added the ability to use external minerva-cli.jar (cd33c8a842b7f9379680666ac16c289eec6a3633), and added the following to startup.yaml:
MINERVA_JAR:
comment: Select an external miverva-cli.jar file
type: file
value: /data/www/planteome_dev/minerva/minerva-cli/bin/minerva-cli.jar
And it seems to get picked up.  As the first line when running node_modules/.bin/gulp run-minerva has the new jar file referenced, but it just stops at the following line after loading the ontologies:
INFO  (StartUpTool:320) Start initializing Minerva
The next lines in a normal startup should be:
(Configuration:256) com.bigdata.journal.AbstractJournal.historicalIndexCacheCapacity=60
and then continues until I get the "Started SelectChannelConnector"
So, it looks like it's not finding the files in the jar properly or something.  Did I miss something?

Hi, how long did you wait after that message? If you're using the --arachne option for Minerva then it will do some extra work at that point. It should only take about 40 seconds—unless you are getting tight on heap space.

I didn't change any other options.  I've now left it for about 10 minutes, still sitting there.  I did just check the output of "top" and the minerva process is using 2 cores and 10.6GB VIRT and 4.5GB RES RAM, so I guess it's doing something, but the built in minerva-cli.jar passes this step in less than a second.
Machine has 64GB RAM, -Xmx option is set to 4G.
The only change I made to the minerva code before I ran ./build-cli.sh was to add some lines to the amigo_context_gen.jsonld file.  I did not try building before I made those changes.

I think 4G is going to be too small. This version has some reasoner code that wasn't in the previous embedded jar.  If you increase to 12G it will hopefully start up quickly.

Thanks, that does seem to be the issue.  Upped it to 24GB and it does now get past it.  Takes longer, but does at least continue now.

It certainly doesn't run in 4GB on my machine, which is sort of the whole issue-430 branch of noctua right now.
@elserj I think it would probably be easier to just switch over to issue-430 for noctua as it already tracks master and will eventually merge back in once those issues are fully resolved.

Back to the original topic of this issue, @cmungall do you want to have the context file be a command-line option? These seem to all be hardcoded right now:
static CurieMappings loadDefaultMappings() {
		final Map<String, String> curieMap = new HashMap<String, String>();
		loadJsonldResource("obo_context.jsonld", curieMap);
		loadJsonldResource("monarch_context.jsonld", curieMap);
		loadJsonldResource("amigo_context_gen.jsonld", curieMap);
		loadJsonldResource("amigo_context_manual.jsonld", curieMap);
		return new CurieMappings.SimpleCurieMappings(curieMap);
	}

Is there something Minerva needs to support better vs. someone adding a line to the context and recompiling?

Yes, should be a CLI, but let's leave these in as defaults. If the user specifies no contexts, use the defaults. If the user specifies one or more contexts, then ignore defaults.
I want to avoid disrupting existing configurations.


Clarify cooldownPeriod for Deployments.

Signed-off-by: Will Simpson<EMAIL_ADDRESS>I was a little confused by the fact that KEDA will scale your Deployment to minReplicatCount immediately after it's created. I thought that it would wait for the cooldownPeriod to elapse before doing this. I realize the docs specify that cooldownPeriod is the period to wait after the last trigger and that when you first create a Deployment, nothing has triggered, but I think it would be helpful to tell say that explicitly.

Ah great, my small tweak messed up the DCO; let me see if I can fix that.
Also, need more ☕

Thanks @simpsonw !


Remove roots from the Core Document.

Remove roots - DataRoot, Sigining Root, and Document Root, from the CoreDocument as we will be calculating them everytime

Take a look at https://github.com/centrifuge/go-centrifuge/pull/797 it would be good to build this on top of this PR. There will be some conflict there.


vsr: handle multiple torn writes at the end of the WAL

Currently, our logic for handling torn prepares (prepares that were being made durable before a replica crash, but weren't written out completely) only handles one torn prepare: https://github.com/tigerbeetle/tigerbeetle/blob/577b638e52725f5ff128822e4c75ccc4fb2ca5f2/src/vsr/journal.zig#L1369
This is incorrect because there could be multiple prepares concurrently being written before a replica crash:
https://github.com/tigerbeetle/tigerbeetle/blob/577b638e52725f5ff128822e4c75ccc4fb2ca5f2/src/config.zig#L114
This PR correctly handles multiple torn writes in the WAL!

I was using https://github.com/tigerbeetle/tigerbeetle/pull/2350 to test the new torn prepares logic against only torn prepare faults. We have disabled all read & write storage faults on that branch, and enabled only non .wal_header crash storage faults, and we're asserting that the replica doesn't start up into .recovering_head. We're skipping faults to .wal_headers since faults in the redundant headers along with faults in the prepares can cause a replica to restart into .recovering_head.
Despite this, that test is still imperfect because we can get into recovering_head due to a fault in a prepare along with a read to a reserved redundant header. This could happen if:

Slot was found corrupt on a previous startup, which set the header
to reserved in memory.
Replica crashes before the corrupt slot was repaired, but
after the reserved header was written to disk with a write to
a nearby header (there are multiple headers in a single sector)

This is the only root cause that I've observed amongst all failures on that branch. I'm also thinking about refining the  assert condition in a hacky way, so we don't see these false positives.

Agree with https://github.com/tigerbeetle/tigerbeetle/pull/2345#discussion_r1777722649! Addressed this and other commends in https://github.com/tigerbeetle/tigerbeetle/pull/2345/commits/2832f8e94a5ced5d14127e05e6d3ba84d5258f8d.

Final set of comments addressed in https://github.com/tigerbeetle/tigerbeetle/pull/2345/commits/26ff2ce2a5e86ecf8315bf40356ed4dfc11bba79!


SFDX Project configuration YML support

Is your feature request related to a problem? Please describe.
sfdx-project.json file becomes very difficult to read when it is big, currently, we already have +50 packages and for the next year probably it is going to be around +100.
Large text files lead to merge conflicts, also is very difficult to understand multi-directory projects.
What are you trying to do
I would like to have more flexibility on sfdx-project.json files. E.g: group packages per domain, provide them some capabilities like comments, or even have more granular configurations (per package).
Describe the solution you'd like
YML support E.g (sfdx-project.yml)
Additional context
Large sfdx-project.json files

To add to this, when there are lots of packages with dependencies, needing to specify the entire dependency tree for every package is very verbose and cumbersome. Supporting cascading dependencies would be super helpful.

I've created a proposal for this issue.
https://github.com/forcedotcom/cli/issues/1915
Just copy what maven did with pom files. The sfdx-project.json will behave as an aggregator pom.
Later on you can use this to create sfdx reactor


Connect action return type conflicts with ConnectReturnType

Check existing issues

[X] I checked there isn't already an issue for the bug I encountered.

Describe the bug
The shape of the resolved object returned by the connect action:
connect(
      parameters?:
        | { chainId?: number | undefined; isReconnecting?: boolean | undefined }
        | undefined,
    ): Promise<{
      accounts: readonly Address[]
      chainId: number
    }>

Does not seem to be compatible with the return type that is outlined in the documentation:
export type ConnectReturnType<config extends Config = Config> = {
  accounts: readonly [Address, ...Address[]]
  chainId:
    | config['chains'][number]['id']
    | (number extends config['chains'][number]['id'] ? number : number & {})
}

Specifically, the accounts object for the former implies that the Address array may be empty (Address[]), however, the accounts object in the latter implies at least one Address ([Address, ...Address[]]) must be present since there is one element before the spread operator.
I wondered if ConnectReturnType is specific to the return type for the createConnector function and thus not relevant to the connect action, but this is the type argument used for the Connector interface definition, making it the return type for connect whenever handling a Connector object.
Link to Minimal Reproducible Example
No response
Steps To Reproduce
No response
What Wagmi package(s) are you using?
wagmi
Wagmi Version
2.10.2
Viem Version
2.13.10
TypeScript Version
5.4.5
Anything else?
No response

The difference between the two types is mostly practical as it makes building connectors easier. The connect action has a more specific type, the connector connect method is more general so there isn't a need to cast a bunch of internal types.

Check out this example and the comments in lines 25-29.
The issue is that the type for the accounts (array of addresses) as defined in ConnectReturnType is not quite compatible with the array returned by the useConnect hook or the connector's connect method. It might as well be a minor nuisance, but makes room for some confusion in an otherwise neatly typed library.

All the Wagmi-related types work fine for me in this TypeScript Playground. The only type that doesn't work well is the user-defined type string[] since `0x${string}` is not equal to string.

Cleaned up the example in TypeScript Playground - It should now highlight the difference in the accounts type provided by the hook and the action.

Disregard - I suppose this simply underscores this point, although I still think it would be helpful to consolidate these two into a single type.


Feature request: Preserve special comments like /*! ... */

Some comments must not be removed from CSS for copyright/license reasons. Most other compression tools leave such comments intact once they are tagged with an explanation mark.
/*!  This comment is not removed */

I would suggest to add this feature to AIOM, I could provide a patch to the comment regex.

Example how YUI Compresser is doing this:
http://yui.github.io/yuicompressor/css.html

Thanks for the report. It would be great if you could supply such a regex.
As a midterm goal, we're planning to switch to a third-party CSS compressor - this will solve the other problems regarding CSS compression (like your other topic #33).

In fact I had the same thought, why not switching to a more widely used compressor library rather fixing edge cases on the current one. As the usage base for PW is always smaller compared to other libraries it will be difficult to maintain an keep up.
For the CSS part, why not switch to the YUI CSS compressor which is also used by the Minfiy lib from Steve Clay (http://code.google.com/p/minify) which I used for years.
https://github.com/tubalmartin/YUI-CSS-compressor-PHP-port
that would solve the comment issue and the other issue with the :hover attribute I reported earlier.

I happy to take the lead on this and prepare a pull request with the YUI CSS lib.

Thank you for your willingness to contribute to this repository. I'm looking forward to include your enhancement.

Done. The changes to the code are quite minimal. I bumped the version number to 3.2.0 as this is not a minor change. I tested it briefly on my site and it now handles the :hover case correctly and preserves /!* comments as well.
Changes are in my fork: https://github.com/hwmaier/ProcessWire-AIOM-All-In-One-Minify
My fork also contains another change which adds support for direct passing of ProcessWire's $config->script and $config->styles variables. With that you can do this:
<link rel="stylesheet" href="<?=AllInOneMinify::CSS($config->styles)?>">

and
<script type="text/javascript" src="<?=AllInOneMinify::JS($config->scripts)?>"></script>

Its up to you as maintainer to decide this also to be a useful feature and include it in the head revision.

Thank you for you effort! Can you create a pull request for those changes?

There is one already pending which now includes the latest cssmin changes. Have not updated the readme file though.
https://github.com/conclurer/ProcessWire-AIOM-All-In-One-Minify/pull/31

Feature is now supported in v 3.2.


rename oidc outputs

Replaces #169

I should have fixed the linting issue on master ... if you rebase everything should be green!

@dan-slinky-ckpd @aidy can you take a 👀 on this check you're happy for the stable 1.18 cut - it's a breaking configuration change (very minor) for teams upgrading


Keep connection alive and read detected txHash if msg cannot be read

Workaround fix for https://github.com/bonedaddy/go-blocknative/issues/16

Closing with solution https://github.com/bonedaddy/go-blocknative/issues/16#issuecomment-1221564764


#2536 - Notify student about blocked disbursements (email only)

As a part of this PR, the following were completed:

Configured new E-mail to Student and Ministry when the eCert is blocked.

Student Template added:

Ministry Template added:

Screenshots of the emails sent:
Email to the student:

Email to the ministry:

Good job @sh16011993 Please have a look at the comments.

Thanks for making the changes @sh16011993. Added few more comments.


does this apply to education tenant too ?

when i follow those step, i can't limit class creation, allowed users cant view the class option anymore
ive raised a microsoft ticket for that
thank you

@jeffangama Please indicate which document your are referring to. Thanks

@jeffangama We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if you see an improvement is required in the specific area of this documentation. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


react styleguidist

When i use request-promise along with the react-styleguidist it does not work correctly. ERROR in ./~/tough-cookie/lib/cookie.js
Module not found: Error: Cannot resolve module 'net'

You will need to polyfill the net package in order to be able to run the code in the browser.


Move temporary migration AWS services to storage account

There is a mixture of different objects in bagger buckets created by different accounts. We should start again with migration related-data written and read by just one account, as it makes it difficult to report on progress.

[x] Create new bagger buckets in storage acct, to be used instead of the platform buckets (but leave the platform buckets where they are for now)

~platform/temp-bagit-drop-test~ => storage/bagger-drop
~platform/temp-bagit-drop-test-mets-only~ => storage/bagger-drop-mets-only
~platform/temp-bagit-drop-test-errors~ => storage/bagger-errors
done in:
https://github.com/wellcometrust/platform/pull/3236
https://github.com/wellcometrust/storage-service/pull/8
There's a storage account called dds that is used for ad hoc Python migration testing, batch enqueuing of bagging instructions, collecting data about current state of migration per bnumber and writing it to a DynamoDB table. The DDS application also uses this account.

[x] leave the METS sync bucket (platform/wellcomecollection-assets-workingstorage) where it is, as it's too big to move
[x] storage/dds account needs to read and list platform/wellcomecollection-assets-workingstorage
[x] create a new DynamoDB table storage/storage-migration-status in the storage account to replace platform/storage-migration-status table

Applications that use the storage account
bagger
The bagger ECS task, and the storage/dds user:

[x] Need to read and list platform/wellcomecollection-assets-workingstorage
[x] Need to read, write and list storage/bagger-drop
[x] Need to read, write and list storage/bagger-drop-mets-only
[x] Need to read, write and list storage/bagger-errors
[x] Need to read from the DLCS bucket in the dlcs account
[x] Need to read from the Preservica bucket in the systemsstrategy account
[x] (for local testing only) dds/storage needs to read from queue storage/storageNNNNNN_bagger

Even after this change the bagger works across 2 wellcomecollection estates, the dlcs estate and the systemstrategy estate, but there's no way round that for now.
Local enqueue is used to manually start bagging batches:

[x] dds/storage needs to enqueue queue storage/storageNNNNNN_bagger

Error reporter runs as storage/dds so gets the permissions above, it uses a subset of what's required above.
Migration tools runs as storage/dds so gets the permissions above, but also means:

[x] storage/dds needs to read from and write to new dynamoDB table storage/storage-migration-status

DDS (.NET)

[x] make sure it's using the storage account where it needs to. It shouldn't need to use both platform and storage accounts after these changes.
[ ] storage/dds needs to read from the access location bucket reported in the storage manifest.

Plan

Start with clean buckets
Don't run bulk bagging, ingest and sync ops until we see everything working nicely for just our 15 test examples again
Make sure all the boxes above are ticked

This shouldn't take very long, it's just testing that permissions are all working in the right places.
Then... Let rip, and revert to plan in https://github.com/wellcometrust/platform/issues/2789

@tomcrane I'm going to close this, as we might need to revisit exactly where access copies are vs archive copies. Will keep you updated. I'm hoping we can work out a way to do it without having to change DLCS.


[Productize Flash Attention performance #6] optimize slm store/load  for attention

Current Status:
On the same test environment: IDC PVC 1550 (1.0.16900.22-914~22.04)
SLM vs no SLM(peak): 88.25 TFLOPS vs. 104.96 TFLOPS

SLM version adds load_block2d and store.slm which will cause another huge stall peak.
Instruction
  /* [00000528] */         mov (16|M0)              r5.0<4>:w     r53.0<1;1,0>:w                   {$3.dst}             //  ALU pipe: int; $67
is stalled potentially by
  instruction
    /* [00000370] */         load_block2d.ugm.d16.a64.ca.ca (1|M0)  r51:16 [r4:1]        {F@7,$3} // ex_desc:0x0; desc:0x3080203 // $59

Instruction
  /* [00000940] */ (W)     add (1|M0)               r1.0<1>:ud    r2.0<0;1,0>:ud    0x400:uw              {Compacted,$13.src} //  ALU pipe: int; $197
is stalled potentially by
  instruction
    /* [000008F0] */ (W)     store.slm.d64x64t.a32 (1|M0)  [r1:1]    r11:8              {A@7,$13} // ex_desc:0x0; desc:0x200F704 // $196

Status now: 95.4155TFLOPS(SLM) vs. 104.96 TFLOPS (in the same environment)

Blocked. The same with https://github.com/intel/intel-xpu-backend-for-triton/issues/1463


[DOCU-1731]Docs/2.6 beta changelog ee

Summary
v<IP_ADDRESS> beta changelog - includes OSS v2.6.0 changelog as well as Enterprise additions included on the Internal changelong on Confluence.
Reason
v<IP_ADDRESS> Beta is scheduled for release Tuesday, 9/28/
Testing
Will include sample build link when available.

LGTM, thanks @HCloward


I am using paccmann open source web server for anticancer drug sensitivity prediction. Now, the server is not working. Kindly rectify this issue or else kindly give me the alternate web server for prediction. Its very urgent. Please kindly help me as soon as possible, sir.

Hi thanks for using PaccMann we recently migrated the web service can you try to use the snipped url referenced in the publication: https://ibm.biz/paccmann-aas ?
This link should always work. In the future please use the GitHub organization for PaccMann (github.com/PaccMann). Issues raised there are seen by the whole team.

Thanks for your prompt reply mam. I tried  https://ibm.biz/paccmann-aas this
link too. But that also does not work, mam.
Thank you.
On Sat, Aug 21, 2021 at 2:37 PM Matteo Manica @.***>
wrote:

Hi thanks for using PaccMann we recently migrated the web service can you
try to use the snipped url referenced in the publication:
https://ibm.biz/paccmann-aas ?
This link should always work. In the future please use the GitHub
organization for PaccMann (github.com/PaccMann). Issues raised there are
seen by the whole team.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/drugilsberg/paccmann/issues/11#issuecomment-903086856,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRKDLM3OOB6A7KYGQH5PZTT55UFNANCNFSM5CROVRDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
With Regards,
S. Saranya devi
Ph. D Research Scholar

Respected Sir/Mam,
I'm Saranyadevi. S, Ph. D scholar in VIT, India. I have been using Paccmann software for 3 months. Now, the server is not providing output, it's continuously loading once I submit the smiles as input. Kindly rectify the issue as soon as possible, Sir.
Thanking you

Hi @saranya-33 will check this out as soon as possible

Dear @saranya-33  can I suggest you to refresh/clean the cache of your browser. Or simply connect using a private window. After doing that I was able to normally use the web service.

Thank you so much mam.  It's working now after clearing
the cache, mam.
Thanks a lot mam.
On Sat, Aug 21, 2021 at 6:58 PM Matteo Manica @.***>
wrote:

Dear @saranya-33 https://github.com/saranya-33 can I suggest you to
refresh/clean the cache of your browser. Or simply connect using a private
window. After doing that I was able to normally use the web service.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/drugilsberg/paccmann/issues/11#issuecomment-903116515,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASRKDLPZUBZFR4HEQBDL5TLT56SXVANCNFSM5CROVRDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

--
With Regards,
S. Saranya devi
Ph. D Research Scholar


Adding context version of Check and Response.Apply methods.

Supersedes #7.

Ping

Hi @kyleconroy, I see you have done some commits on this project recently. Can you please take a look at this?
I believe it's pretty straight-forward and shouldn't take much time.
Thanks.

@henvic yes, can do. I honestly had forgotten this was open. Sorry!

There appears to be a go vet failure in sdk_test.go which is unrelated to your changes. Either you'll need to fix it or you'll need to remove 1.10 and 1.11 from the matrix and I can fix the issue in a separate PR.

Thanks @henvic. I'll cut a new release that includes the new methods


The nexmark q19 & q20 performance degradation in last two days

Describe the bug
The last two days daily performance execution results show we have the nexmark q19 & q20 performance degradation more than 20% comparing to the avg source throughput of last 10 days.
image nightly-20230824
| BENCHMARK NAME                                                  | EXECUTION ID | STATUS     | FLUCTUATION OF BEST | FLUCTUATION OF LAST 10 DAYS |
| nexmark-q19-blackhole-medium-1cn                                |         9637 | Negative   | -66.50%             | -21.07%                     |
| nexmark-q20-blackhole-medium-1cn                                |         9645 | Negative   | -44.90%             | -22.96%                     |

image nightly-20230823
| BENCHMARK NAME                                                  | EXECUTION ID | STATUS     | FLUCTUATION OF BEST | FLUCTUATION OF LAST 10 DAYS |
| nexmark-q19-blackhole-medium-1cn                                |         9533 | Negative   | -68.28%             | -27.74%                     |
| nexmark-q19-blackhole-medium-1cn-affinity                       |         9534 | Negative   | -59.71%             | -10.30%                     |
| nexmark-q20-blackhole-medium-1cn                                |         9539 | Negative   | -42.81%             | -22.72%                     |
| nexmark-q20-blackhole-medium-1cn-affinity                       |         9540 | Negative   | -38.22%             | -15.80%                     |

You can check this avg source throughput history dashboard for more historical data.
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

Likely to be changes in the compaction strategy.
The slower ones have large size of L0.

Another huge performance degradation happened on nexmark q19.

Another huge performance degradation happened on nexmark q19.

yesterday two perf-related PR:

https://github.com/risingwavelabs/risingwave/pull/11576
https://github.com/risingwavelabs/risingwave/pull/11950

Likely to be 1, as 2 has been verified with turning off cache refill: https://grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus: test-useast1-eks-a&from=1693888963878&to=1693892335149&var-namespace=benchmark-yao&var-instance=benchmark-risingwave&var-node=All&var-job=All&var-table=All

Another huge performance degradation happened on nexmark q19.

yesterday two perf-related PR:

perf(over window): locality-based range cache for general over window executor #11576
feat(hummock): refill cache before apply version delta #11950

Likely to be 1, as 2 has been verified with turning off cache refill: grafana.test.risingwave-cloud.xyz/d/EpkBw5W4k/risingwave-dev-dashboard?orgId=1&var-datasource=Prometheus:%20test-useast1-eks-a&from=1693888963878&to=1693892335149&var-namespace=benchmark-yao&var-instance=benchmark-risingwave&var-node=All&var-job=All&var-table=All

The Sep 4th degradation is indeed cause by #11576, and I've fixed it in #12093.

Thanks, the second degradation is clear and fixed now.
We now wait for the fix of compaction strategy.

In recent tests, we have found that base level compaction is unstable.
Intuitively, the base level compaction has a parallelism of 1, which corresponds to a partition misalignment between l0 and base level sst.
This https://github.com/risingwavelabs/risingwave/pull/12280 removes the "direct convert of tier compaction picker", which ensures that overlapping -> non-overlapping has gone through compaction at least once. After compaction, the new sst is cut according to the configured patrition, which ensures that the partitions are aligned to each other, thus improving parallelism.

@Li0k  Can we verify that this issue has been resolved with the recent fixes?

@hzxa21 According to the daily performance benchmark testing, it might be fixed.


ingress.pomerium.io/allow_spdy: "true" doesn't work

What happened?
Annotation ingress.pomerium.io/allow_spdy: "true" doesn't work
What did you expect to happen?
How'd it happen?

Add ingress.pomerium.io/allow_spdy: "true" to the ingress file and run Pomerium
Open https://httpbin.localhost.pomerium.io in the browser
In the browser (Firefox) do: Inspect -> Network -> Headers
The HTTP/2 protocol is present instead of spdy

What's your environment like?
IC v0.220
What's your config.yaml?
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: httpbin
  annotations:
    ingress.pomerium.io/pass_identity_headers: "true"
    ingress.pomerium.io/allow_spdy: "true"
    ingress.pomerium.io/allow_any_authenticated_user: "true"
spec:
  ingressClassName: pomerium
  rules:
    - host: 'httpbin.localhost.pomerium.io'
      http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: httpbin
                port:
                  name: http

What did you see in the logs?
# Paste your logs here.
# Be sure to scrub any sensitive values

Additional context
Add any other context about the problem here.

I believe the way it works is is the connecting party wants to use SPDY, it will be allowed. I think browsers want HTTP/2
the only place where it was used is for self-hosted kubernetes clusters, in order to reach their internal API from the outside.

To confirm, we need a simple example SPDY app to test against.

Context -- we added this for k8s as @wasaga mentioned.

https://github.com/pomerium/pomerium/issues/1202#issuecomment-668652201


Confusing Organization of the Information

It seems like information in this document needs to be broken down to 3 documents.
First document explains overall what is common between
connecting Azure DevOps to GitHub
connecting Azure DevOps to GitHub Enterprise Server.
2nd documents explaining  steps to take when connecting Azure DevOps to GitHub.
3rd document explaining steps to take connecting Azure DevOps to GitHub Enterprise Server.
Just listing everything you need  to do to connect in all scenarios piled together doesn't help someone who is not as familiar with the subject matter as your team of writers are.
As a first time reader you spend in ordinate amount of time trying to figure out what steps to take and what steps to ignore in each scenario.
[Enter feedback here]

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

ID: 04afcda8-8a01-6fda-8387-778feaba9fea
Version Independent ID: a0c518ee-dc43-42a6-07d9-150dfa8724c3
Content: Connect a project to a GitHub repository - Azure Boards
Content Source: docs/boards/github/connect-to-github.md
Product: devops
Technology: devops-agile
GitHub Login: @KathrynEE
Microsoft Alias: kaelli

This is duplicate of MicrosoftDocs/azure-devops-docs/issues/10434


Excel online add-in deploy only to thin client - Configuration

Hello,  Is there any configuration in central deployment or in the manifest to target the excel add-in appears only for thin client (excel online), not for the desktop excel ?
Thank you!

Article URL

Issue

@ramnaresh Thanks for your question. I believe that's not available right now. You likely need to use the DesktopFormFactor which configures online, Windows, and Mac all together.
If that is a feature you'd like to see, please upvote or create a feature in UserVoice. Our product teams take these into consideration when they're planning.
I'll close this now but if you have any further questions, let us know.
Thanks.


Fix/use range slider ts errors

Closes #1640 (definitively)
📝 Description
As stated in the comment of chakra-ui #7955 by @hooch, the pr #1641, did not include all the changes and fixes required, so with this I'm adding the remaining ones.
⛳ Current behavior (updates)
= useRangeSlider({min, max, defaultValue, rest})
<Actions actions={actions} min={min} max={max} stepToIndex={stepToIndex} stepToNumber={stepToNumber} />
🚀 New behavior
= useRangeSlider({min, max, defaultValue, ...rest})
 <Actions               actions={actions}               min={defaultValue[0]}               max={defaultValue[1]}               stepToIndex={stepToIndex}               stepToNumber={stepToNumber}             />
💣 Is this a breaking change (Yes/No):
No
📝 Additional Information
Resolved some TS typing issues with the Thumb component Props

Looks good


Refactor file storage APIs.

Split code for shares, directories and files into their own source files;
the same refactoring was made for the test code as well.
Make CRUD APIs for shares, directories and files methods for their
respective types.
Added support for content MD5 hashes when sending/receiving file ranges.

@mcardosos @marstr Here's the PR for the file storage API refactoring.

test this please

@azuresdkci test this please

From my side, just nits :D


[2.0] Add script used to deploy blobs to Azure storage

Let's stop doing this by hand.
TODO:
How can we reliably also fetch the assets for the preview 2.0 build? At the moment, I've been manually copying them. Thoughts @JunTaoLuo ?

Talked in person with @JunTaoLuo. Let's not both automating manually copying previous releases. Instead, let's cleanup the way we produce drop shares.

FYI @muratg - merging as this is something we would have done by hand anyways. It doesn't impact the build yet as the automation to run this script isn't wired up.


Feature Request for low level Windows Event logger

The current implementation requires a TService instance to be passed to the constructor of TLoggerProWindowsEventLogAppender
This limits the use of the logger to service applications.
I've written a unit which allows the service name (or a proxy of that) to be passed as plain text and a separate instance of the low level windows event logger is created.
Happy to share this code with the project.  Usage is is simple as
   var SIEMLog: ILogWriter; ...    SIEMLog := BuildLogWriter([TLoggerProWindowsEventLogAppenderLL.Create('TheServiceName")]); ...    SIEMLog.Debug('This is a test message');
``

Would be great.
Feel free to provide a PR with your new Appender

Any news?


release/2.0.0

Also just for formalities.  Updating version number and other setup.py stuff

built, passing, uploaded to pypi


Add multi-language wechaty documentation to our docs site.

The official documentation website will be wechaty.js.org/docs, this entry will contain all official documents for wechaty.
For now, we are not adding the multi-language wechaty documents to it, because our multi-language wechaty are all work-in-progress.
However, now is the time to start building the multi-language wechaty documentations, which will require our docs to add a new entry for them.
This issue will be used to track the comments, discussion, and the decision for how to add those entries to the docs.
To be discussed.

In current versions, Docs is placed in the first level menu, and the second level menu is the list of content. If we add multilingual documents, however, we should change the hierarchy. For example, like this:

And multi-wechaty docs should different sidebars.  how do you think about it ? @huan

Please demonstrate your design/changes with GitHub pages from your forked repo before we can be able to continue our discussion.
Thank you very much.

It's hard for me to deploy the builded docs to gh-pages branch in my wechaty.js.org, and there is only origin pages. So, let me describe my thoughts with words and screenshot.

1. Idea:
Multi-language wechaty have the same api at high level, the only difference between them is parameters of function.  And I think this is crucial for multi-wechaty to keep api consist with typescript-wechaty, which has more experience and code accumulation.  So, sticking to this idea can make the community more unified and concise.
2. How to embed multi-language wechaty doc ?
We can learn from the multi-language sdk document of qnamaker, and I think there are three parts to embed docs to current wechaty website.

tabs scripts

Refer to the multi-language sdk document of qnamaker, we also can embed all of the same api of multi-language doc into one page.
And if there is big difference between multi-language wechaty api,  we can also split them into different subpages.

subpages

There are typescrip-exampes and python-exampels subpages for multi-language wechaty.

mutli-language page title

So, there are three ways to embed multi-language wechaty document. This can make the multi-language doc more unified and concise.

Thanks for those proposals!
Let's take some time to think about them before continue discussing.


Error when install scikit-bio with pip on OSX

It seems that version 0.2.3 could not find numpy header files:
Failed to build scikit-bio
Installing collected packages: scikit-bio
  Running setup.py install for scikit-bio
    Complete output from command /usr/local/opt/python3/bin/python3.4 -c "import setuptools, tokenize;__file__='/private/var/folders/5f/dyq9ptn52f946hb9x9dlvwb40000gn/T/pip-build-o4te1sqj/scikit-bio/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/5f/dyq9ptn52f946hb9x9dlvwb40000gn/T/pip-vwt1zlgg-record/install-record.txt --single-version-externally-managed --compile:
    running install
    running build
    running build_py
    warning: build_py: byte-compiling is disabled, skipping.

    running build_ext
    building 'skbio.stats.__subsample' extension
    clang -Wno-unused-result -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Wno-error=unused-command-line-argument-hard-error-in-future -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python3/3.4.3_1/Frameworks/Python.framework/Versions/3.4/include/python3.4m -c skbio/stats/__subsample.c -o build/temp.macosx-10.10-x86_64-3.4/skbio/stats/__subsample.o
    warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
    skbio/stats/__subsample.c:352:10: fatal error: 'numpy/arrayobject.h' file not found
    #include "numpy/arrayobject.h"
             ^
    1 warning and 1 error generated.
    error: command 'clang' failed with exit status 1

My OSX version is 10.10, and Python version is 3.4.3

Hello @unionx, do you have numpy pre-installed? We have fixed this in master, but 0.2.3 needs numpy to be installed already.

@ebolyen Hey
I have installed the newest version of Numpy on my machine. But I installed Python via homebrew, I am not sure if it has a difference.
I pulled the master version of scikit-bio from Github and successfully installed it. Thanks.

@unionx, glad you got it working! Just as a heads up we are going to be releasing scikit-bio 0.4.0 (beta!) within the next 48 hours (hopefully). And that should work out of the box with pip for you.

@ebolyen Great job! Thanks!


Assign random value to variable at the init of helm package

Hello,
I need to initialize some random value with randAlphaNum X which, the same, will be used across all yaml files defined in helm package.
I cannot do that at the top of each yaml with:
{{- $myPassword := ( randAlphaNum 10 | toString ) -}}

because it has to have the same value for each yaml file (reference).
How do I do that ?

Any help or hint how to achieve this ?

Any help how to solve that ?

I'm going to close this ticket due to inactivity, but please re-open if this still needs to be addressed. Thanks!

Most users generate a value at runtime and pass that to the templates/values using --set.
Hope this helps.

Generating a value at runtime is additional step. It looks simple but ... when you have to deploy more then a few helm charts it becomes tedious to run additional steps before the actual helm install ....

As a workaround you could trim the seconds off from timestamp and use it as a basis for your variable.  There is a good chance 1 minute is enough for the whole helm chart to be populated with the generated value.
{{- define "pvname" -}} {{- $name := date "20060102150405" .Release.Time | toString | lower | trunc 12 -}} {{- printf "%s-%s" "pv-claim" $name -}} {{- end -}}

As there is no longer .Release.Time in Helm 3, a similar solution will suffice -  getting the current UNIX time and truncating that.
{{- now | unixEpoch | trunc 8 -}}


Sigil not working with assert macro in Elixir 1.14

Elixir 1.14.0
Erlang/OTP 24
The sigil seems to not be working with ExUnit's assert macro when used as an argument to a function.
To reproduce:
defmodule ShorterMapsTest do
  use ExUnit.Case

  import ShorterMaps

  test "broken" do
    input = %{"name" => "myname", "age" => 123}

    assert %{"input" => ^input} = ~m{input}
    assert %{"input" => input} == ~m{input}

    assert is_input?(input)
    assert is_input?(~m{input})
  end

  defp is_input?(~m{input}), do: true
  defp is_input?(_input), do: false
end

It gives the following error:
== Compilation error in file test/myapp/shorter_maps_test.exs ==
** (ArgumentError) interpolation is not supported with the ~m sigil
    (shorter_maps 2.2.5) expanding macro: ShorterMaps.sigil_m/2
    test/myapp/shorter_maps_test.exs:13: ShorterMapsTest."test broken"/1
    (elixir 1.14.0) expanding macro: Kernel.if/2
    test/myapp/shorter_maps_test.exs:13: ShorterMapsTest."test broken"/1
    (ex_unit 1.14.0) expanding macro: ExUnit.Assertions.assert/1
    test/myapp/shorter_maps_test.exs:13: ShorterMapsTest."test broken"/1

Line 13 is exactly assert is_input?(~m{input}).
This was working fine until Elixir 1.13.x, and now it's broken. I'm not sure where to start digging. :/

Perhaps it has some relation with #11

Sorry to have missed when this arrived - this problem seems super annoying


Multi-tenancy VMODL implementation

This PR mainly includes 5 parts:

VMODL API update: the API definition has been changed significantly since initial check-in, especially exception handling
VMODL API implementation - integrated with auth_api
Unit tests for all VMODL APIs. Currently all tests are positive. Will add negative tests later in a separate PR.
Related back-end modification - done by Liping
Build scripts (thanks Mark)

@msterin @lipingxue Can you please review this change? You can focus on the VMODL changes. I will review the backend changes done by Liping.

Fixes #860

The back-end changes done by Liping look good to me.
@govint Can you please review the VMODL part (esx_services/vmodl/...)? Thanks!

LGTM


Document --s3-endpoint and --s3-use-sigv4

As requested via #102

Well, that was quick :wink: Cheers!


Anyone porting uxn to Precursor/Betrusted?

uxn seems perfectly positioned to fit well the ecosystem of Betrusted (for now Precursor).
Anyone tried to port it to Precursor already?
See https://github.com/betrusted-io/xous-core and https://github.com/betrusted-io/betrusted-wiki/issues/3 .

I've never heard of it, but if it can run a framebuffer, it should be pretty easy to bring on the device :)


Run workflows depending on changed files

Pull Request Description

close #11579
Changelog:

update: assemble all the workflows executed on PR into a single pull-request.yml workflow. It calls the following checks depending on the files changed and unconditionally on the push to the develop branch.

GUI Checks
WASM Checks
Engine Checks
GUI Packaging

update: mark macOS jobs with continue-on-error: true to make them optional (currently they are not required to merge to PR). Even if they fail, the final report will be successful.
refactor: rename workflow files to match their contents

Important Notes

This PR assembles all the workflows into a pull-request.yml which is dispatched on pull requests and calls all other existing workflows based on the files changed.
GitHub visualization of the workflow is not very comprehensible, so I created this visualization.
                                    +----------------+
                               +--->| Storybook      +---+
                               |    | storybook.yml  |   |
                               |    +----------------+   |
    +----------------------+   |    +----------------+   |
+---+ GUI Files Changed    +---+--->| GUI Checks     +---+
|   +----------------------+        | gui-checks.yml |   |
|                                   +----------------+   |
|                                                        |
|   +----------------------+        +----------------+   |   +------------------+
|   + WASM Files Changed   +------->| WASM Checks    +---+-->| PR Checks Report |
|   +----------------------+        | gui-tests.yml  |   |   +------------------+
|                                   +----------------+   |
|                                                        |
|   +----------------------+        +----------------+   |
+---| Engine Files Changed +------->| Engine Checks  +---+
|   +----------------------+        | scala-new.yml  |   |
|                                   +----------------+   |
|                                                        |
|                                   +----------------+   |
+---------------------------------->| GUI Packaging  +---+
                                    | gui.yml        |
                                    +----------------+

The final report is required to gather the results of all (possibly skipped) checks. This will be the only required check to merge the PR.

Repo settings should be updated to reflect the changes. In the branch protection rules these required checks should be
removed:

Build Backend*
Engine (GraalVM CE)*
GUI build*
JVM Tests (GraalVM CE)*
Lint*
Native Rust tests*
Package New IDE*
Standard Library Tests*
Verify License Packages*

renamed:

GUI Checks Success or Skipped -> PR Checks Report


[moonbeam-free-balance] Format moonbeam strategy to include decimals

Moonbeam free balance strategy is returning raw instead of formatted tokens value.
This PR fixes it

@ChaituVR I realize we forgot the returned value needed to be formatted with decimals.
Can you take a look at it please ?

Thank you :)

Thanks for your patience @crystalin 🙏 😃

HI @crystalin You are not using snapshot block here? it is causing confusion to users trying to vote. https://github.com/snapshot-labs/snapshot-strategies/blob/master/src/strategies/moonbeam-free-balance/index.ts

Yes that is right, I'll fix quickly.
Additionally, Moonbeam supports proxies and delegations. However those are in a "many-to-many" relationship. Ex:

Account A gives proxy rights to Account B, C, D to perform "vote"

I didn't find a good way to support that on snapshot (without allowing voting multiple times with the same balance)
@ChaituVR do you have an idea ?

HI @crystalin You are not using snapshot block here? it is causing confusion to users trying to vote. https://github.com/snapshot-labs/snapshot-strategies/blob/master/src/strategies/moonbeam-free-balance/index.ts

Should be fixed by https://github.com/snapshot-labs/snapshot-strategies/pull/1225


2 problems.

Problem n°1:
When i click on "Change my name" and "Ok" button, i received a disconnect of client.
Problem n°2:
The online badge stop work after level 5.
Screenshot:

Probably invalid packet structure. Will investigate once linux is done.
Will need to investigate... But thats odd...

Don't need investigate. That code was removed from Yupi, since isn't unsafe and not used anymore by Habbo.

It's not an safety issue, but rather an issue of bad database design.
Pretty much every emulator tends to copy the usernames around everywhere instead of simply using the user id...

Yupi uses user id. I Already changed that. The security issue is around the input of the username choose.


not saving any pdf

Hey there and thanks for the share!
I tried used it as you instructed. Everything executed and the log says the pdf saved in drive but I can not see any new file on my drive. I would like to hear what is that I do wrong.
Thanks in advance, Sagi :)

Interesting! The pdf usually gets saved in top directory of Google drive.
The api itself has changed a bit now. #3 tries to fix.
It is interesting that .ipynb file was recognised in the first place. May be the changes were introduced after you faced this issue.
Can you provide any additional info? Thanks.

I am seeing a similar problem. If I choose to hide output, #3 still does not save the file to google drive. Not choosing to hide output works as expected.


⚠ Bofrost.lu has degraded performance

In e463835, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2567 ms

Resolved: Bofrost.lu performance has improved in fb6fbb0 after 45 minutes.


MB-15171: Grasp at straws to improve playwright in circleci

Jira ticket for this change
Summary
Getting lots of timeouts in CircleCI, so try larger instance and not logging to a file

Messages

:book:
:link: MB-15171

  Generated by :no_entry_sign: dangerJS against 0410ae7379258e65be103e04e5a5818a36c2ebae


fix: chassis id is empty but cannt identify

[ ] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Bug fixes

A bug shows that the empty sure can not identify the scenario where chassis id is missed in ovn sbdb.
Now judgement is based on the length of chassis id.
Which issue(s) this PR fixes:

abnormal scenario shows up in 1.9.


[Identity] [localhost to cloud proposal] @azure/identity-web

This package is a WORK IN PROGRESS.
This PR introduces the WebRedirectCredential, a credential that aims to simplify the development of web backend applications, from localhost to the Azure cloud.
Before I make the actual proposal, I’ll use this draft PR to ask for feedback, and to build the package for the Playwright-based champion scenarios that I’m making.
For more information, go to: https://github.com/sadasant/identity-browser-tests/tree/dev/AuthorizationCodeCredential

@jasonnutter brought to me the concern that naming this library and credential “Web” might be confusing as Microsoft already has https://github.com/AzureAD/microsoft-identity-web


Texture application on other 3d face layout.

Thank you very much making this repository public. It's very helpful.
When i'm trying to apply the generated texture on my own face mesh, The position of nose,eyes,mouths etc are not getting on the right place.
My question is that :- I have a different mesh for face on which i want to apply the generated texture.
What can i change in code so that i can get ride off this issue.

python demo.py -i Test -o Test2 --isDlib True --isTexture True
where Test is the input folder / Test2 output folder.
you should get a corresponding texture map for that image.
If you have new image - generate new texture.


[BUG] Bloxstrap does not open roblox from private server links

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
2.8.0
What problem did you encounter?
Bloxstrap does not open roblox private servers from links, it instead just opens bloxstrap, launching roblox from bloxstrap does not put you in the private server
Bloxstrap Log
N/A

this is a new feature that appeared out of nowhere that messes up only firefox users including myself
it'll forever stay a mystery as to how do you mess up something that worked perfectly fine before, without the ability to revert back to an older version of the app

it'll forever stay a mystery as to how do you mess up something that worked perfectly fine before

when you develop software you'll learn someday

Bloxstrap does not open roblox private servers from links, it instead just opens bloxstrap, launching roblox from bloxstrap does not put you in the private server

It's only private server links that do this? What about clicking on the green play button?

this is probably because private server links launch the Roblox executable directly. bloxstrap devs may have been trying to make a way for people to launch Roblox without launching bloxstrap with it, which would answer why this happened.

it'll forever stay a mystery as to how do you mess up something that worked perfectly fine before

when you develop software you'll learn someday

that messes up only firefox users including myself

from what i've seen, that might actually be a problem with firefox and not me! but, i can remedy it on my end.

Bloxstrap does not open roblox private servers from links, it instead just opens bloxstrap, launching roblox from bloxstrap does not put you in the private server

It's only private server links that do this? What about clicking on the green play button?

yeah, i apologize for appearing entitled and being harsh with how i word my sentences.
though, i found it frustrating that i wasn't able to revert to v2.7.0 either, because it'd just infinitely configure roblox. is this intentional? or it's roblox being roblox?

roblox added a new file called redist.zip which caused the old versions of bloxstrap to break. to fix this just get the latest version

@red-nt Accidentally marked your comment as off-topic, sorry about that.
@butheresthekicker Yes, that's Roblox.

it's ight

it'll forever stay a mystery as to how do you mess up something that worked perfectly fine before

when you develop software you'll learn someday
Agreed.

Fixed in 2.8.1 (assuming so, reopen if not)


Fix unable to deploy KafkaSink without Broker component

Fixes #712

Proposed Changes

Create a subdir for each component (Sink and Broker)
Create symlinks to common artifacts in each component subdir

Release Note

Fix unable to deploy KafkaSink without Kafka Broker installed

/kind bug

Verified artifacts in https://console.cloud.google.com/storage/browser/knative-prow/pr-logs/pull/knative-sandbox_eventing-kafka-broker/714/pull-knative-sandbox-eventing-kafka-broker-integration-tests/1369024389797908480/artifacts/0af0050d-804e-11eb-bce1-8a835f25e258?pageState=("StorageObjectListTable":("f":"%255B%255D"))&prefix=&forceOnObjectsSortingFiltering=false

/cherry-pick release-0.21

This installation works but not the sink. Getting:
E0315 14:38:33.635551       1 reflector.go:127] k8s.io/client-go@v0.19.7/tools/cache/reflector.go:156: Failed to watch *v1.Broker: failed to list *v1.Broker: the server could not find the requested resource (get brokers.eventing.knative.dev)
E0315 14:38:33.637178       1 reflector.go:127] k8s.io/client-go@v0.19.7/tools/cache/reflector.go:156: Failed to watch *v1.Trigger: failed to list *v1.Trigger: the server could not find the requested resource (get triggers.eventing.knative.dev)
E0315 14:38:34.970312       1 reflector.go:127] k8s.io/client-go@v0.19.7/tools/cache/reflector.go:156: Failed to watch *v1.Trigger: failed to list *v1.Trigger: the server could not find the requested resource (get triggers.eventing.knative.dev)

Disclaimer: I didn't try this PR. I just manually added the missing artifacts

@lionelvillard that should be fine and it shouldn't affect the KafkaSink installation. Does it?
It can be removed by installing Broker and Trigger CRDs as we discussed in https://github.com/knative-sandbox/eventing-kafka-broker/issues/286.
With that being said, I still think we should better handle this installation.
What about hosting Broker and Trigger CRD in our artifacts so that there will be no errors?

What about hosting Broker and Trigger CRD in our artifacts so that there will be no errors?

Maybe as part of the hypothetical standalone KafkaSink artifact?


[BUG][US402]Adding new ticket types to an existing date adds to existing line

Describe the bug
When adding a new ticket type to an existing date in the basket, the existing ticket types are increased instead of adding the new ticket line.
To Reproduce
Steps to reproduce the behavior:

Go to event list
Open add tickets dialogue
Select a date and type
Click on "Add"
Click 'add to basket'
Repeat with the same type and a different ticket type
Basket has two of the same ticket type

Expected behavior
Adding a new ticket type should add a new ticket line, not increment an existing one.

Confirmed. New availability code reuses "type_id" variable instead of creating a new one, causing type_id to always refer to an existing line instead of a new one.

fixed in commit: https://github.com/seanyoung247/TWCoulsdon/commit/921c300d89ce34bc3868289ecb0741c2ae559df3


Format of dataset

Hi,  Could you provide the format of the training set and validation set ?

It's the standard ImageNet folders. If you are not familiar, I suggest you to follow PyTorch practice.

Thanks. I have got the answer. :)


Provision nginx and letsencrypt

Assuming tailscale configured

get a letsencrypt cert and put it somewhere (/etc/ssl/private ?)
set up a cron or systemd job to refresh the cert. https://blog.viktorpetersson.com/2022/12/23/securing-services-with-tailscale.html has a recipe.
install nginx if needed
emplace an nginx enabled-site that uses the cert and shunts http: to https:
drop in placeholder HTML (if needed)
restart nginx if needed

A config for uwsgi is out of scope.

Blocked by #10

Adapted https://sleeplessbeastie.eu/2023/02/20/how-to-use-tailscale-to-generate-certificate/ to auto-renew the cert on pinot. It checks weekly, and puts certs in /etc/nginx/

This has been working satisfactorily for a while now


Update how-to-connect-preview.md

Azure AD Connect sync V2 endpoint API is GA

@gaubert-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@gaubert-ms : Thanks for your contribution! The author(s) have been notified to review your proposed change.


APK in not updated

is:issue is:open where is the .apk file. plz update it bro or send me on  ' '<EMAIL_ADDRESS>'

I do not maintain this project anymore. Please build the project your self and then get the apk.


change on OSF should not go into the master branch on github

I would like to use OSF to make it easier for people to work on my project which is based on Github. But I am afraid people will make bad stuff happen, and it seems changes on OSF are pushed to the master branch, without commit message...
Would it be better to have things going to an OSF branch, such that I can keep a total control of the master on github?

If you selected the Github addon row you can select what branch you use. Also a generic commit message should always appear.

Hope that helps.

Hey, thanks again for the work, I did not follow up by then, but I would like to use osf/github integration for the OpenscienceMOOC, and the problem came up to my mind again.
The problem is that people can still push things on the master branch, I would like to restrict push only on a specific branch. As said above, I want to keep control over the master branch (which is used for continuous integration and website publishing).
"Added via the Open Science Framework" is not really what I would call a commit message, by the way. Would be nice if people could write some message at that point.


make: *** [all] Error 2

orangepiplus2e:~/v4l2rtspserver$ sudo make
Scanning dependencies of target v4l2rtspserver
[  9%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/ALSACapture.cpp.o
[ 18%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/DeviceSource.cpp.o
/home/aaa/v4l2rtspserver/src/DeviceSource.cpp:17:20: fatal error: logger.h: No such file or directory
#include "logger.h"
^
compilation terminated.
CMakeFiles/v4l2rtspserver.dir/build.make:86: recipe for target 'CMakeFiles/v4l2rtspserver.dir/src/DeviceSource.cpp.o' failed
make[2]: *** [CMakeFiles/v4l2rtspserver.dir/src/DeviceSource.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/v4l2rtspserver.dir/all' failed
make[1]: *** [CMakeFiles/v4l2rtspserver.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
What am I doing wrong?

Hi Siggemada,
The file is in submodule, probably something fails when you run cmake, you can also run make VERBOSE=1 to check the include path.
Best Regards,
Michel.

Hi, thanks,
I do not have
/v4l2rtspserver/v4l2wrapper/inc
How can I add it?

Hi Siggemada,
This is created by the command git submodule init && git submodule update in CMakeLists.txt.
If this is missing, you should remove all the cmake stuff to understand the error executing cmake.
Best Regards,
Michel.

Hi and thank you again!
This is the output of cmake .
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.11.0")
-- CMAKE_TOOLCHAIN_FILE=
-- CMAKE_C_COMPILER=/usr/bin/cc
-- CMAKE_CXX_COMPILER=/usr/bin/c++
-- CMAKE_FIND_ROOT_PATH=/home/aaa/v4l2rtspserver/armv7l
-- CMAKE_STAGING_PREFIX=/home/aaa/v4l2rtspserver/armv7l
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Log4Cpp available
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- SystemD available
-- SystemD directory '/lib/systemd/system'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aaa/v4l2rtspserver
I have cloned libv4l2cpp and run make and make install on that. Looking at CMakeLists, it looks like I should not have done that?
Thanks again!

Ok, so I have this in: /usr/include/libv4l2cpp/logger.h
Removing that, I get:
orangepiplus2e:~/v4l2rtspserver$ cmake .
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.11.0")
-- CMAKE_TOOLCHAIN_FILE=
-- CMAKE_C_COMPILER=/usr/bin/cc
-- CMAKE_CXX_COMPILER=/usr/bin/c++
-- CMAKE_FIND_ROOT_PATH=/home/hans/v4l2rtspserver/armv7l
-- CMAKE_STAGING_PREFIX=/home/hans/v4l2rtspserver/armv7l
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Log4Cpp available
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- SystemD available
-- SystemD directory '/lib/systemd/system'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/aaa/v4l2rtspserver
Still no /v4l2rtspserver/v4l2wrapper/inc

Success!
Ok, so I added /v4l2rtspserver/v4l2wrapper/inc manually;
orangepiplus2e:~/v4l2rtspserver$ make
[  9%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/DeviceSource.cpp.o
[ 18%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/H264_V4l2DeviceSource.cpp.o
[ 27%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/HTTPServer.cpp.o
[ 36%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/MJPEGVideoSource.cpp.o
[ 45%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/MulticastServerMediaSubsession.cpp.o
[ 54%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/SegmentServerMediaSubsession.cpp.o
[ 63%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/ServerMediaSubsession.cpp.o
[ 72%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/UnicastServerMediaSubsession.cpp.o
[ 81%] Building CXX object CMakeFiles/v4l2rtspserver.dir/src/main.cpp.o
[ 90%] Linking CXX executable v4l2rtspserver
[100%] Built target v4l2rtspserver


Pulse highlight row on interface refresh / change

Reasoning
In relation to PR #549 , I believe it would help if we could pulse the line the caret is on, after a refresh, to remind users to mind their action if the line now references another commit/branch/etc.
I just discovered and enabled the "highlight_line": true option in sublime and it really helps to see what row the caret is on clearly. But users may still have it off, or be too used to it to notice a change has occurred.
Implementation suggestion
This POC plugin shows how one can "pulse" sublime's background color; I think we can do something similar to lineHighlight color (only with much bigger/quicker steps), something in the line of:

Backup the color of lineHighlight and set it to same as background color.
Enable highlight_line setting; the line highlight is still invisible at this point.
Quickly fade the lineHighlight color to saved original color and straiught back to background color, creating a pulsing highlight effect.
Disable the highlight_line.

If the user already has highlight_line enabled, we could pick a "brighter" target color instead, and fade into it and back (without toggling highlight_line on/off).

This is a fantastic idea!

I've set highlight_line: true for all of our fancy, line-based views.
(But of course, many users will have them on on all their views.)
I don't want pulsing at all rather that the cursor is always at a good
position.  Esp. on a background refresh the cursors should just stay
as they were.  Otherwise we want to be fast and don't fade out
disappearing content.
I also use add_regions to highlight areas of interest e.g. in the
graph view.
Closing therfore.


Can't use more than 2 gpus

When putting the muzero code to train, I can't use more than 2 GPUs:
node02@K8sNode02:~/muzero-forex$ nvidia-smi
Sat Aug  8 21:10:21 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.95.01    Driver Version: 440.95.01    CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:01:00.0  On |                  N/A |
|  0%   52C    P8    14W / 280W |    273MiB / 11175MiB |     17%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 108...  Off  | 00000000:02:00.0 Off |                  N/A |
|  0%   42C    P8    13W / 280W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 108...  Off  | 00000000:03:00.0 Off |                  N/A |
| 46%   29C    P8    10W / 250W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 108...  Off  | 00000000:04:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   4  GeForce GTX 108...  Off  | 00000000:05:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   5  GeForce GTX 108...  Off  | 00000000:09:00.0 Off |                  N/A |
|  0%   37C    P8     9W / 280W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   6  GeForce GTX 108...  Off  | 00000000:0D:00.0 Off |                  N/A |
| 20%   30C    P8     7W / 250W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   7  GeForce GTX 108...  Off  | 00000000:0E:00.0 Off |                  N/A |
|  0%   33C    P8     9W / 270W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   8  GeForce GTX 108...  Off  | 00000000:0F:00.0 Off |                  N/A |
| 29%   46C    P2    73W / 270W |    951MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1244      G   /usr/lib/xorg/Xorg                            35MiB |
|    0      2569      G   /usr/lib/xorg/Xorg                           117MiB |
|    0      2782      G   /usr/bin/gnome-shell                         105MiB |
|    0      3713      G   /usr/bin/nvidia-settings                       1MiB |
|    8   1902624      C   ray::Trainer.continuous_update_weights()     939MiB |
+-----------------------------------------------------------------------------+

I set the actors to 8, using the 21 game code
muzero.py

    def train(self):
        ray.init(num_cpus=2,num_gpus=9,
        )
        os.makedirs(self.config.results_path, exist_ok=True)
        # Initialize workers
        training_worker = trainer.Trainer.options(
            num_gpus=1 if "cuda" in self.config.training_device else 0
        ).remote(copy.deepcopy(self.muzero_weights), self.config)
        shared_storage_worker = shared_storage.SharedStorage.remote(
            copy.deepcopy(self.muzero_weights), self.game_name, self.config,
        )

simple_game.py
   self.seed = 0  # Seed for numpy, torch and the game

        ### Game
        self.observation_shape = (3,1,OBS_PERIOD) # Dimensions of the game observation, must be 3D (channel, height, width). For a 1D array, please reshape it to (1, 1, length of array)
        self.action_space = [i for i in range(21)] # Fixed list of all possible actions. You should only edit the length
        self.players = [i for i in range(1)] # List of players. You should only edit the length
        self.stacked_observations = 0 # Number of previous observations and previous actions to add to the current observation

        # Evaluate
        self.muzero_player = 0 # Turn Muzero begins to play (0: MuZero plays first, 1: MuZero plays second)
        self.opponent = None # Hard coded agent that MuZero faces to assess his progress in multiplayer games. It doesn't influence training. None, "random" or "expert" if implemented in the Game class

        ### Self-Play
        self.num_actors = 9 # Number of simultaneous threads self-playing to feed the replay buffer
        self.max_moves = MAX_MOVES # Maximum number of moves if game is not finished before
        self.num_simulations = 60 # Number of future moves self-simulated
        self.discount = 1 # Chronological discount of the reward
        self.temperature_threshold = None  # Number of moves before dropping the temperature given by visit_softmax_temperature_fn to 0 (ie selecting the best action). If None, visit_softmax_temperature_fn is used every time

        # Root prior exploration noise
        self.root_dirichlet_alpha = 0.25
        self.root_exploration_fraction = 0.25

        # UCB formula
        self.pb_c_base = 19652
        self.pb_c_init = 1.25

        ### Network
        self.network = "resnet"  # "resnet" / "fullyconnected"
        self.support_size = 10  # Value and reward are scaled (with almost sqrt) and encoded on a vector with a range of -support_size to support_size

        # Residual Network
        self.downsample = False  # Downsample observations before representation network (See paper appendix Network Architecture)
        self.blocks = 2  # Number of blocks in the ResNet
        self.channels = 32  # Number of channels in the ResNet
        self.reduced_channels_reward = 32  # Number of channels in reward head
        self.reduced_channels_value = 32  # Number of channels in value head
        self.reduced_channels_policy = 32  # Number of channels in policy head
        self.resnet_fc_reward_layers = [16]  # Define the hidden layers in the reward head of the dynamic network
        self.resnet_fc_value_layers = [16]  # Define the hidden layers in the value head of the prediction network
        self.resnet_fc_policy_layers = [16]  # Define the hidden layers in the policy head of the prediction network

        # Fully Connected Network
        self.encoding_size = 32
        self.fc_representation_layers = [16]  # Define the hidden layers in the representation network
        self.fc_dynamics_layers = [16]  # Define the hidden layers in the dynamics network
        self.fc_reward_layers = [16]  # Define the hidden layers in the reward network
        self.fc_value_layers = [16]  # Define the hidden layers in the value network
        self.fc_policy_layers = [16]  # Define the hidden layers in the policy network

        ### Training
        self.results_path = os.path.join(os.path.dirname(__file__), "../results", os.path.basename(__file__)[:-3], datetime.datetime.now().strftime("%Y-%m-%d--%H-%M-%S"))  # Path to store the model weights and TensorBoard logs
        self.training_steps = 15000  # Total number of training steps (ie weights update according to a batch)
        self.batch_size = 64  # Number of parts of games to train on at each training step
        self.checkpoint_interval = 10  # Number of training steps before using the model for self-playing
        self.value_loss_weight = 0.25  # Scale the value loss to avoid overfitting of the value function, paper recommends 0.25 (See paper appendix Reanalyze)
        self.training_device = "cuda" #if torch.cuda.is_available() else "cpu"  # Train on GPU if available

        self.optimizer = "SGD"  # "Adam" or "SGD". Paper uses SGD
        self.weight_decay = 1e-4  # L2 weights regularization
        self.momentum = 0.9  # Used only if optimizer is SGD

        # Exponential learning rate schedule
        self.lr_init = 0.03  # Initial learning rate
        self.lr_decay_rate = 0.75  # Set it to 1 to use a constant learning rate
        self.lr_decay_steps = 150000

        ### Replay Buffer
        self.window_size = 10000  # Number of self-play games to keep in the replay buffer
        self.num_unroll_steps = 20  # Number of game moves to keep for every batch element
        self.td_steps = 50  # Number of steps in the future to take into account for calculating the target value
        self.use_last_model_value = True  # Use the last model to provide a fresher, stable n-step value (See paper appendix Reanalyze)

        # Prioritized Replay (See paper appendix Training)
        self.PER = True  # Select in priority the elements in the replay buffer which are unexpected for the network
        self.use_max_priority = False  # If False, use the n-step TD error as initial priority. Better for large replay buffer
        self.PER_alpha = 0.5  # How much prioritization is used, 0 corresponding to the uniform case, paper suggests 1
        self.PER_beta = 1.0

        ### Adjust the self play / training ratio to avoid over/underfitting
        self.self_play_delay = 1  # Number of seconds to wait after each played game
        self.training_delay = 2  # Number of seconds to wait after each training step
        self.ratio = 0.1  # Desired self played games per training step ratio. Equivalent to a synchronous version, training can take much longer. Set it to None to disable it

Hi,
It seems that you are using an old version of MuZero General which does not support multi gpu.
You can use the latest version and set training_num_gpus = 9.


Import the right lib, get_spooldir() got moved to web_utils

https://jira.opensciencegrid.org/browse/SOFTWARE-3031

It worked until we moved the libraries around. I'm not sure how it wasn't caught in testing, though...


any easy way to use dark color theme called Slate ?

i google a dark color theme called Slate
here is the link: http://bootswatch.com/
scroll down can see a theme called Slate, there provide 6 files:
bootstrap.min.css
bootstrap.css
variables.less
bootswatch.less
_variables.scss
_bootswatch.scss
but any method to combine Slate into AdminLTE ?
so we can use AdminLTE all the nice functions such as sidebar, control siderbar,...etc with dark color

Create a new skin for this, its the easiest way.
Copy https://github.com/almasaeed2010/AdminLTE/blob/master/dist/css/skins/skin-black.css and recreate the skin on Bootswatch's Slate.

We need a dark theme from this incredible panel, you can launch a paid version. I'll be the first to buy.