Successfully built Macos ScreenPipe app here

this gist

no access to workspace, news doesn't work

@RobDiek try again

awesome, thank you. :) currently trying out the script

when just running the script I get this
se -h to get full help or, even better, run 'man ffmpeg'
./build_screenpipe.sh: line 63: ]: command not found
./build_screenpipe.sh: line 64: syntax error near unexpected token }' ./build_screenpipe.sh: line 64:     }'

can't you don't just drop a link to the dmg / pkg?

when just running the script I get this
se -h to get full help or, even better, run 'man ffmpeg' ./build_screenpipe.sh: line 63: ]: command not found ./build_screenpipe.sh: line 64: syntax error near unexpected token }' ./build_screenpipe.sh: line 64:  }'

Same error here

had to do a bit of manual work to get this to work;

bun isn't installed - had to install it manually by running curl -fsSL https://bun.sh/install | bash
installed Xcode command line tools just for being safe
under "ok lets build it" there has to be a "cd screenpipe" first
"bun i" misses a sudo before it

still getting error
error: failed to run custom build command for screenpipe-app v0.2.79 (/Users/user/Desktop/screenpipe/screenpipe-app-tauri/src-tauri)
Caused by: process didn't exit successfully: /Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-b07c37cc2f7b5503/build-script-build (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-check-cfg=cfg(desktop) cargo:rustc-cfg=desktop cargo:rustc-check-cfg=cfg(mobile) cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=pe cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=screenpi cargo:rustc-check-cfg=cfg(dev) cargo:PERMISSION_FILES_PATH=/Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-e160e3b75eb0e726/out/app-manifest/app-permission-files cargo:rerun-if-changed=capabilities cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=aarch64-apple-darwin resource path screenpipe-aarch64-apple-darwin doesn't exist warning: build failed, waiting for other jobs to finish... Error failed to build app: failed to build app user@192-168-2-186 screenpipe-app-tauri %

Did you follow the steps? First, you need to install the screenpipe CLI.
cd screenpipe
cargo build --release --features metal

