KAFKA-15662: Add support for clientInstanceIds in Kafka Stream

Stacked on other PRs.
Add support for EOSv1:

to setup the Futures for task producers, we need to delegate creating the Futurs to StreamThread (we cannot do it within clientInstanceIds() but push into the main processing loop via maybeGetClientInstanceIds() to avoid race conditions with rebalancing
We also need to take care for rebalancing and changing tasks

if we get new tasks, we just ignore it for now (what I think is not totally correct yet... -- not 100% sure right now what the best approach is)
if we lose a task, we just clean it out by completing the future inside StreamTask#close() (in the end, the user facing call will always timeout anyway, but completing the Futures with null seem to be a good idea in addition)

Closing this PR. We are heading into 4.0 for which we plan to remove EOSv1, so maybe we won't need this any longer.


update hashbrown to 0.5

What have you changed? (mandatory)
Please explain IN DETAIL what the changes are in this PR and why they are needed:

update hashbrown 0.1 to 0.5

Please NOTE that:

NA

What are the type of the changes? (mandatory)

NA

How has this PR been tested? (mandatory)

NA

Does this PR affect documentation (docs) or release note? (mandatory)

NA

Does this PR affect tidb-ansible update? (mandatory)

NA

Refer to a related PR or issue link (optional)

NA

Benchmark result if necessary (optional)

NA

Add a few positive/negative examples (optional)

NA

Thanks @uvd
Have you compared the performance between 0.1 and 0.5?

#4976


integration with SDMLayers

Needs an implementation of rand or _generate that handles SDMLayers as inputs, in particular, handling of nothing values

SimpeSDMLayers are iterable, if that helps.
We can restrict to those with a Number inner type, then replace the nothing by zero(T), and badbing badaboom or whatever

this was done in #16


how to know what's the Exception: Cannot parse file

Zephir\Exception: Cannot parse file: /media/sf_vm_share/snail/snail/mvc/router/route.zep

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37477385-how-to-know-what-s-the-exception-cannot-parse-file?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

Could you please submit a full script we can use to reproduce the issue?

The Zephir Compiler did't tell me what's wrong with my code, which line wrong?
Just say "Zephir\Exception: Cannot parse file".
I Must read my code line by line.

namespace Snail\Mvc;

use Snail\Mvc\Route\Route;

class Router implements RouterInterface
{
    protected routes = [];
    protected matchedRoute;

    public function getMatchedRoute() {
        return this->matchedRoute;
    }

    public function add(string path = null, var httpMethods = null, int position = self::POSITION_LAST) -> <RouteInterface>
    {
        var route;

        let route = new Route(path, httpMethods);

        if position == self::POSITION_FIRST {
            let this->routes[] = route;
        } elseif position == self::POSITION_LAST {
            let this->routes = array_merge([route], this->routes);
        } else {
            throw new \Exception("Invalid route position");
        }

        return route;
    }

    private function checkMethod(var reqMethod, array methods) -> boolean
    {
        if count(methods) > 0 && methods[0] === "*" {
            return true;
        } else {
            return in_array(reqMethod, methods);
        }
    }

    public function handleRequest(<ApplicationInterface> application) {
        var route, methods, path, handler, routeFound = false;
        var pathInfo = _SERVER["PATH_INFO"];
        var reqMethod = _SERVER["REQUEST_METHOD"];

        for route in this->routes {
            let methods = route->getHttpMethods();
            let path = route->getPath();
            if this->checkMethod(reqMethod, methods) && pathInfo === path {
                let this->matchedRoute = route;
                let routeFound = true;
                //========================here======================
 		//routedFound = true; //I forget write 'let'
                break;
            }
        }

        if routeFound {
            let handler = this->matchedRoute->getHandler();
            if is_callable(handler) {
                return {handler}(application);
            } else {
                throw new \Exception("Invalid callable handler");
            }
        }
        return false;
    }
}

If I write let routedFound = true;  ->  routedFound = true;
I forget let keyword.
[root@centos Snail]# ./build.sh
PHP Warning:  json_encode(): type is unsupported, encoded as null in /usr/local/src/zephir/Library/CompilerFile.php on line 178
Zephir\Exception: Cannot parse file: /home/deploy/gitroot/Snail/snail/mvc/router.zep

How can I know that I forget write let, The Compiler tell nothing about this, Just output:
Zephir\Exception: Cannot parse file

It's hard to locate where my code went wrong.
My code is Here:
https://github.com/jockchou/Snail/blob/master/snail/mvc/router.zep

@sergeyklay problem with exception message
@jockchou you can change path/to/zephir/parser/parser/parser.c line
	if (parser_status->status != XX_PARSING_OK) {

to
	if (parser_status->status != XX_PARSING_OK) {
	ZVAL_ZVAL(return_value, &parser_status->ret, 1, 1);

then recompile shared library and output will be more informative
vovagp@debian:/tmp/Snail-master$ ./build.sh
Zephir\ParseException: Syntax error in /tmp/Snail-master/snail/mvc/router.zep on line 62

	                routeFound = true;
	---------------------------^

@vovagp https://github.com/phalcon/zephir/blob/master/parser/parser/base.c#L592-L602


Incorrect result with 2d normal mapped lighting when using a mask light and overlapped sprites

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Win10 Godot beta1
Issue description:
As can be seen in this gif, when there is just a light2d in add mode, the result looks correct. The rock on the right overlaps the one on the left, so as the light moves across it, you cannot see the overlapped portion of the rock on the left:

However, strange results occur when using a light2d in mask mode over these same normal mapped sprites. If these sprites are also lit with a light2d in add mode, the overlapping parts of the sprite start blending with each other and there is not the separation you would expect. Depending on where the light is, you will see the overlapped part  of rock left or rock right. You should only ever be seeing the overlapped part of rock right as it is on top.

Steps to reproduce:
Link to minimal example project:

(https://github.com/godotengine/godot/files/1537745/normal_mapped_lighting_bug.zip)

I think this is a duplicate, but i can't find the relevant issue. In any case, this will be fixed in 3.2 with single pass lighting, so kicking there.

I think this is a duplicate, but i can't find the relevant issue.

Duplicate of #8685.


Add flashmint leveraged tests

TODO:
[]  ETH and WETH cases

Closed in favor of https://github.com/IndexCoop/flash-mint-sdk/pull/36.
Will copy over some of the ideas soon. 👌


lax_control_flow: retry via function rather than via loop

Following-up on post-merge review: https://github.com/google/jax/pull/4161#discussion_r501995045

I like this version better, but wdyt? Do you like the other way? I think I just prefer functions to loops with breaks, but maybe it just comes down to personal preference...


best effort testing of SignalingClient ✅ 🚀

Checklist
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] I have read the contribution guidelines.
[x] Title of the pull request is clear and informative.
[ ] If applicable, the code is properly documented.
[ ] The code builds without any errors.
[ ] All unit and integration tests pass.

Description

authentication_provider public api tests
peer_connection_client public api tests
ssl_capable_socket public api tests
turn_credential_provider public api tests

As documented/requested in #185
Related Issues and PRs

#185

i'm still seeing transient vcpkg runs in CI. I don't know why that would be occuring...

looks like there's still some vcpkg work that CANNOT be done in parallel. I'll refactor so only the vcpkg project runs vcpkg 😓

this "right way ™" to solve this was to make the msbuild wrapper block on multiple calls. i've published that downlevel change and will validate it here (it works in unit tests/small manual test case) once it is live on nuget.org - see https://github.com/bengreenier/vcpkg.nuget/releases/tag/v1.3.0

if this is green (i believe it should be) then we are finally good to go here 😓 🙇


ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

Traceback (most recent call last):
File "/Users/evan/PycharmProjects/price-prediction/stock_price_forecast_regression_modeling.py", line 74, in
train_rmse = math.sqrt(mean_squared_error(y_train[train_offset:], np.array(train_pred_seqs).flatten()))
File "/Users/evan/PycharmProjects/price-prediction/venv/lib/python3.6/site-packages/sklearn/metrics/regression.py", line 238, in mean_squared_error
y_true, y_pred, multioutput)
File "/Users/evan/PycharmProjects/price-prediction/venv/lib/python3.6/site-packages/sklearn/metrics/regression.py", line 76, in _check_reg_targets
y_true = check_array(y_true, ensure_2d=False)
File "/Users/evan/PycharmProjects/price-prediction/venv/lib/python3.6/site-packages/sklearn/utils/validation.py", line 453, in check_array
_assert_all_finite(array)
File "/Users/evan/PycharmProjects/price-prediction/venv/lib/python3.6/site-packages/sklearn/utils/validation.py", line 44, in _assert_all_finite
" or a value too large for %r." % X.dtype)
ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
Process finished with exit code 1

We need more information or context around your problem to understand what is happening. Please tell us the following,

What data is being used
Which function is throwing an error for you (besides the error message)

Also have you checked for missing values\NaNs in your dataset, if you have these values, it will throw an error (which is what it looks like based on the error messages above)


Fix: repo creation failed when template was not defined

Repo creation with template uses owner to define owner of repo but creating a repo without template should be org

/release

/release


BLOOM does not seem to produce meaningful output

Using https://huggingface.co/Wauplin/bloomz-7b1.cpp/blob/main/ggml-model-bloomz-7b1-f16-q4_0.bin:
# cargo run --release --bin llm bloom infer -m models/bloom/ggml-model-bloomz-7b1-f16-q4_0.bin -p "Translate 'hello world' to Spanish."

[...]

[2023-05-01T02:11:49Z INFO  llm::cli_args] Model fully loaded! Elapsed: 2596ms
<s>Translate 'hello world' to Spanish.

(i.e. it does not produce any output after the full stop.)
However, leaving it incomplete leads it to generate output, just not particularly meaningful output:
# cargo run --release --bin llm bloom infer -m models/bloom/ggml-model-bloomz-7b1-f16-q4_0.bin -p "Translate 'hello world' to Spanish"

[...]

[2023-05-01T02:12:45Z INFO  llm::cli_args] Model fully loaded! Elapsed: 1499ms
<s>Translate 'hello world' to Spanish-language learners whoo queensuite dediaryan, ankeeping a.

This is probably an issue with the inference somewhere.

I'll try this one as well

I haven't managed to be able to replicate the 0 output after a full stop but still get garbled nonsense

The same problem does sometimes happen to this model as well
user@Users-Laptop bloomz.cpp % ./main -m ~/models/ggml-model-bloomz-1b1-f16-q4_0.bin -t 8 -n 128 -p "Translate 'Hello world' into Spanish."
main: seed =<PHONE_NUMBER>
bloom_model_load: loading model from '/Users/user/models/ggml-model-bloomz-1b1-f16-q4_0.bin' - please wait ...
bloom_model_load: n_vocab = 250880
bloom_model_load: n_ctx   = 512
bloom_model_load: n_embd  = 1536
bloom_model_load: n_mult  = 1
bloom_model_load: n_head  = 16
bloom_model_load: n_layer = 24
bloom_model_load: f16     = 2
bloom_model_load: n_ff    = 6144
bloom_model_load: n_parts = 1
bloom_model_load: ggml ctx size = 1010.71 MB
bloom_model_load: memory_size =   144.00 MB, n_mem = 12288
bloom_model_load: loading model part 1/1 from '/Users/user/models/ggml-model-bloomz-1b1-f16-q4_0.bin'
bloom_model_load: .................................... done
bloom_model_load: model size =   866.23 MB / num tensors = 294

main: prompt: 'Translate 'Hello world' into Spanish.'
main: number of tokens in prompt = 8
153772 -> 'Translate'
 69996 -> ' 'H'
 10800 -> 'ello'
  8876 -> ' world'
    10 -> '''
  3727 -> ' into'
 49063 -> ' Spanish'
   503 -> '.'

sampling parameters: temp = 0.800000, top_k = 40, top_p = 0.950000, repeat_last_n = 64, repeat_penalty = 1.300000

Translate 'Hello world' into Spanish.</s> [end of text]

main: mem per token =  7971508 bytes
main:     load time =   512.12 ms
main:   sample time =    24.62 ms
main:  predict time =    82.65 ms / 10.33 ms per token
main:    total time =   724.79 ms
user@Users-Laptop bloomz.cpp %

The biggest difference I can find in the bloomz.cpp implementation and the one in this repo has to do with the calculation of the k_q_v value during evaluation https://github.com/rustformers/llm/blob/de1c447/crates/models/bloom/src/lib.rs#L291-L320

bloomz.cpp must have been forked just before a change to GGML that forbade matrix-multiply on permuted vectors.
I don't think the linked workaround can work, if the goal is to get the same output as the commented-out code - the ggml_is_transposed() assertion looks at the tensor strides, rather than a "permuted" flag on the tensor.  But the dimension transforms are pretty far over my head, I could be wrong.
The approach in the commit that added the assertion was to copy the tensor: https://github.com/ggerganov/ggml/commit/acd4aeee95cc47f06ab007962453b40e03af8e88#diff-f0282d7dc99b60a206ebcc1a53809d7188aa21edd61c72e9ec4be1667945ffbcL511


please make the verses and the text and calligraphy(if_possible) selectable,, so that they can be used in other places with SVG format or any else way.. I AM AVAILABLE FOR ANY GRAPHICAL HELP. please allow me to work with you if possible.

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] other

Current behavior:

Expected / new behavior:

For issue, please provide steps to reproduce it:

Steps
to
reproduce

Anything else:

Asalamu Alykom,
Dear Mr,
Good day, i want to work with you, how can i help you

Salam brothers, please send your email address. Let's get you added to our slack group.
Selecting text is a bit hard, beta.quran.com is slightly better then the current site. If we can modify font glyph that'll be huge.

<EMAIL_ADDRESS>thank you my brother

Please use this app for invitaiton: https://quranslack.herokuapp.com/


MM-31717: Remove HTTP clustering

Documentation for: https://github.com/mattermost/mattermost-server/pull/17409
Updated:

Self-Managed Admin Guide > Configure Mattermost > Configuration Settings > Environment > High Availability

Updated the Use Gossip configuration setting with a note indicating that Gossip clustering can no longer be disabled from Mattermost Server, and that all cluster traffic uses the gossip protocol.

Great updates, @justinegeffen -- Thank you!

Thanks so much @agnivade! You're absolutely right - this is a v5.36 update. I'll update the version references in the docs.


RHOARDOC-1179: Added file with commit hash to be synced

Resolves RHOARDOC-1179
I haven't synced the current sources because it would overwrite some of our hotfixes. The next version of the upstream sources does contain them.

LGTM. Do you need me to hold merging this @tradej or this this fine to merge?

It's fine to merge, thanks. I won't sync the sources until there's a new TT product release.

np @tradej merging.


Enhancement: Allow installation of phpunit/phpunit:^8.4.3

This PR

[x] allows installation of phpunit/phpunit:^8.4.3

Codecov Report

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

@@           Coverage Diff           @@
##             master    #10   +/-   ##
=======================================
  Coverage       100%   100%
  Complexity        6      6
=======================================
  Files             2      2
  Lines            21     21
=======================================
  Hits             21     21

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 4fdc122...415a295. Read the comment docs.


[BUG] Allow Multi-Instance launching is gone and does not work.

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.

What problem did you encounter?
Multi-Instance launching is gone and i cannot open more than 1 instances

Multi-Instance launching was removed in Release V2.6.0. Please use a different app to open multiple Roblox instances.

Multi-Instance launching was removed in Release V2.6.0. Please use a different app to open multiple Roblox instances.

why was it removed? did roblox changed its TOS?

https://github.com/pizzaboxer/bloxstrap/wiki/Plans-to-remove-multi‐instance-launching-from-Bloxstrap
Here.


ci: see https://github.com/konveyor/move2kube/pull/371 for details

Signed-off-by: Harikrishnan Balagopal<EMAIL_ADDRESS>

Can we change the title to be self explanatory and put the url in description? (even if only in pull request an not in commit)


Fixes #751 : fixes the percent encoding in opds search breadcrumb

@Scarsniik said:

The name for the serch is provided by the path data of the route, it's why it's percent encoded

Yes, I understand that "under the hood", a route path "transports" the search criteria information (thus the percent-encoding), but my argument is that the BreadCrumbItem object should not reflect the URL implementation detail (in other words: this object should contain data that is "ready to use", no need to decode the URI syntax).
If this is too much work to implement, then please let me know and we will merge the PR fix as it is (and I will file a separate issue to describe the improvement we can make to the implementation)

I did it like that because there is a lot of file using the breadcrumb and I found it easier to do it just in the breadcrumb file instead of in all the files but I'll change it, it will be better and it's not a big change


Git: commit (amend) does not works properly when the working tree is not clean

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

VS Code Version: 1.87.0
OS Version: Windows 10

Steps to Reproduce:

Initialize a empty repository using the "source control" tab (with git)
Create a file, add it to stage and commit with any message
With a clean working tree, verify that the command Git: commit (amend) works ok (it opens COMMIT_EDITMSG editor)
Now make any modification in the repository (e.g. modify a line in the created file)
The command Git: commit (amend) does not works properly anymore, it shows the message below:

Which is the warning message used when running the command Git: commit alone (not amend)

The dialog from the screenshot is related to "smart commit" and it is being shown for all variations of the "Commit" operation (ex: Commit, Commit (Amend)). In the case that you have described, you might want to amend your last commit with the changes from the working tree, and since you have the git.suggestSmartCommit setting enabled, we will show the dialog.

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

Here are the gifs.

Using "git.suggestSmartCommit": true

The command Git: commit (amend) works when the working tree is clean, but does not work when the working tree is not clean.

Using "git.suggestSmartCommit": false

The command Git: commit (amend) does nothing at all when the working tree is not clean.

@Diogo-Rossi, could you please download the latest VS Code Insiders release as I have pushed a fix for this. Thanks!

@lszomoru It is working. Thanks!

@Diogo-Rossi, please note that during our testing we have discovered a regression that was introduced by the fix for this issue. Given that we are shutting down for the release we have decided to revert the fix, so that we can do more testing. I will revisit the fix next week.

This bug has been fixed in the latest release of VS Code Insiders!
@Diogo-Rossi, you can help us out by commenting /verified if things are now working as expected.
If things still don't seem right, please ensure you're on version e6a828c5957959b7a18de37a567d850880101641 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.
Happy Coding!

/verified


After bridge not received token

System information
OS & Version: Windows
Browser & Version: Chrome
Commit hash: 0x3200957ccad76d008351f647acd820550412306067b25bce726c44901b1f6173
Expected behavior: received fast token TST after bridge from stardust to boba
Actual behavior: not received TST token after bridge
Steps to reproduce the behavior: repair web

Hi @Kuat009. Thanks for reporting this issue.
Just to clarify: Did the tokens appear on the target chain after the long processing time? If so, this will be likely fixed with https://github.com/beamer-bridge/beamer/issues/356

This will  be fixed in #356


DS-545 - [Swagger API] The upsert is not working for POST API

The upsert parameter is not required for POST / (swagger API). This commit removes upsert parameter.

@jugnu-appveen


Re-use of magic link causes app locking AuthException

Describe the bug
If the user is sent an auth link and tries to use it twice, the second opening of the link in the app causes an exception that seems to lock the app up and requires an app restart to fix.
To Reproduce

send user a magic link
user clicks on link and is able to log in
user goes back and tries to click on the link again for some dumb reason
app opens and is unresponsive (in debug mode it's clearly throwing an AuthException)

Expected behavior
No lock up on use of expired link
** Debug logs **
flutter: ***** SupabaseDeepLinkingMixin startAuthObserver
flutter: SupabaseAPI initialized
flutter: ***** SupabaseAuthState handleDeeplink io.supabase.wondersandmysteries://signin#error=unauthorized_client&error_code=401&error_description=Email+link+is+invalid+or+has+expired
flutter: onReceivedAuthDeeplink uri: io.supabase.wondersandmysteries://signin#error=unauthorized_client&error_code=401&error_description=Email+link+is+invalid+or+has+expired
4
[VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: AuthException(message: Email link is invalid or has expired, statusCode: null)
flutter: Email link is invalid or has expired
Smartphone (please complete the following information):

ios 15 on ipad pro

Only a problem when debugger is attached.  Excuse the noise.


Remove java 8 from CI

This plugins needs to swap to the weekly line temporarily in https://github.com/jenkinsci/workflow-job-plugin/pull/261
Java 8 has been dropped and the build is failing there (and Jan can't update the Jenkinsfile)

cc @jglick

BTW this should not have been labeled developer (which triggers a release); just chore (or tests) would suffice.


generalize the use of ssid in sending to be connection

to allow us to monitor an ethernet connection at a hub or AP also.
the MAC of the ethernet can maybe be used as the connection identifier, and the ssid in the wifi case...

Done


Real-Time installation monitor

monitoring program installs in real-time and when the program is no longer needed the system changes made by the installation of the monitored program could be fully reverted as if the program has never been installed before.
If the monitoring installation can bring a better uninstall effect, I hope you can develop it.
Please think and judge independently whether it is necessary to develop this function to make Bulk-Crap-Uninstaller more perfect.

The best way to make sure nothing gets missed after removing an application is to monitor and track the file and registry changes when you install the software so when it comes to removal, you have the chance to delete anything the original installer left behind

Duplicate of #258, I'm currently not planning to add this feature because of limited time.


Integrate nostr editor

[ ] Use nostr-editor for composing notes
[ ] Refactor NoteCreate, NoteReply, and NoteCreateInline

#445


Symlink refactoring

Scratchpad to keep track of things. @rwjblue, please edit freely :)
Things to do:
Part 1

[x] add .brocignore functionality to deal with Emacs lockfiles and such (@joliss and @rwjblue decided to make this a plugin concern)
[x] hashTree has murky edge cases, could likely just be rewritten (and extracted) - fixed in https://github.com/broccolijs/broccoli-kitchen-sink-helpers/pull/24 and we'll likely phase this function out in the future
[x] though deprecated, perhaps we can simply change copyRecursivelySync and copyPreserveSync to use stat instead of lstat - https://github.com/broccolijs/broccoli-kitchen-sink-helpers/commit/02276ba63153d39db5c7473364dcd3727881d86b
[x] broccoli-concat (probably simply lstat to stat) - https://github.com/rlivsey/broccoli-concat/pull/15
[x] broccoli-file-mover & remover - double-check symlink resolution; also, are we sure rimraf cannot delete source files now that path components can be symlinks?
[x] add symlink behavior to spec in README, and make a document to describe this change and how it affects compatibility - docs/symlink-change.md (work in progress)

Part 2 - Symlink Consumption
Release updated package versions:

[x] node-walk-sync
[x] broccoli-kitchen-sink-helpers (https://github.com/broccolijs/broccoli-kitchen-sink-helpers/pull/24)
[x] broccoli-file-mover & remover
[x] broccoli-concat
[x] broccoli-filter (it gets the new hashTree through a floating dependency)
[x] broccoli

Part 3 - Symlink Optimization
Release updated package versions:

[x] broccoli-static-compiler (v0.2.0)
[ ] broccoli-filter (https://github.com/broccolijs/broccoli-filter/pull/14 -- emit symlinks)
[x] broccoli-merge-trees (v0.2.0)

Part 4

[ ] Windows performance: we can probably use symlinks when we have rights to, or junctions (not sure if that will lead to correct behavior), instead of always copying
[ ] broccoli-caching-writer can use symlinking instead of hardlinking now
[ ] allow for passing in existing stats and lstats objects into node-symlink-or-copy and node-copy-dereference
[ ] there are more uses of deprecated helper functions like copyRecursivelySync across GitHub - https://github.com/tildeio/htmlbars/pull/76

this has landed, we can close.  If this hasn't fixed your issue, don't worry we have other things cooking to continue to help!


Tweak Windows implementation

Fewer deps for Windows (doesn't need libc and memalloc anymore).
Somewhat safer allocation - relying on Vec + Drop which is guaranteed to run on any panic / return / etc instead of manually tracking a raw pointer for the buffer.
Increase initial buffer size as per official recommendations.
Add safe iteration helper for Windows linked lists (assuming that, if the first pointer is valid, then all others should be as well and will have the same lifetime). This significantly reduces number of individual unsafe usages and paves path for #45 as the entire function is now just an iterator + .collect().
Simplify socket address conversions by relying on Rust's built-in endianness helpers and the SOCKADDR_INET helper union.

Tested and confirmed. Thank you for the great improvements!
I've felt the need for safer implementations and refactoring in the Windows implementation, so your changes are very much appreciated.


GUI navigation improvements (part one)

Please consider changing the Action handling in Resources. First selecting and then choosing action in a drop down menu is very cumbersome, especially for mobile users. Look at Variable mapping, with a button for Edit makes it easier. Even better is having all actions listed to the right column for every entry in the list, it is then a one click operation.
Also when selecting Save after editing it jumps back to the resource list everytime, very annoying. Especially if you have 100+ sensors... It should return to your previous view,   before clicking edit, it makes more natural.
The sort by setting for each list should be remembered, maybe even the filter settings. Again it makes it smoother to configure 100+ sensors. It takes forever to find the specific set of sensors you are looking for every time the list is loaded.

I also agree with this


Major upgrade in jupyter-translate

jupyter-translate.py fixed to allow the translation of comments within code cells, as well as print messages
Added tqdm to display a progress bar
Created jupyter-translate-pt2en.py to enable translation from Portuguese to English
Older test notebooks moved to legacy
Created two test notebooks (pt and en)
Updated readme information in table format
Added MIT license to the repository

It is likely that the version incompatibility of httpx with Jupyter will soon interfere with the translation process. I am starting to explore deep-translator to investigate the possibility of an upgrade without using googletrans.

Hi Andre! Thanks for such a large contribution. My only suggestion, if doable, is to have a single script instead of two by using two command line arguments: --source-language and --target-language. So instead of the following:

Both behaviors could be included in jupyter_translate.py:
jupyter_translate.py xxx.ipynb --target-language 'pt'

The default would be 'en', in cases source is not, then we can hard-code like
jupyter_translate.py xxx.ipynb --source-language 'pt' --target-language 'en'

What do you think?

Perfect. I made the suggested modifications and now closing this pull request.


Rules cannot be disabled when bundling

Describe the bug
Following the guides here:
https://redocly.com/docs/cli/rules/no-unresolved-refs/
https://redocly.com/docs/cli/commands/bundle/#Skip-rules
It indicates that when bundling, I am able to disable certain rules (similar to the lint command)
To Reproduce
Steps to reproduce the behavior:

Given this test.yaml openapi file

openapi: 3.0.3
info:
  title: Example
  license:
    name: MIT
    url: https://mit-license.org/
servers:
  - url: https://test.com
tags:
  - name: Test
    description: Test
components:
  schemas:
    Car:
      type: object
      properties:
        color:
          type: string
        tires:
          $ref: '#/components/schemas/Tires'
    Tire:
      type: object
      properties:
        name:
          type: string
        size:
          type: string

Run this command npx redocly bundle test.yaml --skip-rule=bundler
(This was attempted in many formats--referencing "bundler, no-unresolved-refs". Even applying this in a config file)

Observed Behavior
[1] test.yaml:20:11 at #/components/schemas/Car/properties/tires

Can't resolve $ref

18 |       type: string
19 |     tires:
20 |       $ref: '#/components/schemas/Tires'
21 | Tire:
22 |   type: object

Error was generated by the bundler rule.

Is it intended that certain rules (or in my case, subsets of rules) cannot be disabled when using the bundler(but can, when linting)?
Expected behavior
I can disable the specific rule without "forcing" the command with --force.
Redocly Version(s)
1.0.0-beta.126

Fair enough, by the time I had written all this out I figured that was the approach--and force is the way that you would want me to push it thru (albeit at my own risk)
Might be nice to have noted in the docs, but wouldn't be surprised if I was one of the first to try to hack the bundler like this.
Thanks for the reply :)


add features display

Make the provider aware of the features variable and display them on the web interface as an optional overlay to the viewer.

Will wait for the new Artblocks website refresh / features script update.

Release v1.2.0


Added synergistic files for the training school

Please close this PR and create a new one where things are in notebooks/synergistic_deconvolution I guess.
Also, run nbstripout on all notebooks before commiting.

Please close this PR and create a new one where things are in notebooks/synergistic_deconvolution I guess.
Also, run nbstripout on all notebooks before committing.

Done - I think

@MargaretDuff @samdporter I'll merge this in a few minutes


Alerta WebUI is not fetching result in Chrome, but is working perfectly in IE

I am running alerta as a container.
It works perfectly in IE but does not fetch result in Chrome.
Any idea where do I need to check since I am very much new to alerta.

Hi. What versions of Alerta, chrome and IE are you using?

Alerta 4.8.19
Chrome version : Version 57.0.2987.110 (64-bit)
IE version : 11

Are there any errors in the chrome javascript console?

in the console, I see the following :
:8001/#/alerts?status=open&status=unknown:1 XMLHttpRequest cannot load http://localhost:8082/environments?status=open&status=unknown. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8001' is therefore not allowed access.

Add http://localhost:8001 (where your Alerta web UI is hosted) to your API server CORS_ORIGINS setting.

Hi,
I updated the cors-settings in "README.md" as :
CORS_ORIGINS = [
    'http://try.alerta.io',
    'http://explorer.alerta.io',
    'http://localhost:8001',
]

Have i changed the correct file? As i am still not able to see chrome fetching the results.
SCEERNSHOT:  https://cloud.githubusercontent.com/assets/27487369/25419190/b3ce2702-2a6e-11e7-89b8-3524f788f06b.png

the container that we are using does not have alerta.conf file. Is there any other alternate file where we can update the CORS settings ?
We have config.js file and web.js file

either set the CORS_ORIGINS environment variable ...
$ docker run --name alerta-web -e CORS_ORIGINS=http://localhost:8001 \
  -p 80 alerta/alerta-web

... or create an alertad.conf file ...
$ docker run -v $PWD/config/alertad.conf:/etc/alertad.conf \
  -v $PWD/config/config.js:/app/config.js \
  -p 80 alerta/alerta-web

if you're still having trouble join the gitter chat room

OK I am creating a alertad.conf file , the content of the file is just the CORS settings like below
CORS_ORIGINS = [
'http://localhost:8001'
]
is this fine ? and then  I will be running the container as below
docker run -v $PWD/config/alertad.conf:/etc/alertad.conf
-v $PWD/config/config.js:/app/config.js
-p 80 <container_name>
Is the above method correct ?

looks ok to me. does it work?

Closing. Please re-open if you are still having problems.


DRAFT: Demonstrating Grpc failure on Linux

Repro steps:
Expects Ubuntu 20.04.
There are some setup commands in the Dockerfile that can be used in a pinch if there are missing libraries or dependencies (e.g. for Python 3.7, pip dependencies, clang, etc.)

Get this branch:

git remote add github-bpkroth https://github.com/bpkroth/MLOS
git fetch --all
git checkout github-bpkroth/grpc-linux-fixups

# In terminal 1, start the optimizer (leave it running):
python3.7 source/Mlos.Python/mlos/start_optimizer_microservice.py launch --port 50051

# In terminal 2
# - build the target
# (note this will fetch dotnet to tools/ if it hasn't already been done)
make CONFIGURATION=Debug -C source/Mlos.Agent.Server
# - run it, pointing it at the optimizer, but skip the executable
# (the Mlos.Agent.Server has hacked up in this branch for a minimal reproduction)
./tools/bin/dotnet out/dotnet/source/Mlos.Agent.Server/objd/AnyCPU/Mlos.Agent.Server.dll --optimizer-uri=http://localhost:50051

Output:
Mlos.Agent.Server
Connecting to the Mlos.Optimizer
Creating OptimizerProxy in Mlos.Agent.Server
switch_name System.Net.Http.SocketsHttpHandler.Http2Support was set: True
switch_name System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport was set: True
Unhandled exception. Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Bad gRPC response. Response protocol downgraded to HTTP/1.1.")
...

The following ended up being the fix:
commit 66f0f1b38d115cc044961fc1d9a6f6996f6ef814 (HEAD -> grpc-linux-fixups)
Author: Brian Kroth<EMAIL_ADDRESS>Date:   Sat Sep 26 12:40:06 2020 -0500

    remove an environment variable that was breaking unencrypted grpc connections

    This overrode and made the following line useless:

    AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport", true);

    The resulting error was:

    Unhandled exception. Grpc.Core.RpcException: Status(StatusCode=Internal, Detail="Bad gRPC response. Response protocol downgraded to HTTP/1.1.")

    Further details in:

    https://github.com/bpkroth/MLOS/pull/4
    https://github.com/grpc/grpc-dotnet/issues/654
    https://github.com/dotnet/runtime/issues/988

diff --git a/scripts/dotnet.env b/scripts/dotnet.env
index 982d2f7..fe145e0 100644
--- a/scripts/dotnet.env
+++ b/scripts/dotnet.env
@@ -26,7 +26,6 @@ DOTNET_DIR=$(readlink -f "$scriptdir/../tools/dotnet")

 export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
 export DOTNET_CLI_TELEMETRY_OPTOUT=1
-export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
 export DOTNET_ROLL_FORWARD_ON_NO_CANDIDATE_FX=2
 export DOTNET_ROOT="$DOTNET_DIR"


TypeError: _.isEmpty is not a function

Questions?
Trying to write a simple Kafka publisher in Nodejs and running into error at _.isEmpty(brokers). It says the function does not exist. Wondering why 'underscore' package is not a dependency for kafka-node package when it is being used in the code. Am I missing anything in the code?
Environment

Node version: v12.13.1
Kafka-node version: 5.0.0

Include Sample Code to reproduce behavior
var Producer = kafka.Producer;
    var Client = kafka.KafkaClient;
    let clientOptions = {
      kafkaHost: 'kafkahostServerIPAddress:9092'
    }

    var client = new Client(clientOptions);
    console.log("Client is ready");
    var producer = new Producer(client);
    console.log("Producer is initialized");
    producer.on('ready', async function () {
      console.log("Producer for kafka is ready");
      });

    producer.on('error', function (error:any) {
      console.log("failed sending to kafka:" + error);
      });

Include output with Debug turned on
kafka-node:KafkaClient Connect attempt 1 +4ms
kafka-node:KafkaClient Trying to connect to host: hic017058 port: 9092 +0ms
kafka-node:KafkaClient kafka-node-client createBroker hic017058:9092 +1ms
kafka-node:KafkaClient kafka-node-client sending versions request to kafkahostServerIPAddress:9092 +41ms
kafka-node:KafkaClient broker socket connected {"host":"kafkahostServerIPAddress","port":9092} +9ms
kafka-node:KafkaClient connected to socket, trying to load initial metadata +1ms
C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\kafka-node\lib\kafkaClient.js:442
if (!_.isEmpty(brokers)) {
^
TypeError: _.isEmpty is not a function
at KafkaClient.brokerForLeader (C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\kafka-node\lib\kafkaClient.js:442:12)
at KafkaClient.loadMetadataForTopics (C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\kafka-node\lib\kafkaClient.js:888:23)
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\kafka-node\lib\kafkaClient.js:146:16
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:3880:24
at replenish (C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:1011:17)
at iterateeCallback (C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:995:17)
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:969:16
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:3885:13
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\kafka-node\lib\kafkaClient.js:203:16
at C:\Projects\Intelligrated\Momentum\sample-dot-client\node_modules\async\dist\async.js:969:16

It looks like this package works only with javascript. Used node-rdkafka for TypeScript.


Add an item viewer and sprite viewer to dev tools plugin

Is your feature request related to a problem? Please describe.
It would be useful to get easy access to item or sprite images.
Describe the solution you'd like
A pop-out window (similar to the variable viewer or widget tools windows) with a table of images with name labels, perhaps with a search bar to filter the visible images.


Unable to run python3 random_agent.py -e UnrealTrack-City1StefaniPath1-DiscreteColor-v1

``

Installed the binaries before running. Binaries installed without any issues for SplineCharacterA.
But binary installation for UrbanCity didn't even install.

This is caused by the permission problem. You can add the permission by running chmod -R 777 {path to the binary folder} .


Location field "No Options" drop down confusing

Describe the bug
The moment a user clicks the field in "Location", they are immediately met with a drop down that says "No Options", which is counterintuitive and potentially confusing.
To Reproduce
Steps to reproduce the behavior:

Go to "Location" section
Click on field

Expected behavior
It could either be empty, or show an example like "ex: Lyons, France", thus making clear to users it's open form field and expects text entry of a location
Screenshots

I changed that to "No locations" yesterday, I think we can make it "No locations, type to search" or something like that to make it clearer.


doc: Add a comment for Istio injection

Added a similar note to my README overhaul over in #21 to avoid creating a conflict.


Timeline for Superflore generation scheme 3

Hello!
I have no clue what it is, but it seems to be blocking the ability to build ros1 and ros2 with a bridge in one yocto image. Cf.  https://github.com/ros/meta-ros/issues/994
We would need such functionality, the question is: is it being worked on? Is there some time when you can expect it to be ready? Can I contribute somehow?
Thanks and Regards,
Matthias

Hello Herb @kuta42,
Since you were the last one to commit: meta-ros seems dead. Me and my company are probably willing to put in some effort. What are the chances to get meta-ros up to date and rolling again?


Fix MFXVideoUSER_Unregister

-Should returns MFX_ERR_NONE if no one plugins were registred.
It's important in case of using HW HEVCe as plugin

I talked to Alexey. He explained this case. @dvrogozh , @dmitry-gurulev , @onabiull ,perhaps we should store all fake register() calls in some new member of session so that in unregistered() we can distinguish real user plug-ins from MSDK plug-ins which has recently moved to MSDK back?

@dvrogozh , same change already in the master branch - is part of commit from @dmitry-gurulev - "Return HEVC, VP8, VP9 HW decoders back to library" (1f568f)  (wasn't ported to the mss2018_r2).
Also if explanation in source code OK, I can add it to commit message.

Shouldn't be include to hot fix scope.


Add beginner to expert level resources in Android Development

Is your feature request related to a problem? Please describe.
I would like to request the contributors that you have to add resources regarding android-development inside the android-development.md file
While adding the resources, make sure to keep the thumbnail size 320w x 180h, and for the reference of how it is done, check out here.
Describe the solution you'd like
None
Describe alternatives you've considered
None
Additional context
If any additional things will be there, then this issue will be edited

Is anyone working on this? If not I'd like to work on this.

Yes @vaibhavx42, I'm assigning it to you 😀

Hello @vaibhavx42 have you started working on this ?

Yes @hasnainmakada-99 I'm working on it and I'll finish it before this weekend .

Okay NP @vaibhavx42


Feature/hp bar improvments

Improve HP Bar handling and make icons easier to understand
Add Highlighted Character to Playerview when HP Bar is active
Removes changing values with mouse wheel due to bug with large numbers of items

Improve HP Bar handling and make icons easier to understand
Add Highlighted Character to Playerview when HP Bar is active
Removes changing values with mouse wheel due to bug with large numbers of items


Added package specifier to protocols

I've compiled the protocols for Rust using prost (https://crates.io/crates/prost and https://crates.io/crates/prost-build).
Prost requires a package specifier in each protocol file.
If this PR is accepted, it will be easier for other users to compile and use the protocols in prost/tonic.

This looks very reasonable @fredrik-jansson-se -- but let me build the resulting go/python/java files first to see before and after picture.
In the meantime, any chance you can share what are you planning to do with EVE Rust-wise -- I've been Rust curious for a long time and this could be an awesome project for me to start digging more.

Hi Roman,
I think project EVE looks very interesting as a platform and I basically wanted to learn and start understanding how it works. My way of understanding stuff usually starts with reading the docs, but pretty quick comes down to coding :) so I started hacking a controller in Rust. I use the QEMU version of EVE, thanks for putting that together, makes is very simple to get started!
For almost all my hacking, I tend to use Rust (I'm an old c++ guy). I haven't gotten very far yet, and not sure I'll ever do, but it did strike me that someone else might be interested in compiling the protocols for Rust, and tonic (prost) is one of the major protobuf implementations for Rust.
So no real project yet, if that changes I'm happy to share!

Hi @fredrik-jansson-se . I have the Rust book sitting on my desk ever since one of the Oxide founders convinced me a while ago, and then I met some of the key Rust people at QCon London last year. I heard that Oxide is building real firmware in Rust, and I know of people using it as a primary source for wasm with real usage.
I really like the idea of eve having api/rust/ in addition to api/go/ and api/python/.
As for a controller, we have a reference implementation in adam so I don't know that we need another controller so much, but I don't think anyone will object either. On the other hand, if we could think of a really good use case for the API that isn't already covered, and can be built in rust, that would be a double win. Any ideas? Roman too?

Hey, just generated the language bindings and "vendored" the go source. Tests, except yetus, pass.

Hi @fredrik-jansson-se -- thanks for the background and welcome to the community! Btw, you may find out Slack channels a good place to hang out as well: http://lfedge.slack.com/ (channels start with #eve-)
Btw, I'm very much in the same situation Avi is -- just looking for a good project around EVE to give it a go in Rust.

Thanks guys!
I'm sure we'll find a rust project! :)


Automatic (Random) or manual population of unspecified NPC languages

Is your feature request related to a problem? Please describe.
Not related to a problem.
Since the Polyglot module addresses language differences in different VTT systems, I was thinking of a feature that provides the module with the functionality of populating the NPC languages, when the actor has one of the following fields as a language:

the languages it knew in life / all languages it spoke in life / understands the languages of its creator but can't speak.
any one language, any two languages, etc. / May include the (usually X).
Common (this could be any language) plus one more / plus one of your choice.
Etc.

Describe the solution you'd like
Two options:

Automatic: including an optional feature for the Module where actors/tokens upon [creation/language field filling/token placement] the GM gets the option of randomly populating the languages section of the actor/token according to (probably) a regex matching of the languages "custom" field of the actor, including the same regex for the amount.
Manual: Same as above, but the GM would get the option of choosing the languages limited by the amount described by a regex expression with the amount provided in the actor's language custom field.

Describe alternatives you've considered
It could also be a global macro that runs the check on every actor in your World, which then starts the populating process by either of the methods described above.
Additional context
This would circumvent the annoying scenario where your NPC's or creatures have their custom field has one of the examples provided above, and the Module interprets it as being a language of its own.
Since this is very specific, the regex could potentially be very vague to account for any system. Since this would be a regex based feature, it would potentially have to be i18n'd in the lang files.

Closing this issue as this feature was added in 1 Nov 2021 (https://github.com/League-of-Foundry-Developers/fvtt-module-polyglot/commit/cbebcc97c96c787b75de57b54cc01f4d6374db02).


Multiple camera sources?

I am looking to run darknet_ros using multiple camera topic sources as inputs to yolo, with the outputs being distinguishable based on the specific camera source. For example, I would hope to have the message (BoundingBox.msg) format include something like "string CameraSource" so that I can tell which camera the detection is coming from.
One way I've thought of is to have two camera inputs in the subscriber section of ros.yaml. But I'm not really sure how I would go about modifying the message publication to include the camera source string
Another idea I've had is to just create two launch files under different namespaces, so that there are two darknets instances running simultaneously, publishing seperately to /darknet_ros_1/ and /darknet_ros_2/. This seems feasible but undesirably bulky, considering I have to run two darknets at the same time.
Any thoughts on how I would go about doing this?

I'm doing method 1. I have 3 cams, but I only get ~11 FPS with one cam. How many FPS you get when you use method 2 with both cams?
I use a 12GB GeForce 1080Ti.

With method 2 I get 2 FPS more, but it is much more smoother now. With method 1 I had problems with threads and lagging cam. Unfortunately, it is still to slow, I need at least 20 FPS. Running Yolo outside ROS gives 22 FPS.
BTW. one net uses ~550MB of GPU RAM.

So my use case is similar. I have 2 cameras but I also have 1 preprocessing openCV call I need to make. My options are
2 camera drivers
node to read in images, perform a single openCV call and republish
2 darknet_ros
or fork darknet_ros
2 camera drivers
modified darknet_ros that alternates which camera it reads, performs the openCV call from the current image acquisition thread and set the published message to say which camera it is from
A native support for multiple camera sources would allow the first option to make a lot more sense, would still have the penalty cost of an extra serialization for my single function call.

Short Update:
I deactivated the openCV part in the Darknet ROS-Node, since I use rviz for visualization. I also commented the part, where bounding boxes are drawn. Instead, I publish the bounding boxes on it's own topic and send this to another node. With deactivating the code regarding openCV, I reach 30 FPS per camera. This is a huge improvement. But I had to do a small adjustment in darknet itself.
With dynamic reconfigure or the ros.yaml I can activate openCV code for debugging purpose and visualize the image with bounding boxes in rviz, but with 13 FPS.

i had rewriting the code, and don`t using multi-thread. Make 3 camera image as a batch input to the tiny-yolo. and i get about 15FPS of 3 image detection result in GTX 740Ti , more then 20FPS in GTX1050Ti , just cost about 400MB GPU memory.

So I was planning on "hacking" the timestamp of the image I send to darknet_ros. Was thinking I would add  offsets depending on camera source 1 year for first camera and 2 years for second camera. Then just have another node correct the offset and republish images to different topics but the issue is the boundingBox msgs published don't use the timestamp that the image had, like I expected. If that minor thing is fixed it would be a viable way to get "camera source" information.
https://github.com/leggedrobotics/darknet_ros/issues/63

@umer936
Hey Umer i checked your repo. I wanted to ask how are you realising the input from 4 cameras ? I mean your ros.yaml doesnt have camera reading from 4 different subscribers. So are you using 4 instances of darknet at once?

@bansilol It's been a few years since I looked at this, but I believe we were using this to do so: https://github.com/Texas-Aerial-Robotics/camera_signalman
We cycled through the cameras with their headers and feed each frame into darknet. Then use the camera number to figure out where the detection came from.
Here's what needs to be changed to read in the camera streams into Darknet-Ros
https://github.com/Texas-Aerial-Robotics/Darknet-Ros/blob/89a8ded01da43a8ea54f4fd796e6fce944294478/darknet_ros/config/ros.yaml#L4

@umer936 Hey Umer, as you told before i followed the steps ans in the ros.yaml file of the camera_signalman i changed the subscriber camera topics to the topics that are published by my camera launch files also i changed the frame ids. Everything is running smoothly but in the output of the camera signalman the topic camera_signalman/image_raw has no image and when i launch my tiny_yolo it stops at waiting for image. Could you suggest what could be wrong here?

Hi altruists,
Could anyone please let me know how I can subscribe multiple image topics in my single YOLOv5 detector? I am not using darknet YOLO package. I don't want to run multiple instances of yolo node in my machine either. I am using this repo
https://github.com/Shua-Kang/ros_pytorch_yolov5
@umer936 @tschmidt64 @gftabor @Cuky88 @JunCxy @bansilol
TIA

Could anyone please let me know how I can subscribe multiple image topics in my single YOLOv5 detector?
@RabsDRocker
This really is unrelated to this repo. But you need to subscribe to both cameras and republish them as a single topic. Luckily simple tools like this in ROS already exist
http://wiki.ros.org/topic_tools/mux

Then when your yolo node outputs bounding boxes you will need to use the bounding boxes image_header field and its frame to distinguish which bounding boxes correspond to which camera.

Could anyone please let me know how I can subscribe multiple image topics in my single YOLOv5 detector?

@RabsDRocker This really is unrelated to this repo. But you need to subscribe to both cameras and republish them as a single topic. Luckily simple tools like this in ROS already exist http://wiki.ros.org/topic_tools/mux
Then when your yolo node outputs bounding boxes you will need to use the bounding boxes image_header field and its frame to distinguish which bounding boxes correspond to which camera.

@gftabor Thanks a lot for your comment. mux package seems to be useful but i don't get to see my second camera node in the detector. Mux was supposed to be switching my two camera nodes.
I just used this example to do this and add this node to my detector but only one camera was detected
rosrun topic_tools mux sel_cmdvel auto_cmdvel joystick_cmdvel mux:=mux_cmdvel

rosrun topic_tools mux sel_cmdvel auto_cmdvel joystick_cmdvel mux:=mux_cmdvel

Is this actually the command you used? It should have been configured for each different camera topic.
 It should have been configured for each different camera topic.
Should have been something like rosrun topic_tools mux combined_image_topic camera1/image camera2/image mux:=mux_images
And then you configure your ros yolo node to subscribe to combined_image_topic

@gftabor Thanks again for your reply. No that was not the command that I used. I had to configure my each camera topic and changed the command accordingly like you mentioned in your previous comment. I was also able to subscribe the combined topic in my YOLO node. It only shows the first camera. Actually republished topic selects the first camera topic by default.


refactor: format all json files in the same way

The files are formatted inconsistently. Some are just one line.

this would be most easily done with a pre-commit hook (related to #361 )


Implement MKDocs

Complete implementation from #25. MKDocs need to be configurable by the package, but have good defaults. Could be related to #26 where the mkdocs file is updated by Copier
Consider if the implementation would work with the recipes site
Right now this task is failing because the mkdocs.yml file is missing. Possibly related to copier (#26) to keep the file updated

Added mkdocs file to copier template. Right now will be replaced entirely when copier is run, but this should be acceptable because the differences can be handled by selectively staging changes
https://github.com/KyleKing/calcipy/tree/cbd85c0188b0074c989d3fc1a107d3bb38714e56/docs#upgrades


libfido2: add macOS support

Motivation for this change
Currently, libfido2 does not support building on macOS. This means that OpenSSH 8.2 will be unable to support ecdsa-sk keys on macOS when running as an SSH client.
Things done

pass IOKit to libfido2
Add a patch so that cmake uses lld flags when linking
Upgrade from 1.3.0 to 1.3.1 (based off #80781)
Specify CMAKE_INSTALL_LIBDIR so that the demo binaries link
correctly on macOS and libfido2.pc specifies correct arguments

I tested that FIDO keys were detected on both nixOS and macOS 10.13 (the newest mac I own).
I also built openssh 8.2p1 using the changes from #80196 with libfido2 and was able to generate an ecdsa-sk keypair on both nixOS and macOS.
Note that I do not have permission to build with ofborg on macOS, so someone else will have to do that for me.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build libfido2

The fix looks great! Will you upstream the patch to https://github.com/Yubico/libfido2 please?

I'll want to find something more robust by testing supported compile flags before I upstream it. I'm currently just using "on a mac and using Clang" as a proxy for lld, which is not entirely accurate (except in the bounds of nixOS).

FTR the issue was just fixed in the upstream where it was reported by mmahut: https://github.com/Yubico/libfido2/issues/127

Oh, thanks! I don't think it's worth it to make a new PR to switch to their official patch, but we can remove the patch when the next one releases.

Agreed


Color highlighting missing from terminal output generated by the extension

Expected behavior
Messages like sucess and other flags should be highlighted as is being done when executed in vscode terminal
Actual behavior
Color highlighting is missing from the messages
Steps To Reproduce
Perform any operations that outputs the result in the terminal
Log output/Screenshots

Operating System
Any
dbt version
Any
dbt Adapter
Redshift
dbt Power User version
0.33.4
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

See also https://github.com/AltimateAI/vscode-dbt-power-user/issues/107

I just checked on my mac and I see the colors. @jeff-skoldberg-gmds Which OS/Env are you on?

Windows 11 and Windows 10.
I thought I had the same issue with GitHub Codespaces as well but I have to check.

I'm experiencing the same issue, Windows server, snowflake adapter.

@anandgupta42 , I checked on github codesapces.  It is working as expected there.  So I guess the issue isolated to Windows.

@Marcodenijs @jeff-skoldberg-gmds
Can you do the following :

Set this on .vscode/settings.json

"terminal.integrated.env.windows": {
    "TERM": "xterm-256color"
}

2. Restart VSCode
3. Run any command.

Let me know if this fixed the issue.

@anandgupta42
That did fix it for me! Thanks a bunch!

Awesome.
The fix involves setting the TERM environment variable to xterm-256color in a VSCode terminal instance. This configuration instructs the terminal to operate in a mode that supports 256 colors and various text formatting options, enhancing the display of colored output. The TERM variable communicates the terminal's capabilities to applications, encouraging them to utilize full-color and formatting features.
This is related to VSCode and the underlying operating system's environment rather than something that should be hardcoded within the extension. It's better to keep it configurable using an environment variable. I will update the extension docs to include these instructions for windows users.

Instruction added in the docs
https://docs.myaltimate.com/setup/optConfig/#enable-color-highlighting-of-terminal-output-on-windows

thank you @anandgupta42  and @mdesmet , that worked for me too!


Advertising Detection

Hello,
[ISSUE]: I have noticed that the Advertising seems to be flagging things which do not contain urls or anything similar to such. Example from the Log:
Feb 13,2015 19:36 Â§2CrystalGreen3Â§r has advertised: thank you...they are after me!, in chat.
Could you please advise if something needs to be changed to correct this, or if it is otherwise a general bug? I do no wish players to be warned or kicked for normal chat lines, and to have their chat suppressed if they are not advertising.
[QUESTION]: If I set something to the whitelist, such as my server website, does this include all pages for the full domain, or just the specific page whitelisted?
Thank you, am enjoying the functionality of this plugin.

UNST3RBLICH

The issues about website is something we are looking into, it's a bit more complex than so, but it is something we are aware of and trying to fix it.
The whitelist is currently very bad atm (i have to say it before you did it ;)) it requires it to be the exact website, we are looking into making this better.

Sounds good. Will stay tuned.

Sorry to first get back to this problem now, It is a very hard thing to check for
Currently i have tried different approaches to see if we can look this up another way, so far without any luck.
because of the new TLDs it's very hard to see if it is a link or not, I'm still trying to see if I can do something to this.

This should be fixed with the propeisral in #64


PG-574 Update dependencies and workflows

Checklist

[ ] Code compiles correctly
[ ] Created tests which fail without the change (if possible)
[ ] All tests passing
[ ] Extended the README/documentation, if necessary

What does this PR do?

Update dependencies and workflows
Bump go version

Where should the reviewer start?
What is missing?
How should this be manually tested?
Any background context you want to provide?
What are the associated tickets?

PG-574

Screenshots (if appropriate)
Questions

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix copy-paste error in user login examples table

No -g option on that line means it's not a GtiHub account.  Default is the MS account.

@curib

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Use asset pipleine instead of resources plugin

Migrate to Asset Pipeline from Resources Plugin
This allows to use this plugin with Assets piepline instead of resources plugin, which is easier for latest grails Version.
This also means that Asset Pipeline is required :(
Merge if applies with your strategy

This pull request can be closed with the merge of PR https://github.com/loic911/restapidoc/pull/49

Cool thanks :)


[comp:drawer] 新增 beforeOpen 方法

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

无
What problem does this feature solve?

复用 Drawer 时，在打开抽屉之前修改 Drawer 的属性，防止闪烁。
现在在 afterOpen 修改属性会导致页面出现短暂的显示闪烁。
What does the proposed API look like?

beforeOpen and beforeClose.

同理，还有 modal 也要支持一下。


Harmony Patch Rewrite - VEF compat, fixing body genes, ...

Compat with latest VEF. They have stated compatibility for their body drawing patches isn't a priority, so we rewrite their changes to work for varied body sizes.
Dead bodies no longer display reversed
Body genes now draw correctly
Common stat recalculations are now cached
Added a stub function other mods can patch to add compatibility for their changes

Needs testing with HAR, Character Editor (#1). Confirmed working with VFE, Alpha Genes.
Note: PR contains weeks of commits, recommended to squash and merge.

Gotten a bug-rerport that seems to be connected to the caching of the stat-values. Could you take a look?
https://discord.com/channels/680705672911913016/693732045100154910/1078445040428392498


loadFontEx does not appear to work

font loaded by loadFontEx is not visible on screen.
module Main where
import Raylib.Core
import Raylib.Core.Text

import Raylib.Util
import Raylib.Util.Colors

import Raylib.Types

main :: IO ()
main = do
  window <- initWindow 100 100 ""

  font <- loadFontEx "font.ttf" 28 [] 0 window

  whileWindowOpen0 $ do
    beginDrawing
    clearBackground white
    drawTextEx font "Testing" (Vector2 0 0) 28 0 black
    endDrawing

  unloadFont font window

  closeWindow window

I think this is happening because the font is not loaded properly. ./font.ttf is taken relative to where you call the executable from (e.g. if you are in project-directory and use cabal run, then it will look for project-directory/font.ttf). If you do changeDirectory =<< getApplicationDirectory after initWindow, it will search for files relative to the executable path.
In a real project you should use the data-files field in the cabal file to list any assets you will use, then access them using the instructions here. This is probably the most convenient solution.

No, I tried this first using data-files then when I did not get anything on screen I tried absolute path, still nothing.

Take a look at the custom-font-text example and compare it to your code. Can you share your cabal file and project structure?

This issue is specific to loadFontEx. If I change to use loadFont then it render just fine, although I do not have fine control over the font.
My cabal file and project structure is irrelevant as using an absolute path still have the same result. If I change the path to something that does not exist, raylib will print an error and loadFontEx will return the default font which is visible.

Fixed in <IP_ADDRESS>, use font <- managed window $ loadFontEx "font.ttf" 28 Nothing. Reopen if there are any problems.


components/contour: Fix tests

#1229 seems to have broken the tests of the contour component. This fixes them.

Will merge once CI passes. Thanks for fixing @johananl.


cflinuxfs2 -> cflinuxfs3, stop using obsolete buildpack

Explicitly move to the stack that's still supported.
Use buildpacks: instead of buildpack:, which is deprecated

Thanks for raising this - I've left a suggestion for a typo fix.
As an FYI we deploy the RDS broker using the bosh release

@tlwr - should we just remove our manifest.yml file, since we don't use it for deployments?

Yeah that also works


Add workarounds for projects using older erlang.mk versions

Part of pivotal-cf/norsk-config#1167
cc @dumbbell @gerhard

@dumbbell @gerhard - I used this process to run Norsk reports locally:
Step-by-step instructions: https://github.com/pivotal-cf/norsk-config/wiki/Running-the-Norsk-Reports-Locally#example-setup

Run the following:

mkdir ~/workspace
cd ~/workspace
git clone https://github.com/rabbitmq/rabbitmq-server-release.git
cd rabbitmq-server-release
git checkout v3.8.6
cd ..
git clone https://github.com/pivotal-cf/norsk.git
git clone https://github.com/pivotal-cf/norsk-config.git
cd norsk-config
git checkout lrb-rabbitmq-v3.8.5

When container is up, follow these instructions: https://github.com/pivotal-cf/norsk-config/wiki/Running-the-Norsk-Reports-Locally#example-setup
Then:

cd /LicenseFinder
git remote add rabbitmq https://github.com/rabbitmq/LicenseFinder.git
git fetch --all
git checkout lrb-handle-erlang.mk-error
cd /workspace/norsk
rake 'developer:report:generate_repo[/workspace/rabbitmq-server-release,rabbitmq-server-release,/workspace/norsk-config/releases/rabbitmq.yml,true]'

The test failure in https://norsk.cf-app.com/builds/821832 is a problem between mix(1) and Hex.pm. We hit the same problem a dozen times every day in RabbitMQ's CI...
I don't have the permission to retrigger the build in Concourse so I force-pushed to retrigger it.

We believe this PR is ready for review by the LicenseFinder team.

Hi @dumbbell , overall it looks good. We just have two questions.

We noticed a couple of TODO's, but they don't seem to be actionable. Are they supposed to just be regular comments to explains the IS_DEP=1? If so, we don't need the TODO keyword, just regular comment will suffice.

For our knowledge, we assume that query-deps is supported for all erlang projects?

query-deps is supported by Erlang projects using Erlang.mk as their build system (another popular one is Rebar). Those projects also need to update to a very recent version of Erlang.mk because the query-deps feature was contributed by us for our CI and LicenseFinder use cases.
Yes, I can remove the TODO labels, indeed. We can't force other maintainers to use a newer Erlang.mk version.

If you are happy with the patch and once it is merged, could you please cut a new release of LicenseFinder? To be exact, we need this patch for the Tanzu RabbitMQ Norsk pipeline.
Our target is to release the first version of Tanzu RabbitMQ in September.


UserTags

Is there a way to access the user tags parameter? The route on web is /user/tagged.
I couldn't seem to find anything within the documentation about it.

I created a pull request with these functions.
just read:
https://github.com/jlobos/instagram-web-api/pull/132

This looks good, is there also a way to get the overall number of tags? I would expect the
getUserbyUsername to do this, but it doesnt seem to receive anything related to tagged media.

The instagram api calls user id to do this.
The result of the tags is 'count' in the response callback


Improve error when .NET SDK isn't installed

Using RoslynPad 17.
Play and Stop buttons are greyed out, I can't do anything.  Just installed.  Used to use an older version a long time ago, used to work.
System.InvalidOperationException: Cannot start process because a file name has not been provided.
   at System.Diagnostics.Process.Start()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at RoslynPad.Build.ProcessUtil.RunProcessAsync(String path, String workingDirectory, String arguments, CancellationToken cancellationToken) in C:\src\github\aelij\RoslynPad\src\RoslynPad.Build\ProcessUtil.cs:line 42
   at RoslynPad.Build.ExecutionHost.<>c__DisplayClass106_0.<<RestoreAsync>g__DoRestoreAsync|0>d.MoveNext() in C:\src\github\aelij\RoslynPad\src\RoslynPad.Build\ExecutionHost.cs:line 670

@Pxtl do you have a .NET 6+ SDK installed?
What's in the platforms dropdown in RoslynPad (where it says .NET Framework x86)?

@aelij

.NET Framework x64 and .NET Framework x86.  Neither work.

@Pxtl RoslynPad requires .NET 6+ SDK to work (even if you are targeting .NET Framework).
I do need to work on a better error.

@Pxtl RoslynPad requires .NET 6+ SDK to work (even if you are targeting .NET Framework). RoslynPad 需要.NET6 + SDK 才能工作(即使你的目标是.NETFramework)。 I do need to work on a better error. 我确实需要改正一个更好的错误。
I always have the.net6-7 sdk installed on my computer


Update scss-lint to match govuk-lint

Exclude the CSS3 partial, as before
Set max_depth for nesting to 3, which is govuk-lint’s ideal, it is
currently set to 5, but we can achieve 3 here.

cc. @dsingleton, @fofr.

Just chatted offline and agreed it would be better to use the govuk-lint gem directly instead.
It'll avoid the linting configuration being duplicated, and possibly going out of sync. There's a good example of adding govuk-lint to a project here: https://github.com/alphagov/government-frontend/pull/101

Closing in favour of using the govuk-lint gem in #260.


Pinout Documentation

Hello,
Since I'm not able to send you an email, I'll try contacting you this way.
I'm interested in software/template you used to generate the following pinout image:

I'm currently working on a LoRaWAN node device which will have quite a bit of headers so I'm interested in creating a similar pinout graphic.
Best regards,
Leon

NODEMCU-DEVKIT-V1.0-INSTRUCTION-EN.zip
This was a very old story. In the past years I use M$ word. Now I'm using draw.io

Thanks a lot!


Is it possible to stream video to subscribers from Laravel

Greetings,
I'm working on a mobile app, I'm thinking to use this package for realtime communication.
I'm wondering if it's possible to stream a video file from laravel to all the connected clients using this package?
Thanks for any help. 🥂

Hi,
I don't think websockets are made for streaming chunks of video to be honest. You could probably use websockets to trigger the simultaneous playback on all connected clients - but streaming itself is probably better done via HTTP.


Enable websockets and UI fixes

Enable websockets
Remove duplicate ports in docker config file
Use v1.7.2 docker image until beta is pointed at this version. Then I'll revert this.
Fix ethstats

Peter, are you happy with the websocket and ethstats fixes?

I'm currently building a new beta docker image based on 1.7.2, so that issue should be resolved. Also you're right the UI does not need to be forced. However if it just listens on <IP_ADDRESS> then docker cannot forward to port, that's why I'm using <IP_ADDRESS>.

parity/parity:beta docker image updated.


Button switch component

Button switches are used to alternate or filter between views of related content, while only one content section is shown at a time. Unlike tabs, they are often used for switching between different formatting, like a grid view or table view, or filtering the content by categories, such as "Resolved" and "Unresolved" comments.
PDF

pr https://github.com/lianetoolkit/liane-ui/pull/9


Showcase Submission for 175-3D-cube-applesoft-basic

Thank you Peter Caspari for your contribution! A member of the Coding Train team will review it shortly.

3D on a Commodore 64
Peter Caspari

Amazing! I just got my hands on a C64 (off of ebay), would welcome any advice or tips! Hope to do a video with it soon!


SparrowCI pipeline

This pipeline should work with the current API

works now - https://ci.sparrowhub.io/report/1968


[Feature Request]: The bot has no memory like the original

Is there an existing issue for this?

[X] I have searched the existing issues and checked the recent builds/commits

What would your feature do ?
How to make sure that the messages are related to the former prompt. I tried to do it artificially but bing limits it to 2000 characters. I'm not sure how to do this because the session closes at the end of the function.
Proposed workflow
idk ^^
Additional information
No response

Same issue. Any help?

Possibly helpful for acheong08 or people developing a fix...
If you goto www.bing.com/chat > Click Ask-Me-Anything > then inspect elements (DevTools)
There is variable maxlength set to 2000 changing it up to a maximum of 25000 does allow for larger inputs. (Worked via Edge browser when I tested it).

Make sure to keep using the same object when calling (which keeps track of the conversation)

Possibly helpful for acheong08 or people developing a fix... If you goto www.bing.com/chat > Click Ask-Me-Anything > then inspect elements (DevTools) There is variable maxlength set to 2000 changing it up to a maximum of 25000 does allow for larger inputs. (Worked via Edge browser when I tested it).

This I will look at

Make sure to keep using the same object when calling (which keeps track of the conversation)

Very interesting but how can I do that in code? Can you show an example please? Thanks a lot!


[Bug]: Issue Creating Account with Reddit

What happened?
I just created a new account on civitai.com two days ago through Reddit as a third party authentication which initially worked and I gave access to the information  requested which lead me back to the main page of the civitai website.
There everything worked initally until this popup came up every other page reload with an overlay blocking clicking on anything else and could not be closed.

A day after that I am now stuck on a page which shows the following with no way getting through this page because of the content missing entirely in the dom:

I feel like this has something to do with the nsfw filter because when I first tried turning it on I got an error which I did not screenshot and I could also not set a user name on the settings page which threw an error saying it was missing certain fields which looked like a JSON response - sorry that I do not have the exact words/screenshot there.
If you guys need my account information I'll provide them privately so you can check logs, etc.
All of this was the case with and without ad-blocker / umatrix.
Steps to reproduce the problem

Go to civitai.com and sign up with the third party Reddit.
Grant access to share account details.
Go to the settings page and enable NSFW content

What should have happened?
Either I should have gotten a prompt to provide additional information or a way to re-do the activation process.
Not entirely sure what the best way to handle this would be.
What platforms do you use to access the site?
Windows
What browsers do you use to access the site?
Mozilla Firefox, Google Chrome
Additional information, context and logs
No response

This should be resolved now. Feel free to re-open this issue if you're still having trouble 👍

Thanks for the swift fix. 👍


added AutoBencher capability dataset

Please run the linter before landing (./pre-commit.sh)

Done in #3178


Can't Reproduce Reported WER

Hi,
I’m really impressed with your project—it's outstanding! I truly appreciate the effort and detail you've put into it. I'm interested in using your Whisper-Medusa model and have been working with the following HF checkpoints on the Librispeech-clean test set:
https://huggingface.co/aiola/whisper-medusa-linear-libri
https://huggingface.co/aiola/whisper-medusa-v1
However, I’ve been unable to achieve a WER below 10%. I used your eval_whisper_medusa.py script for evaluation. Could you please help me replicate the results you reported in your repo (4.1% WER)? I’m testing on an M3 Pro using MPS.
Thanks so much for your help!

Hi,
We ran the model and successfully reproduced the results. Could you try running it on Google Colab? The discrepancy might be due to the GPU type, we'd be glad to know if that's the case.

I resolved the issue and successfully reproduced the WER on my M3 Pro. The high WER was due to corrupted files in my data.


TestSSLServer jar is not available to download

Description:
In the latest apim docs on configuring transport level security[1] the TestSSLServer.jar is not available to download in the link attached.
[1] - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/security/configuring-transport-level-security/

The TestSSLServer.jar is available at https://github.com/wso2/docs-apim/tree/master/en/docs/assets/attachments/admin.
Need to update the links from {{base_path}}/assets/attachments/administer/TestSSLServer.jar to {{base_path}}/assets/attachments/admin/TestSSLServer.jar
[1] https://github.com/wso2/docs-apim/blame/master/en/docs/install-and-setup/setup/security/configuring-transport-level-security.md#L50

Still an issue for the latest latest APIM docs (version 4.1): https://apim.docs.wso2.com/en/latest/install-and-setup/setup/security/configuring-transport-level-security/


Introduce AzureOpenAI transcription support

Motivation
Right now, Azure (Microsoft) is the biggest shareholder of  OpenAI, and it puts a lot of effort into providing OpenAI
services. I think it is reasonable to have as many supported models as possible.
Description

[!CAUTION]
This PR introduces breaking changes.
Classes from the org.springframework.ai.openai.metadata.audio.transcription package have been moved to the org.springframework.ai.audio.transcription package.

The repeated part was moved to the core package.
The AzureOpenAiAudioTranscriptionModel has been added to the auto-configuration with the following properties.
The spring.ai.azure.openai.audio.transcription prefix was introduced for properties. It alse introduces options properties which cover all of them (see: AzureOpenAiAudioTranscriptionOptions).
The Azure SDK has been bumped to version 1.0.0-beta.9. This upgrade introduced a change in the JSON field - the prompt_annotations field was changed to prompt_filter_results (ref: https://github.com/Azure/azure-rest-api-specs/pull/25880).
Another significant change in the SDK was the replacement of jackson-databind with azure-json (ref: https://github.com/Azure/azure-sdk-for-java/pull/39825). As a result, in the AzureOpenAiEmbeddingModel class, we cannot use ModelOptionsUtils as it is based on the @JsonProperty annotation. I replaced this feature with manual assignment.
TODO
There are a couple of things to do. I don't want to do them right now for the sake of acceptance. But for sure, it should be done after the PR is merged.

Add docs in the Audio Model API ➡ Transcription API ➡ Azure OpenAI section
Add AudioTranscriptionMetadata for both OpenAI and Azure OpenAI with information from the VERBOSE_JSON response format (@tzolov what do you think?)

Sure @tzolov 👍
I'll look at this on Monday. Could you give me a hint about the falling tests?

@piotrooo, seem like the structured output converters (e.g.  AzureOpenAiChatModelIT's listOutputConverter, mapOutputConverter, beanOutputConverter) are not working after the upgrade.

@tzolov, it seems to be a bug in the newly introduces JSON serializer in the Azure SDK. Here is a referenced PR with a fix.
It looks like a problem with content serialization and deserialization in Azure. I made a test:

At the Azure OpenAI Chat playground:

Using cURL:

19:03 $ curl "https://<url>.openai.azure.com/openai/deployments/gpt-4o/chat/completions?api-version=2024-05-01-preview"   -H "Content-Type: application/json"   -H "api-key: <key>"   -d '{
  "messages": [
    {
      "role": "user",
      "content": [
        {
          "type": "text",
          "text": "Generate the filmography of 5 movies for Tom Hanks.\nYour response should be in JSON format.\nDo not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.\nDo not include markdown code blocks in your response.\nRemove the ```json markdown from the output.\nHere is the JSON Schema instance your output must adhere to:\n```{\n  \"$schema\" : \"https://json-schema.org/draft/2020-12/schema\",\n  \"type\" : \"object\",\n  \"properties\" : {\n    \"actor\" : {\n      \"type\" : \"string\"\n    },\n    \"movies\" : {\n      \"type\" : \"array\",\n      \"items\" : {\n        \"type\" : \"string\"\n      }\n    }\n  }\n}```\n\n"
        }
      ]
    }
  ],
  "max_tokens": 200,
  "stream": false,
  "model": "gpt-4o"
}'  | jq .

Response:
{
  "choices": [
    {
      "content_filter_results": {
        "hate": {
          "filtered": false,
          "severity": "safe"
        },
        "self_harm": {
          "filtered": false,
          "severity": "safe"
        },
        "sexual": {
          "filtered": false,
          "severity": "safe"
        },
        "violence": {
          "filtered": false,
          "severity": "safe"
        }
      },
      "finish_reason": "stop",
      "index": 0,
      "logprobs": null,
      "message": {
        "content": "{\n  \"actor\": \"Tom Hanks\",\n  \"movies\": [\n    \"Forrest Gump\",\n    \"Saving Private Ryan\",\n    \"Cast Away\",\n    \"The Green Mile\",\n    \"Toy Story\"\n  ]\n}",
        "role": "assistant"
      }
    }
  ],
  "created":<PHONE_NUMBER>,
  "id": "chatcmpl-9dhNuNcvUDiOpEgc0fuObQJPzDoMx",
  "model": "gpt-4o-2024-05-13",
  "object": "chat.completion",
  "prompt_filter_results": [
    {
      "prompt_index": 0,
      "content_filter_results": {
        "hate": {
          "filtered": false,
          "severity": "safe"
        },
        "self_harm": {
          "filtered": false,
          "severity": "safe"
        },
        "sexual": {
          "filtered": false,
          "severity": "safe"
        },
        "violence": {
          "filtered": false,
          "severity": "safe"
        }
      }
    }
  ],
  "system_fingerprint": "fp_abc28019ad",
  "usage": {
    "completion_tokens": 47,
    "prompt_tokens": 169,
    "total_tokens": 216
  }
}

Everything works correctly. Unfortunately, we need to wait for the fix.

@tzolov, it seems thet everything works as expected. I've checked it in our Azure subscription on our internal models. Could you confirm it is working as expected?

@piotrooo thanks for the update.
It looks like 1.0.0.beta10 has another issue with JSON handing during streaming. I'm considering rolling it back to beta8.
Will this affect your PR?

I'm considering rolling it back to beta8.
Will this affect your PR?

Yes, for sure. beta8 doesn't have support for the AudioTranscriptionTimestampGranularity functionality as far as I remember.

Hi @piotrooo ,
Can you please add the related documentation?
I guess it should be under the https://docs.spring.io/spring-ai/reference/api/audio/transcriptions.html section.
The Antora docs source is under: https://github.com/spring-projects/spring-ai/tree/main/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/transcriptions
and you can use the https://github.com/spring-projects/spring-ai/blob/main/spring-ai-docs/src/main/antora/modules/ROOT/pages/api/transcriptions/openai-transcriptions.adoc as an example.
Finally you can add the page to the catalog in front of the openai transcription: https://github.com/spring-projects/spring-ai/blob/4aacab020b2fa6932ac3a69433a60c282eec617b/spring-ai-docs/src/main/antora/modules/ROOT/nav.adoc?plain=1#L63

@tzolov I've just added docs.

Thanks @piotrooo ,
After rebasing I can see compilation error likely due to the recent improvements in the response metadata : https://github.com/spring-projects/spring-ai/pull/1070
Let me know if you have time to resolve. Hopefully it will be a trivial change.

@tzolov I think I did everything. The code compiles for me.

Thank you @piotrooo
I could not find integration tests for the azure transcription service, so i've tired to add such in my merge branch: https://github.com/tzolov/spring-ai/tree/gh-902-pr

https://github.com/tzolov/spring-ai/tree/gh-902-pr/models/spring-ai-azure-openai/src/test/java/org/springframework/ai/azure/openai/audio
https://github.com/tzolov/spring-ai/blob/1ae9a7258d1b32f01f6eeedb4ffa5afba95001e7/spring-ai-spring-boot-autoconfigure/src/test/java/org/springframework/ai/autoconfigure/azure/AzureOpenAiAutoConfigurationIT.java#L167

But they both ITs fail. Could you have a look please

@tzolov I've added missing test you mention. I've also tested it on our internal models.
AzureOpenAiAutoConfigurationIT.transcribe()

AzureOpenAiAudioTranscriptionModelIT

Thank you @piotrooo ! Great stuff
Thanks for contributing the azure transcription and for improving the API consistency!
Looking forward for the next contribution ;)

Small test adjustments, rebased, squashed and merged at 0e97f9c579096ae65e0e3a2e12490aa78a16966f


Migrate from bootstrapStatic to runApp

Closes https://github.com/dart-lang/stagehand/issues/486

Coverage remained the same at 83.846% when pulling edf9c24ccbedaa14eea98bc524b7e13aceaa1058 on i485_use_run_app into 4e730856153e777b82259b863bda933c474e12da on master.


ConnectionError

I follow the same instruction from the tutorial but cannot connect to Unity, It's just output "requests.exceptions.ConnectionError => ignoring, retrying". Can anyone help me to resolve this?

Not much to go on in your question. Maybe provide screenshots depicting the state of your unity application, the code you are running, etc
On Sat, Oct 7, 2023, at 2:17 AM, Nhat Minh wrote:

I follow the same instruction from the tutorial but cannot connect to Unity, It's just output "requests.exceptions.ConnectionError => ignoring, retrying". Can anyone help me to resolve this?
—
Reply to this email directly, view it on GitHub https://github.com/hughperkins/peaceful-pie/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6FKDAVOAPVZ2WCC2KDR3X6DXY5AVCNFSM6AAAAAA5WWPABCVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTCMRRGI4DKOA.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

This is my python code, script for sphere and my setting in Unity, it just the same like you in your tutorial

And then when I run the python code it just meet ConnectionError

Please include a screenshot showing your unity viewer is running
On Sat, Oct 7, 2023, at 3:00 AM, Nhat Minh wrote:

This is my python code, script for sphere and my setting in Unity, it just the same like you in your tutorial
image https://user-images.githubusercontent.com/98695231/273369492-f645a342-7243-44b2-8082-194118325b62.png
image https://user-images.githubusercontent.com/98695231/273369510-61c3d128-9fc6-4e1a-b0fd-ad3190c4824e.png
image https://user-images.githubusercontent.com/98695231/273369517-bc18c1c0-e777-4f17-9942-562efd892575.png
And then when I run the python code it just meet ConnectionError image https://user-images.githubusercontent.com/98695231/273369573-3c823c48-de2d-4b54-966d-b7a49d3f59ac.png
—
Reply to this email directly, view it on GitHub https://github.com/hughperkins/peaceful-pie/issues/3#issuecomment-1751628054, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6FKCAM7QBVB2OGIZKOIDX6D4X5AVCNFSM6AAAAAA5WWPABCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJRGYZDQMBVGQ.
You are receiving this because you commented.Message ID: @.***>

Here is it

But it's not running. You have to press the 'play' button at the top.  But you need to run the application itself, inside the viewer.

Oh I got it, thank you

Oh great! :)
On Sat, Oct 7, 2023, at 4:08 AM, Nhat Minh wrote:

Closed #3 https://github.com/hughperkins/peaceful-pie/issues/3 as completed.
—
Reply to this email directly, view it on GitHub https://github.com/hughperkins/peaceful-pie/issues/3#event-10581483365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA6FKCDMYYNK7PRNAJ32HLX6EEYXAVCNFSM6AAAAAA5WWPABCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGU4DCNBYGMZTMNI.
You are receiving this because you commented.Message ID: @.***>


Does it support img tag...?

Not sure what you mean, but answer is most likely no.

I tried like these...

<img src="data:image/png;base64,iVBORw0KGgoAAAANS

But not yet done.

You need an Html.ImageGetter. See FromHtmlActivity.java for an example.

@chiuki another topic, I have plan make an Android Alphabet Apps for Bengali kids,
I maked a online web page for that. Bangla Bornomala/Alphabet
I want make it native android app, do you able to help me...?

That is out of scope of this project.

I know & understand that... But I just share with you. Hope you understand me.


Chrome CZML Image Material Memory?

Greetings Cesium Folks!
I've located some sort of strange memory exhaustion condition in the latest Google Chrome x64 using this  Sandcastle example.
If the animation is permitted to run for > 60 seconds, memory use climbs until a rendering crash is observed (on 8GB RAM), and a reload is required. This behavior does not occur in Firefox, IE11 or IE Edge on my test systems.
If there is some sort of issue with how I have my CZML structured which would be causing this, please let me know.  I've also posted this to the folks in the community forum for additional input.

Thanks @weatherdrew !
This may be related to https://github.com/AnalyticalGraphicsInc/cesium/issues/5462