Then create the link:
ln -s ./target/release/screenpipe screenpipe-app-tauri/src-tauri/screenpipe-aarch64-apple-darwin
```"

Hi, no, I didn't. I thought it's a "one for all" installation script, must have misinterpreted. Just did the steps and trying it again, thanks! :)

hmm strange, still gives me an error
Compiling mac-notification-sys v0.6.2
Compiling screenpipe-app v0.2.79 (/Users/robindieker/Desktop/spbuild/screenpipe/screenpipe-app-tauri/src-tauri)
Compiling sentry v0.34.0
Compiling tauri-plugin-autostart v2.0.0-rc.1
Compiling fix-path-env v0.0.0 (https://github.com/tauri-apps/fix-path-env-rs#8481725b)
Compiling tauri-plugin-cli v2.0.0-rc.1
Compiling sysinfo v0.29.11
Compiling tauri-plugin-process v2.0.0-rc.1
error: failed to run custom build command for screenpipe-app v0.2.79 (/Users/robindieker/Desktop/spbuild/screenpipe/screenpipe-app-tauri/src-tauri)
Caused by:
process didn't exit successfully: /Users/robindieker/Desktop/spbuild/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-b07c37cc2f7b5503/build-script-build (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=TAURI_CONFIG
cargo:rerun-if-changed=tauri.conf.json
cargo:rustc-check-cfg=cfg(desktop)
cargo:rustc-cfg=desktop
cargo:rustc-check-cfg=cfg(mobile)
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=pe
cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=screenpi
cargo:rustc-check-cfg=cfg(dev)
failed to read plugin permissions: failed to read file: No such file or directory (os error 2)
warning: build failed, waiting for other jobs to finish...
Error failed to build app: failed to build app
will dig up and try to see which file / directory he is missing.

@RobDiek @akeslo i update the script, you can just run the script.

had to do a bit of manual work to get this to work;

bun isn't installed - had to install it manually by running curl -fsSL https://bun.sh/install | bash
installed Xcode command line tools just for being safe
under "ok lets build it" there has to be a "cd screenpipe" first
"bun i" misses a sudo before it

still getting error
error: failed to run custom build command for screenpipe-app v0.2.79 (/Users/user/Desktop/screenpipe/screenpipe-app-tauri/src-tauri)
Caused by: process didn't exit successfully: /Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-b07c37cc2f7b5503/build-script-build (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-check-cfg=cfg(desktop) cargo:rustc-cfg=desktop cargo:rustc-check-cfg=cfg(mobile) cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=pe cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=screenpi cargo:rustc-check-cfg=cfg(dev) cargo:PERMISSION_FILES_PATH=/Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-e160e3b75eb0e726/out/app-manifest/app-permission-files cargo:rerun-if-changed=capabilities cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=aarch64-apple-darwin resource path screenpipe-aarch64-apple-darwin doesn't exist warning: build failed, waiting for other jobs to finish... Error failed to build app: failed to build app user@192-168-2-186 screenpipe-app-tauri %

Did you follow the steps? First, you need to install the screenpipe CLI.
cd screenpipe
cargo build --release --features metal

Then create the link:
ln -s ./target/release/screenpipe screenpipe-app-tauri/src-tauri/screenpipe-aarch64-apple-darwin

Do you still need to run this @0smboy ? Maybe this is my issue...cargo build gives me a build error.
error: failed to run custom build command for libsamplerate-sys v0.1.12

had to do a bit of manual work to get this to work;

bun isn't installed - had to install it manually by running curl -fsSL https://bun.sh/install | bash

installed Xcode command line tools just for being safe

under "ok lets build it" there has to be a "cd screenpipe" first

"bun i" misses a sudo before it

still getting error

error: failed to run custom build command for screenpipe-app v0.2.79 (/Users/user/Desktop/screenpipe/screenpipe-app-tauri/src-tauri)

Caused by: process didn't exit successfully: /Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-b07c37cc2f7b5503/build-script-build (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-check-cfg=cfg(desktop) cargo:rustc-cfg=desktop cargo:rustc-check-cfg=cfg(mobile) cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=pe cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=screenpi cargo:rustc-check-cfg=cfg(dev) cargo:PERMISSION_FILES_PATH=/Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-e160e3b75eb0e726/out/app-manifest/app-permission-files cargo:rerun-if-changed=capabilities cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=aarch64-apple-darwin resource path screenpipe-aarch64-apple-darwin doesn't exist warning: build failed, waiting for other jobs to finish... Error failed to build app: failed to build app user@192-168-2-186 screenpipe-app-tauri %

Did you follow the steps? First, you need to install the screenpipe CLI.

cd screenpipe

cargo build --release --features metal

Then create the link:

ln -s ./target/release/screenpipe screenpipe-app-tauri/src-tauri/screenpipe-aarch64-apple-darwin

Do you still need to run this @0smboy ? Maybe this is my issue...cargo build gives me a build error.
error: failed to run custom build command for libsamplerate-sys v0.1.12
maybe you should install xcode- select first

xcode-select --install

Getting closer

had to do a bit of manual work to get this to work;

bun isn't installed - had to install it manually by running curl -fsSL https://bun.sh/install | bash
installed Xcode command line tools just for being safe
under "ok lets build it" there has to be a "cd screenpipe" first
"bun i" misses a sudo before it

still getting error
error: failed to run custom build command for screenpipe-app v0.2.79 (/Users/user/Desktop/screenpipe/screenpipe-app-tauri/src-tauri)
Caused by: process didn't exit successfully: /Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-b07c37cc2f7b5503/build-script-build (exit status: 1) --- stdout cargo:rerun-if-env-changed=TAURI_CONFIG cargo:rerun-if-changed=tauri.conf.json cargo:rustc-check-cfg=cfg(desktop) cargo:rustc-cfg=desktop cargo:rustc-check-cfg=cfg(mobile) cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=pe cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=screenpi cargo:rustc-check-cfg=cfg(dev) cargo:PERMISSION_FILES_PATH=/Users/robindieker/Desktop/screenpipe/screenpipe-app-tauri/src-tauri/target/release/build/screenpipe-app-e160e3b75eb0e726/out/app-manifest/app-permission-files cargo:rerun-if-changed=capabilities cargo:rustc-env=TAURI_ENV_TARGET_TRIPLE=aarch64-apple-darwin resource path screenpipe-aarch64-apple-darwin doesn't exist warning: build failed, waiting for other jobs to finish... Error failed to build app: failed to build app user@192-168-2-186 screenpipe-app-tauri %

Did you follow the steps? First, you need to install the screenpipe CLI.
cd screenpipe
cargo build --release --features metal

Then create the link:
ln -s ./target/release/screenpipe screenpipe-app-tauri/src-tauri/screenpipe-aarch64-apple-darwin

Do you still need to run this @0smboy ? Maybe this is my issue...cargo build gives me a build error. error: failed to run custom build command for libsamplerate-sys v0.1.12

maybe you should install xcode- select first
xcode-select --install

hey this shouldn't be that hard, check this:
https://github.com/mediar-ai/screenpipe/tree/main/screenpipe-app-tauri

@louis030195
I am just struggling a bit letting the app access the cli, currently I have to manually start the cli, but then it works until I make any changes to the config.
Is this intended? I just followed the Readme and ensured that all dependencies are resolved.

@dmnkf whats the error?

I was able to get the app to build and launch but status is red with video and audio in error. I confirmed the app has Screen and System Audio Recording permissions and restarted.
I tried manually starting the screenpipe backend but I see these error logs:
ERROR: dyld[79274]: Library not loaded: @rpath/../Frameworks/libscreenpipe_arm64.dylib
ERROR:   Referenced from: <73E3AAE5-DDA9-3F46-B0F9-EDB916F3A16C> /Applications/screenpipe.app/Contents/MacOS/screenpipe
ERROR:   Reason: no LC_RPATH's found

hey this shouldn't be that hard, check this:
https://github.com/mediar-ai/screenpipe/tree/main/screenpipe-app-tauri

This did it for me, thanks!

Successfully built screenpipe CLI and app (with only minor personal setup issues). Followed the getting started instructions including for the screenpipe-app-tauri as @louis030195 mentioned. Update to docs in https://github.com/mediar-ai/screenpipe/pull/390
Hopefully this works for everyone, docs can be updated to be clear, and this issue can be resolved. 😃

Finished `release` profile [optimized] target(s) in 1m 21s

script fails at `chmod: ./target/release/screenpipe: No such file or directory`

Both the shell script and the "getting started locally" instructions built and launch but the app shows status is red with video and audio in error. I confirmed the app has Screen and System Audio Recording permissions and restarted.
I tried manually starting the screenpipe backend but I see these error logs:
ERROR: dyld[79274]: Library not loaded: @rpath/../Frameworks/libscreenpipe_arm64.dylib
ERROR:   Referenced from: <73E3AAE5-DDA9-3F46-B0F9-EDB916F3A16C> /Applications/screenpipe.app/Contents/MacOS/screenpipe
ERROR:   Reason: no LC_RPATH's found

This exact same error also occurs for me! Anyone managed to fix?

I fixed it manually by running
install_name_tool -add_rpath @executable_path/../Frameworks /Applications/screenpipe.app/Contents/MacOS/screenpipe

I noticed that the screenpipe-app has the proper links
➜  MacOS otool -l ./screenpipe-app | grep -A2 LC_RPATH
          cmd LC_RPATH
      cmdsize 48
         path @executable_path/../Frameworks (offset 12)

I am guessing it has something to do with the fact that we build screenpipe separately and the pre-install script copies it over. Not really sure though, OSX builds and deployable binaries is a little beyond me (already deeply relying on chatgpt here)

This solved my issue!

if you guys see anything to add to the docs feel free to send a PR, i will send you a tip!

I fixed it manually by running
install_name_tool -add_rpath @executable_path/../Frameworks /Applications/screenpipe.app/Contents/MacOS/screenpipe

I noticed that the screenpipe-app has the proper links
➜  MacOS otool -l ./screenpipe-app | grep -A2 LC_RPATH
          cmd LC_RPATH
      cmdsize 48
         path @executable_path/../Frameworks (offset 12)

I am guessing it has something to do with the fact that we build screenpipe separately and the pre-install script copies it over. Not really sure though, OSX builds and deployable binaries is a little beyond me (already deeply relying on chatgpt here)

This solved my issue!

FYI - I used llvm-install-name-tool instead. Honestly don't know why, but install_name_tool returned libc++abi: terminating due to uncaught exception of type std::runtime_error: codesign_failed: 0 for me.
Maybe due to clang vs llvm?


npm tests

Added some tests that…

Verify every icon specified in the icon-map has a valid glyph in the corresponding font TTF file.
Verify that ship names are consistent with the xwing-data repo.
Warn if missing any ship icons that correspond to ships in xwing-data.

Note that this PR is dependent on #44 because it requires JSON map files and will need a rebase before it can be merged.

Will review once conflicts are resolved.

Conflicts should be resolved now.

Cool.  I've set up Travis to build and test on commits, so now future pull requests should get automatically tested.  Thanks!

Awesome!


Improve OrderedHashtable integration

Summary of the new feature / enhancement
The new System.Management.Automation.OrderedHashtable class is a great step forward in moving to a dictionary that is ordered by default. Therefore I wouldn't be surprised that this System.Management.Automation.OrderedHashtable class would eventually replace the System.Collections.Specialized.OrderedDictionary class.
For this to happen, I would like to able to use the same syntactic sugars as with the Hashtable/Ordered type:

Preserve the hash literal node order
Currently this doesn't work as expected (like it does for [PSCustomObject] and [Ordered]):

[System.Management.Automation.OrderedHashtable]@{ One = 1; Two = 2; Three = 3; Four = 4 }

Name                           Value
----                           -----
Two                            2
Four                           4
One                            1
Three                          3

Side note: unlike the OrderedDictionary class, I think it is ok that the OrderedDictionary is able to cast from an unordered (non-literal) hash table (assuming that it will be documented that the order is already decayed in this matter):
$Hashtable = @{ One = 1; Two = 2; Three = 3; Four = 4 }
[System.Management.Automation.OrderedHashtable]$HashTable

Ability to use the friendly name to cast
As with the [Ordered] (and [HashTable]) type, I would like to be able to use it friendly name:

[OrderedHashtable]@{ One = 1; Two = 2; Three = 3; Four = 4 }

ability to compare with its friendly name
As with the [Ordered] type (see: #10513), I would like to be able to use its friendly name for the -is comparison:

$OrderedHashtable = [System.Management.Automation.OrderedHashtable]@{ One = 1; Two = 2; Three = 3; Four = 4 }
$OrderedHashtable -is [OrderedHashtable]

Also, I would expect it somehow (pretend) to be derived from the OrderedDictionary class
Currently the following returns False, where I would like to see it True so that doesn't break scripts that test for an OrderedDictionary type:

$OrderedHashtable = [System.Management.Automation.OrderedHashtable]@{ One = 1; Two = 2; Three = 3; Four = 4 }
$OrderedHashtable -is [Ordered]
False # Expected (wishful thinking) True

Related: #19073

The issue you link to:

https://github.com/PowerShell/PowerShell/issues/19073

would give you most of what you want implicitly, so do you have specific concerns about that proposal that would call for what you're proposing here instead?
If #19073 is implemented, you'd simply get ordered hashtables by default.
A [OrderedHashtable] type accelerator would then only be needed for -is [OrderedHashtable] or  - hypothetically for now, because no such constructor overload exists - for creating a case-sensitive hash tables, e.g. [OrderedHashtable]::new([System.StringComparer]::InvariantCulture)).

I would expect it somehow (pretend) to be derived from the OrderedDictionary class

I don't think such a "white lie" is a good idea, as it can create confusion, and there may be cases where you do want to distinguish [ordered] from [OrderedHashtable].
If you really need to know whether a preexisting instance maintains definition order, which doesn't strike me as a common use case,$ht -is [ordered] -or $ht -is [OrderedHashtable] isn't too much of a hardship.

Therefore I wouldn't be surprised that this System.Management.Automation.OrderedHashtable class would eventually replace the System.Collections.Specialized.OrderedDictionary class.

#19073  would allow for that, with the only change of habit required from users is to apply the positional indexing to the .Values property instead of directly to the hashtable. ($oht = @{ foo = 'one'; bar = 'two' }; $oht.Values[1] (doesn't currently work) instead of $oht = [ordered] @{ foo = 'one'; bar = 'two' }; $oht[1] (in v7.3+, .Values[1] works with [ordered] too, thanks to your own efforts.)
Cross-edition code will be stuck with [ordered].

[ordered] is a type accelerator to OrderedDictionary so changing that would be a big breaking change.  We could certainly add a type accelerator for [orderedhashtable] which wouldn't be a breaking change, but the implicit idea from @mklement0 is probably a better choice that would resolve many of these issues if accepted.

As much as I still love the idea of making hashtable literals uses OrderedDictionary by default, running some benchmarks has convinced me that this isn't feasible due to backward compatibility concerns, after all:  programmatic construction of (larger) OrderedDictionary instances is substantially slower than with [hashtable] (and also uses more memory).

see https://github.com/PowerShell/PowerShell/issues/19073#issuecomment-1476750522.

I have therefore closed #19073.

Please triage this issue and either mark it with something like Resolution-Declined or put it on a kind of wishlist "Issue we would like to prioritize, but we can't commit we will get to it yet"


fix(refreshPeerConnections()): Improved connection choices between peers

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Url::current behavior on error pages

I have to use Url:current() in a layout which is great to do some fancy things for every page. My problem is just if an error occurs 404|403 or something else, then Url:current() returns the error controller/action url and not the current url.
Another thing which confused me is, if the error url is requested, it returns just a blank page. I would recommend to return a 404, because the error page does not really exist in this way or should it?

Url:current() returns URL of current controller/action which, in case of error is site/error. It's kinda expected.
Didn't get the second part about blank page. Do you mean requesting site/error?

Didn't get the second part about blank page. Do you mean requesting site/error?

See https://github.com/yiisoft/yii2/blob/master/framework/web/ErrorAction.php#L78
Here if ther is no current exeption in ErrorHandler action just returns empty string.
Perhaps we should change this behavior to following:
if (($exception = Yii::$app->getErrorHandler()->exception) === null) {
    $exception = new HttpException(404);
}

Ah, yes. Absolutely.

Resolved by commit 984afd3


Undefined name do_test

Hello,
In dialog_reader found followoing error:
/Knover/readers/dialog_reader.py:374:73: F821 undefined name 'do_test'

Thanks for report, we fix the bug and support training with filelist now.
You can find the related configuration in https://github.com/PaddlePaddle/Knover/blob/master/package/dialog_en/plato/24L_train.conf


Copy URL to clipboard

Is your feature request related to a problem? Please describe if so, otherwise leave this blank..
Describe the feature
The URL generated will be directly copied to clipboard
Provide any alternatives to the feature you've considered
Additional information
Dependencies : pyperclip library

can I work on this @TanmayPatil105 ?

Sorry! But I have started working on it :)


feature request: Auto-update container logs every n seconds

Right now, if I were to look at new container logs, I have to close the log window, and open it again.
Instead, I suggest some kind of auto-fetching logs every n seconds (could be 2 seconds).

Have you tried the follow (tail) feature by pressing f?

It doesn't work. I tested it twice today and nothing really happens.
I'm still interested in auto-fetching every 2 seconds regardless if you "follow" or not

It should work now with latest, I seem to have missed to convert the output into a table.

I'm still interested in auto-fetching every 2 seconds regardless if you "follow" or not

I really don't see the reasons to add that since we basically have live tailing (that should work now).


Added pypy and pypy3

These are the same as python.py and python3.py

Well, yes they have the same hello world programs, but thy are not completely same. Pls refer to this link-
https://doc.pypy.org/en/latest/cpython_differences.html

I have not added this to the readme. Pls add it if you are merging is pull.

I see where you're coming from. cpython and pypy are both implementations of the same language.


enhancing ui of signup page

the sign up  button is not properly  aligned and lacks margin and padding.
i would like to work on it and add border padding margin and alignment.
pls assign me the issue under gssoc

We can enhance ui of sign up page with using css styling. I would like to work on this issue usnder GSSoC '23 . Plaease assign me this issue.


feat/places-as-destinations-and-comments

Please review before merging.

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


disable \backslash

Another clash with MathJax core.
We put it in mathchar0mi as u005c
https://github.com/AmerMathSoc/mathjax-unicode-math/blob/a0ffbca9bde3b1d44407a1f6dfcf717a0e18f8a9/ts/unicode-math.ts#L1115
MathJax-src has it in mathchar0mi as u2216
https://github.com/mathjax/MathJax-src/blob/eb9c51fbcdaf5b18539b9495564459d9e8353733/ts/input/tex/base/BaseMappings.ts#L132
and in delimiters as \\
https://github.com/mathjax/MathJax-src/blob/eb9c51fbcdaf5b18539b9495564459d9e8353733/ts/input/tex/base/BaseMappings.ts#L374

Current output:

After disabling:


Configure dependencies for builds targeting WASM

Description
https://github.com/apollographql/apollo-rs/issues/217
While exploring the possibility of targeting WASM, it would be great if users of apollo-compiler could target WASM.
In using the crate in a wasm-pack context, I found the"js" feature in the UUID crate and updating the version. See https://github.com/apollographql/apollo-rs/pull/287 for what is required to support this.

yes! definitely a great first step for supporting wasm

Was this resolved via https://github.com/apollographql/apollo-rs/pull/287?

yep, you're right @abernix


Using print as a method name creates a SyntaxError

This should be valid but it creates an error:
class Foo {
  fn print() { // out: SyntaxError: unexpected "print"

  }

}

Fixed


Remove register details

Remove the register type and register specifier info from Provenance.entity, as we weren't able to reach consensus on whether it should be there or somewhere else.
Let's still leave the removed parts visible in comments, so that it is easier to refer to them when the work continues in the future.

For review, only the most recent commits, starting from b0e966a72d50ae2b61174a48beaf21353cd1a2ee are applicable. Other changes are from previous pull requests that are still waiting to be merged.


Latest Android build has failed

I reported this on GitLab but I had not seen that the repo was just a mirror.

Hello, I'm just reporting this in case you have not noticed yet.
I don't have much experience with Android but it looks like it's just something related to licenses.

This should be fixed as of https://github.com/Calinou/godot-builds-ci/commit/373f20e5d7f5e9263b27199beb8e4db1f13a414a.


working dir variable in the bash scripts like clusteradmin.sh doesnt work on osx

instead of this which for me doesnt work on osx 10.9.5
WORKING_DIR=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
you could have the below which works on osx/linux
WORKING_DIR="${BASH_SOURCE[0]}";
if ([ -h "${WORKING_DIR}" ]) then
while([ -h "${WORKING_DIR}" ]) do WORKING_DIR=readlink "${WORKING_DIR}"; done
fi
pushd . > /dev/null
cd dirname ${WORKING_DIR} > /dev/null
WORKING_DIR=pwd;
popd  > /dev/null

All scripts have been updated


python3Packages.gensim: get src from repo, unpin cython_0

Follow up to #352711.
Fixes gensim for Python 3.12.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I can confirm that is builds fine locally with python 3.12.
closes https://github.com/NixOS/nixpkgs/issues/352593
thank you @tobim !

Please replace numpy with numpy_1, the default will soon be 2.x.
Related https://github.com/piskvorky/gensim/issues/3560

Oh, unfortunately that is not enough. gensim depends on scipy, which already updated to numpy 2 in staging-next. And it is no longer compatible with numpy 1.x.
The upstream upgrade to Numpy 2 https://github.com/piskvorky/gensim/pull/3563 seems to be progressing slowly.


Workaround for lack of enum support by DBAL

Unfortunately this package does not work if the database has enum columns. DBAL does not support enum column types. In this PR the enum columns are mapped to strings, so we can still use the package when we have enum columns in our database. The TypeScript models will have a string type instead of an enum. Maybe not the best solution to this problem, but maybe it helps others for the time being.

yo, thanks! appreciate the pr


Add sequencer features

Supporting panning and sample-rate-overriding would make clownaudio suitable for sequenced file formats, like Organya.

Sample-rate overriding was implemented in 4a44cf38fed922e7db0f68fee2fac18266eb9815.


No attributes to sensor

Hey guys,
My HA server is to far away from my scale, so i have a ESP32 with ESPHome to get the data to HA. I get the weight and impedance for 2 users. Ive entered these sensors in the bodymiscale.yaml, but i dont get any attributes like BMI, Bone mass etc.
Is There something i have done wrong? Does the calculated data appear as attributes to the original sensors?
I have 4 sensor, 2 per user, both with weight and impedance. My bodymiscale.yaml is as follow:
twan:
  sensors:
    weight: sensor.weight_user1
    impedance: sensor.impedance_user1
  height: 185
  born: "xxxx-xx-xx"
  gender: "male"
  model_miscale: "181B"

jennifer:
  sensors:
    weight: sensor.weight_user2
    impedance: sensor.impedance_user2
  height: 175
  born: "xxxx-xx-xx"
  gender: "female"
  model_miscale: "181B"

Hey guys,
My HA server is to far away from my scale, so i have a ESP32 with ESPHome to get the data to HA. I get the weight and impedance for 2 users. Ive entered these sensors in the bodymiscale.yaml, but i dont get any attributes like BMI, Bone mass etc.
Is There something i have done wrong? Does the calculated data appear as attributes to the original sensors?
I have 4 sensor, 2 per user, both with weight and impedance. My bodymiscale.yaml is as follow:
twan:
  sensors:
    weight: sensor.weight_user1
    impedance: sensor.impedance_user1
  height: 185
  born: "xxxx-xx-xx"
  gender: "male"
  model_miscale: "181B"

jennifer:
  sensors:
    weight: sensor.weight_user2
    impedance: sensor.impedance_user2
  height: 175
  born: "xxxx-xx-xx"
  gender: "female"
  model_miscale: "181B"

hello,

is your bodymiscale.yaml file in the components directory ?
Did you add this line in your configuration.yaml?
bodymiscale: !include components/bodymiscale.yaml

hello dckiller51,
Yes, i did both of those. First, ive added it to the vustom/components/bodymiscale/bodymiscale/yaml, but that also didnt work. Ive changed it to your suggestion, rebooted, and gathered new data, but still no attributes. They should appear as attributes to the sensor.weight_userX sensor?

bonjour dckiller51,
Oui, j'ai fait les deux. Tout d'abord, je l'ai ajouté à vustom/components/bodymiscale/bodymiscale/yaml, mais cela n'a pas non plus fonctionné. Je l'ai modifié selon votre suggestion, redémarré et collecté de nouvelles données, mais toujours aucun attribut. Ils doivent apparaître en tant qu'attributs du capteur sensor.weight_userX ?

You must have a bodymiscale.twan or bodymiscale.jennifer

 |- components
 |  |- bodymiscale.yaml
 |- custom_components
 |   |_ bodymiscale
 |      |- translations
 |         |- en.json
 |         |- fr.json
 |      |- __init__.py
 |      |- body_metrics.py
 |      |- body_scales.py
 |      |- body_score.py
 |      |- const.py
 |      |- group.py
 |      |- manifest.json
 |      |- strings.json
 |- configuration.yaml

Yess,
Thats exactly how it looks like, and indeed, the sensors bodymiscale.twan and bodymiscale.jennifer are created!
Thanks guys!
Did i miss the description that the bodymiscale.user sensors are created? If not, perhaps its wortly to mention that in the description of the component.


Update sgp_parser.py -- remove repeated functions

resolves #1

merged, thanks

contact me for more discussion in better engine perfomance, tg: @BradMoonUESTC


What does the --prefix flag do?

Hi there,
Awesome game, thank you! Been spending a lot of time here.
This is not an issue per say, but I am just curious, in your package.json file, what does the --prefix do? Is it for heroku or?
    "client": "npm start --prefix client",
    //                   ^^^^^^^^
    "heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install --prefix client && npm run build --prefix client"
    //                                                           ^^^^^^^^                         ^^^^^^^^

Thanks in advance.

Hey, glad you liked the game!
Okay so what the --prefix client does is, it runs the command inside of the client folder. So you can run the script at the root of the project and it will execute the command associated with that script inside the client folder.
So npm start --prefix client is the same as
cd  client
npm start
Hope that cleared things out!


Feature request: Switch between active debug configurations

Hi @ArturoDent, thank you for writing this awesome plugin!
Question: Would it possible to assign a shortcut to switch between 2 active debug sessions?
Context:
Consider a multi-target (or "compound") configuration, where VS Code concurrently runs & debugs two processes (e.g., a React client and a node-based Server).
Both processes send debug messages to the debug console panel, and one can select the active process either in the debug configuration dropdown menu (usually on the left pane, on the top) or in the debug console drop down menu.
The inconvenience is that as far as I can see, switching between the active sessions can only be done with the cursor.

In v0.8.2 I have added two commands to switch to the next or previous active debug session.  Please see the Commands section of the README.  There are no default keybindings but the README shows how to make your own.
There is no straightforward way to switch between sessions (as the issues that follow discuss) so these commands do so through a few list navigation commands but it seems to work.  You can easily get the active debugSession but there is no api to set the active session unfortunately.
https://github.com/microsoft/vscode/issues/39560
https://github.com/microsoft/vscode/issues/108844
I will close this issue.  If you find any issues with these commands please file a new issue.


keycloak does not check whether Request Object expired based on "exp" claim and return appropriate error

According to FAPI-RW-5.2.2-13(https://openid.net/specs/openid-financial-api-part-2-ID2.html#authorization-server), Request Object shall contain "exp" claim, and it implies that the authz server should rejects the client request with Request Object which has already been expired by judging "exp" claim value. Test case expects "invalid_request_object" error.

related keycloak-jira ticket created : https://issues.jboss.org/browse/KEYCLOAK-11260

closed. https://issues.redhat.com/browse/KEYCLOAK-14204


Support Ontology network

Do you want to request a feature or report a bug?
request a feature
https://twitter.com/OntologyNetwork/status/1495669773568737280
OntologyNetwork will support EVM soon, what should we do to let subgraph support ontology chain? Our testnet has already support EVM, its endpoint is: https://polaris1.ont.io:10339.

Hi @diucicd - you can verify compatibility by running a local graph-node with Docker and deploying subgraphs to that local node, updating to use your Ontology endpoints: docker-compose

Closing this for now, please re-open if your chain is EVM compatible and the above suggestion does not work


[doc] Add notes to explain about associativity of, and precedence between operators

The doc of jinja lacks of descriptions about the followings, if I'm not mistaken.

associative properties of operators
precedence between operators

Therefore, there are some cases users may not be able to expect how expressions will be evaluated beforehand, like the following examples, IMHO.

1 + 2 * 3
1 + "2" | int
xs | length > 0  (where xs is a list, e.g. [1, 2])
xs | length > 0 is true

To resolve this, I would like to suggest to enhance the doc (the section "Template Designer Documentation" should be suitable for this purpose, I think), to add some notes or a section to explain about associativity of, and precedence between operators like the followings.

Operators are left associative basically, that is, grouped from left to right. For example,

{{ 1 + 2 - 3 }} will be evaluated as {{ (1 + 2) - 3 }}
{{ 3 ** 2 ** 3 }} will be evaluated as {{ (3 ** 2) ** 3 }} unlike python evaluates it as {{ 3 ** (2 ** 3) }}
{{ xs | list | length }} will be evaluated as {{ (xs | list) | length }}

Operators have precedence if similar named functions exist in python. For example,

{{ 1 + 2 * 3 }} will be evaluated as {{ 1 + (2 * 3) }} and return 7

Some operators may have higher priority than other operators. For example,

{{ 1 + "2" | int }} will be evaluated as {{ 1 + ("2" | int) }} and return 3
{{ [3] + [2, 1] | sort }} will be evaluated to {{ [3] + ([2, 1] | sort) }} and return [3, 1, 2]

Precedence between operators are ... (explanation) ...

BTW, this is related to #379 and may close it.

To avoid unnecessary confusion, I update the title and description of this issue.


problem: cannot build on openbsd

solution: include socket.h before if.h since if.h relies on types defined in socket.h
With this change I am able to build dpinger on openbsd using the Makefile.freebsd:
before:
$ make -f Makefile.freebsd
cc -O2 -pipe    -c dpinger.c
In file included from dpinger.c:42:
/usr/include/net/if.h:358: error: field 'ifru_addr' has incomplete type
/usr/include/net/if.h:359: error: field 'ifru_dstaddr' has incomplete type
/usr/include/net/if.h:360: error: field 'ifru_broadaddr' has incomplete type
/usr/include/net/if.h:387: error: field 'ifrau_addr' has incomplete type
/usr/include/net/if.h:393: error: field 'ifra_dstaddr' has incomplete type
/usr/include/net/if.h:395: error: field 'ifra_mask' has incomplete type
/usr/include/net/if.h:438: error: field 'addr' has incomplete type
/usr/include/net/if.h:439: error: field 'dstaddr' has incomplete type
In file included from /usr/include/net/if.h:454,
                 from dpinger.c:42:
/usr/include/net/if_arp.h:79: error: field 'arp_pa' has incomplete type
/usr/include/net/if_arp.h:80: error: field 'arp_ha' has incomplete type
*** Error 1 in /home/joeym/git/joemiller/dpinger (<sys.mk>:87 'dpinger.o')

after:
$ make -f Makefile.freebsd
cc -O2 -pipe    -c dpinger.c
cc   -o dpinger dpinger.o -lpthread
dpinger.o: In function `main':
dpinger.c:(.text+0xebf): warning: warning: strcpy() is almost always misused, please use strlcpy()

$ ./dpinger
Usage:
  ./dpinger [-f] [-R] [-S] [-P] [-B bind_addr] [-s send_interval] [-l loss_interval] [-t time_period] [-r report_interval] [-d data_length] [-o output_file] [-A alert_interval] [-D latency_alarm] [-L loss_alarm] [-C alert_cmd] [-i identif
ier] [-u usocket] [-p pidfile] dest_addr

Thanks for writing dpinger, btw! I've been using apinger for years and recently switched to dpinger.

I will take this in as it doesn't hurt anything, however I think this is something that should be fixed in the OpenBSD net/if.h include file.

And thanks. :)


"function [new] or associated item not found in" mio::poll::Poll

mio version 0.7.0
rustc version 1.44.0-nightly 2020-03-28
use mio::event::Event;
use mio::{Events, Interest, Poll, Registry, Token};

fn main() {
    let mut poll = Poll::new();
}

produces error:
error[E0599]: no function or associated item named `new` found for struct `mio::poll::Poll` in the current scope
 --> examples\src\bin\sandboxTwelve\main.rs:5:26
  |
5 |     let mut poll = Poll::new();
  |                          ^^^ function or associated item not found in `mio::poll::Poll`

@kulicuu In your Cargo.toml you will need to specify the os-poll feature in order to have a working Poll implementation:
[dependencies]
mio = { version = "0.7.0", features = ["os-poll"] }

Without specifying that feature, Poll only acts like a shell.
For some more information, you can look at the features module.


Allow for dynamic list item height.

Allow for dynamic tree view item height by making the nodeHeight an optional (= allow for itemExtent passed to the ListView to be null).
This one-line change does not impact the example provided in the repo, but does allow for a custom tree view to be built whose tiles have a varying height.

Hey @mz2!
Thanks for your contribution!
Just to let you know that I'm working on version 1.0 and it includes dynamic node height. :blush:


Fix a retain cycle in PostgreSQLConnection

By adding a handler that retains self on the channel's close future, the connection gets retained until the channel is closed. We break the retain cycle by using a weak reference to self. The completion handler in send(:onResponse:) is enough to ensure that the connection stays alive while a message is sent to the server.

Changing base branch to 1 as master is unaffected.

Currently the connection automatically closes in deinit. Isn't it the intended behavior?
https://github.com/vapor/postgresql/blob/c9978744e6ddb2b0dc42858706c10de30c1f78ae/Sources/PostgreSQL/Connection/PostgreSQLConnection.swift#L134

@baarde ah yeah, you are right. This LGTM. 👍

Hey @baarde, you just merged a pull request, have a coin!
You now have 7 coins.


[core] Set the no_more_fragments correctly

We currently set the no_more_fragments flag only when there is no current proposal in a location where this may never happen, and do not set it when the checkpoint reconstruction succeeds but does not include this validator. In this fix, we now set the no_more_fragments if our two strategies for recovering the checkpoint fail.

Thanks! Is there a test that can trigger the no_more_fragments case?

Good point -- will add a test!


[NF] New magnetic workflow: transient resolution (for Elmer coupling at least)

Hello,
The aim is to talk about a new magnetic worklow that can call Elmer to perform transient magnetic simulations.
Following a post of @SebGue in https://github.com/Eomys/pyleecan/issues/200, the aim is to agree on how to choose a specific magnetic workflow, among at least magnetostatics (=steady state/transient) for MagFEMM and magnetodynamic (=transient) for MagElmer. One can also think of magnetoharmonic and there are probably others. Currently there is no need to state on other than transient.
In MagFEMM it is only possible to run magnetostatics simulation in pyleecan at the moment (besides, FEMM can also perform magnetoharmonic (mono harmonic) resolution). Presently, MagFEMM can already be used to perform either steady state or transient simulations depending on the currents and rotor position that we pass in Input.elec. Since it is magnetostatics, MagFEMM can't calculate transient effects such as induced currents for example (for magnet losses, for SCIM etc.).
For MagElmer I don't know how much magnetostatics is different from magnetodynamics, and whether it is necessary to split both solver types in two MagElmer models (e.g. MagElmerSta / MagElmerDyn).

If not, I propose to define a "type_solver" attribute in Magnetics class that is a string among "static", "transient" (or "dynamic" as you wish), and "harmonic", and that we check in MagElmer.comp_flux_airgap() to set up correctly the solver. This "type_solver" attribute also makes sense for MagFEMM if we do magnetoharmonic one day, since there is no big change in solve_FEMM to do static or harmonic analysis.

If yes, then we don't need this type_solver yet in Magnetics object, we have to build both classes MagElmerSta / MagElmerDyn and call the good object in the simulation workflow.

@ajpina, @SebGue, would you have any input on this ?
Best regards,
Emile

Hello Emile, you may wait for some feedback, but I didn't had time yet.
If it's okay to you I will answer this evening. BR S

Hello Emile,
I prefer the first solution with the additional Magnetics property 'type_solver'. Otherwise there will be classes with a lot duplicate code for no reason as you also stated. The current MagFEMM will then be 'static' (as there is no harmonic implementation yet).
As for the details on the Elmer workflow, I couldn't contribute much for now, since I haven't used it yet.
But I found some very interessting publication respectively tutorial on IM simulation with Elmer. Do you have some idea where we could collect such information, maybe on pyleecan.org?
Best regards, Sebastian

Hello Sebastian,
Regarding where to put publication and reference, I would say in run method of the model, in tests, in issues and on pyleecan.org but we need to find a new way to organize the website for that (open for idea on this point). What about gathering the data on pyleecan.org and adding the links in the other places I mentioned ?
By the way, in few days we should reorganize the "media" part to gather video, publications, images for pyleecan.
Best regards,
Pierre

Hi,
You guys have a better picture of the overall architecture of pyleecan and I am sure that you can split the objects/methods in a proper way. I would prefer to keep the methods for creating static or transient problems in different functions (for the same MagElmer object) rather than dealing with those in a single function. Harmonic analyses are useful for Induction machines but for the moment I can commit to work on the settings for solving synchronous PM machine models. After, by following the publication/tutorial above suggested, the settings for solving IMs can be extended.
Regarding post-processing, Elmer writes the mesh and results in VTU file format so I was thinking on dumping those into a MeshVTK/MeshSolution objects to calculate for example flux linkages. Electromagnetic torque and airgap flux density can be treated in a different way.
So I will wait for you guys to decide the best way to implement this while being compatible with your plans for MagFEMM future approach. I saw the skeleton created by @SebGue and I am fine with it if you all agree that's the best way to move forward.
Best,
Alejandro

Hello Alejandro,
Converting VTU files to MeshVTK/MeshSolution is a good idea, that way we will be able to reuse all the work on the mesh (post-processing, losses computation...).
Emile is reorganizing the Magnetic module organization in #206 we will have to reorganize the Elmer skeleton according to this new organization.
Best regards,
Pierre

Hello Alejandro,
do you have an idea when you will be able to contribute your work. I just ask because if you want to start immediately, I would propose you are using the actual skeleton and I will adapt it to the new organization after you finished. Else I will update the skeleton first.
What do you think?
BR, S

Hello @ajpina and @SebGue,
For your information I have updated the skeleton following latest improvements of PR https://github.com/Eomys/pyleecan/pull/206, I suggest you to wait for the PR to be merged in master. It should be done anytime soon, we are currently running the tests.
Best regards,
Emile


help(linebreak-style exception): running yarn lint command throws many "Expected linebreak to be 'LF'" exceptions

What are you trying to do?
I try to run yarn lint command on the source, whenever I do that I get the following exception
"linebreak-style         Expected linebreak to be 'LF'", almost on every line.
What troubleshooting steps have you tried?
run yarn lint command on the source
Reproduction
Steps to reproduce:

yarn lint

Environment

Operating System (e.g. Windows, 10x):

This is working as expected. Your line endings are probably set to CRLF by default. At least in vscode you can change them here:


Create Topics (Array of JSON Topics) - Broker not available

Basically the array of JSON objects fails to create the topics, but a simple array of strings to create topics works.  See below.
Sample Code (Array of JSON objects)
const topicsToCreate = [{
topic: 'topic1',
partitions: 1,
replicationFactor: 2
},
{
topic: 'topic2',
partitions: 5,
replicationFactor: 3
}];
client.createTopics(topicsToCreate,(error, result) =>{
console.log(error);
console.log(result);
});
Error:
{ BrokerNotAvailableError: Broker not available
at new BrokerNotAvailableError (/code/node_modules/kafka-node/lib/errors/BrokerNotAvailableError.js:11:9)
at Socket. (/code/node_modules/kafka-node/lib/kafkaClient.js:769:19)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at TCP._handle.close [as _onclose] (net.js:554:12) message: 'Broker not available' }
undefined
sending { topic6: { '0': 3 } }
It works when I just send in a array of string like this:
client.createTopics(['j1','j2'],(error, result) =>{
console.log(error);
console.log(result);
});
Output:
topic "j1" with 1 partitions:
partition 0, leader 0, replicas: 0, isrs: 0
topic "topic6" with 1 partitions:
partition 0, leader 0, replicas: 0, isrs: 0
topic "j2" with 1 partitions:
partition 0, leader 0, replicas: 0, isrs: 0
But want I really want is to setup the partitions.

Node 8
Kafka-node version: "kafka-node": "~3.0.1",
Kafka version:  kafka_2.11-<IP_ADDRESS> (Spotify docker)

I was just able to verify that using the kafkaClient, you can create a topic and pass in the amount of partitions you want so I'm not seeing where the issue is. Maybe the kafka version you are using?
Using Kafka 2.0 and kafka-node 3.0.1 (I've also tested with kafka_2.11-<IP_ADDRESS>):
this.client = new kafka.KafkaClient(this.options); // you can also use new kafka.Admin()
this.client.createTopics( [
    {
      topic: 'my-2nd-topic',
      partitions: '5',
      replicationFactor: 1
    }], (error, result) => {
       console.log(error); / /according to the protocol, the result is empty unless if there are errors
    });

And running the command line tools to inspect the partitions (i'm sure we'll implement something in the library soon):
./kafka-topics.sh --describe --zookeeper localhost:2181 --topic my-2nd-topic
Topic:my-2nd-topic	PartitionCount:5	ReplicationFactor:1	Configs:
	Topic: my-2nd-topic	Partition: 0	Leader: 1001	Replicas: 1001	Isr: 1001
	Topic: my-2nd-topic	Partition: 1	Leader: 1001	Replicas: 1001	Isr: 1001
	Topic: my-2nd-topic	Partition: 2	Leader: 1001	Replicas: 1001	Isr: 1001
	Topic: my-2nd-topic	Partition: 3	Leader: 1001	Replicas: 1001	Isr: 1001
	Topic: my-2nd-topic	Partition: 4	Leader: 1001	Replicas: 1001	Isr: 1001

Alternatively to the command line, you can call client.loadMetadataForTopics([topicName]) which will also return the number of partitions for that topic.
Can you try using a different version of kafka?

+1

We had similar issues and the reason was our replicationFactor value. For some reason our create topics request didn't give any errors and still no topics were created. We had only one kafka broker and replicationFactor was set to 2 and that's not allowed. You need to have same amount of brokers running as what you have defined to replicationFactor.
Hope this helps others struggling with this.

+1

+1

Try to use 9092 port for connection

For me it is a issue with memory, I run kafka in kubernetes, and limited its memory to 1GB. That was the reason I was facing this issue.
When I increase it to 2GB, I don't see this issue anymore.

My docker-compose file
version: '3'
services:
  zookeeper:
    container_name: zookeeper
    image: confluentinc/cp-zookeeper
    ports:
      - "32181:32181"
    environment:
      ZOOKEEPER_CLIENT_PORT: 32181
      ZOOKEEPER_TICK_TIME: 2000
      ZOOKEEPER_SYNC_LIMIT: 2

  kafka:
    container_name: kafka
    image: confluentinc/cp-kafka
    ports:
      - "9094:9094"
    environment:
      KAFKA_ZOOKEEPER_CONNECT: localhost:32181
      KAFKA_LISTENERS: INTERNAL://localhost:9092,OUTSIDE://localhost:9094
      KAFKA_ADVERTISED_LISTENERS: INTERNAL://localhost:9092,OUTSIDE://localhost:9094
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,OUTSIDE:PLAINTEXT
      KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
      ES_JAVA_OPTS: "-Xms512m -Xmx3000m"

and Producer code is
var kafka = require('kafka-node'),
    Producer = kafka.Producer,
	KeyedMessage = kafka.KeyedMessage,
    client = new kafka.KafkaClient({kafkaHost:"localhost:9094"}),

    producer = new Producer(client),
    km = new KeyedMessage('key', 'message'),
    payloads = [
        { topic: 'topic1', messages: 'hi', partition: 0 },
        { topic: 'topic1', messages: ['hello', 'world', km] }
    ];

client.createTopics(topicsToCreate, (error, result) => {

				echo ("------------------------KAFAK--------------------")
				console.log(error);
				console.log(result);
			});

Getting below error, while creating the topic before sending pay-load to topics
{ BrokerNotAvailableError: Broker not available (loadMetadataForTopics)
    at new BrokerNotAvailableError (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\errors\BrokerNotAvailableError.js:11:9)
    at KafkaClient.loadMetadataForTopics (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:891:21)
    at KafkaClient.loadMetadata (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:876:8)
    at KafkaClient.getController (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:267:8)
    at KafkaClient.sendControllerRequest (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:1219:8)
    at KafkaClient.createTopics (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:935:8)
    at C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\index_behind_kong.js:60:11
    at C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\baseClient.js:370:18
    at KafkaClient.loadMetadataForTopics (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\kafkaClient.js:891:12)
    at RetryOperation._fn (C:\wamp64\www\ws-proxy\HOZ-KOG-WebSocket_NodeJS\node_modules\kafka-node\lib\baseClient.js:360:12) message: 'Broker not available (loadMetadataForTopics)' }
undefined

I have gave the delay of 5 seconds before calling to createtopic method, however no luck found.
Kindly assist.

Finally got the solution. I was doing on mistake. By default Apache Kafka create the 3 replication, this mean its by default create 3 broker as well. However aboe YAML create only one broker, and looknig for other 2 which is not created. hence we are getting the same error.
Fix
version: '3'
services:
  zookeeper:
    container_name: zookeeper
    image: confluentinc/cp-zookeeper
    ports:
      - "32181:32181"
    environment:
      ZOOKEEPER_CLIENT_PORT: 32181
      ZOOKEEPER_TICK_TIME: 2000
      ZOOKEEPER_SYNC_LIMIT: 2

  kafka:
    container_name: kafka
    image: confluentinc/cp-kafka
    ports:
      - "9094:9094"
    environment:
      KAFKA_ZOOKEEPER_CONNECT: zookeeper:32181
      KAFKA_LISTENERS: INTERNAL://:9092,OUTSIDE://:9094
      KAFKA_ADVERTISED_LISTENERS: INTERNAL://:9092,OUTSIDE://localhost:9094
      KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: INTERNAL:PLAINTEXT,OUTSIDE:PLAINTEXT
      KAFKA_INTER_BROKER_LISTENER_NAME: INTERNAL
      KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
      ES_JAVA_OPTS: "-Xms512m -Xmx3000m"

then KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1 tell the Apache kafka that we Wanted to create only one replication and its work
Happy coding :)
Thanks & Regards
Jaiswar Vipin Kumar R.


Opam-switch output uses short git commit

I noticed in a build that the commit referenced was using the short form: https://builds.robur.coop/job/builder-web/build/9991177a-01a2-435d-be9d-eb8c359d6c98/f/opam-switch
src: "git+https://git.robur.io/robur/builder-web.git#ac8c31f2"

I think we should be using the full form as the commit may become ambiguous in the future. This would be a problem for reproducibility. I have not investigated the source of this.

The origin is the "opam switch --freeze" which uses OpamGit.revision (in https://github.com/ocaml/opam/blob/2.1.3/src/repository/opamGit.ml#L150-L163), and indeed maybe it is suitable to remove the String.sub from there...

If I understand correctly, https://github.com/ocaml/opam/pull/5342 solves the issue described above. But there doesn't seem to be much progress in that issue (it is "approved", but also "waiting for review").

The opam PR has been merged and will appear in 2.2.0 AFAICT. I'll close this issue since that's all we can do in here...


Unable to use.

I tried to import my point cloud data into the software to extract the skeleton, and followed ：
The ASCII encoded .ply format file.
The file path does not contain Chinese characters.
The size of the branch point cloud is about 17k, which is less than 20k points.
The branch point cloud is clear, and its shape is radial (It's a pear tree just looked like the dome tree. )
However, when I select the .ply file that I want to import, the application interface crashes, causing me to be unable to use it.

Please open your .ply file in text format, modify the header of file to the format of the sample .ply file provided, and then try again.

It works, thanks a lot!!!


Running Hybracter on Intel Mac - Medaka v2.0 won't install

Hello
I am trying to install version 0.11 on an intel mac and somehow I cannot finish installation without having medaka 2.0 which only has been deployes in conda for amd ...  Is there any way to work around it?  I guess I can run medaka 1.11 separately but I would prefer to run it with hybracter if possible
Thanks

Hi @suzumar ,
Are you using the flag --mac in your installation ? That should solve the issue and install medaka v1.8 (this is not too different from v1.11, which causes a lot of installation pain in CI tests).
Alternatively, you could use the docker container option that I have just added better documentation for thanks to this issue - it should let you run Medaka v2 as well.
George
George

Hi, I was able to install with the --mac, sudo hybracter install --mac -d /work/databases/hybra but I unfortunately still get the medaka error at running time.  I will try with the docker image.

@suzumar can you try using —mac at runtime too? Eg hybracter hybrid —mac or whatever.
george

Thanks ! That seems to work, I tried it before but I put the option too early in the command (before long-single) it seems to be working now.

No problems glad it worked! Closing this issue now


Fairfax County, VA Boundary vs Fairfax City, VA Boundary

The boundary you have for usa-va-fairfax-city is the same as what you have for usa-va-fairfax-county, but it shouldn't be.

Ok I was wrong!
The boundary above is the correct boundary for usa-va-fairfax-city, but the WRONG boundary for usa-va-fairfax-county. We have the correct county boundary at usa-va-fairfax-county-1.geojson
Is there a reason that we have both usa-va-fairfax-county-1.geojson and usa-va-fairfax-county.geojson and that the former has the wrong boundary for the county? If not, I suggest deleting the latter.

Ok I was wrong!
The boundary above is the correct boundary for usa-va-fairfax-city, but the WRONG boundary for usa-va-fairfax-county. We have the correct county boundary at usa-va-fairfax-county-1.geojson
Is there a reason that we have both usa-va-fairfax-county-1.geojson and usa-va-fairfax-county.geojson and that the former has the wrong boundary for the county? If not, I suggest deleting the latter.

@SLarrick Possible the census TIGER data had a duplicate record, I will look into it when we update to the latest TIGER file

@SLarrick Possible the census TIGER data had a duplicate record, I will look into it when we update to the latest TIGER file


Support latest THREE.js

Hi
It appears as this project is currently unmaintained:

The bundled version of THREE is r53.  The current latest is 65.
Running the examples in the readme gives the following output in chrome: WebGL: INVALID_OPERATION: getUniformLocation: program not linked (Could this be my error? It looks like an out-of-date software issue.)
Upgrading to the latest THREE (and tQuery, etc) causes further errors: Uncaught TypeError: Object [object Object] has no method 'addSelf' . Maybe this is the fix.
(edit) There are 20 open issues (6 of them PRs), and 1 closed issue.

So two big questions before I go any further:
Does has anyone made an up-to-date version, or know how much work is likely to be involved?  New to three.js here.
If I make an updated version and open a Pull, will it be merged?
Best,
--Peter

@unconed: thanks so much for this great work. Unfortunately dependencies on Three r53 and tquery become more and more of a deal breaker for me as the mathbox bits I am using are just one part of a bigger Three application. It shouldn't surprise anyone that great software like Mathbox is used in ways not originally intended or foreseen by the authors.
Here is my question: How is Mathbox2 doing? Any ETA? Or is there any chance to get access to an early alpha? For my current project I would require only pretty basic functionality around surface object.
Best,
Hermann

Great work indeed @unconed! Same question here. Can we get access to early alpha? We are using it in experimental work. So we can deal with instability of alpha.
Thanks!
Weidong


Tooltip support for bars

Mouse overing a bar or segment should display a tooltip with information set in Properties > Tooltip, similar to a bar chart
Available as part of the API, no tooltip to design.

Planning poker score: 3 (0-89 Fibonacci)

Dependent on #99


legacy terms being used

Enterprise Cloud Suite no longer exists.  It's now referred to as M365.
And On-Prem Azure MFA Server is no longer an option for customers, so it shouldn't be included in the planning documentation.  Since it's still a supported product, it should be kept in the troubleshooting documentation.

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

ID: 5739fab2-c6db-a7a9-b0e7-2bf4b85912a7
Version Independent ID: 82c58053-c1d7-d938-1b0f-f3f7f70ada3b
Content: Planning a Windows Hello for Business Deployment
Content Source: windows/security/identity-protection/hello-for-business/hello-planning-guide.md
Product: w10
Technology: windows
GitHub Login: @mapalko
Microsoft Alias: mapalko

@officedocsbot assign @jvsam

Hi @poortom1004 thank you for your feedback. The note on this doc that lists different pricing plans/options where Azure Multi-Factor Authentication is available is accurate. It says bundled with:

Azure Active Directory Premium, this includes Free, Office 365 apps edition, Premium P1, and Premium P2.
Enterprise Mobility Suite, this is M365's Identity & access management feature.
Enterprise Cloud Suite is for organizations with 500* or more users or devices and is available via the Enterprise Agreement.

More information here.

And On-Prem Azure MFA Server is no longer an option for customers, so it shouldn't be included in the planning documentation.

For the above, it still is for existing customers who have activated MFA Server prior to July 1, 2019 but not for new deployments. This documentation is still relevant to customers using MFA Server.
Hi @mapalko, if you are not busy, can you please let us know if there is an ongoing update or a plan to update this documentation or the doc set since it heavily references Azure MFA server? We appreciate any information you can provide us. Thank you.

Changes we made to update the on-prem deployment guides which fully rely on on-prem MFA server. The planning guide and other documents were not updated, but should be updated to no longer recommend on-prem MFA server because it cannot be enabled for new deployments.

Changes we made to update the on-prem deployment guides which fully rely on on-prem MFA server. The planning guide and other documents were not updated, but should be updated to no longer recommend on-prem MFA server because it cannot be enabled for new deployments.

@mapalko is it ok then to add the same Important and warning notes here?
How about @poortom1004's question with regard to terminology? The same terms are reflected here.
Thank you again!

Hello again @mapalko, we'll create a PR and suggest adding the warning note, similar to what's on the Azure doc and submit it for your review and approval. Thank you again.

Hello again @poortom1004, thank you for your patience. Please be informed that the suggested update to this documentation to include the on-prem MFA server warning (See pull request #5022), has been approved and merged. It will be displayed here at docs.microsoft.com in the next scheduled publishing run.
As for the terms used on this doc, there is no change as of this time, and there are still several contents across the Microsoft site where those terms are used (please see the links that I've provided). We also can't guarantee the accuracy of the information from external resources. However, rest assured that if there will be updates, the doc author will surely update this document as well.
We will now close this issue, but please continue to send your feedback and suggestions to improve the quality of the Microsoft documentation. Thanks for being part of the Microsoft Docs community!

@officedocsbot close


aborted modules must be poisoned

Using wasm-bindgen, a wasm module can be resumed after abort by calling into it again from JavaScript. This violates Rust's soundness preconditions: abort must terminate forward progress.
The wasm component model prevents wasm modules from being reused in this way by locking out calls into them after a module has trapped. However, wasm bindgen runs on wasm itself, which lacks this safeguard.
It is likely that wasm-bindgen should be implementing the check that poisons calls into it, or shuts off access in any other way. Even if this were implemented upstream for all users of wasm32-unknown-unknown, it would be best for wasm-bindgen to deprecate any interfaces that serve primarily to expose this route to unsound interactions to userspace. The ability to throw JavaScript exceptions has been called out as a likely example.
Also see:

https://github.com/rust-lang/rust/issues/117344

I left some additional questions/comments in the Zulip discussions, but to summarize: I'm not entirely convinced that this is a problem in wasm-bindgen because throwing a JS exception doesn't call abort().

What is the type of throwing a JS exception in Rust? AFAIK wasm is a no-unwind target. So every function that returns ! is like abort -- no code must ever be executed in this thread any more.

So every function that returns ! is like abort -- no code must ever be executed in this thread any more.

It is indeed !. Is this really required by Rust? It is hard to find any documentation around this.
As far as I can tell this isn't practically unsafe: even though no-unwind Wasm throws, it doesn't clear the stack where it throws. Obviously this can and will cause issues, but it shouldn't be unsafe or cause UB.
If this is just a "semantic" issue, I would like to propose to change that in Rust: not require ! to be an abort(), or at least on some platforms, e.g. Wasm.

The concern is around optimizations Rust performs that need this rule, so it's not something we can fix by just changing some wording somewhere.
I'll need to better understand what this function does and doesn't do... once I have time I'll catch up on Zulip and have some questions there.

So conclusion:
This is definitely unsafe and Rust should implement some sort of module poisoning when we abort.
From wasm-bindgens side, we could definitely just deprecate any throwing function, though I'm not sure if this does make sense because it's definitely a widely used and probably necessary future, so alternatively we might want to add poisoning to wasm-bindgen as well or when we add poisoning to Rust we should add it in a way that can cover issues like that.
I would prefer to wait for now, I will definitely find time to make some experiments in Rust and see how we can implement poisoning there.


Query / Tokenizing help, exact match

Hey,
i can't find exact matches or combined fields using the query api.
A fiddle:
https://jsfiddle.net/wvpcdLaa/16/
Can you help me with that?

Hi @DominikTrenz!
From what I see, the reason this isn't working is because you're using the pipeline to index the documents, but not using the pipeline for the search.  This means that you're looking for things like M 225 in the inverted index, but only processed tokens like m and 225 exist in that index.
I don't know if lunr.js can handle exact searches across token boundaries - @olivernn do you have any thoughts on that?

But isn't
q.term(searchTerm, { boost: 100 }) // exact match
using the pipeline?
How can i use the pipeline? Removing
 usePipeline: false
on the other lines changes nothing.
The searching across token boundaries would be pretty important.

Yes, that first query does use the pipeline - good point!  The issue here is that you're treating things like M 225 as a singular token, but lunr.js doesn't index it as a single token.  Even if you disabled stemming, you would still have m and 225 as distinct tokens in your inverted index, causing your query never to match.
Let's back up a bit and talk about the higher level: what are you hoping to use lunr.js to do? Are you currently using lunr for search and hope to expand its use, or are you trying it out for a new search feature in an application?

I made a custom tokenizer for the room field. So the exact match problem should be gone. But i have no idea how to search across multiple fields

I've updated the fiddle and now get results for all three queries that I think make sense.
The problem you were seeing is that lunr.Query#term performs no tokenisation of the term, i.e. uses that exact string in the search query. That means in the second query it is searching for the token "M 225". Unless you change the default tokeniser to not split on white space this is never going to match anything.
The lunr.Query interface could possibly make life a bit easier by accepting an array or a single object, and then calling #toString() on that object. That would allow you to do the following:
q.term(lunr.tokenizer("foo bar baz"))

To be fair, the current documentation could make this a bit clearer also.
@DominikTrenz Does that solve your issue?

2.2.0 includes the above mentioned change. I'm going to close this now as I think we've covered everything, feel free to re-open or comment if not.


Change findtag to work as a filter

This PR changes findtag to work as a filter

Codecov Report

Merging #114 (fb2abd1) into master (722fc3b) will increase coverage by 0.04%.
The diff coverage is 78.26%.

@@             Coverage Diff              @@
##             master     #114      +/-   ##
============================================
+ Coverage     55.79%   55.83%   +0.04%
- Complexity      613      616       +3
============================================
  Files           132      132
  Lines          2556     2561       +5
  Branches        287      289       +2
============================================
+ Hits           1426     1430       +4
- Misses         1050     1051       +1
  Partials         80       80

Impacted Files
Coverage Δ

.../seedu/address/logic/commands/DeadlineCommand.java
83.33% <ø> (-0.67%)
:arrow_down:

...seedu/address/logic/commands/DeleteTagCommand.java
0.00% <0.00%> (ø)

...java/seedu/address/logic/commands/EditCommand.java
95.77% <ø> (-0.06%)
:arrow_down:

...seedu/address/logic/commands/FavouriteCommand.java
85.29% <ø> (-0.43%)
:arrow_down:

.../address/logic/commands/HighImportanceCommand.java
0.00% <ø> (ø)

...java/seedu/address/logic/commands/NoteCommand.java
70.96% <ø> (-0.91%)
:arrow_down:

...a/seedu/address/logic/commands/FindTagCommand.java
83.87% <80.95%> (-2.50%)
:arrow_down:

...edu/address/logic/parser/FindTagCommandParser.java
100.00% <100.00%> (ø)

...ess/model/person/TagContainsKeywordsPredicate.java
93.33% <0.00%> (-6.67%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 722fc3b...fb2abd1. Read the comment docs.


remove: gpu: host1x: fix uninitialized variable use

https://github.com/ClangBuiltLinux/continuous-integration2/pull/564 to fix the linter failures


[WIP] Implements NamedTuple() for VOC

Signed-off-by: Ashutosh Saboo<EMAIL_ADDRESS>Implements namedtuple as mentioned here - https://docs.python.org/3.3/library/collections.html#collections.namedtuple .
Still a work in progress.
@eliasdorneles @cflee Please review this. :smile:

@eliasdorneles @cflee Could you help as to why the tests are failing for this?

Hey @ashutoshsaboo, thanks for contributing !
So, while namedtuple is a great thing, it is out of scope for the VOC project.
Like everything inside the collections module, it is a part of the standard library which can be implemented in pure Python (and it is in fact already in Ouroboros).
The path to have namedtuples available for Python code using VOC will be to integrate Ouroboros (see #348 ).
Therefore, I'm going to close this.


I hope to use SAM's own prompter to input point and label for inference

Description
I wish to extend the multimodal library and the code in the Convlora example
To fine-tune SAM through ConvLoRA, I hope to use the prompter of SAM itself to input point and label for inference to see whether the model has obtained the ability of the corresponding task during fine-tuning, rather than obtaining a good prompt encoding. This question is actually It's very important. I hope the code can be expanded to implement a prompt segmentation function similar to SAM, not just an end-to-end model.

Hi @Harry-zzh, would you like to have a look?


Added RHEL6/Centos6 availibility

Added the link to the github page for all python packages puppetboard relies on.

Hi @johan-open-future is this PR still of value? What is needed before it can be merged?

Closing this for inactivity. If there is a desire to continue it can be reopened.


Cache Terra/Aer wheel files in the CI

Summary
Github Actions Cache key is based on Terra/Aer latest main commit id. If there is no hit, Terra and or Aer will build wheel files and store them in the caches with that commit id as key. Next time, if no new commit to main happened for Terra/Aer, the wheel files saved to cache will be used instead of being built.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.514%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
694

Relevant Lines:
831

💛  - Coveralls


⚠ Jenkins Plugins Artifactory has degraded performance

In 9706841, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1373 ms

Resolved: Jenkins Plugins Artifactory performance has improved in fbafdef after 12 minutes.


Breakpoints on VARIABLE WIDTH and MULTIPLE SLIDES TO SCROLL

The ability to set the number of slides to show for different widths
document.addEventListener('DOMContentLoaded', function () {
        var multiSlides = document.querySelector('.js_multislides');

        lory(multiSlides, {
            infinite: 4,
            slidesToScroll: 4
            breakpoints[
                   {
                        width:600px,
                       slidesToShow:3
                   },
                  {
                       width:320px,
                       slidesToShow:1,
                       slidesToScroll:1
                  }]

        });
    });

@rougiain
Will have to look into this. In the next few months I will be working on Lory 2.0. My plan is to go through all existing features and options and smooth them all out. I will see about adding this to the feature planning I put together but in the end will side with whatever decision Max makes on this requested feature.

I know this is an old thread but I had a similar issue and thought my solution might be useful to someone else with the issue

import { lory } from 'lory.js';
import isEqual from 'lodash.isequal';

const carousel = document.querySelector('.home-box__carousel');

if (carousel != null) {

  const options = [
    {
      breakpoint: null,
      settings: {
        infinite: 1,
      },
    },
    {
      breakpoint: '(min-width: 43.75em)',
      settings: {
        infinite: 2,
      },
    },
    {
      breakpoint: '(min-width: 75em)',
      settings: {
        infinite: 4,
      },
    },
  ];

  const getValidOption = () => {
    return options.reduce((ret, obj) => {
      if (obj.breakpoint == null || ret === false || window.matchMedia(obj.breakpoint).matches) return obj.settings;
      return ret;
    }, false);
  }

  let carouselOptions = getValidOption();

  const loryCarousel = lory(carousel, carouselOptions);

  carousel.addEventListener('on.lory.resize', () => {
    const newOptions = getValidOption();
    if (isEqual(carouselOptions, newOptions)) return;
    carouselOptions = newOptions;
    loryCarousel.setup();
  });

}

.js_slide{
  width: 100%;
}

@media (min-width:43.75em) {

  .js_slide{
    width: 50%;
  }

}

@media (min-width:75em) {

  .js_slide{
    width: 25%;
  }

}

any news?

Any updates on this feature?


Use meituan hdfs to read or write train data and model

Add Meituan Hadoop File and Requirements:
Add the fedlearner-sgx-dev.dockerfile and requirements.txt for Meituan Hadoop integration.
Add Meituan Hadoop Environment in Gramine Template:
Incorporate Meituan Hadoop environment settings into the python.manifest.template for Gramine.
Perform Kerberos Authentication in hdfs_common.sh:
Execute Kerberos authentication within the hdfs_common.sh script.
Implement Meituan HDFS File Read and Write in the Training Step:
Carry out file read and write operations for Meituan HDFS within the training step, specifically in trainer_master.py and trainer_worker.py.

LGTM


(unfinished) load partial verifications too

cc @mitjat
here's whatever I had in an unfinished branch. might have been off on a wrong track though

#648


Build with VS2019 on Windows

Use vcpkg instead of nuget for zlib
Work around an issue when storing a non-copyable type in a map in a vector
Update vcxproj to VS2019 (v142 toolset, SDK version 10.0).
Remove code for guessing vcvars locations (mrustc should now be run in a VS developer command prompt such that cl.exe is available).

Sorry it's been ages to even respond to this (I've been really swampped in $dayjob)
I'm iffy about upgrading compilers... even though I'm actively using the VS2019 IDE.
However, it may be a good idea. I'll take a closer look once I get my local tree cleaned up again.

Sure, no worries. I needed it to work on VS2019, and thought this may be useful for you if/when you decide to update compilers. Feel free to take any parts of it that are useful.


fix: #291

support reference a scss files which installed to node_modules

#291

Please add commit message when fix bug.This is will auto link bugs and provider the convenience to track.
fix: some error

fix #xx

Hmm, I used GitHub to move your changes to a new branch but now it seems bugged out. Can you try submitting a new one with conflicts resolved and from a dedicated branch?

#302 Re-request merge.🤣


Video player overhaul

Once Vket submissions are over, the video player needs a rewrite since it's a mess from adapting the VRCSDK player and tacking on features. Hopefully by that point VRC will have released the manual sync updates which can be used to make the video player take up a much smaller bandwidth footprint as well.

#2 needs to be tested and integrated still, but it'd be good to show a button or something to the user that lets them retry the video indefinitely if they hit an error that they can correct.
#4 looping option needs to be added
Some cases where sync dies need to have more robust workarounds
Karaoke mode would be nice to have

Oh my god! I am looking for how to make vedio player tutorial  or UnityPack. I can't find it on YouTube or Google. Thank you very much indeed. I hope you can add functions like karaoke playlist in the next update! Thank you very much!

A karaoke mode would be amazing! We're currently using the video player in our karaoke world and it works great. If you were able to add a karaoke mode where we could queue up a bunch of karaoke songs without one video playing over the other that would be super convenient.

Merry Christmas

looks like someone "J.T." has made a playlist add-on. Basically pre-set youtube/stream links that play directly to the player. Will you be looking to include something like that in the re-write?

looks like someone "J.T." has made a playlist add-on. Basically pre-set youtube/stream links that play directly to the player. Will you be looking to include something like that in the re-write?

I'd love to see a control for GI Emissive Boost built into the player as well. If I remembered a thing about C# I'd probably take a crack at doing that myself but alas, it's been years since I've done anything with it...


GC non pruned states

Motivation

PR https://github.com/ChainSafe/lodestar/pull/4508 fixes an issue where Lodestar stores more states than necessary.

For Prater/Goerli nodes running for a few months that extra space accounted for 50GB / 120GB of db data pre-pruning.
I would be nice to automatically prune the existing states since it's very cheap and reliable to detect the non-pruned states.
Description
Once on start-up, read the archive_states bucket keys to check if there are states that should be pruned. If there are:

Remove them all in batches
Trigger compactRange on archive_states bucket. If this is not done the total db size does not decrease. See for details on some experiments https://github.com/ChainSafe/lodestar/issues/4515

marking as draft as test of this branch has caused issues in nodes, still unknown
Sep-07 14:02:22.367[eth1]            error: Error updating eth1 chain cache  Database is not open
Error: Database is not open
    at ClassicLevel.values (/usr/src/lodestar/node_modules/abstract-level/abstract-level.js:726:13)
    at LevelDbController.values (file:///usr/src/lodestar/packages/db/src/controller/level.ts:134:36)
    at DepositEventRepository.values (file:///usr/src/lodestar/packages/db/src/abstractRepository.ts:161:32)
    at DepositEventRepository.lastValue (file:///usr/src/lodestar/packages/db/src/abstractRepository.ts:226:31)
    at Eth1DepositsCache.add (file:///usr/src/lodestar/packages/beacon-node/src/eth1/eth1DepositsCache.ts:44:48)
    at Eth1DepositDataTracker.updateDepositCache (file:///usr/src/lodestar/packages/beacon-node/src/eth1/eth1DepositDataTracker.ts:211:30)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Eth1DepositDataTracker.update (file:///usr/src/lodestar/packages/beacon-node/src/eth1/eth1DepositDataTracker.ts:191:33)
    at Eth1DepositDataTracker.runAutoUpdate (file:///usr/src/lodestar/packages/beacon-node/src/eth1/eth1DepositDataTracker.ts:154:29)

From https://github.com/ChainSafe/lodestar/pull/4508#issuecomment-1239311911

Closing as it's not worth the complexity. The original issue was fixed long ago so most users do not need this retroactive cleanup


Can't install mkvtoolnix

I've been trying to install mkvtoolnix, and it keeps failing, with what appears to be a docbook related compile step.
Here's the gist of the output:
https://gist.github.com/anonymous/d074fe4340506a13cc5fd886221e0b43
I've verified that its not the formula by installing it on OS X and it works fine.

https://gist.github.com/anonymous/d074fe4340506a13cc5fd886221e0b43#file-01-configure-L150-L151
checking for xsltproc... no
configure: error: xsltproc wasn't found

This appears to be a formula-specific issue with mkvtoolnix. Would you like to create a PR to Linuxbrew/homebrew-core to add
depends_on "libxslt" unless OS.mac?

This issue was moved to Linuxbrew/homebrew-core#2338


[Sonic Heroes PC] Rumble doesn't work

I was trying this out on Sonic Heroes's 2004 PC port and while it works, the in-game rumble feature doesn't seem to register with Xidi using the set-up I'm using for the game. I've made sure that the game's Vibration setting is set to ON with the save file I was using but I get to vibration feedback from the game. I'm not sure if it's because I'm using the DigitalGamepad configuration to mimic a DirectInput controller for the game while using an Xbox Series controller. I am using Xidi v4.0.1 and the game seems to work with just the Xidi dinput8.dll and Xidi.HookModule.32.dll files.

This is likely because the Download calls fail. (I happen to have this game myself :))
From the logs:
[07/18/2022 22:38:09] [D] Creating effect with GUID SawtoothUp.
[07/18/2022 22:38:09] [D] Begin dump of effect parameters.
[07/18/2022 22:38:09] [D]   Control:
[07/18/2022 22:38:09] [D]     flags = 0x000003ff (DIEP_ALLPARAMS)
[07/18/2022 22:38:09] [D]   Basics:
[07/18/2022 22:38:09] [D]     dwSize = 56 (sizeof(DIEFFECT))
[07/18/2022 22:38:09] [D]     dwFlags = 0x00000022 (DIEFF_POLAR | DIEFF_OBJECTOFFSETS)
[07/18/2022 22:38:09] [D]     dwDuration = 300000
[07/18/2022 22:38:09] [D]     dwSamplePeriod = 0
[07/18/2022 22:38:09] [D]     dwGain = 10000
[07/18/2022 22:38:09] [D]     dwStartDelay = 0
[07/18/2022 22:38:09] [D]     dwTriggerButton =<PHONE_NUMBER> (DIEB_NOTRIGGER)
[07/18/2022 22:38:09] [D]     dwTriggerRepeatInterval = 0
[07/18/2022 22:38:09] [D]   Axes:
[07/18/2022 22:38:09] [D]     cAxes = 2
[07/18/2022 22:38:09] [D]     rgdwAxes[ 0] = 0x0000 (X Axis)
[07/18/2022 22:38:09] [D]     rgdwAxes[ 1] = 0x0004 (Y Axis)
[07/18/2022 22:38:09] [D]   Direction:
[07/18/2022 22:38:09] [D]     cAxes = 2
[07/18/2022 22:38:09] [D]     rglDirection[ 0] = 0
[07/18/2022 22:38:09] [D]     rglDirection[ 1] = 0
[07/18/2022 22:38:09] [D]   Envelope:
[07/18/2022 22:38:09] [D]     lpEnvelope->dwSize = 20 (sizeof(DIENVELOPE))
[07/18/2022 22:38:09] [D]     lpEnvelope->dwAttackLevel = 0
[07/18/2022 22:38:09] [D]     lpEnvelope->dwAttackTime = 200000
[07/18/2022 22:38:09] [D]     lpEnvelope->dwFadeLevel = 0
[07/18/2022 22:38:09] [D]     lpEnvelope->dwFadeTime = 280000
[07/18/2022 22:38:09] [D]   Type-Specific:
[07/18/2022 22:38:09] [D]     cbTypeSpecificParams = 16 (sizeof(DIPERIODIC))
[07/18/2022 22:38:09] [D]     lpvTypeSpecificParams->dwMagnitude = 10000
[07/18/2022 22:38:09] [D]     lpvTypeSpecificParams->lOffset = 0
[07/18/2022 22:38:09] [D]     lpvTypeSpecificParams->dwPhase = 0
[07/18/2022 22:38:09] [D]     lpvTypeSpecificParams->dwPeriod = 20000
[07/18/2022 22:38:09] [D] End dump of effect parameters.
[07/18/2022 22:38:09] [I] Created a force feedback effect and assigned it an identifier of 0.
[07/18/2022 22:38:09] [I] Invoked Xidi::VirtualDirectInputDevice<0>::CreateEffect() on Xidi virtual controller 1, result = 0x00000000.
[07/18/2022 22:38:09] [I] Invoked Xidi::VirtualDirectInputEffect<0>::Download() on force feedback effect with identifier 0 associated with Xidi virtual controller 1, result = 0x80040205.

We can see the effect the game is trying to create, but downloading fails. I will investigate.

Thank you, this development build fixed the missing force feedback function in the game with Xidi. I look forward to this fix in the full release.


Use node 16 in action and bump NPM package versions

This PR bumps the node version used in the action to node16, and bumps packages to their latest versions available.
I've tested the forked action and confirmed there were no regressions.

Xref #32
@limjh16 Can you help with the integration of this PR? Since the master branch hasn’t been updated since November 2020, is this repo still being maintained?

Hey! Sorry, haven't been using this action or actively maintaining this repo. But this looks like a simple non-breaking change, thanks for the ping!


Adding user journey map p2

Part 2 of Adding in user journey tracking into Perfume
Added in the User Journey map structure to keep track of data
Added in basic marking functions and tests

@Cdub-9 I did some files cleanup after I merge this PR.
Btw, when you have a minute can you fix the npm run lint script, so we can have easily lint our changes going forward. I noticed is not working correctly anymore.

@Zizzamia yes, I will fix script in next PR


Support doesn't work & limits app functionality.

I can't support your development & get some additional features. You did a great work and turned florisboard into good keyboard app with user friendly ui. It cant load prices and showing ??? on all buttons.

Hello. Do you have Google Play installed? Does the app have internet access?

Hello! I'm sorry for the late reply.
No, I don't have Google Play services installed on my device. I used the GitHub build  on my device without Google services. Is that required for the app to function correctly?
The app has full internet access.

Most likely you have the Google Play app installed in your device, but you are not logged in, so the purchase screen appears, but the amounts do not load.
We have a check for Google Play app on your device, if there is no app, then instead of the purchase screen you will see a window with a switch to unlock it.


An MARL paper in ICLR 2023

Order Matters: Agent-by-agent Policy Optimization

Thank you for providing the information on the papers. I appreciate it.


[firebase_messaging] All push notifications never appear in system tray, but are logged as 'Recently dismissed"

Describe the bug
I am using firebase_messaging with a flutter app. This app has not been worked on in a few months, but push notifications were previously working as expected. Sending a notification through a cloud function, or a test notification through the Firebase console would come through 100% of the time, and if the app was in the background the notification would play a sound and appear in the system tray (on virtual and physical devices).
After running the app recently, push notifications do not go into the system tray under any circumstances. In an Android 11 virtual device, the notification history for the device shows the notifications come through, but are listed under "Recently dismissed". They are placed here immediately and there is no sound or notification shown to the user.
I had recently moved from firebase_messaging 5.1.4 to 6.0.16. But moving back to 5.1.4 did not resolve the issue.
If the app is in the foreground, onMessage fires successfully. onBackgroundMessage was also added as per the readme instructions, but it does not fire under any circumstances (app in foreground, background, or closed). And again, under no circumstances do notifications go to the system tray. The notification from the cloud function is the same as before:
notification: {         title: title,         body: body,       },       data: {         type: dataType,         content: dataContent,         click_action: 'FLUTTER_NOTIFICATION_CLICK',       },       android: {         notification: {           channel_id: 'mychannel',         },         priority: 'high',       },       token: token     };
Expected behavior
Test notification sent from Firebase console should enter the device notification system tray and play a sound, remaining until dismissed by the user.
Flutter doctor
Run flutter doctor and paste the output below:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.19041.388], locale en-US)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[√] Android Studio (version 4.0)
[√] Connected device (2 available)

• No issues found!

Hi @jt274
Using official example  on firebase_messaging: ^6.0.16, notifications appear normal when is terminated

flutter doctor -v
[✓] Flutter (Channel stable, 1.20.1, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
    • Flutter version 1.20.1 at C:\Code\flutter_stable
    • Framework revision 2ae34518b8 (6 days ago), 2020-08-05 19:53:19 -0700
    • Engine revision c8e3b94853
    • Dart version 2.9.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[✓] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[✓] VS Code (version 1.47.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[✓] Connected device (1 available)
    • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

• No issues found!

Can you please provide your flutter run --verbose and a complete reproducible minimal code sample and steps by steps to reproduce this issue on Android 11 emulator
Thank you


Can we download Amazon Sponsored display snapshots using ScaleLeap amazon-advertising-api-sdk?

No yet.
Feel free to open a PR.
See https://github.com/ScaleLeap/amazon-advertising-api-sdk/tree/master/src/operations/snapshots

So based on other snapshots. do I need to create a new file for sponsored display ?

Sure, similar to other ad types, create a file, and fill it according to API docs.

please give access to push to feature branch

You need to fork and create a PR from your fork.

Closed via #914

when will this be released?

Sorry, no idea why, but the release didn't trigger from the PR merge. It usually does automatically. I just manually triggered it. It has been released.

Thank you


meltano ui should not default to development if FLASK_ENV is not set

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/408
Originally created by @mbergeron on 2019-02-22 18:51:50

Summary
(Summarize the bug encountered concisely)

[ ] If FLASK_ENV is not set to development, the app.env will be production.

Steps to reproduce
(How one can reproduce the issue)

[ ] Running FLASK_ENV= meltano ui should show Environment: production

What is the expected correct behavior?
(What should be happening)

[ ] Running FLASK_ENV= meltano ui should show Environment: development

P.S. I'm sorry @iroussos

View 3 previous comments from the original issue on GitLab


Additional Information

The Additional Information section refers to the 2.0 release notes in both text and link (should be 2.1).

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

ID: 3e5e5a06-9628-5869-d25a-8c9988b739ec
Version Independent ID: be7c2318-89d8-9cf7-e03e-31fc709bfece
Content: What's new in ASP.NET Core 2.1
Content Source: aspnetcore/aspnetcore-2.1.md
Service: unspecified
Product: aspnet-core
GitHub Login: @isaac2004
Microsoft Alias: riande

@serpent5  This is a copy/paste from the doc:
"For the complete list of changes, see the ASP.NET Core 2.1 Release Notes.
https://github.com/aspnet/Home/releases/tag/2.1.0"
I don't see where it's only referencing 2.0. Can you elaborate?

On the live version of the docs page at https://docs.microsoft.com/en-us/aspnet/core/aspnetcore-2.1?view=aspnetcore-2.1, it looks like this:

The link also takes you to https://github.com/aspnet/Home/releases/tag/2.0.0.

Ah, ok. Gotcha. I am wondering if something is out of sync with publishing. Will check on it.

It was fixed at https://github.com/aspnet/Docs/pull/6697/files
We're having a problem right now merging to live, but that will be fixed by EOD.

@serpent5  it's fixed on live now. Thanks for reporting this.


Software acceleration qustion

Hi, Does QAT_Engine support pure software-based acceleration of cryptographic operation when the host does not have the hardware of QAT card, and if so ,what are the software requirements?
thanks a lot

@yfaker QAT Engine supports software based accceleration using AVX512 from 3rd Generation Intel® Xeon® Scalable Processors family. Please refer qat_sw software requirements section for prerequesites and  Example 4  in example builds  for qatengine build

Thanks a lot~


Add the option to create layer from source without analysis

If I want to create a new layer from the node B0 without adding a new analysis

I drag'n'drop the node, but then, I get a new layer pointing to a new node C0 instead of my original B0!!

But, If I add an analysis, and then create the layer

cc @xavijam

Well, this is not a bug, it's a feature
we will have an analysis for linking layers, so closing :)

Sorry I commented in the wrong place. Reoppening.
Actual behaviour should be able by just duplicating a layer.

Actual behaviour should be able by just duplicating a layer.

Including styles, popup etc.?

When clicking on Duplicate layer (under the layer options when available) yes.
What abel is saying is different, just adding a layer as a datasource for another layer.

Use case: two layers from the same source node, one with one style and the other with an aggregated style, but you want to link your widgets to the node behind, so both layers are filtered at the same time

ha! I was first - https://github.com/CartoDB/cartodb/issues/8132


crda package in a few configs, but not all

I noted some CRDA issues when using @eliasbakken's Kamikazee distro, forked from this repo.
All I needed to do was apt-get install crda, and looking through your configs, the rcn-ee flavours have this in their deb_include list. Is there any reason the others don't?

The package list probably needs to be reviewed and minimized.  Aka, another package depends on cards...


Prevent JSON output from appearing in Jupyter notebooks when using CytoDataFrame.show_report()

When returning the plots from CytoDataFrame.show_report() Jupyter will attempt to render the JSON output alongside the Plotly plots. One can use a ; after the line to prevent this, but it's not ideal (semicolons get removed by formatters oftentimes and it's hard to remember to do this every time).

show_report was removed during the migration of CytoDataFrame and has also been removed from that project. Closing this issue as a result.


Ryan M: Watch (?:pretty|very|super|kind(?:a| of)|(?:tha|i)t'?s|so)\W*gay

Ryan M requests the watch of the watch_keyword (?:pretty|very|super|kind(?:a| of)|(?:tha|i)t'?s|so)\W*gay. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?:pretty|very|super|kind(?:a| of)|(?:tha|i)t'?s|so)\W*gay has been seen in 35 true positives, 2 false positives, and 0 NAAs.

Rejected by NobodyNada in Charcoal HQ. Reason: 'superseded by #4859'